Publish outputs to checked destinations and preserve failure evidence
This commit is contained in:
@@ -20,16 +20,19 @@ validator entries yield `validation_decisions_filtered` only for a successful
|
||||
operation; they do not count as filtered correction proposals. Failed operations
|
||||
retain their execution counts and never produce a recovery record.
|
||||
|
||||
`internal/core/diagnostics.OutputSession` owns active destination checks,
|
||||
transcript preflight, report initialization, regular-file replacement, and direct
|
||||
stream publication. Transcript input is protected from early report writes but
|
||||
`internal/core/diagnostics.OutputSession` owns destination selection, report
|
||||
initialization, and publication. Transcript and report files share a staging
|
||||
primitive that writes beside the resolved destination. Streams are opened for
|
||||
delivery. Transcript input is protected from early report writes but
|
||||
may be the final transcript destination. The LLM runtime records consumed PromptKit sources and effective host message
|
||||
files and supplies those source paths to CLI;
|
||||
no second filename-based discovery rule is used.
|
||||
CLI composes it after configuration, transcript acquisition, and preflight
|
||||
readiness and before dispatching model work. It does not create ordinary report parents.
|
||||
On a final write error it attempts other enabled reports and one failed-status
|
||||
pass; a published transcript is never erased by a later report failure.
|
||||
Final report rendering uses the delivery and cleanup errors already observed.
|
||||
If a report write first fails, the remaining writes use the failed bundle and
|
||||
one pass attempts to update the reports still missing failed evidence. A
|
||||
published transcript remains available after a later report failure.
|
||||
|
||||
Debug is independent. The shared `--debug` flag enables a unique retained child
|
||||
under `diagnostics.work_dir`. The CLI creates one interaction sink rooted in
|
||||
|
||||
Reference in New Issue
Block a user