Prepare and finalize output resources safely

This commit is contained in:
2026-11-10 17:03:10 +00:00
parent 8e1e073731
commit 852e79405f
3 changed files with 348 additions and 68 deletions

View File

@@ -305,6 +305,11 @@ status handoff without duplicating the upstream command grammar suite.
## Stage 7: Prepare and finalize output resources
**Completed.** Output selection and resource preparation are separate; the
session owns temporary transcript cleanup, report finalization, and optional
debug preparation. Preflight and the process handler must connect these APIs in
the next assignment. Focused diagnostics tests passed.
Own `internal/core/diagnostics/output_session.go`, file/path helpers, and
focused tests. Use the [output preparation](commandkit.md#output-resource-preparation-during-preflight--resolved)
and [failure](commandkit.md#output-failure-behavior--resolved) contracts.