Document Scriptorium preflight and native integration

This commit is contained in:
2026-11-26 04:40:25 +00:00
parent e9d57fb7aa
commit f930ebf337
14 changed files with 186 additions and 90 deletions

View File

@@ -61,6 +61,12 @@ state without constructing or invoking stage-execution adapters. The shared
command configuration loader may still use object storage to retrieve a missing
remote session file before planning begins.
Before a run starts stage attempts, the application projects selected work and
uses the invocation's Scriptorium runner for any needed requirements checks.
The same runner is then available to generation. Explicit session validation
uses an invocation-owned factory and the shared checker. See
[preflight internals](preflight.md).
Notarius is composed only when extraction is enabled; the extract stage owns
prepared reference resolution, receipt, bundle, and configured-lane policy.
The adapter validates the ordered selector/absolute-path pairs and is the sole
@@ -98,8 +104,10 @@ in-memory backend without changing package state.
original result classification. Child environments contain only the execution
baseline and adapter-specified values; configured credentials are resolved
once by ConfigKit and passed explicitly as sensitive values. Adapters do not
re-read their named environment references. Stdout and stderr are redacted while streaming into separate
8 MiB diagnostic captures; a bounded wait closes a stream retained by a
re-read their named environment references. Diagnostic-only stdout and stderr
are redacted while streaming into separate 8 MiB captures. Scriptorium result
mode directs stdout to a caller-owned, byte-preserving bounded writer instead;
capture failures use the same abort path. A bounded wait closes a stream retained by a
departed leader's descendant. Unsupported platforms reject owned command
execution.