feat(physics): chiral orientation sign-gate — sgn(Q)=const fail-closed (ADR-0241 §2.4C) #41

Merged
core-labs merged 2 commits from feat/chiral-sign-preservation-gate into main 2026-07-15 21:37:44 +00:00

2 commits

Author SHA1 Message Date
Shay
a98fd565bf docs(audit): D10 acceptance packet for Joshua + anyon ledger honesty fix (W4)
Some checks failed
smoke / smoke (-m "not quarantine") (pull_request) Successful in 5m8s
lane-shas / verify pinned lane SHAs (pull_request) Has been cancelled
- adr-0241-0242-acceptance-packet-2026-07-15.md: evidence summary, five
  deviations for ruling (P7 demote-with-proof recommended accept-as-honest
  per #19 precedent; T1/T2 serve-boundary reconciliation for ratification),
  filtered R&D claims, capability additions (PR #41 chiral gate), open
  items. Prepare-only — nothing self-Accepts.
- fidelity ledger: Fibonacci anyons (V5) row downgraded from prose-only
  green to 'NOT BUILT — claim-quarantined' (W1 Finding #5).

[Verification]: Smoke suite passed locally (175 passed)
2026-07-15 14:07:22 -07:00
Shay
301742a38a feat(physics): chiral orientation sign-gate — sgn(Q)=const fail-closed (ADR-0241 §2.4C)
All checks were successful
lane-shas / verify pinned lane SHAs (pull_request) Successful in 17m17s
smoke / smoke (-m "not quarantine") (pull_request) Successful in 5m8s
Builds the one missing safeguard from the 4-blueprint integration audit:
the mirror-inversion protection (core_ha §5.2: sgn(∫⟨ψ I₅ ψ̃⟩₀) = const).
The chiral charge was a verified non-vacuous READOUT, but goldtether took
abs(), discarding the sign — orientation was measured, never enforced.

- core/physics/chiral_gate.py: ChiralOrientationGate latches sgn(Q) on the
  first non-vacuous reading (|Q| >= 0.1 floor); a materially re-emerging
  flip raises ChiralOrientationError (fail-closed; a sign flip is
  unreachable under rotor transport, so it evidences corruption).
  Even field-states stay vacuous — no orientation fabricated, no #19
  revival; the gate is behaviorally inert on today's serve path.
- goldtether_residual now feeds the SIGNED charge to the gate; the
  residual term keeps magnitude-only semantics byte-identical (pinned).
- Docs: integration-plan missing-piece row -> BUILT; fidelity ledger §12
  gains the failable pin row.

TDD RED->GREEN. [Verification]: smoke suite passed locally (141s, 175
passed); gate suite 7 passed; goldtether-consumer regression 99 passed.
2026-07-15 13:35:08 -07:00