3.7 KiB
3.7 KiB
Narratio v4.0.0
This major release adopts native ConfigKit configuration acquisition, the CommandKit CLI, and ReleaseKit publication. It adds prepared glossary inputs and downstream readiness checks, and updates the Scriptorium and Audita integrations.
Compatibility and upgrade
Existing configurations and scripts require migration from v3.1.0. The cutover has no compatibility aliases for retired controls or commands.
- Rename source-root configuration controls from
configkit:toconfig:. Review configuration discovery, source-relative paths, explicit values, and native import and sequence behavior using the configuration upgrade guide. - Replace
--secrets-dirwith the main pipeline's native secrets configuration or provision environment values. See secrets handling. - Update scripts using the CLI migration table.
In particular, artifact regeneration is now
artifacts regenerate, cleanup issession clean, and single-stage execution usesrun --stage. - Configure explicit party, campaign, setting, and spells glossary sources as
described under glossary inputs. Replace retired
narratio.input.glossarybindings with the appropriate collection-specific source. The separate Notarius spell-catalog input remains supported. - Use the independently installed Scriptorium v0.16.0 and Audita v4.2 integration baselines. Narratio still targets Notarius v0.8.1. The newer Audita v4.3.0, Notarius v0.10.0, and shared-schema cutovers remain planned work; this release does not implement those roadmaps. See the integration contracts.
- Building from source now requires Go 1.27.0 or later. Release validation and builds use Go 1.27.4. Supported build targets remain Linux amd64 and arm64, with macOS arm64 supported on a best-effort basis.
Changes
- Use ConfigKit v1.4.0 for native acquisition, configured secrets startup, provenance, inspection, and comparisons. Derive artifact catalogs separately from the completed configuration using the selected canonical party roster.
- Use CommandKit v0.8.0 for command composition, structured reports, completion, progress, cancellation, and failure classification. Expose explicit campaign, session, and party selection and independent configuration comparisons.
- Prepare four durable glossary documents from party vocabulary, campaign contributions, and selected reference-catalog entries. Track their contents through resume decisions, dependency invalidation, publication, and restore.
- Pass prepared glossaries to Audita's native processing and preflight commands. Run selected downstream readiness checks after preparation; Audita provider checks can contact providers and incur charges. Scriptorium requirements discovery checks intended bindings without a model call. See preflight operations.
- Adopt Scriptorium's native generation, prepared-preview, and prompt-requirement interfaces. Capture artifact stdout separately from bounded, redacted diagnostics, and promote results only after successful validation.
- Use ReleaseKit v0.10.0 for candidate validation, version injection, guarded tag publication, and asynchronous delivery. Source release completion is the successful upstream tag push; CI delivery is tracked separately.