Record agreed D&D overlay contracts and model profiles
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Runtime Glossary Inputs and Overlay Recipes
|
||||
|
||||
Status: Runtime input design and repository separation agreed; external recipe
|
||||
contracts remain open. Implementation has not begun.
|
||||
Status: Runtime input design, repository separation, and initial recipe contracts
|
||||
agreed. Ready for implementation planning; runtime inputs and 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
|
||||
@@ -70,10 +71,11 @@ The external repository owns both overlays and their public contracts. Its READM
|
||||
will document supported Audita versions, glossary roles and required/default
|
||||
inputs, profile requirements, installation, invocation, and the distinction between
|
||||
the two recipes. It will link to Audita's native format and CLI documentation.
|
||||
Production is the normal polishing recipe; testing is a cheaper, shorter
|
||||
development run, not a candidate production recipe or a promise of equivalent
|
||||
correction quality. The repository can evolve independently of Audita; Narratio
|
||||
can target a selected tag or revision of its contracts.
|
||||
Production is the normal polishing recipe. Testing uses the full production
|
||||
stage sequence with a cheaper model for development; lower cost and turnaround
|
||||
are the intent, without a fixed runtime or equivalent-quality guarantee. The
|
||||
repository can evolve independently of Audita; Narratio can target a selected
|
||||
tag or revision of its contracts.
|
||||
|
||||
### Ownership
|
||||
|
||||
@@ -199,7 +201,7 @@ stages still require at least one selected entry under existing preflight rules.
|
||||
|
||||
### 2. Coordinate the External Recipe Contract
|
||||
|
||||
- Resolve the external recipe decisions below in `audita-pipelines-dnd`. That
|
||||
- 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
|
||||
@@ -254,79 +256,61 @@ 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.
|
||||
|
||||
## Open Decisions
|
||||
## Agreed External Recipe Contracts
|
||||
|
||||
These decisions belong to the external D&D recipe contracts. They do not block
|
||||
implementation planning for Audita's general runtime glossary input interface.
|
||||
Recommendations below are proposals, not additional Audita invariants.
|
||||
These contracts belong in `audita-pipelines-dnd` as its overlays are implemented.
|
||||
They do not add D&D-specific rules to Audita. No significant open design decisions
|
||||
remain for the current scope.
|
||||
|
||||
### 1. Which glossary roles and content requirements should both overlays expose?
|
||||
### Shared Glossary Inputs
|
||||
|
||||
**Context:** Narratio needs stable logical names to populate. Both overlays can
|
||||
consume the same prepared vocabulary even when they process it differently.
|
||||
Missing collection definitions and empty selections have different consequences:
|
||||
empty definitions are valid, but a glossary stage needs at least one selected
|
||||
entry in aggregate.
|
||||
Both overlays accept the same named roles:
|
||||
|
||||
**Recommendation:** Use `party` (player characters and aliases), `campaign`
|
||||
(campaign-specific entities and terminology), `setting` (reusable world vocabulary),
|
||||
and `spells` (spell vocabulary) in both overlays. Provide empty defaults where
|
||||
content is absent, preserving operator-supplied content through native composition.
|
||||
Do not require every role to contain entries. Require only the content needed by
|
||||
actual stage selections under existing preflight rules. Additional collections
|
||||
remain allowed. This keeps one prepared dataset usable for production and testing
|
||||
and accommodates campaigns with differing available references. The tradeoff is
|
||||
that absent expected content can be valid rather than signaling an incomplete
|
||||
Narratio preparation step.
|
||||
| Collection | Content |
|
||||
| --- | --- |
|
||||
| `party` | Player characters and their aliases. |
|
||||
| `campaign` | Campaign-specific entities and terminology. |
|
||||
| `setting` | Reusable world vocabulary. |
|
||||
| `spells` | Spell vocabulary. |
|
||||
|
||||
**Alternative:** Make selected roles, such as `party` and `campaign`, required
|
||||
nonempty inputs to the recipe contract. This gives Narratio a stronger readiness
|
||||
check but excludes otherwise useful runs with sparse vocabulary. Such a
|
||||
recipe-specific preparation check would belong with the integration, not a new
|
||||
D&D validation rule in Audita. Another viable shape is one combined `session`
|
||||
collection; it simplifies preparation but loses the role boundaries needed for
|
||||
focused passes and independent replacement.
|
||||
Provide empty defaults for absent content through native composition, preserving
|
||||
operator-supplied vocabulary. Each role need not contain entries; normal preflight
|
||||
requires at least one selected entry for each glossary stage. Additional
|
||||
collections remain permitted. Narratio can reuse one prepared dataset for both
|
||||
recipes, with configuration supplying reusable references where desired.
|
||||
|
||||
### 2. What should distinguish the production and testing stage sequences?
|
||||
### Production and Testing Sequences
|
||||
|
||||
**Context:** Testing is agreed to mean a cheaper, shorter development run. The
|
||||
exact stage sequences and glossary/protection selections have not been chosen.
|
||||
Production should continue to evolve with observed correction quality.
|
||||
Start both overlays with Audita's current normal sequence: glossary, homophones,
|
||||
glossary, spoken_word, grammar. Select the four roles together at the root and
|
||||
use existing protection behavior. Testing retains the full production sequence
|
||||
and ordinary validation; it achieves its development-cost objective through model
|
||||
selection rather than removing stages.
|
||||
|
||||
**Recommendation:** Start production from Audita's current normal module sequence,
|
||||
with the four roles selected together and existing protection behavior. For testing,
|
||||
start with one glossary pass followed by grammar cleanup, using the same input
|
||||
roles and ordinary validators. This exercises vocabulary correction and editorial
|
||||
cleanup with fewer stages, without introducing a new execution mode. It provides
|
||||
less coverage than production and does not guarantee a particular cost or duration.
|
||||
Reevaluate production sequencing using observed results, keeping testing aligned
|
||||
with the production sequence. The initial sequence is not a permanent invariant.
|
||||
The recipe contract does not guarantee a particular cost, duration, or equivalence
|
||||
of correction quality between models.
|
||||
|
||||
**Alternative:** Use focused production passes, such as `party` plus `campaign`
|
||||
followed by `setting` plus `spells`, with explicit protection selections. This
|
||||
may improve results for large catalogs, but every glossary stage must have some
|
||||
selected content; deployments lacking a group would need adjusted selections.
|
||||
For testing, retaining the full production sequence with cheaper profiles is also
|
||||
viable: it exercises all stages but may offer less predictable runtime savings.
|
||||
Choose exact sequences through representative workload
|
||||
experience rather than freezing these starting recommendations.
|
||||
### Native PromptKit Profile Aliases
|
||||
|
||||
### 3. How should the overlays select model profiles?
|
||||
The external recipe repository supplies these profiles using native inheritance
|
||||
from Audita's bundled OpenRouter catalog:
|
||||
|
||||
**Context:** Fewer stages can reduce testing work, while model selection also
|
||||
influences cost and turnaround. Recipes need a predictable profile-selection
|
||||
contract without assuming an operator's credentials or provider deployment.
|
||||
| Recipe/profile ID | Bundled parent profile | Reasoning effort |
|
||||
| --- | --- | --- |
|
||||
| `dnd-production` | `gpt-terra-latest` | `low` |
|
||||
| `dnd-testing` | `gpt-luna-latest` | `medium` |
|
||||
|
||||
**Recommendation:** Have each overlay select an operator-defined proposal profile,
|
||||
with documented names such as `dnd-production` and `dnd-testing`. Leave validation
|
||||
and correction-repair profiles to existing fallback behavior unless explicitly
|
||||
configured by the operator. The main configuration supplies native PromptKit
|
||||
profiles, providers, and credentials; the testing profile can select a cheaper,
|
||||
faster model. This keeps recipes portable and avoids maintaining provider-specific
|
||||
catalogs, at the cost of requiring profile setup in each deployment.
|
||||
Each overlay selects its corresponding proposal profile. Define the alias with
|
||||
`extends: {id: gpt-terra-latest}` or `extends: {id: gpt-luna-latest}` and the native
|
||||
`reasoning_effort` field under the combined configuration's `promptkit.profiles`.
|
||||
Inherit the backend and model from the bundled profile rather than duplicating
|
||||
those definitions. This is native profile inheritance, not a new alias mechanism.
|
||||
|
||||
**Alternative:** Have both overlays inherit the main configuration's profile
|
||||
selection, with testing savings coming from fewer stages. This needs less setup
|
||||
and works with any existing profile names, but overlay selection alone would not
|
||||
select a cheaper model. Supplying concrete provider/model defaults in the recipe
|
||||
repository is another viable choice for a turnkey deployment; it reduces setup
|
||||
but ties the recipe more closely to particular providers and requires ongoing
|
||||
review as model availability, performance, and prices change.
|
||||
Validation and correction-repair profiles keep existing fallback behavior unless
|
||||
explicitly configured by the operator. Operators supply credentials through the
|
||||
usual PromptKit/ConfigKit mechanisms and can customize profiles using native
|
||||
configuration. The recipe README will document the chosen aliases and deployment
|
||||
requirements; it will not require operators to construct the default aliases
|
||||
manually. Model catalog and provider behavior remain upstream-owned.
|
||||
|
||||
Reference in New Issue
Block a user