core/generate/derivation/state
Shay ad75a2c79a test(derivation): add ADR-0184 semantic replay equivalence harness
ADR-0184 S4b — the replay/provenance equivalence boundary, the
precondition for any semantic-primary path. After #685 the in-repo
legacy path delegates to the semantic boundary, so old-vs-new is
vacuous; the durable reference is a pinned canonical trace artifact
(evals/gsm8k_math/equivalence/v1/, 937 problems) whose authority is
the #684/#685 cross-tree differentials (documented provenance chain).

- state/provenance.py: replay_is_faithful — the replay bridge's law as
  a checkable structural property (no verify/pool import; covered by
  the #685 authority scan).
- equivalence/trace.py: canonical traces (worlds, candidates, order,
  multiplicity, classifications, resolutions) + authority_violations
  re-deriving the pool commit law from trace content.
- scripts/verify_semantic_equivalence.py: check / --update gate
  mirroring verify_lane_shas.py.
- tests/test_adr_0184_s4b_replay_equivalence.py: full-corpus live-vs-
  pinned equality, corpus-wide authority + faithfulness, and 17
  single-mutation non-vacuity proofs.

Pure additions; verify.py/pool.py untouched; no serving, CLAIMS,
metrics, or lane pins moved.
2026-06-10 14:35:22 -07:00
..
__init__.py feat(derivation): define semantic-ledger candidate source boundary 2026-06-10 13:17:53 -07:00
bind.py feat(adr-0184): extract semantic-state helper seam S1 (#490) 2026-05-30 08:36:02 -07:00
change.py feat(adr-0184): extract semantic-state helper seam S1 (#490) 2026-05-30 08:36:02 -07:00
ledger.py feat(derivation): route accumulation through ADR-0184 S2 semantic ledger 2026-06-10 12:00:23 -07:00
model.py feat(derivation): route accumulation through ADR-0184 S2 semantic ledger 2026-06-10 12:00:23 -07:00
provenance.py test(derivation): add ADR-0184 semantic replay equivalence harness 2026-06-10 14:35:22 -07:00
replay.py feat(derivation): route accumulation through ADR-0184 S2 semantic ledger 2026-06-10 12:00:23 -07:00
source.py feat(derivation): define semantic-ledger candidate source boundary 2026-06-10 13:17:53 -07:00