Use the same configuration and session acquisition conventions as `run`,
including applicable campaign, party, overlay, and previous-session selectors.
Use CommandKit's native reporting and visibility controls.
The command checks the configured session's enabled pipeline capabilities,
including the existing prerequisite closure for prompt requirements, regardless
of whether their processing outputs are reusable. Automatic preflight continues
to check only projected execution targets. These are two target-selection
policies, not two implementations of readiness checks.
Remove `session validate` from the command tree and update its callers and
documentation. Native `config` validation and inspection retain their existing,
narrower purposes. The initial command does not need additional stage-range or
artifact-filtering options to deliver the agreed workflow.
### Preparation And State
Acquire configuration through the ordinary ConfigKit integration, then use the
normal invocation lifecycle and session lock to execute or reuse `prepare`.
Reuse its semantic checks, input projections, downloads, manifest persistence,
and dependent invalidation rather than implementing a preflight-specific
preparation path.
Preflight is consequently not read-only. It can create a session workspace,
download audio and previous-session inputs, write prepared documents, and update
preparation state. Changed inputs can stale downstream records through the
existing rules. These effects must be explicit in help and operator guidance.
Check downstream readiness against the resulting prepared inputs. Use existing
request builders and adapters so configuration selections, credentials,
references, and applicable execution settings agree with production invocation.
Audita retains its synthetic-transcript probe; Notarius uses a suitable verified
transcript when available and its existing synthetic fallback otherwise. A stale
transcript left by earlier work must not be presented as current input.
The command stops after checking. It does not execute processing, publish,
notify, or the pipeline cleanup stage. A readiness failure after successful
preparation leaves that preparation available for reuse. The check itself does
not mark processing stages successful, invalidate otherwise valid products, or
create a persisted preflight stage whose success bypasses future checks.
### Check Ownership And Coverage
| Owner | Responsibility |
| --- | --- |
| ConfigKit integration | Resolve and validate configuration through the existing acquisition path; preserve native error semantics. |
| Narratio | Check its input, workspace, dependency, previous-session, and publication prerequisites using existing domain and adapter machinery. |
| Audita | Run native preflight with the prepared glossary inputs and existing provider smoke checks. |
| Notarius | Run native inspection and preflight with the selected pipeline, prepared reference bindings, and existing execution controls. |
| Scriptorium integration | Retain requirements inspection and Narratio's binding/source checks for enabled trim and analysis definitions and their prerequisites. |
Carry forward the current validation checks and obtain preparation-related
evidence from actual preparation where that avoids duplicate work. Check
workspace access and dependency availability through ordinary setup or supported
adapter operations; identify any remaining concrete gaps during implementation
planning. This scope does not require inventing health protocols for every tool,
simulating a publish transaction, or making Narratio validate subprocess-owned
configuration itself.
Preserve the existing distinction between errors and warnings. For example,
missing required prompt bindings and failed inspection are errors; conditional
or incomplete Scriptorium discovery and optional-source concerns retain their
existing warning treatment. Publication locks retain the current reporting
semantics. Merely moving a check into preflight does not make it stricter.
### Reporting And Failure Behavior
Return one final readiness report through CommandKit's native text, YAML, JSON,
and automatic format selection. Include session identity, preparation outcome,
overall readiness, and actionable findings. Distinguish checks that succeeded,
failed, or could not run because a prerequisite failed; retain warnings and
relevant limitations such as use of a synthetic transcript.
Use ordinary stderr diagnostics and progress for preparation and checks. Report
substantive failures regardless of verbosity, preserve underlying error causes,
and use the existing ConfigKit/CommandKit outcome classification rather than
introducing a preflight-specific exit-code system.
Continue independent checks where practical, while stopping dependent work when
its prerequisites fail and honoring cancellation. A required check that fails
or cannot run prevents an overall successful readiness result. This does not
reclassify an otherwise successful inspection's advisory findings as failures.
Configuration acquisition failure may prevent a session-level assessment.
Successful preflight reports what was checked at that time. It does not guarantee
future provider availability, publication success, or processing quality with a
real transcript. Automatic preflight still runs before applicable processing.