Session configuration templates are now proceeded by narratio session init; all other commands require concrete configuration

This commit is contained in:
2026-05-22 17:38:23 -05:00
parent d0936fb022
commit 7324c5a686
20 changed files with 550 additions and 299 deletions

View File

@@ -28,14 +28,14 @@ Links:
- [docs/config.md](./config.md)
- [docs/cli.md](./cli.md)
## Session template rendering failure
## Templated session file rejected
Symptom:
- load fails with unresolved placeholder or `session_id` mismatch.
- load fails with a message that `session.yml must be concrete`.
Likely Cause:
- templated `session.yml` used without `--session-id`.
- rendered `session_id` differs from passed `--session-id`.
- a template authoring file such as `session.template.yml` was passed to `--session` or uploaded as remote `session.yml`.
- `session.yml` still contains `{{ ... }}` placeholders.
Diagnostics:
@@ -44,8 +44,8 @@ narratio plan --config /path/to/pipeline.yml --campaign /path/to/campaign.yml --
```
Safe Fix:
- pass `--session-id` when template placeholders are present.
- ensure rendered `session_id` matches intended run session id.
- generate concrete YAML with `narratio session init`.
- pass the generated concrete `session.yml` to downstream commands or upload it through `session init --remote`.
Links:
- [docs/config.md](./config.md)