Add offline pipeline inspection and shared native resource preflight

This commit is contained in:
2026-11-22 03:32:31 +00:00
parent 9f66421f4f
commit 2a9c5a6075
9 changed files with 806 additions and 10 deletions

View File

@@ -1503,6 +1503,27 @@ operations. Check meaningful evidence, not the complete native JSON shape.
## Stage 32: Add Offline Preflight And Pipeline Inspection Commands
**Status:** Complete. Added native pipeline list/show/validate declarations using
the shared captured application load. List enumerates sorted configuration IDs
without constructing a catalog or engine. Show uses ordinary domain resolution
and reports steps, lanes, modules, controls, validator chains, prompt declarations,
and reference bindings without expanding profiles or serializing runtime options.
Validation resolves the same domain contracts and supplies the captured engine
only for selected model work. The new preflight package inspects every known
initial/correction/validator/input/output prompt and explicit/applicable default
profile, preserves native causes, and aggregates pipeline/step/lane/validator
context. Partial profiles pass; undeclared dynamic selections remain runtime
checks. No request preparation, transcript/reference reads, credential lookup,
provider call, module construction, or run-storage creation is involved.
Focused real-kit preflight and CLI command tests, vet, repeated race checks,
focused pipeline tests, production preflight/pipeline/config builds, and diff
checks pass. Native configuration validation retains no pipeline-specific mode;
added assembled help/config-command regressions. The full CLI suite, including
those assembled regressions, remains blocked at setup by removed reporting-package
imports and old ConfigKit's YAML plugin/limit dependency; it is not claimed passing.
Scheduled cleanup and final verification must execute it. Native run-handler
composition will reuse this preflight boundary in Stage 33.
**Goal:** execution and inspection share domain resolution and known dependencies.
**Inspect/change:** new `internal/preflight`, CLI pipeline declarations, catalog,