Document and validate preflight readiness

This commit is contained in:
2026-11-27 01:26:07 +00:00
parent a9ab8e59b3
commit 7874ea648b
14 changed files with 143 additions and 35 deletions

View File

@@ -20,15 +20,17 @@ 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 destination selection, report
initialization, and publication. Transcript and report files share a staging
`internal/core/diagnostics` checks destinations without opening resources and
can probe regular-file targets with temporary siblings. `OutputSession` consumes
the checked paths and owns 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.
CLI constructs it after local plan and destination checks and before dispatching
model work. Standalone preflight uses the checker and probes without a session;
its provider observations remain in the LLM adapter. It does not create ordinary report parents.
Final report rendering includes delivery and cleanup errors observed so far.
When another failure becomes known, later writes use updated failed reports.
One best-effort pass refreshes earlier reports with stale evidence. A published