Document Scriptorium preflight and native integration
This commit is contained in:
@@ -80,6 +80,25 @@ outputs, dependencies, and selected-party members. See
|
||||
[configuration inspection](cli.md#configuration-inspection) for selection and
|
||||
comparison details.
|
||||
|
||||
### Prompt requirements preflight
|
||||
|
||||
Install Scriptorium v0.16.0 and migrate its configuration and prompt definitions
|
||||
using the [upstream migration guide](https://forge.maximumdirect.net/eric/scriptorium/src/tag/v0.16.0/docs/consumers/upgrading-cli.md).
|
||||
It must be available before a run whose projected work needs trim or analysis,
|
||||
and for validation of enabled definitions. Narratio checks requirements before
|
||||
stage attempts, even when generated transcripts do not yet exist. The check
|
||||
makes no model call and cannot certify later file contents or generation.
|
||||
|
||||
A missing required prompt binding or variable, or a failed inspection, stops
|
||||
the invocation. Correct the configuration or downstream installation and retry.
|
||||
An optional source for a required prompt input and incomplete or conditional
|
||||
discovery are warnings; later input resolution remains authoritative. Early
|
||||
preflight failure leaves completed stage records and artifact outputs intact,
|
||||
including during a forced run. `session plan` reports projected work without
|
||||
invoking Scriptorium. See the [integration contract](integrations/scriptorium.md)
|
||||
for stream handling and [configuration](config.md#scriptorium-artifact-entries)
|
||||
for binding names and sources.
|
||||
|
||||
## Stage Execution and Continuation Behavior
|
||||
|
||||
Canonical stage order:
|
||||
@@ -545,10 +564,11 @@ reaped, and descendants that keep standard output or error open cannot keep
|
||||
the invocation blocked. Other operating systems fail closed rather than launch
|
||||
a command without tree ownership.
|
||||
|
||||
Subprocess stdout and stderr diagnostics are separately redacted and capped at
|
||||
8 MiB per invocation. Narratio does not retain configured credential values in
|
||||
these logs or their error tails; reaching a capture limit terminates the command
|
||||
tree and reports which stream exceeded the limit.
|
||||
Subprocess diagnostic streams are separately redacted and capped at 8 MiB per
|
||||
invocation. Narratio does not retain configured credential values in these logs
|
||||
or their error tails; reaching a capture limit terminates the command tree and
|
||||
reports which stream exceeded the limit. Scriptorium result stdout is captured
|
||||
separately without redaction; see its [integration contract](integrations/scriptorium.md).
|
||||
|
||||
Run-local diagnostics are:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user