Share transcript envelope validation

This commit is contained in:
2026-12-02 21:34:28 +00:00
parent a623ecb518
commit 3d09745a79
10 changed files with 79 additions and 56 deletions

View File

@@ -167,7 +167,8 @@ separate from a stage's lifecycle outcome.
Validation by content type:
- transcript JSON built-ins: JSON with top-level `segments` array;
- transcript JSON built-ins: JSON with top-level `segments` array, validated
through the shared `internal/contracts` envelope predicate;
- transcript Markdown built-ins: non-empty text file;
- bounds built-in: valid JSON;
- configured/previous-session artifact files: non-empty text file.

View File

@@ -41,10 +41,10 @@ their scope. Unless assigned otherwise, a finding remains independent audit
remediation. Shared code does not make a refactoring a prerequisite or assign
the whole finding to a roadmap.
Thirty-two entries are closed by the safety, transfer, audio discovery, S3
Thirty-three entries are closed by the safety, transfer, audio discovery, S3
planning, prerequisite-history, publication-import, CLI classification,
inspection aggregation, test maintenance, dead-code removal, and associated
documentation work; 11 remain open. **Planned** identifies
documentation work; 10 remain open. **Planned** identifies
an agreed remedy awaiting implementation. **Potentially eliminated** requires verification that the offending
lifecycle is removed. **Coordinate** identifies shared changes, not a commitment
that a related feature implements the entire finding. Findings close only after their
@@ -663,7 +663,10 @@ Related: [CAT-06](#cat-06--p2-stop-known-size-downloads-before-oversized-bodies-
### CAT-22 — P3: Share the minimal transcript-envelope predicate
Status: Open
Status: Closed
**Closure.** Adapters, stage validation and artifact resolution share the minimal
transcript envelope predicate; literal shape and boundary tests pass.
Original findings: [EQ-01](10-equivalence.md#eq-01--p3-four-boundaries-repeat-the-same-minimal-transcript-shape-validator).

View File

@@ -425,7 +425,7 @@ Validation: `go test ./internal/fileops ./internal/audio ./internal/stage ./inte
## Stage 14: Share The Minimal Transcript Envelope Validator
CAT IDs: CAT-22. Status: Pending.
CAT IDs: CAT-22. Status: Complete.
Read [EQ-01](audit/10-equivalence.md#eq-01--p3-four-boundaries-repeat-the-same-minimal-transcript-shape-validator).