Report completed runs through native presentation and preserve failure outcomes

This commit is contained in:
2026-11-22 04:05:44 +00:00
parent 0cbc2b39cb
commit a8d256f676
10 changed files with 656 additions and 511 deletions

View File

@@ -1606,6 +1606,30 @@ input-hash session stability across changed reference bundles.
## Stage 34: Finish Publication, Native Completion Reports, And Failure Outcomes
**Status:** Complete. Replaced the receipt/encoder/index and validation-ledger
reporting model with one native completion value and text template. Publication
and requested capture finish before reporting; JSON/YAML share the same value,
omit zero fallback counts and disabled debug paths, and never create reporting
sidecars. Qualified fallback summaries remain visible independently of warning
verbosity. Native progress, configuration diagnostics, and process findings use
stderr without promoting domain advisories to warnings. Operation causes remain
separate from native rendering/output/diagnostic delivery evidence. Failed capture
or presentation retains published files and available paths without model retries
or repeat terminalization. Identifiable preflight selections now retain a typed
classification alongside native causes; cancellation and unknown/mixed failures
remain operational. Replaced obsolete receipt tests with real-kit/fake-provider
coverage for formats, counts, native modes/progress, quiet rendering failure,
partial/failed stdout, failed diagnostics, cancellation, publication/capture
ordering, and primary/capture/delivery cause preservation.
Focused CLI/pipeline tests, supporting preflight/debug/cache/contracts/assets/
generic/Seriatim tests, focused vet/race checks, and diff checks pass. Added real
executable format/fallback tests using a local fake HTTP provider; their setup and
the full CLI/executable checks remain blocked by legacy `framework/llm` importing
the removed reporting package and old ConfigKit's removed YAML `plugin/limit`
dependency. Those subprocess results are not claimed passing. Stage 35 owns
remaining legacy code/dependency/fixture removal and whole-tree compilation;
assembled and final verification must execute the pending checks.
**Goal:** subprocesses receive artifacts plus the selected small native report.
**Inspect/change:** `run_result.go`, `run_terminal.go`, physical output placement,