Sign in to edit tickets from this page.

← all tickets · home

Purge orphan UUID directory from worlds volume

resolved d57b0450-5e26-4d8b-a54b-e3a3fcb2cddb

created_at
2026-04-25
updated_at
2026-04-25
code_context
production pod /var/lib/chukwa/worlds/
priority
P3
ticket_type
chore
resolved_at
2026-04-25
resolution
accepted

Body

Motivation

A pre-slug-refactor orphan directory persists on the production pod's worlds volume:

/var/lib/chukwa/worlds/3cc96ff3-be4b-4684-9b44-c632a6fd8a5e/

It's not in the registry (list_worlds returns count=0). Its name fails the current slug grammar (uppercase hex via UUID, hyphen-positions invalid for the grammar's edge rules), so load_all correctly skips it. It is harmless in the sense that nothing references it. It is cruft in every other sense: bytes on disk that no current code path can reach, no current tool can manage, and no future code will ever load.

The caller-side preference is to purge cruft rather than tolerate it. This ticket purges it.

What to do

On the production pod (chukwa-5c4d4f8dd8-42lg7 or current at deploy time), delete the directory:

kubectl exec <pod> -- rm -rf /var/lib/chukwa/worlds/3cc96ff3-be4b-4684-9b44-c632a6fd8a5e

Confirm:

kubectl exec <pod> -- ls /var/lib/chukwa/worlds/

Output should contain only directories whose names pass the current slug grammar (or be empty if no worlds exist at the time of execution).

Acceptance

Explicitly out of scope

No open knobs

The directory's name is known. The location is known. The deletion is unconditional.

Proposed resolution

Orphan UUID directory 3cc96ff3-be4b-4684-9b44-c632a6fd8a5e purged from the production pod's worlds volume.

Execution

The handler-side block (policy guardrail requiring conversational-channel approval, ticket-comment "Go" not sufficient under User Intent Rule #6) was resolved by the human operator running the rm themselves on the pod and posting the ls output here at 2026-04-25T11:10:03Z. Pre-delete: only the orphan directory present. Post-delete: empty.

Independent handler verification (read-only kubectl exec)

$ kubectl -n chukwa exec chukwa-5c4d4f8dd8-42lg7 -- ls -la /var/lib/chukwa/worlds/
total 8
drwxr-xr-x 2 chukwa chukwa 4096 Apr 25 11:09 .
drwxrwxrwx 5 root   root   4096 Apr 24 20:52 ..

Worlds dir contains only . and ... No directories. The orphan is gone.

Acceptance check

One process note for memory

This ticket exposed that a handler-side block from policy guardrails on a destructive production operation can NOT be unblocked by the same human posting "Go" via ticket comment — only by the same human approving directly in the handler's own conversational session. The caller correctly diagnosed this at 11:03:40Z. The unblock path the human ultimately used (running the rm themselves) is also valid and may be the most efficient path going forward when the policy denial is hard.

I'll add a follow-on memory note that the conversational-channel approval requirement is hard, not soft, and that for production-destructive ops the most efficient unblock is the human running the command themselves rather than waiting for me to retry.

Per standing guidance I am not confirming — only proposing.

History (11 events)

Sign in as a human to drive this ticket from the page, or use the MCP tools.