Simplify manual cleaning to directory targets

This commit is contained in:
2026-12-02 21:12:42 +00:00
parent 3e0f455b6d
commit 886ee12311
7 changed files with 19 additions and 50 deletions

View File

@@ -41,10 +41,10 @@ their scope. Unless assigned otherwise, a finding remains independent audit
remediation. Shared code does not make a refactoring a prerequisite or assign
the whole finding to a roadmap.
Twenty-five entries are closed by the safety, transfer, audio discovery, S3
Twenty-six entries are closed by the safety, transfer, audio discovery, S3
planning, prerequisite-history, publication-import, CLI classification,
inspection aggregation, test maintenance, dead-code removal, and associated
documentation work; 18 remain open. **Planned** identifies
documentation work; 17 remain open. **Planned** identifies
an agreed remedy awaiting implementation. **Potentially eliminated** requires verification that the offending
lifecycle is removed. **Coordinate** identifies shared changes, not a commitment
that a related feature implements the entire finding. Findings close only after their
@@ -946,7 +946,10 @@ configuration descriptor is needed.
### CAT-39 — P3: Simplify manual clean to its live directory-only contract
Status: Open
Status: Closed
**Closure.** Manual clean now validates directories through one entry point;
focused clean, cleanup, confinement, and lock tests pass.
Original findings: [DD-04](12-deadcode.md#dd-04--p3-manual-cleaning-retains-a-file-target-mode-unavailable-through-its-cli).

View File

@@ -171,7 +171,7 @@ Validation: `go test ./internal/config ./internal/artifacts ./internal/app ./int
## Stage 4: Make Manual Clean Explicitly Directory-Oriented
CAT IDs: CAT-39. Status: Pending.
CAT IDs: CAT-39. Status: Complete.
Read [DD-04](audit/12-deadcode.md#dd-04--p3-manual-cleaning-retains-a-file-target-mode-unavailable-through-its-cli).
Inspect `app/clean_command.go`, `clean.go`, `cleanup_targets.go`, and their tests.