Plan runtime glossary input implementation
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Runtime Glossary Inputs and Overlay Recipes
|
||||
|
||||
Status: Runtime input design, collection instructions, repository separation, and
|
||||
initial recipe contracts agreed. Ready for implementation planning; these features
|
||||
and overlays are not yet implemented. The external repository has development
|
||||
scaffolding.
|
||||
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.
|
||||
|
||||
This roadmap records Audita's response to Narratio's runtime glossary input
|
||||
request. It targets a supported handoff for prepared session vocabulary while
|
||||
@@ -225,103 +225,48 @@ The override does not bypass earlier ConfigKit parsing, inheritance, or decoding
|
||||
failures. Empty collections remain valid configuration; glossary processing
|
||||
stages still require at least one selected entry under existing preflight rules.
|
||||
|
||||
## Work to Reach the Target
|
||||
## Delivery and Acceptance
|
||||
|
||||
### 1. Add the Runtime Input Bridge
|
||||
Audita's delivery includes shared runtime-file acquisition, processing and native
|
||||
inspection wiring, existing source collision protection for acquired files and
|
||||
imports, and selected collection instructions in proposal and retained repair
|
||||
context. Domain validation and processing readiness retain their existing owners.
|
||||
The [implementation plan](implementation.md) defines the code changes, ordered
|
||||
stages, focused tests, and documentation work for that application delivery.
|
||||
|
||||
- Extend shared acquisition inputs to carry the ordered glossary file arguments.
|
||||
Keep CLI parsing in the CLI layer and ConfigKit composition in the configuration
|
||||
adapter; keep modules and validators unaware of the new source mechanism.
|
||||
- Implement the preliminary native load and single override handoff, sharing
|
||||
existing glossary identity definitions where useful. Leave domain validation
|
||||
with the existing final configuration and preflight owners rather than creating
|
||||
a second glossary validation policy.
|
||||
- Preserve the main-source bootstrap path and normal cancellation/error handling.
|
||||
Keep any preliminary-load bookkeeping local to acquisition; the application
|
||||
and PromptKit still consume the final shared application result.
|
||||
- Connect the repeatable flag to processing and native configuration-consuming
|
||||
inspection. Help and version should remain free of configuration acquisition.
|
||||
- Include acquired glossary files and imports in existing input/output collision
|
||||
protections where applicable, using native source records rather than scanning
|
||||
import declarations independently.
|
||||
Acceptance is based on observable behavior with real ConfigKit composition and
|
||||
controlled model responses where needed:
|
||||
|
||||
### 2. Carry Instructions into Proposal Context
|
||||
- Supplied files override main and overlay entry lists while unrelated configured
|
||||
collections and existing selection controls continue to work.
|
||||
- Repeated files, imports, matching identities, and final list replacement respect
|
||||
the two native composition boundaries. Entries-only contributions retain a
|
||||
configured instruction.
|
||||
- Processing and inspection see equivalent effective values; final evidence
|
||||
identifies CLI assignment, and preliminary load errors retain useful diagnostics.
|
||||
- Relative file paths use the invocation directory without changing the selected
|
||||
main's companion, overlay, or bootstrap context. Acquired source files are
|
||||
covered by the existing input/output collision protections.
|
||||
- Selected instructions retain their order and collection labels through shared
|
||||
context preparation and repair. Empty instructions and protection-only
|
||||
collections do not contribute guidance. Validator context remains unchanged.
|
||||
- Canonical CLI, configuration, input, subprocess and prompt documentation describes
|
||||
the delivered interface. Audita's copyable examples are domain-neutral; native
|
||||
library semantics remain linked to upstream documentation.
|
||||
|
||||
- Extend the collection configuration model with the optional string field and
|
||||
retain it through normal configuration and runtime-file acquisition.
|
||||
- Preserve collection names and their resolved instructions while constructing
|
||||
the stage's flattened glossary entries. Prepare the instruction block with the
|
||||
shared stage context, using the stage's glossary selection order.
|
||||
- Expose the block as an additional proposal template variable and include it in
|
||||
bundled proposal definitions. Keep the existing glossary entry payload usable
|
||||
by operator prompt definitions. Use an empty default for the new variable in
|
||||
ordinary previews that omit instructions.
|
||||
- Reuse the existing repair conversation; no separate repair instruction loader
|
||||
or validator-context expansion is part of this change.
|
||||
The general Audita feature is independently deliverable. The separate
|
||||
`audita-pipelines-dnd` repository owns the overlays below, their short README,
|
||||
examples, validation, supported Audita versions and deployment requirements.
|
||||
Its public contract will describe logical roles independently of file layout,
|
||||
including prepared session vocabulary alongside configured reusable references
|
||||
and callers supplying all collections. Narratio follows that repository's selected
|
||||
contract revision; it does not encode Audita's processing sequence.
|
||||
|
||||
### 3. Coordinate the External Recipe Contract
|
||||
|
||||
- Implement the agreed recipe contracts below in `audita-pipelines-dnd`. That
|
||||
repository owns D&D examples and contracts; this roadmap tracks the integration
|
||||
dependencies until those contracts have a canonical home there.
|
||||
- Provide the two overlay files and a short README in that repository. Document
|
||||
logical roles independently of file layout, with session-specific collections
|
||||
alongside configured reusable references and a caller supplying all collections.
|
||||
- State which collections each overlay selects and how empty definitions interact
|
||||
with its stages. Do not add a global Audita requirement that every defined
|
||||
collection be selected or nonempty.
|
||||
- Keep stage sequencing and prompt tuning changeable without requiring Narratio
|
||||
to encode those details. Reevaluate production quality empirically. Define
|
||||
testing as a reduced-cost development path, retaining normal validation of the
|
||||
corrections it proposes.
|
||||
- The general Audita feature can be implemented independently of the final D&D
|
||||
recipes. Creating or publishing the external repository is separate work from
|
||||
this documentation update.
|
||||
|
||||
### 4. Validate the Integration
|
||||
|
||||
Use real ConfigKit collaborators and a small set of behavioral tests under the
|
||||
[testing policy](../policy/testing.md):
|
||||
|
||||
- Prove that supplied entries override both main and overlay entries, while
|
||||
unrelated configured collections remain and existing selection flags work.
|
||||
- Exercise repeated files with matching identities, an import, and final entry
|
||||
list replacement to protect the two composition boundaries.
|
||||
- Verify equivalent effective values through processing and inspection, with
|
||||
native CLI-origin evidence and useful file-load errors.
|
||||
- Cover representative invalid-input and preflight failures before model work,
|
||||
and preservation of the selected main's companion/bootstrap context when the
|
||||
invocation directory differs.
|
||||
- Verify instruction selection, ordering, collection labels, omission of empty
|
||||
instructions, and exclusion of protection-only collections through shared prompt
|
||||
preparation. Cover entries-only CLI replacement retaining configured instructions.
|
||||
Check that the repair conversation retains supplied guidance, without asserting
|
||||
exact bundled prose or expanding validator-context tests for deferred behavior.
|
||||
- Exercise a domain-neutral overlay fixture with controlled model responses
|
||||
where needed to prove the end-to-end handoff. Reuse existing tests for unchanged
|
||||
domain rules. D&D recipe examples and their verification belong to the external
|
||||
repository.
|
||||
|
||||
Do not duplicate ConfigKit's full composition test matrix or lock prompt wording,
|
||||
incidental formatting, or private helper structure into tests. Run focused tests
|
||||
and the repository's normal build/full-suite checks when implementation lands.
|
||||
|
||||
### 5. Document and Coordinate Adoption
|
||||
|
||||
Update the canonical CLI, configuration, input, and subprocess integration
|
||||
documents as the behavior lands. Put domain-neutral copyable artifacts in Audita
|
||||
`examples/`; keep D&D artifacts and recipe documentation in `audita-pipelines-dnd`.
|
||||
Document the two composition boundaries, path bases, accepted file shape, role
|
||||
selections, and available inspection evidence. Document collection instructions
|
||||
in the input/configuration owners and their proposal/repair use in the prompt
|
||||
integration documentation. Link upstream for native semantics.
|
||||
|
||||
Coordinate Narratio's adapter migration separately: replace the legacy glossary
|
||||
handoff with native collections, select the operator's configuration/overlay, and
|
||||
review its remaining CLI and output assumptions against current Audita contracts.
|
||||
Audita need not restore legacy flags to support that migration. Release notes
|
||||
should describe the delivered feature; this roadmap does not select a release
|
||||
number or extend any earlier one-time versioning exception.
|
||||
Narratio's adapter migration is separate: replace the legacy glossary handoff,
|
||||
select the operator's configuration/overlay, and review remaining CLI and output
|
||||
assumptions against current Audita contracts. Audita need not restore legacy
|
||||
flags. Release notes will describe delivered behavior; this roadmap does not
|
||||
select a release number or extend any earlier one-time versioning exception.
|
||||
|
||||
## Agreed External Recipe Contracts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user