Compose resilient CLI processing and report lifecycle
This commit is contained in:
@@ -743,6 +743,19 @@ reporting-on/debug-off both work without coupling their destinations.
|
||||
|
||||
## Stage 12 — Compose the Final CLI Run Lifecycle
|
||||
|
||||
**Completed 2026-09-24.** CLI processing now inspects settings and profiles,
|
||||
preflights and initializes required outputs before input/model work, creates
|
||||
debug evidence only when selected, runs the fixed-chunk runner with caller
|
||||
context, and finalizes transcript/reports in order. Failed processing and output
|
||||
writes produce failed-status reports from available partial state; successful
|
||||
stderr begins with the shared correction/error/recovery counts. The duplicate
|
||||
CLI chunking pass and old JSON report flow are removed. Subprocess tests cover
|
||||
file/stdout destinations, disabled reports, debug-only runs and optional debug
|
||||
failure, total model failure, partial validation and later work, invalid input
|
||||
after initialization, and pre-dispatch output failures. Focused package tests
|
||||
and `git diff --check` passed; `go test ./...` passed before the last small
|
||||
integration assertions were added and will be rerun in Stage 14.
|
||||
|
||||
**Work:** Replace the current monolithic process/report/retention flow with the
|
||||
final composition: load/inspect settings, resolve and initialize required outputs,
|
||||
optionally initialize debug, load/normalize input, run fixed-chunk processing,
|
||||
|
||||
Reference in New Issue
Block a user