fix(physics): close A-04 transitive serve breach + W1 adversarial findings + blueprint integration plan #40

Merged
core-labs merged 5 commits from feat/adr-0241-0242-mastery-close into main 2026-07-15 20:59:50 +00:00

5 commits

Author SHA1 Message Date
Shay
25772154ff fix(cli): smoke suite parity with the CI smoke gate (audio sensorium lane)
All checks were successful
lane-shas / verify pinned lane SHAs (pull_request) Successful in 17m7s
smoke / smoke (-m "not quarantine") (pull_request) Successful in 23m40s
The CLI 'smoke' suite omitted tests/test_audio_*.py (6 files) that the
.github/workflows/smoke.yml PR gate runs — so the new AGENTS.md local-first
pre-push gate ('core test --suite smoke') was silently narrower than CI
(108 vs 175 tests). Adds the audio lane explicitly and pins parity:
test_cli_smoke_suite_covers_ci_smoke_gate parses the workflow's tests/
paths (globs expanded) and fails if the CLI tuple ever lags the CI gate.

[Verification]: CI-identical smoke file set passed locally (134s, 175
passed); tests/test_cli_test_suites.py 10 passed incl. the new pin.
2026-07-15 13:14:06 -07:00
Shay
da1f0386ba docs: establish local-first CI validation protocol in AGENTS.md
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Has been cancelled
smoke / smoke (-m "not quarantine") (pull_request) Successful in 5m28s
2026-07-15 13:06:49 -07:00
Shay
a11899f8b9 docs(plans): archive Plan A/B + session completion summary (W2)
Some checks failed
smoke / smoke (-m "not quarantine") (pull_request) Successful in 5m37s
lane-shas / verify pinned lane SHAs (pull_request) Has been cancelled
Copied from the Grok session worktree before arc cleanup prunes it.
Summary is the living status surface; the two plans are point-in-time
archives (CI-state headers say 'as of archive').
2026-07-15 12:49:00 -07:00
Shay
5ebad71ab6 docs(research): W1 adversarial findings + 4-blueprint integration plan
- adversarial-and-fidelity-findings: executed hostile verification of the
  merged ADR-0241/0242 surface (chiral non-vacuity Q=-2.5 conserved exactly;
  Fibonacci cert budget-exact across 8/15/20/21 + digest-stable; P9 seal
  SPECULATIVE-only; ledger spot-check incl. the prose-only anyon V5 row;
  Finding #2 serve breach — fixed in the preceding commit).
- blueprint-integration-plan: every mechanism of the 4 authority docs
  dispositioned (faithful / honest-deviation / missing-piece / scrap /
  staged). Missing pieces tracked: chiral sign-preservation gate (§5.2,
  next PR) and CRDT-vs-bit-exact determinism clarification. ADR-0242 memo
  slice pending its local export.
2026-07-15 12:49:00 -07:00
Shay
c8160cacba fix(physics): close A-04 transitive serve breach — lazy Tier-2 barrel exports + process-level guard
Importing chat.runtime transitively loaded 5 off-serving modules
(wave_manifold, holographic_vault, fibonacci_search, multi_scale_energy,
wave_energy_boundary) through the core/physics package barrel — falsifying
the 'serve path not wired' acceptance row while the direct-AST A-04 pin
stayed green.

Reconciliation (ruled 2026-07-15): one substrate, two tiers.
- T1 sanctioned serve substrate: wave_manifold (goldtether/surprise/
  biography delegate to it) — stays eager, removed from the A-04 ban list.
- T2 off-serving (holographic_vault, fibonacci_search, wave_energy_boundary,
  multi_scale_energy): converted to PEP 562 lazy __getattr__ exports so the
  serve process never loads them; 'from core.physics import X' still works
  for off-serving callers. TYPE_CHECKING block keeps static analysis intact.
- New tests/test_serve_quarantine_transitive.py enforces the process-level
  invariant via a clean-interpreter sys.modules probe (RED against the old
  barrel, GREEN now).

Evidence: docs/research/adr-0241-0242-adversarial-and-fidelity-findings.md
(Finding #2). 179 affected tests green.
2026-07-15 12:48:45 -07:00