Project Restructure
Always run every stage in order. Create a restructure/ directory before doing
any analysis and retain every stage file for future agents.
Workflow
inventory: list every repository file inrestructure/INVENTORY.md.model: classify every file and writerestructure/MODEL.md.target: design the final tree inrestructure/TARGET.md.gap: compare every current and target path inrestructure/GAP.md.plan: write all migration waves inrestructure/PLAN.md.execute: move every planned file and update all references.verify: writerestructure/VERIFY.mdafter all movement is complete.
Never skip a document. More documentation makes restructuring safer. Keep the campaign directory permanently because another agent may need the history.
Rules
- Put all generated analysis under
restructure/. - Treat old directories as cleanup candidates.
- Ask for approval before execution.
- Run available tests after the final wave.