diff --git a/docs/roadmap/cleanup.md b/docs/roadmap/cleanup.md index aa54664..10d1dac 100644 --- a/docs/roadmap/cleanup.md +++ b/docs/roadmap/cleanup.md @@ -1,6 +1,6 @@ # Roadmap: Pre-1.0 Code Cleanup -Status: Planned +Status: Implemented This roadmap turns the remaining findings in `docs/roadmap/audit.md` into decision-complete implementation stages. It follows the policy documents under `docs/policy/` and preserves current public CLI, config, storage layout, manifest, and stage behavior unless a stage explicitly says otherwise. @@ -22,7 +22,7 @@ This roadmap turns the remaining findings in `docs/roadmap/audit.md` into decisi - Do not add compatibility aliases for retired archive/promote, campaign, transcript, or previous-session source names. - Do not move restore's remote-key include/exclude policy out of restore unless another caller is added. -## Stage 1: Path and File Mechanics +## Stage 1: Path and File Mechanics (Implemented) Add shared mechanics for root-scoped path safety and atomic file operations. @@ -64,7 +64,7 @@ Acceptance criteria: - Atomic helper tests prove temp files are cleaned up on failure and checksums match final file contents. - Restore, prepare, and audio cache behavior remain unchanged. -## Stage 2: Artifact Source Policy +## Stage 2: Artifact Source Policy (Implemented) Finish centralizing artifact source vocabulary and validation in `internal/artifactpolicy`. @@ -103,7 +103,7 @@ Acceptance criteria: - Analyze behavior for required/optional built-in, configured, and previous-session sources is unchanged. - Previous-cache candidate ordering and required/optional behavior are unchanged. -## Stage 3: Read-Only Inspection Layer +## Stage 3: Read-Only Inspection Layer (Implemented) Extract shared read-only session inspection checks for `session validate` and `session status`. @@ -137,7 +137,7 @@ Acceptance criteria: - Missing current run pointer/manifest behavior remains command-appropriate: validation reports an error; status reports unavailable state. - Existing lock and remote current-state behavior is unchanged. -## Stage 4: Optional CLI Edge Cleanup +## Stage 4: Optional CLI Edge Cleanup (Implemented) Only implement this stage if Stage 1-3 leave meaningful repeated parser code. @@ -159,7 +159,7 @@ Acceptance criteria: - Missing source arguments for lock add/remove remain clear. - No new command aliases are introduced. -## Stage 5: Final Sweep +## Stage 5: Final Sweep (Implemented) Run final validation after the implementation stages.