You are proposing a cleanup strategy for orchestrator scratch directories that…
- User
You are proposing a cleanup strategy for orchestrator scratch directories that accumulate during a multi-sprint migration. Your job is to decide what to keep as audit trail vs. what to delete, and produce the exact commands.
Target
- Working directory:
/Users/user_c042661f/Documents/reigh-workspace/reigh-worker - Directories to classify:
scripts/sprint2/(if exists)scripts/sprint3/— known to contain:_handoff/(staged_file_list.txt, orchestrator_handoff_note_2.txt, working_tree.patch, unstaged_additions.tar),_pre_resync_notes.txt,capture_clear_conditioning_fixture.pyscripts/sprint4/(if exists — Sprint 4 is currently executing and will produce similar scratch)
Context
Each sprint produced an
_handoff/dir where the codex executor left orchestrator-handoff notes (what to stage, what to push, remote SHAs to verify). These were already consumed by the orchestrator during the sprint commit process. Thecapture_clear_conditioning_fixture.pyscript is a one-shot script used to generatetests/fixtures/clear_conditioning_oracle.pt— arguably useful as reproducible audit trail if the fixture ever needs regeneration.The question: after the 4-sprint migration completes, what stays in the live
scripts/tree forever (visible in every PR diff from now on) vs. what moves to an archive?Classification rules to apply
- Keep in
scripts/: anything an engineer might need to re-run (e.g., fixture regeneration scripts) - Move to
docs/wan2gp-migration-history/sprintN/: audit-trail artifacts worth preserving but irrelevant to day-to-day development (handoff notes, staged file lists, working tree patches) git rm: anything that's pure transient scratch with no audit value (e.g., timestamped log files, pre-resync notes that duplicate git log)
Your job
-
List every path under
scripts/sprint{2,3,4}/that currently exists -
Classify each per the rules above
-
Produce exact shell commands for:
git mvto archive (if applicable)git rmto delete (if applicable)git addfor any new README you propose
-
Draft a short README for the archive location (if you propose archiving) — 1 paragraph explaining what's in there and when to read it.
- Working directory:
- Assistant
I’m checking the current
scripts/sprint2,scripts/sprint3, andscripts/sprint4trees so I can classify actual existing paths rather than infer from the migration notes. - Assistant
I found only
scripts/sprint3/in the current tree. I’m reading the existing scratch files now to confirm the classification and to make sure the archive/delete recommendations line up with their actual content. - Assistant
The existing Sprint 3 handoff is clearly an orchestrator audit package rather than live tooling. I’m checking the remaining handoff artifacts so the archive recommendation covers the full set consistently, including whether the tarball carries anything unique beyond the patch.
- Assistant