Simplify stage and Audita contracts
This commit is contained in:
@@ -15,7 +15,12 @@ runner composition is documented in
|
||||
- required transcript/glossary/output/work-dir paths;
|
||||
- optional report path (required when report mode is enabled);
|
||||
- generated config and stdout/stderr log paths;
|
||||
- optional module/model/base-url/config/output-schema/concurrency settings.
|
||||
- optional per-invocation module override.
|
||||
|
||||
The constructed runner owns static Audita settings: binary, timeout,
|
||||
credentials, default modules, model and endpoint settings, validation and output
|
||||
settings, report mode, and concurrency. The `polish` stage supplies only
|
||||
invocation-specific paths and may override modules for that invocation.
|
||||
|
||||
## Result Contract
|
||||
`PolishResult` returns:
|
||||
|
||||
@@ -17,7 +17,8 @@ Run Audita polishing on base transcript and produce polished transcript.
|
||||
## Key Behavior
|
||||
|
||||
- resolves base transcript from merge outputs/canonical fallback.
|
||||
- invokes Audita with configured model/module/runtime options.
|
||||
- invokes an Audita runner configured with static model/runtime options; the
|
||||
invocation supplies paths and modules.
|
||||
- validates processed transcript structure (`segments` array required).
|
||||
- validates optional report JSON.
|
||||
- materializes canonical outputs; records logs/generated config and adapter metadata.
|
||||
|
||||
@@ -1014,6 +1014,8 @@ stabilized and place static Audita policy in its constructor.
|
||||
tests, search for removed symbols/TODOs/stale request fields, and confirm public
|
||||
package documentation matches the remaining contract.
|
||||
|
||||
**Status:** Completed.
|
||||
|
||||
## Stage 31 — Enforce CI validation and streamline the assembled test suite
|
||||
|
||||
**Read first:** `audit-findings.md` lines 3822–3836 (TST-012) and 3869–3885
|
||||
|
||||
Reference in New Issue
Block a user