Document and verify runtime glossary workflows
This commit is contained in:
@@ -41,6 +41,15 @@ work directory. `audita process --help` lists the available flags. An omitted fl
|
||||
does not contribute an override. [Configuration](config.md) defines their values
|
||||
and inheritance.
|
||||
|
||||
`--glossary-file PATH` supplies a wrapperless runtime glossary file. Repeat it
|
||||
to compose files in argument order. Each occurrence is a single path resolved
|
||||
from the invocation working directory. This flag does not select collections:
|
||||
use configured selections or `--glossaries`. It is also accepted by configuration
|
||||
inspection and configuration-consuming PromptKit resource, request, and smoke
|
||||
commands. Configuration comparison applies the same ordered files to both sides.
|
||||
See the [input format](integrations/transcript-glossary-files.md) and native
|
||||
command help for the available operations.
|
||||
|
||||
## Inspection and outcomes
|
||||
|
||||
The application configuration scope uses ConfigKit's native effective values,
|
||||
|
||||
@@ -22,6 +22,17 @@ inheritance, applies explicit overrides, records derived defaults, and validates
|
||||
the result. Its [configuration reference](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md)
|
||||
owns native composition and provenance semantics.
|
||||
|
||||
Runtime files supplied with `--glossary-file` are first composed separately in
|
||||
argument order using native imports and entry identities. Imports are resolved
|
||||
beside their declaring files. The resolved wrapperless mapping is then assigned
|
||||
to `glossary_collections` as one CLI override in the application load. Supplied
|
||||
entry lists replace configured lists at that boundary; unrelated configured
|
||||
collections remain. Omitted fields retain configured values, while explicit
|
||||
empty and null values follow native assignment and decoding. Application and
|
||||
overlay parsing and validation still apply. Final explanation records the CLI
|
||||
assignment, while original runtime file and import source records belong to the
|
||||
preliminary load rather than final provenance. See the [runtime file contract](integrations/transcript-glossary-files.md).
|
||||
|
||||
Before shared configuration loading, Audita runs configured ConfigKit secrets
|
||||
bootstrap against the selected main source. This can populate the process
|
||||
environment for processing and native inspection; help and version do not load
|
||||
@@ -51,7 +62,11 @@ invocation to pick up changes. Inspection does not require model credentials.
|
||||
|
||||
## Pipeline and glossary selections
|
||||
|
||||
`glossary_collections` maps names to collections with an ordered `entries` list.
|
||||
`glossary_collections` maps names to collections with an ordered `entries` list
|
||||
and optional `instruction` string. Instructions from the effective selected
|
||||
glossaries, in selection order, guide proposal generation and remain in the
|
||||
proposal conversation during repair. Protection-only collections do not add
|
||||
guidance, and instructions do not add deterministic validation rules.
|
||||
Each entry has an `id`, `name`, and `category`; `description`, `aliases`, and
|
||||
`plural` provide optional context. Entries are identified within their collection
|
||||
by `id`. Root `glossaries` and `protected_terms` select collection names. If root
|
||||
|
||||
@@ -19,6 +19,14 @@ Supplying a configuration path also makes file selection predictable. Configured
|
||||
secrets bootstrap can populate the child environment before the shared load;
|
||||
see [configuration](../config.md#loading-and-composition).
|
||||
|
||||
For prepared vocabulary, write one or more wrapperless collection files and
|
||||
pass each path as a separate `--glossary-file` argument. Select the main
|
||||
configuration and overlay that define the desired pipeline and collection
|
||||
selections; supplying files does not select them. The same arguments can be
|
||||
used to inspect the effective configuration before processing. See the
|
||||
[input format](transcript-glossary-files.md#glossary-collections) and
|
||||
[CLI reference](../cli.md#processing) for composition and error outcomes.
|
||||
|
||||
Choose a trusted configuration bundle. An explicit main path still allows
|
||||
its configured imports and automatic overlay, glossary, and prompt companions.
|
||||
Without a main path, Audita uses the configured discovery locations. The
|
||||
|
||||
@@ -36,3 +36,23 @@ The [local example](../../examples/local/glossary.yml) provides a complete
|
||||
collection. Configuration may contain empty collections; processing preflight
|
||||
requires every glossary-correction entry to select at least one glossary entry.
|
||||
The previous standalone `glossary` file format is not a processing input.
|
||||
|
||||
Runtime files supplied with `--glossary-file` are YAML mappings keyed directly
|
||||
by collection name, without a `glossary_collections` wrapper. Each collection
|
||||
may contain `instruction` and `entries`; entries retain additional fields as
|
||||
extensions. For example:
|
||||
|
||||
```yaml
|
||||
people:
|
||||
instruction: Prefer the speaker's stated name when supported by context.
|
||||
entries:
|
||||
- id: speaker
|
||||
name: Mira Chen
|
||||
category: person
|
||||
aliases: [Mira]
|
||||
source_note: Prepared for this recording
|
||||
```
|
||||
|
||||
See the [complete runtime glossary example](../../examples/README.md#runtime-glossary-input)
|
||||
and [composition and selection rules](../config.md#loading-and-composition).
|
||||
Files and their imports are protected by the existing output collision checks.
|
||||
|
||||
@@ -39,6 +39,11 @@ profile and backend inspections and equivalent glossary views within the
|
||||
invocation. Native inspection commands continue to inspect configuration
|
||||
without running processing readiness checks.
|
||||
|
||||
Runtime glossary files use a preliminary ConfigKit load before the shared
|
||||
application load. Processing retains its acquired source paths for output
|
||||
collision checks; inspection receives the final native result and CLI origin.
|
||||
Both sides of a native comparison use the same invocation file list.
|
||||
|
||||
## Validating Examples
|
||||
|
||||
Keep complete copyable files in [examples](../../examples/) and link to them from
|
||||
|
||||
@@ -34,7 +34,11 @@ these roles, including the transition from a correction set to one repair result
|
||||
For a standard request preview or validation, select a native PromptKit profile
|
||||
and supply the template variables used by the selected prompt. The shipped
|
||||
proposal definitions use `TranscriptDescriptionBlock`, `GlossaryJSON`,
|
||||
`ProtectedTermsJSON`, and `SectionJSON`. Glossary entries provide context,
|
||||
`ProtectedTermsJSON`, `GlossaryInstructionsBlock`, and `SectionJSON`. Selected
|
||||
collection instructions are labeled and ordered in the guidance block; empty
|
||||
instructions are omitted. The block defaults to empty in previews when omitted,
|
||||
and caller-provided values are retained. The original proposal conversation
|
||||
retains that guidance during correction repair. Glossary entries provide context,
|
||||
and the separate spelling list defines protection. Preview defaults the
|
||||
spelling list to `[]` when omitted. The validator definitions use `TranscriptDescriptionBlock` and
|
||||
`PayloadJSON`. The latter is supplied candidate JSON and does not require a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Runtime Glossary Inputs: Implementation Plan
|
||||
|
||||
Status: Ready for implementation.
|
||||
Status: Complete for Audita. Companion deliveries remain separate as described below.
|
||||
|
||||
Implement the target defined in [Runtime Glossary Inputs and Overlay Recipes](runtime-glossary-inputs.md).
|
||||
That roadmap owns product intent, precedence, instruction semantics, and external
|
||||
@@ -263,6 +263,8 @@ Acceptance:
|
||||
|
||||
## Stage 6: Complete integration evidence and canonical documentation
|
||||
|
||||
Status: Complete.
|
||||
|
||||
Work:
|
||||
|
||||
1. Add a domain-neutral copyable runtime glossary example under `examples/`,
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
# Runtime Glossary Inputs and Overlay Recipes
|
||||
|
||||
Status: Target design and initial recipe contracts agreed. The Audita implementation
|
||||
sequence is defined in [the implementation plan](implementation.md). These features
|
||||
and external overlays are not yet implemented; the external repository has
|
||||
development scaffolding.
|
||||
Status: The Audita runtime glossary feature is implemented; see the
|
||||
[implementation plan](implementation.md). The external overlays and Narratio
|
||||
adapter migration remain separate companion work.
|
||||
|
||||
This roadmap records Audita's response to Narratio's runtime glossary input
|
||||
request. It targets a supported handoff for prepared session vocabulary while
|
||||
retaining Audita configuration as the owner of transcript processing behavior.
|
||||
|
||||
## Current Baseline
|
||||
## Baseline Before Implementation
|
||||
|
||||
Audita v4.1 uses version 3 application configuration and ConfigKit v1.4.0.
|
||||
Named `glossary_collections` already support root and per-stage selections,
|
||||
@@ -19,8 +18,8 @@ are anchored to the selected main configuration. See the
|
||||
[configuration contract](../config.md) and
|
||||
[input contract](../integrations/transcript-glossary-files.md).
|
||||
|
||||
Collections currently contain entries but no collection-level instruction field.
|
||||
Stage preparation flattens selected collections into entry context for proposals.
|
||||
Collections contained entries but no collection-level instruction field.
|
||||
Stage preparation flattened selected collections into entry context for proposals.
|
||||
Repair retains the original proposal conversation; validators prepare separate
|
||||
context from matched entries.
|
||||
|
||||
@@ -29,7 +28,7 @@ and composes application and PromptKit settings. Processing and native inspectio
|
||||
use this shared configuration path. Processing preflight checks resolved glossary
|
||||
selections and execution readiness separately from inspection.
|
||||
|
||||
The CLI can select collections but cannot accept glossary files at invocation
|
||||
The CLI could select collections but could not accept glossary files at invocation
|
||||
time. Narratio still uses the former standalone glossary flag and format. Its
|
||||
adapter also has other legacy CLI assumptions, including optional `--modules`;
|
||||
adding this feature alone will not complete Narratio's migration.
|
||||
|
||||
Reference in New Issue
Block a user