-
Narratio v4.0.0
StableAll checks were successfulci/woodpecker/tag/release Pipeline was successfulreleased this
2026-12-03 02:05:40 +00:00 | 0 commits to main since this releaseNarratio v4.0.0
Narratio v4.0.0 adopts a native CommandKit CLI, shared campaign and glossary
schemas, and current Audita, Notarius, and Scriptorium interfaces. A standalone
preflight command prepares real inputs and checks readiness before processing.
Published products can be imported for further work without restoring the
execution history that produced them.This is a breaking upgrade from v3.1.0. Update authored configuration, input
documents, command invocations, and scripts that consume command reports. Older
local session state is not converted in place.Compatibility and deployment
- The Go module path is now
gitea.maximumdirect.net/eric/narratio/v4.
Source integrations and build scripts that reference the module path must update it. - Building from source now requires Go 1.27.0 or later, up from 1.26.0.
Maintained builds use Go 1.27.4. Release targets remain Linux amd64 and arm64,
plus best-effort macOS arm64. - The integration baselines are Audita v4.3.0, Notarius v0.10.0, and Scriptorium
v0.16.0. Install the applicable tools separately and migrate their own
configuration using the guides linked from the
integration contracts. Audita uses its version 3
configuration and Notarius its version 6 configuration. - Narratio embeds the shared glossary, RPG party, and RPG campaign schemas at
version 0.2.0 from schemas distribution2026.11.1. Validation is offline;
the schema markers remainmaximumdirect.glossary.v1,
maximumdirect.rpg.party.v1, andmaximumdirect.rpg.campaign.v1. - The configuration and CLI integrations now use ConfigKit v1.4.0,
CommandKit v0.8.0, and ckconfig v0.11.0. ReleaseKit v0.10.0 owns version
reporting and the maintainer release workflow.
CLI and reporting changes
CommandKit now owns parsing, configuration inspection, reporting, diagnostics,
and completion. Removed command paths have no compatibility aliases.Previous invocation Replacement session validate SESSIONpreflight SESSIONrun-stage STAGE SESSIONrun SESSION --stage STAGEanalyze SESSIONrun SESSION --stage analyze --forcepublish SESSIONrun SESSION --stage publish --forceregenerate-artifacts SESSIONartifacts regenerate SESSIONclean SESSION/clean --allsession clean SESSION/session clean --allconfig artifactsartifacts listsession locks SESSIONsession locks list SESSION--session FILE--session-file FILE--session-id IDPositional SESSIONon domain commandsconfig diff LEFT RIGHTconfig diff --overlay LEFT --against-overlay RIGHTPlace flags after the complete command path. Configuration inspection uses
--sessionto assert an identity, not to select a file. Campaign identity and
file selectors may now be used together;--party-fileselects a roster without
editing the campaign. See the CLI reference.Native inspection exposes
app,campaign,session, andpartyscopes,
including source explanations and independent comparisons. It preserves authored
artifact-family declarations. Useartifacts listfor expanded domain
definitions,session planfor execution and reuse decisions, and
session artifactsfor product availability. App inspection supports native
field overrides; execution and planning continue to use files and overlays.Reports go to stdout through native text, YAML, or JSON rendering; automatic
structured output uses YAML. Diagnostics and progress go to stderr.
--progressreports work such as transfers and speaker/artifact completion;
--verboseadds informational context. Quiet mode suppresses reports while
retaining failure diagnostics. Console debug does not enable downstream debug
capture. Scripts must adapt to the new report shapes and
exit classifications, including status
2 for identifiable invalid configuration input and status 1 for operational
failures.artifacts regenerateforces the whole configured extraction before rebuilding
selected analysis targets and prerequisites.--artifactsnarrows analysis,
not extraction lanes; this command stops before publication and cleanup.Configuration and shared inputs
Configuration policy is delegated to ConfigKit. The main migration steps are:
- Rename source-root
configkit:controls toconfig:. Review native import,
inheritance, and sequence-composition rules; mark required imports explicitly. - Update pipeline discovery filenames, or pass an existing custom filename such
aspipeline.ymlwith--config. The former implicit search for
/etc/narratio/pipeline.ymland/usr/local/etc/narratio/pipeline.ymlhas been
replaced by native discovery. - Remove
--secrets-dir. Declareconfig.secrets_dirin the pipeline main file
or provide credentials through the process environment. There is no automatic
conventional secrets-directory probe. Retain exact credential-reference names
in the applicable downstreamcredentialslists. - Review relative resource paths: imported and inherited values resolve from
their defining source. Defaults apply to absent fields; explicit empty, null,
zero, and false values retain their native meaning and undergo domain checks.
Campaigns now use the shared campaign envelope:
schema_versionandid,
references.partyfor the roster, and thenarratioextension for speakers,
inline autocorrection, campaign vocabulary, and session templates. Replace
file-based autocorrection and private spell-catalog inputs with the maintained
shared-input model. Party rosters use the shared party schema and plural
aliases; Narratio derives the players document and party glossary from that
single roster.Glossaries use shared named-collection envelopes. Preparation writes
party,
campaign,setting, andspellsglossaries plus a combined document. Campaign
vocabulary may come from a file, inline entries, or native composition of both.
Optional setting and system selections use a separately installed reference
catalog. Replace oldnarratio.input.glossaryand private spell-catalog bindings
with the applicablenarratio.input.glossary.*sources. No legacy document
conversion is performed.Audita receives the four individual glossaries. Its ordered processing pipeline
belongs in Audita configuration; remove Narratio's retiredaudita.modules.
Notarius can consume the prepared roster and combined glossary through explicit
reference bindings. Renamenotarius.config_profiletoconfig_overlay, replace
resumeandchunk_cachewith native cache selection as needed, and remove old
output descriptor fields. Output entries now select alane_idand optional
flat JSONfilename. Forced extraction requests native cache refresh.Use the production/testing bundle
and three-file campaign example
as migration references. The configuration reference owns the
complete field, clearing, and source-resolution rules.Preflight and processing
narratio preflight SESSIONprepares or reuses inputs, then checks configured
readiness, including native Audita and Notarius preflight and Scriptorium prompt
requirements. Unlike the former validation command, it can create a workspace,
download inputs, and update preparation state. It may contact providers.
Changed inputs use ordinary dependent invalidation; a later readiness failure
does not discard successful preparation.Standalone preflight checks enabled capabilities even when processing outputs
are reusable. Automatic preflight checks projected work after preparation and
before processing. Required failures stop execution; advisory prompt-discovery
findings retain warning treatment. Audita uses a synthetic transcript; Notarius
uses a suitable verified transcript or its synthetic fallback. These checks do
not guarantee future provider availability or real-transcript processing quality.Scriptorium generation now uses its native CLI and captures result stdout
separately from diagnostic stderr. Prepared previews and requirements inspection
use native structured output. Missing required bindings and failed inspection
are caught before the affected processing begins.Audio discovery now accepts common formats beyond FLAC, including WAV, MP3,
M4A, and Opus, with the same case-insensitive suffix selection for local directory
and S3 prefix scans. Explicit files can have any suffix. Narratio does not
transcode or certify the encoding; WhisperX must be able to decode the bytes.
Prepared names and speaker identities are checked for collisions before audio
materialization. See audio selection.Workspace, publication, and restore
The local workspace now separates prepared
inputs/andaudio/, combined
transcripts/withraw/speaker transcripts, flatartifacts/, and run-local
attempt material. Logs and debug views point to the latest actual attempt,
including failures. Selected Notarius lane products are promoted into canonical
artifact locations and can be reused without the original bundle. Retired
spool and audio-cache configuration is no longer accepted; prepared audio has
one verified copy. Subprocess state and caches remain under each tool's control.Only
narratio.session-manifest.v2is accepted locally. Preserve older workspaces
separately, then regenerate or import compatible published products into a new
local baseline. Do not change old schema markers or edit immutable remote
snapshots to bypass validation.Publication now transfers products and prepared inputs without uploading the
local execution ledger.session restoreimports recognized products from the
selected publication inventory and merges them with valid local progress. It
does not restore remote execution checkpoints or claim that remote stages ran
locally. Identical products preserve valid local evidence; changed products
invalidate dependent work while unrelated checkpoints remain.Imported transcripts and artifacts can satisfy downstream work without their
original producer history. Bounded downstream runs prepare required references
without demanding audio for unrelated transcription. Uncovered or forced
transcription still requires audio.render.variantscan select normalized,
trimmed, both, or neither transcript variant. Restore dry runs report planned
imports, conflicts, and projected work;restore --forcepermits eligible file
replacement rather than forcing processing. See the
restore workflow.When
workspace.cleanup_after_publishis enabled and publication evidence
authorizes cleanup, the final cleanup stage removes the entire session run
history: earlier failures, logs, debug captures, restore/probe attempts, and
original Notarius bundles. Managed diagnostic links are removed too. Prepared
inputs, canonical products, and the local manifest remain reusable; remote
published objects and subprocess caches are unaffected. Set the
option tofalseto retain execution evidence.session cleanis different:
it removes the entire local session. See cleanup.Reliability improvements
- Workspace coordination now covers active processing, restore, initialization,
and manual cleanup; lock waiting is cancellation-aware and reported as progress. - Subprocess completion waits for owned process output before releasing resources.
- Audio and publication transfers stream data and verify available size and
object-identity evidence; publication sources are handled one at a time. - Planning checks current S3 source evidence before predicting preparation reuse.
- Previous-session hydration includes configured artifact prerequisites, including
disabled prerequisites needed by selected work. - Shared dependency and input indexes reduce repeated scans during analysis,
inspection, publication, and restore.
Upgrade sequence
- Preserve authored sources, old local workspaces, and any execution evidence
you want to retain. Published products are not execution-checkpoint backups. - Install the applicable downstream versions and migrate their configuration.
- Update Narratio configuration and shared input documents using the maintained
examples. Remove retired keys and update CLI scripts and report consumers. - Validate and inspect configuration with native
configcommands, then review
expanded inputs and outputs withartifacts list. Use a new local baseline
for unsupported state; preview any product import with
session restore SESSION --dry-runbefore applying it. - Run
preflight SESSION, inspectsession plan SESSION, and execute the desired
full or boundedrun. Review cleanup retention before a full published run.
Maintainers now use the module-selected ReleaseKit launcher for candidate
validation, tagging, and asynchronous binary delivery; the old release scripts
have been removed. See the release procedure.Downloads
- The Go module path is now