Preserve current diagnostics during run cleanup

This commit is contained in:
2026-11-30 01:55:47 +00:00
parent 3118bc35ba
commit 52a5d483e3
6 changed files with 224 additions and 59 deletions

View File

@@ -732,6 +732,12 @@ requirements. Restore never executes pipeline stages.
## Stage 20 — Reconcile cleanup with diagnostic and bundle retention
**Complete.** Commit: `Preserve current diagnostics during run cleanup`.
Verification: focused cleanup, managed-view, native bundle-retention, and
orchestration tests passed with Go 1.27.4, including link rotation, retained
evidence, unsafe links, publication authorization, cleanup-only execution,
and failure/retry without republishing.
**Read:** roadmap retention and durable lifecycle; [Cleanup Internals](../internal/stage-cleanup.md).
Entry points: `cleanup_plan.go`, `cleanup.go`, app cleanup targets, and confined
file operations.