Files
audita/docs/roadmap/future.md

185 lines
10 KiB
Markdown
Raw Normal View History

# Deferred Feature Work
**Last updated:** 2026-11-26
**Status:** Deferred or exploratory work; not implemented or scheduled. These
entries preserve work beyond completed feature and library upgrades.
Each entry states its intent; inclusion does not commit us to
2026-10-03 16:58:43 +00:00
implementing every capability.
## Domain-Aware Response Recovery
2026-10-03 16:58:43 +00:00
The implemented [partial-success decision reconciliation](../internal/validators.md#llm-validator-batching)
preserves usable decisions without another model call. Revision of rejected
correction proposals is implemented with substantive
validator feedback and explicit proposal withdrawal; see the
[pipeline guide](../internal/pipeline.md).
It is distinct from recovering an unavailable validator decision.
Consider bounded feedback and regeneration for model responses that satisfy the
structural schema but leave requested decisions unavailable after reconciliation.
The goal would be to recover more usable work before excluding affected
candidates, when doing so materially improves outcomes.
This capability is explicitly deferred. Current behavior retains PromptKit
structural repair and per-candidate reconciliation; unavailable requested
decisions produce errors while other candidates can succeed.
Before implementation, define the Audita/PromptKit ownership boundary, which
checks are eligible for feedback, how feedback identifies defects without exposing
secrets, and how regeneration fits bounded budgets and operation deadlines. Reuse
shared library capabilities where appropriate; do not introduce an uncoordinated
outer retry loop that multiplies existing retry/repair budgets.
Editorial rejection remains a valid decision about the evaluated proposal. The
implemented correction repair loop handles subsequent revision and full
revalidation; this deferred entry concerns unavailable decisions. Decision recovery
must preserve required validation, candidate identity, partial-success safety,
and truthful error/recovery reporting. Validate with controlled responses that
distinguish protocol defects from valid negative decisions. Exact APIs, budgets,
and sequencing remain undecided. General per-entry salvage from structurally
invalid responses also remains a separate design question; current reconciliation
retains whole-response structural validation.
## Independent Whole-Pipeline Traversal by Chunk
Explore allowing each fixed chunk to advance through its ordered stages without
waiting for other chunks to finish the current stage. This could reduce waiting
behind a slow chunk and improve utilization while preserving stage order within
each chunk and deterministic final recombination.
The resilience feature deliberately retains stage barriers: finish a stage across
chunks before advancing to the next stage. Fixed boundaries alone do not authorize
independent traversal.
A future design must establish that stages do not depend on other chunks' evolving
state, preserve stable identities and partial-success rules, and continue to share
PromptKit's per-backend capacity across all roles and stages. Reporting must remain
deterministic despite different completion orders, and fatal cancellation must
still stop and join active work. Assess whether the scheduling change materially
improves real workloads before introducing additional orchestration machinery.
No new scheduler, global limiter, or execution mode is selected by this entry.
## Whole-Segment Removal
Potential future work, subject first to evaluating whether it is worth implementing
at all. Empty replacement text and deletion of a span within a surviving segment
2026-10-03 16:58:43 +00:00
are covered by the implemented [span-deletion behavior](../internal/modules.md#proposal-generation-ownership).
That feature does not remove segment records or permit blank resulting segments.
Before designing segment removal, review representative production examples to
establish whether whole-segment deletion is a meaningful unmet need. An empty
replacement alone does not establish that intent: it can express ordinary filler
or punctuation deletion within a larger segment. Assess how often genuinely
expendable whole segments occur after deterministic normalization, the transcript
quality benefit of removing them, and the risk of losing substantive speech.
Compare those benefits with the implementation and ongoing maintenance costs.
Retaining the segment and declining the edit is a valid outcome if the benefit is
small or uncertain. No numerical adoption threshold is selected.
Only if that evaluation supports proceeding should a separate feature design
choose a representation, authorization and validation rules, and reporting
semantics. It must address meaning preservation and the effects on segment
identity, timestamps, fixed chunks, subsequent stages, recombination, and output
consumers. Do not infer authorization to remove a segment from an empty string
or introduce segment-removal machinery as part of span-deletion consistency.
2026-11-15 02:31:59 +00:00
## Live-Model Editorial Evaluation
Consider an opt-in transcript corpus and live-model comparisons to assess needed
and unnecessary edits, missed corrections, validator disagreement, and repair
outcomes through independent editorial review. Native PromptKit execution
summaries can supply request and usage measurements. Keep live calls outside
the offline test suite.
Broader validator context and combined semantic validation remain exploratory.
A proposal to expand context should identify a captured case and the evidence
missing from the validator request.
See the [current validator context](../internal/validators.md#supplemental-validation-context).
## D&D Recipes and Narratio Adoption
Audita's runtime glossary feature is implemented. Its current interface belongs
in the [CLI](../cli.md), [configuration](../config.md), and
[input contracts](../integrations/transcript-glossary-files.md). The companion
work below remains separate from Audita's completed implementation sprint.
The `audita-pipelines-dnd` repository owns the planned
`overlays/dnd-production.yml` and `overlays/dnd-testing.yml`, domain-specific
collection instructions, synthetic examples, and public recipe contracts.
Preserve the agreed contracts below until that repository owns them canonically.
Its README should document supported Audita versions, roles and default inputs,
profile requirements, installation beside the selected main configuration,
invocation through the existing overlay mechanism, and the distinction between
production and testing. Link to Audita's contracts and native library references.
Update its provisional agent guidance as the recipes land. No custom installer,
loader, pipeline selector, or D&D-specific Audita behavior is needed.
The recipes should support prepared session collections alongside configured
reusable references and callers supplying all collections. Logical roles are
independent of filenames. Operators can use these overlays or maintain local
recipes; Narratio can target a selected recipe tag or revision without encoding
the stage sequence. Production is the normal polishing recipe, and testing uses
a cheaper model for development. Neither has a fixed runtime, price, or quality
guarantee. Offline recipe checks belong in that repository; empirical quality
evaluation remains separate. Publishing recipes is independent of Audita releases.
Narratio separately migrates its adapter to supply native runtime glossary files,
select the operator's configuration/overlay, and review its remaining CLI/output
assumptions, including legacy `--modules`. It owns projecting campaign/session
content such as party rosters into native collections. This work does not restore
legacy Audita flags or formats.
### Shared inputs
Both overlays accept the same named roles:
| Collection | Content |
| --- | --- |
| `party` | Player characters and their aliases. |
| `campaign` | Campaign-specific entities and terminology. |
| `setting` | Reusable world vocabulary. |
| `spells` | Spell vocabulary. |
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.
### Initial stage sequences
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.
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.
### Profile aliases
The external recipe repository supplies these profiles using native inheritance
from Audita's bundled OpenRouter catalog:
| Recipe/profile ID | Bundled parent profile | Reasoning effort |
| --- | --- | --- |
| `dnd-production` | `gpt-terra-latest` | `low` |
| `dnd-testing` | `gpt-luna-latest` | `medium` |
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.
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.