Remove brittle and duplicate test assertions

This commit is contained in:
2026-12-02 21:10:04 +00:00
parent 17f930b8d5
commit d3b4f25f71
5 changed files with 42 additions and 42 deletions

View File

@@ -41,9 +41,9 @@ 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.
Nineteen entries are closed by the safety, transfer, audio discovery, S3
planning, prerequisite-history, publication-import, CLI classification, inspection aggregation, and
associated documentation work; 24 remain open. **Planned** identifies
Twenty-one entries are closed by the safety, transfer, audio discovery, S3
planning, prerequisite-history, publication-import, CLI classification,
inspection aggregation, test maintenance, and associated documentation work; 22 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
@@ -877,7 +877,10 @@ Related: [CAT-19](#cat-19--p3-describe-stable-prepared-products-once-for-materia
### CAT-35 — P3: Remove assertions on incidental serialization and validation order
Status: Open
Status: Closed
**Closure.** Metadata tests compare decoded JSON members and omissions; the native campaign
validation test locates its diagnostic without requiring its position.
Original findings: [TE-07](08-testing.md#te-07--p3-some-assertions-freeze-incidental-serialization-or-validation-order).
@@ -966,7 +969,10 @@ configuration ownership or introduce new destination semantics.
### CAT-41 — P3: Remove the duplicate normalized-transcript test
Status: Open
Status: Closed
**Closure.** The duplicate analysis test was removed; the manifest-authoritative source test
remains.
Original findings: [TE-08](08-testing.md#te-08--p3-two-normalized-transcript-tests-are-exact-duplicates).

View File

@@ -121,7 +121,7 @@ Validation: `go test ./internal/app -run 'Test.*(Inspection|SessionState|Publish
## Stage 2: Remove Incidental And Duplicate Test Constraints
CAT IDs: CAT-35, CAT-41. Status: Pending.
CAT IDs: CAT-35, CAT-41. Status: Complete.
Read [TE-07](audit/08-testing.md#te-07--p3-some-assertions-freeze-incidental-serialization-or-validation-order)
and [TE-08](audit/08-testing.md#te-08--p3-two-normalized-transcript-tests-are-exact-duplicates).