pingqiuandClaude Opus 4.7 faafa468c5 test(recovery): A/B/C skipped conformance stubs per §8.2.5
Commit 3 of the QA→SW handoff (`recover-semantics-adjustment-plan.md`
§8.2.7 step 4). Adds 8 SKIPPED red-test anchors covering the three
G0-合同-unblockable categories from §8.2.5; D/E/F deferred until
G0-身份 + G0-wire close per the same section.

File: core/recovery/recover_a_conformance_test.go

Categories landed:

  A. PrimaryWalLegOk disjunction (§IV.2.1) — 4 stubs:
     - DebtZeroPath_BarrierEligible
     - LiveTailPath_BarrierEligibleAfterEverEmittedLive
     - Disjunction_EitherPathSuffices
     - NeitherPath_NotEligible

  B. Lock discipline at BarrierReq emission (§IV.2.2 barrierEmitFreeze)
     — 2 stubs:
     - BarrierReqUnderShipMu_NoInterleaveWithDriveEmits
       (codifies the slice-2B Pillar2B race fix)
     - BarrierImminentFlag_FreezesDriveEmits
       (Option 3 from architect's lock-discipline trade-off)

  C. AchievedLSN as cut-witness, not target-crossing (§IV.2.4)
     — 2 stubs:
     - AchievedLSN_PerCutWitness
     - SuccessWith_AchievedLSN_BelowTarget
       (codifies FS-4 reverse from §8.2.3 — Y as enumerator only)

Anti-discipline checks (§8.2.8) honored:
  - Every t.Skip carries a reason citing §IV.2.1 / §IV.2.2 / §IV.2.4
    + the unblocking G0 sub-gate; no bare t.Skip.
  - No production type imports (stubs only declare Skip; real test
    bodies land alongside impl).
  - D/E/F categories explicitly NOT included per §8.2.5.

Verified: go test runs the stubs as SKIP entries; commit 1's oracle
table tests still GREEN. The skip messages double as a TODO list
visible to anyone running `go test -v` against core/recovery.

Source: sw-block/design/recover-semantics-adjustment-plan.md §8.2.5.
Companion to commit 1 (`599f60e` dual-oracle table) and commit 2
(`a08dea1` legacy header annotation).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 13:08:16 -07:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%