Document pipeline preflight for consumers and operators

This commit is contained in:
2026-11-28 04:34:14 +00:00
parent 71cefdd154
commit 5382058b28
5 changed files with 94 additions and 8 deletions

View File

@@ -144,6 +144,22 @@ signal can terminate the process. There is no shutdown deadline or guarantee
that collaborators which ignore cancellation will stop; forced termination may
leave capture incomplete. Embedded application callers retain their own contexts.
## Preflight Lifecycle
Explicit online preflight reads the selected input and references, prepares the
pipeline, and contacts selected providers for applicable native access and
structured-generation checks. These checks can incur inference charges. It does
not publish extraction artifacts or use accepted cache entries as readiness proof.
Preflight creates the output root if necessary and writes, closes, and removes a
temporary access file. For selected cacheable work, auto and refresh similarly
probe the cache root without reading or changing accepted entries; bypass and
deterministic work do not access it. Cache probe problems warn; output access
failure fails readiness. Temporary probe files are removed when possible, but
newly created roots can remain. Requested debug uses the real capture lifecycle
and is required work. See [CLI Reference](cli.md#preflight) for the command and
assessment and [Debug Bundles](#debug-bundles) for capture handling.
### Acceptance And Fallback
PromptKit owns transient retries and structural repair. Application semantic
@@ -249,9 +265,9 @@ Directory configuration alone does not enable it. Explicit empty disables it;
a nonempty invocation override can re-enable it. [Configuration](config.md#file-shape-and-defaults)
owns defaults/origins; [CLI Reference](cli.md#run) owns mode ordering.
Allocation creates the run directory and updates `latest` to a relative link
Allocation creates the capture directory and updates `latest` to a relative link
at session start. It reflects the last successful start link update, including a
run that later fails. Completion never retargets it. Concurrent starts retain
invocation that later fails. Completion never retargets it. Concurrent starts retain
separate directories; disabled capture leaves the link untouched. This link is
not an output-discovery API.