feat(adr-0250): Tier-2 multi-entity arithmetic — design spike + T2a executor #71
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/adr-0250-tier2-multi-entity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Opens the Tier-2 arc (next arc after ADR-0249). This PR lands the design spike for review and the T2a multi-register executor implementation (landing on this branch).
Design spike (
docs/research/tier2-multi-entity-arithmetic-spike-2026-07-18.md)Action-2 finding (probed on real data). All 24 refused GSM8K dev-holdout cases are constant-operand multi-entity (20 contain a transfer). Unknown split: 18 single-entity (pure 2a → 26/50 → 44/50) and 6 total-like (need a certified summation turn = 2b certified-decode staging on real data → up to 50/50). Derived-operand transfers ("half of X") are 0-on-this-holdout — designed + guarded, synthetic-only.
Action-1 model. Multi-entity state = a product of independent conformal lines (one register per entity, no dimensional inflation). Constant-operand transfer = coupled
T₋ₖ/T₊ₖon disjoint registers, exact by P1's per-line exactness. Verified in-tree: Ruth 36→31, Sara 19→24, sum conserved; 200 random transfers exact + conserving to ~6e-11.Conservation pin (hard-reject).
Σ decode(after) ≡ Σ decode(before)is a load-bearing gate — a non-conserving transfer is an algebraic failure, fail-closed.Transactional atomicity. Registers are an immutable snapshot; a transfer computes both candidate states (prepare), validates (both certified + conservation), then produces a new register set (commit). Failure anywhere → the new set is never built → the original stands → no partial-mutation window, no rollback. Records append only on commit; any abort aborts the whole program (fail-closed, preserves wrong=0).
2b chain of custody (Shay's Q): certificate
psi_digestanchor +operand_certificate_idin theTurnRecord+ deterministic re-execution / live gate — no trusted-Python assumption.§7 rulings (Shay, resolved)
Status
Design landed; T2a implementation (multi-register executor) in progress on this branch — do not merge until the executor + tests + real-data measurement land. Off-serving (A-04), no gate activated, TDD + smoke-gated. ADR-0250 (Proposed) to follow.