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

@@ -17,6 +17,7 @@ applies a bounds-driven trim.
## Key Behavior
When `trim.enabled=true`:
- shares the effective prompt context with early requirements inspection;
- runs Scriptorium bounds artifact generation;
- optionally runs render-debug output generation;
- validates bounds payload against transcript;
@@ -32,6 +33,12 @@ When `trim.enabled=false`:
- normalized transcript is required input.
- bounds output exists only in enabled trim path.
- render-debug output is diagnostic and not a declared stage output.
- prepared preview and generated bounds use separate result destinations;
Scriptorium stderr and invocation records are the diagnostic references.
The application checks projected bounds requirements before attempting any
stage. See [preflight internals](preflight.md); actual transcript resolution and
bounds validation remain responsibilities of this stage.
## Resume Semantics