Document Scriptorium preflight and native integration
This commit is contained in:
@@ -534,9 +534,10 @@ for compatibility ownership.
|
||||
Set `scriptorium.credentials: [OPENROUTER_API_KEY]` in the pipeline file to
|
||||
forward that provider key to Scriptorium. List additional provider names only
|
||||
when the selected downstream configuration needs them. The same list applies
|
||||
to trim bounds generation, analysis (including character families), and their
|
||||
render-debug calls. Scriptorium retains provider/profile selection; Narratio
|
||||
does not pass a model-request `--api-key-env` override.
|
||||
to requirements inspection, trim bounds generation, analysis (including
|
||||
character families), and their render-debug calls. Scriptorium retains
|
||||
provider/profile selection; Narratio does not pass a model-request
|
||||
`--api-key-env` override.
|
||||
|
||||
As with Audita and Notarius, names are ConfigKit secret references resolved at
|
||||
pipeline load time using the configured bootstrap and environment,
|
||||
@@ -565,6 +566,9 @@ For each `pipeline.scriptorium.artifacts.<name>`:
|
||||
| `vars` | map | No | values must be string or bool; `session_id` is reserved and overwritten by Narratio |
|
||||
|
||||
Narratio adds `session_id=narratio-session-<session_id>` to every Scriptorium request for sticky upstream LLM routing. If an artifact config sets `vars.session_id`, Narratio replaces that value before invoking Scriptorium. Use a different variable name if a prompt needs the raw Narratio session ID as content.
|
||||
Discovery, preview, and generation receive the same effective variables,
|
||||
including family member values and explicitly empty strings. Narratio forwards
|
||||
the sticky value as a template variable, not as a direct session override.
|
||||
|
||||
Without `--artifacts`, analyze executes enabled configured artifacts. With an
|
||||
explicit `--artifacts` list, the exact named configured artifacts are the
|
||||
@@ -583,6 +587,13 @@ For each artifact input `pipeline.scriptorium.artifacts.<name>.inputs.<input_nam
|
||||
| `source` | string | Yes | built-in runtime source, prepared input source, `narratio.extraction.<name>`, `narratio.artifact.<name>`, or `narratio.previous_session.artifact.<name>` |
|
||||
| `required` | bool | No | optional input requirement |
|
||||
|
||||
The input map key is the prompt input name; `source` identifies the Narratio
|
||||
artifact that supplies it. Requirements discovery compares exact input names
|
||||
with these keys before generated files exist. A required prompt input bound to
|
||||
an optional source produces a warning when availability is unknown; runtime
|
||||
resolution may still omit the source. See
|
||||
[prompt preflight](operations.md#prompt-requirements-preflight).
|
||||
|
||||
`artifact` and `path` are obsolete and rejected by strict configuration
|
||||
loading. Use the canonical `source` identifier to select the input; Narratio
|
||||
does not provide adapter-specific input passthrough fields.
|
||||
|
||||
Reference in New Issue
Block a user