# Feature Request: Runtime Glossary Inputs for Narratio Status: Proposed ## Summary Provide a supported CLI interface for supplying one or more files containing named native glossary collections to a processing invocation, alongside the normal Audita configuration and selected overlay. Narratio would use this interface to hand Audita prepared campaign and session data. Audita would own composing those inputs with its configuration, resolving collection selections, and executing the configured polishing pipeline. ## Current Baseline Audita v4.1 supports named glossary collections, native configuration imports, and collection selections at the root and individual pipeline entries. These contracts are described in the [configuration reference](../config.md) and [input documentation](../integrations/transcript-glossary-files.md). The [CLI](../cli.md) can select collection names, but does not provide a runtime glossary-file input. The former standalone glossary format is no longer a processing input. Narratio currently passes a prepared session glossary using the former interface and needs a native replacement for that handoff. ## Consumer Use Case Narratio orchestrates D&D transcript generation and polishing. Operators supply campaign inputs such as a party roster, campaign-specific names, and reusable setting or spell references. Narratio prepares session inputs and can derive tool-specific projections from structured data it already understands. A useful Audita invocation could have these logical collections available: - `party`: character names and aliases derived from the campaign party roster. - `campaign`: campaign-specific people, places, organizations, and terminology. - `forgotten_realms`: reusable setting names. - `spells`: reusable spell names. These are illustrative names and inputs. Different campaigns can supply different collections. Separate collections let Audita's pipeline select focused context for different polishing passes. For example, Narratio could supply prepared `party` and `campaign` collections, while operator-maintained Audita configuration imports reusable setting and spell collections. The configured pipeline would select the collections needed by each pass. Narratio could also supply all of the collections when that is more convenient for the deployment. ## Requested External Behavior - Allow a processing caller to supply one or more local files containing named glossary collections using Audita's native glossary model. - Make the supplied collections available to the existing root and per-entry collection selections. Preserve separate collection identities rather than requiring callers to flatten all entries into one glossary. - Support runtime glossary inputs alongside the selected main configuration, overlay, and ordinary companion inputs. The operator's selected configuration remains the entry point for its usual configuration and secrets-bootstrap behavior. - Define how runtime inputs compose with configured collections, including file ordering where relevant and the treatment of overlapping collection names and entry identities. Use native configuration semantics where applicable; Narratio will follow Audita's documented behavior. - Expose the runtime inputs through a supported configuration-inspection workflow so operators can inspect the resolved collections, selections, and available provenance for the invocation. - Apply Audita's normal configuration validation and processing preflight to the resulting configuration, with actionable errors for unusable inputs or selections. The exact CLI spelling, accepted native file shape, and composition rules are for Audita to define. This request specifies consumer-visible capabilities without prescribing internal implementation. ## Ownership Boundary The operator owns campaign content and reusable reference libraries. Narratio owns selecting and preparing its session inputs, including projections such as a glossary derived from a party roster. Its Audita integration produces the supported native input format. Audita owns loading and composing the supplied collections, interpreting them, and selecting and applying them through its configured pipeline. Operators continue to define processing order, profiles, prompts, and per-pass collection selections in Audita configuration. Narratio selects that configuration or an overlay and supplies the runtime data. ## Supporting Rationale A runtime input interface preserves Narratio's prepared-session handoff: polish can consume the selected session data rather than independently loading a live campaign source that may have changed since preparation. It also lets Narratio reuse a canonical party roster across downstream tools while supplying Audita with an appropriate projection. Without this capability, Narratio would need to generate an Audita entry configuration that combines operator settings with prepared glossary data. Changing the selected entry file also affects companion discovery, overlay locations, and bootstrap context. A supported runtime handoff lets Audita own those semantics and reduces consumer-maintained configuration machinery. ## Scope This request concerns runtime glossary data and its composition with existing Audita configuration. It does not request restoration of the legacy glossary format, direct parsing of Narratio party rosters, or support for a Narratio-generated processing pipeline. Existing configured glossary workflows remain useful for standalone Audita users and reusable reference collections.