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

@@ -17,6 +17,24 @@ history to the selected repair provider. A provider rejection ends that branch
as unavailable; other approved edits can still be applied. See
[configuration](config.md#settings) for the attempt budget and profile selection.
## Preflight
Standalone preflight shares processing's configuration acquisition, profile and
glossary checks, normalization, chunk planning, and destination checks. It
creates, closes, and removes a temporary file beside each active regular-file
output or report destination; it does not write the final destinations. Disabled
reports, stdout, pipes, and devices are not probed. Parents must already exist.
A successful probe describes current readiness and cannot guarantee a later write.
No ordinary report or debug run directory is created by preflight.
Configuration acquisition can run secrets bootstrap. Default provider checks
send PromptKit's diagnostic request to each selected profile and can consume
service usage; they do not send the transcript. Local-only mode skips those
provider checks. Native smoke usage is reported per profile independently of the
ordinary execution-observer summary. See the [CLI reference](cli.md#preflight)
for invocation and [PromptKit diagnostics](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/pkg-promptkit.md)
for native diagnostic behavior.
## Configuration trust
Treat the selected main file, imports, overlay, and automatically loaded
@@ -56,6 +74,8 @@ choose separate report directories when retaining reports from multiple runs.
The caller owns these directories and their retention. Later runs can replace
ordinary report files at the same destination.
Local readiness, normalization, and chunk planning finish before a processing
reporting session begins. Failures at that boundary need not leave reports.
Enabled reports are initialized as `in_progress` before processing. The
transcript is published before final reports; the files do not form a single
transaction. A late report failure may therefore leave a published transcript.