interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

GitHub aien-dev/omega-mv#254 (code only)

closed derived 8846779af89731ac #254

Imported from GitHub aien-dev/omega-mv#254 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 699f3604a64ea255640e8d3be564981bca5b0683 · Head 7a7857924dd1d0d95adbf952552510ee1ee88a23

Apply it

git checkout -b patch-8846779af89731ac 699f3604a64ea255640e8d3be564981bca5b0683
curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/8846779af89731ac.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/omega-mv
254
7a7857924dd1d0d95adbf952552510ee1ee88a23
{"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":254,"url":"https://github.com/aien-dev/omega-mv/pull/254","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:59Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/evidence/physics0/planner/pd0-planner-eff2-dev-699f3604a64e.json b/evidence/physics0/planner/pd0-planner-eff2-dev-699f3604a64e.json
new file mode 100644
index 000000000..18e9590cc
--- /dev/null
+++ b/evidence/physics0/planner/pd0-planner-eff2-dev-699f3604a64e.json
@@ -0,0 +1,81 @@
+{
+  "receipt": "PD0_PLANNER_EFFICIENCY_DEV_CUT2",
+  "claim": "PD-0 development evidence only; NOT an EXP-003 claim",
+  "commit": "699f3604a64e",
+  "eps_ppm": 20000,
+  "eps_source": "L0-L4 in-box 20-step NRMSE bound, spec 6.1",
+  "min_pooled_steps": 2,
+  "episode_cap": 40,
+  "residual_sd_micro": 10000,
+  "recorder": "STAND_IN",
+  "sets": ["A1 truth vs spring x1.01", "A2 truth vs spring x1.02", "B truth vs small term (L4 cubic x0.9, L2 damping x0.95, L1 push x0.95)", "C truth vs x1.02 vs small term removed (L1: push x0.9)"],
+  "rows": [
+    {"level": 1, "seed": 1, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 1, "seed": 1, "set": 1, "active_steps": 12, "active_episodes": 1, "active_cost_micro": 10130336, "active_refuted": true, "passive_steps": 374, "passive_episodes": 19, "passive_cost_micro": 368738592, "passive_refuted": true, "d_first_micro": 5936700, "d_refuting_micro": 5936700, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [42590, 106188], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 1, "set": 2, "active_steps": 80, "active_episodes": 4, "active_cost_micro": 88227900, "active_refuted": true, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 3645500, "d_refuting_micro": 3850000, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [66857, 0], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 1, "set": 3, "active_steps": 19, "active_episodes": 1, "active_cost_micro": 16541788, "active_refuted": true, "passive_steps": 374, "passive_episodes": 19, "passive_cost_micro": 368738592, "passive_refuted": true, "d_first_micro": 10670000, "d_refuting_micro": 10670000, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [92591, 106188], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 2, "set": 0, "active_steps": 15, "active_episodes": 1, "active_cost_micro": 12941208, "active_refuted": true, "passive_steps": 516, "passive_episodes": 26, "passive_cost_micro": 511949292, "passive_refuted": true, "d_first_micro": 3670000, "d_refuting_micro": 3670000, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [53697, 41967], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 2, "set": 1, "active_steps": 7, "active_episodes": 1, "active_cost_micro": 4864296, "active_refuted": true, "passive_steps": 32, "passive_episodes": 2, "passive_cost_micro": 31061564, "passive_refuted": true, "d_first_micro": 7316400, "d_refuting_micro": 7316400, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [42581, 58578], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 2, "set": 2, "active_steps": 35, "active_episodes": 2, "active_cost_micro": 38167364, "active_refuted": true, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 3289000, "d_refuting_micro": 3328200, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [53378, 0], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 2, "set": 3, "active_steps": 12, "active_episodes": 1, "active_cost_micro": 15778580, "active_refuted": true, "passive_steps": 32, "passive_episodes": 2, "passive_cost_micro": 31061564, "passive_refuted": true, "d_first_micro": 10349700, "d_refuting_micro": 10349700, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [97214, 58578], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 3, "set": 0, "active_steps": 19, "active_episodes": 1, "active_cost_micro": 18467980, "active_refuted": true, "passive_steps": 520, "passive_episodes": 26, "passive_cost_micro": 516766072, "passive_refuted": true, "d_first_micro": 3421100, "d_refuting_micro": 3421100, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [48802, 39433], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 3, "set": 1, "active_steps": 8, "active_episodes": 1, "active_cost_micro": 5840320, "active_refuted": true, "passive_steps": 36, "passive_episodes": 2, "passive_cost_micro": 35969636, "passive_refuted": true, "d_first_micro": 6822900, "d_refuting_micro": 6822900, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [42388, 54990], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 3, "set": 2, "active_steps": 16, "active_episodes": 1, "active_cost_micro": 18360960, "active_refuted": true, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 3842900, "d_refuting_micro": 3842900, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [71992, 0], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 3, "set": 3, "active_steps": 19, "active_episodes": 1, "active_cost_micro": 15645124, "active_refuted": true, "passive_steps": 36, "passive_episodes": 2, "passive_cost_micro": 35969636, "passive_refuted": true, "d_first_micro": 10191000, "d_refuting_micro": 10191000, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [86974, 54990], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 4, "set": 0, "active_steps": 13, "active_episodes": 1, "active_cost_micro": 10585140, "active_refuted": true, "passive_steps": 513, "passive_episodes": 26, "passive_cost_micro": 509191164, "passive_refuted": true, "d_first_micro": 3859800, "d_refuting_micro": 3859800, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [54261, 47212], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 4, "set": 1, "active_steps": 6, "active_episodes": 1, "active_cost_micro": 4814712, "active_refuted": true, "passive_steps": 30, "passive_episodes": 2, "passive_cost_micro": 28922324, "passive_refuted": true, "d_first_micro": 7693900, "d_refuting_micro": 7693900, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [43776, 58794], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 4, "set": 2, "active_steps": 131, "active_episodes": 7, "active_cost_micro": 153737240, "active_refuted": true, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 3287200, "d_refuting_micro": 3298000, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [29302, 0], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 4, "set": 3, "active_steps": 12, "active_episodes": 1, "active_cost_micro": 15778580, "active_refuted": true, "passive_steps": 30, "passive_episodes": 2, "passive_cost_micro": 28922324, "passive_refuted": true, "d_first_micro": 10736400, "d_refuting_micro": 10736400, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [84607, 58794], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 5, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 1, "seed": 5, "set": 1, "active_steps": 12, "active_episodes": 1, "active_cost_micro": 10130336, "active_refuted": true, "passive_steps": 376, "passive_episodes": 19, "passive_cost_micro": 371595172, "passive_refuted": true, "d_first_micro": 5690500, "d_refuting_micro": 5690500, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [42928, 111931], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 5, "set": 2, "active_steps": 17, "active_episodes": 1, "active_cost_micro": 19394840, "active_refuted": true, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 3868500, "d_refuting_micro": 3868500, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [109888, 0], "valid": true, "planner_declined": false},
+    {"level": 1, "seed": 5, "set": 3, "active_steps": 19, "active_episodes": 1, "active_cost_micro": 16541788, "active_refuted": true, "passive_steps": 376, "passive_episodes": 19, "passive_cost_micro": 371595172, "passive_refuted": true, "d_first_micro": 10501800, "d_refuting_micro": 10501800, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [90100, 111931], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 1, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 2, "seed": 1, "set": 1, "active_steps": 10, "active_episodes": 1, "active_cost_micro": 8031488, "active_refuted": true, "passive_steps": 374, "passive_episodes": 19, "passive_cost_micro": 368738592, "passive_refuted": true, "d_first_micro": 3737900, "d_refuting_micro": 3737900, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [76621, 53860], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 1, "set": 2, "active_steps": 7, "active_episodes": 1, "active_cost_micro": 7205060, "active_refuted": true, "passive_steps": 69, "passive_episodes": 4, "passive_cost_micro": 70633644, "passive_refuted": true, "d_first_micro": 6275400, "d_refuting_micro": 6275400, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [135303, 148819], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 1, "set": 3, "active_steps": 30, "active_episodes": 2, "active_cost_micro": 31880272, "active_refuted": true, "passive_steps": 374, "passive_episodes": 19, "passive_cost_micro": 368738592, "passive_refuted": true, "d_first_micro": 220430100, "d_refuting_micro": 3782100, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [1502713, 338715], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 2, "set": 0, "active_steps": 9, "active_episodes": 1, "active_cost_micro": 5169948, "active_refuted": true, "passive_steps": 510, "passive_episodes": 26, "passive_cost_micro": 506198044, "passive_refuted": true, "d_first_micro": 3177400, "d_refuting_micro": 3177400, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [30419, 28028], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 2, "set": 1, "active_steps": 4, "active_episodes": 1, "active_cost_micro": 2344408, "active_refuted": true, "passive_steps": 27, "passive_episodes": 2, "passive_cost_micro": 26352108, "passive_refuted": true, "d_first_micro": 6345800, "d_refuting_micro": 6345800, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [58181, 44355], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 2, "set": 2, "active_steps": 12, "active_episodes": 1, "active_cost_micro": 12763892, "active_refuted": true, "passive_steps": 34, "passive_episodes": 2, "passive_cost_micro": 33223108, "passive_refuted": true, "d_first_micro": 8571500, "d_refuting_micro": 8571500, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [16293, 33024], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 2, "set": 3, "active_steps": 4, "active_episodes": 1, "active_cost_micro": 4377844, "active_refuted": true, "passive_steps": 27, "passive_episodes": 2, "passive_cost_micro": 26352108, "passive_refuted": true, "d_first_micro": 261171500, "d_refuting_micro": 261171500, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [564627, 206931], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 3, "set": 0, "active_steps": 12, "active_episodes": 1, "active_cost_micro": 10208960, "active_refuted": true, "passive_steps": 512, "passive_episodes": 26, "passive_cost_micro": 508312024, "passive_refuted": true, "d_first_micro": 3256200, "d_refuting_micro": 3256200, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [33846, 31429], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 3, "set": 1, "active_steps": 5, "active_episodes": 1, "active_cost_micro": 4459240, "active_refuted": true, "passive_steps": 29, "passive_episodes": 2, "passive_cost_micro": 28872352, "passive_refuted": true, "d_first_micro": 6499100, "d_refuting_micro": 6499100, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [40655, 46567], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 3, "set": 2, "active_steps": 18, "active_episodes": 1, "active_cost_micro": 18366644, "active_refuted": true, "passive_steps": 88, "passive_episodes": 5, "passive_cost_micro": 95481548, "passive_refuted": true, "d_first_micro": 5964100, "d_refuting_micro": 5964100, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [14506, 122524], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 3, "set": 3, "active_steps": 5, "active_episodes": 1, "active_cost_micro": 4375800, "active_refuted": true, "passive_steps": 29, "passive_episodes": 2, "passive_cost_micro": 28872352, "passive_refuted": true, "d_first_micro": 154865100, "d_refuting_micro": 154865100, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [663523, 147675], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 4, "set": 0, "active_steps": 7, "active_episodes": 1, "active_cost_micro": 7205060, "active_refuted": true, "passive_steps": 367, "passive_episodes": 19, "passive_cost_micro": 359709512, "passive_refuted": true, "d_first_micro": 5193700, "d_refuting_micro": 5193700, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [23061, 28095], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 4, "set": 1, "active_steps": 3, "active_episodes": 1, "active_cost_micro": 2385292, "active_refuted": true, "passive_steps": 25, "passive_episodes": 2, "passive_cost_micro": 24452408, "passive_refuted": true, "d_first_micro": 10457300, "d_refuting_micro": 10457300, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [54928, 55805], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 4, "set": 2, "active_steps": 40, "active_episodes": 2, "active_cost_micro": 38468236, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 3069600, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": true, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 2, "seed": 4, "set": 3, "active_steps": 3, "active_episodes": 1, "active_cost_micro": 2535108, "active_refuted": true, "passive_steps": 25, "passive_episodes": 2, "passive_cost_micro": 24452408, "passive_refuted": true, "d_first_micro": 71079700, "d_refuting_micro": 71079700, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [70901, 55805], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 5, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 2, "seed": 5, "set": 1, "active_steps": 13, "active_episodes": 1, "active_cost_micro": 10585140, "active_refuted": true, "passive_steps": 515, "passive_episodes": 26, "passive_cost_micro": 511240328, "passive_refuted": true, "d_first_micro": 3118800, "d_refuting_micro": 3118800, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [87970, 66168], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 5, "set": 2, "active_steps": 6, "active_episodes": 1, "active_cost_micro": 6089112, "active_refuted": true, "passive_steps": 67, "passive_episodes": 4, "passive_cost_micro": 68059792, "passive_refuted": true, "d_first_micro": 6058700, "d_refuting_micro": 6058700, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [232968, 193365], "valid": true, "planner_declined": false},
+    {"level": 2, "seed": 5, "set": 3, "active_steps": 33, "active_episodes": 2, "active_cost_micro": 34636988, "active_refuted": true, "passive_steps": 515, "passive_episodes": 26, "passive_cost_micro": 511240328, "passive_refuted": true, "d_first_micro": 234530400, "d_refuting_micro": 3153100, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [2073638, 1483840], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 1, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 1, "set": 1, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 1, "set": 2, "active_steps": 2, "active_episodes": 1, "active_cost_micro": 2883220, "active_refuted": true, "passive_steps": 29, "passive_episodes": 2, "passive_cost_micro": 28872352, "passive_refuted": true, "d_first_micro": 9218900, "d_refuting_micro": 9218900, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [304876, 125406], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 1, "set": 3, "active_steps": 20, "active_episodes": 1, "active_cost_micro": 23925632, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 133068000, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": true, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 2, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 2, "set": 1, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 34, "passive_episodes": 2, "passive_cost_micro": 33223108, "passive_refuted": true, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 34883], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 2, "set": 2, "active_steps": 2, "active_episodes": 1, "active_cost_micro": 2883220, "active_refuted": true, "passive_steps": 30, "passive_episodes": 2, "passive_cost_micro": 28922324, "passive_refuted": true, "d_first_micro": 7628700, "d_refuting_micro": 7628700, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [181627, 52226], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 2, "set": 3, "active_steps": 7, "active_episodes": 1, "active_cost_micro": 7368780, "active_refuted": true, "passive_steps": 34, "passive_episodes": 2, "passive_cost_micro": 33223108, "passive_refuted": true, "d_first_micro": 97862900, "d_refuting_micro": 97862900, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [2071061, 448951], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 3, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 3, "set": 1, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 39, "passive_episodes": 2, "passive_cost_micro": 38260724, "passive_refuted": true, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 36619], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 3, "set": 2, "active_steps": 3, "active_episodes": 1, "active_cost_micro": 3375796, "active_refuted": true, "passive_steps": 365, "passive_episodes": 19, "passive_cost_micro": 357584112, "passive_refuted": true, "d_first_micro": 6229200, "d_refuting_micro": 6229200, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [97952, 72384], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 3, "set": 3, "active_steps": 9, "active_episodes": 1, "active_cost_micro": 10519408, "active_refuted": true, "passive_steps": 39, "passive_episodes": 2, "passive_cost_micro": 38260724, "passive_refuted": true, "d_first_micro": 80509400, "d_refuting_micro": 80509400, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [1631911, 368454], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 4, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 516, "passive_episodes": 26, "passive_cost_micro": 511949292, "passive_refuted": true, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 21990], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 4, "set": 1, "active_steps": 6, "active_episodes": 1, "active_cost_micro": 6182220, "active_refuted": true, "passive_steps": 31, "passive_episodes": 2, "passive_cost_micro": 30072812, "passive_refuted": true, "d_first_micro": 3175400, "d_refuting_micro": 3175400, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [41563, 46898], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 4, "set": 2, "active_steps": 6, "active_episodes": 1, "active_cost_micro": 6182220, "active_refuted": true, "passive_steps": 371, "passive_episodes": 19, "passive_cost_micro": 365660120, "passive_refuted": true, "d_first_micro": 3276000, "d_refuting_micro": 3276000, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [42078, 40738], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 4, "set": 3, "active_steps": 6, "active_episodes": 1, "active_cost_micro": 6182220, "active_refuted": true, "passive_steps": 31, "passive_episodes": 2, "passive_cost_micro": 30072812, "passive_refuted": true, "d_first_micro": 39497400, "d_refuting_micro": 39497400, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [424238, 178264], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 5, "set": 0, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 5, "set": 1, "active_steps": 0, "active_episodes": 0, "active_cost_micro": 0, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 0, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": false, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true},
+    {"level": 4, "seed": 5, "set": 2, "active_steps": 2, "active_episodes": 1, "active_cost_micro": 2883220, "active_refuted": true, "passive_steps": 27, "passive_episodes": 2, "passive_cost_micro": 26352108, "passive_refuted": true, "d_first_micro": 10041200, "d_refuting_micro": 10041200, "b5_refuting": true, "b5_any": true, "spec_nrmse_at_refute_ppm": [321990, 149227], "valid": true, "planner_declined": false},
+    {"level": 4, "seed": 5, "set": 3, "active_steps": 20, "active_episodes": 1, "active_cost_micro": 23925632, "active_refuted": false, "passive_steps": 800, "passive_episodes": 40, "passive_cost_micro": 805234220, "passive_refuted": false, "d_first_micro": 148479200, "d_refuting_micro": 0, "b5_refuting": false, "b5_any": true, "spec_nrmse_at_refute_ppm": [0, 0], "valid": true, "planner_declined": true}
+  ],
+  "summary": [
+    {"set": 0, "active_fewer": 6, "ties": 0, "passive_fewer": 0, "total_steps_active": 75, "total_steps_passive": 2938, "total_cost_active_micro": 64578296, "total_cost_passive_micro": 2912126108, "planner_declined": 9, "unrefuted_rows": 0, "b5_among_active_wins": 6, "refutations_below_spec_eps": 0},
+    {"set": 1, "active_fewer": 11, "ties": 0, "passive_fewer": 0, "total_steps_active": 86, "total_steps_passive": 1849, "total_cost_active_micro": 69767788, "total_cost_passive_micro": 1826015888, "planner_declined": 4, "unrefuted_rows": 0, "b5_among_active_wins": 11, "refutations_below_spec_eps": 0},
+    {"set": 2, "active_fewer": 14, "ties": 0, "passive_fewer": 0, "total_steps_active": 337, "total_steps_passive": 5080, "total_cost_active_micro": 380520688, "total_cost_passive_micro": 5100960208, "planner_declined": 1, "unrefuted_rows": 5, "b5_among_active_wins": 14, "refutations_below_spec_eps": 2},
+    {"set": 3, "active_fewer": 13, "ties": 0, "passive_fewer": 0, "total_steps_active": 178, "total_steps_passive": 1922, "total_cost_active_micro": 182162280, "total_cost_passive_micro": 1897499720, "planner_declined": 2, "unrefuted_rows": 0, "b5_among_active_wins": 13, "refutations_below_spec_eps": 0}
+  ],
+  "invalid": 0
+}
diff --git a/evidence/physics0/planner/pd0-planner-eff2-dev-699f3604a64e.table.txt b/evidence/physics0/planner/pd0-planner-eff2-dev-699f3604a64e.table.txt
new file mode 100644
index 000000000..95bb973a9
--- /dev/null
+++ b/evidence/physics0/planner/pd0-planner-eff2-dev-699f3604a64e.table.txt
@@ -0,0 +1,67 @@
+level seed set | active steps (episodes, cost units) | passive steps (episodes, cost units) | D chosen (refuting) | b5 | spec NRMSE at refute (active / passive)
+L1 1 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L1 1 A2 x1.02     |  12 ( 1,  10.13) | 374 (19, 368.74) | 5.94 | yes | 0.043 / 0.106
+L1 1 B small-term |  80 ( 4,  88.23) | 800 (40, 805.23) unrefuted | 3.85 | yes | 0.067 / 0.000
+L1 1 C 3-way      |  19 ( 1,  16.54) | 374 (19, 368.74) | 10.67 | yes | 0.093 / 0.106
+L1 2 A1 x1.01     |  15 ( 1,  12.94) | 516 (26, 511.95) | 3.67 | yes | 0.054 / 0.042
+L1 2 A2 x1.02     |   7 ( 1,   4.86) |  32 ( 2,  31.06) | 7.32 | yes | 0.043 / 0.059
+L1 2 B small-term |  35 ( 2,  38.17) | 800 (40, 805.23) unrefuted | 3.33 | yes | 0.053 / 0.000
+L1 2 C 3-way      |  12 ( 1,  15.78) |  32 ( 2,  31.06) | 10.35 | yes | 0.097 / 0.059
+L1 3 A1 x1.01     |  19 ( 1,  18.47) | 520 (26, 516.77) | 3.42 | yes | 0.049 / 0.039
+L1 3 A2 x1.02     |   8 ( 1,   5.84) |  36 ( 2,  35.97) | 6.82 | yes | 0.042 / 0.055
+L1 3 B small-term |  16 ( 1,  18.36) | 800 (40, 805.23) unrefuted | 3.84 | yes | 0.072 / 0.000
+L1 3 C 3-way      |  19 ( 1,  15.65) |  36 ( 2,  35.97) | 10.19 | yes | 0.087 / 0.055
+L1 4 A1 x1.01     |  13 ( 1,  10.59) | 513 (26, 509.19) | 3.86 | yes | 0.054 / 0.047
+L1 4 A2 x1.02     |   6 ( 1,   4.81) |  30 ( 2,  28.92) | 7.69 | yes | 0.044 / 0.059
+L1 4 B small-term | 131 ( 7, 153.74) | 800 (40, 805.23) unrefuted | 3.30 | yes | 0.029 / 0.000
+L1 4 C 3-way      |  12 ( 1,  15.78) |  30 ( 2,  28.92) | 10.74 | yes | 0.085 / 0.059
+L1 5 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L1 5 A2 x1.02     |  12 ( 1,  10.13) | 376 (19, 371.60) | 5.69 | yes | 0.043 / 0.112
+L1 5 B small-term |  17 ( 1,  19.39) | 800 (40, 805.23) unrefuted | 3.87 | yes | 0.110 / 0.000
+L1 5 C 3-way      |  19 ( 1,  16.54) | 376 (19, 371.60) | 10.50 | yes | 0.090 / 0.112
+L2 1 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L2 1 A2 x1.02     |  10 ( 1,   8.03) | 374 (19, 368.74) | 3.74 | yes | 0.077 / 0.054
+L2 1 B small-term |   7 ( 1,   7.21) |  69 ( 4,  70.63) | 6.28 | yes | 0.135 / 0.149
+L2 1 C 3-way      |  30 ( 2,  31.88) | 374 (19, 368.74) | 3.78 | yes | 1.503 / 0.339
+L2 2 A1 x1.01     |   9 ( 1,   5.17) | 510 (26, 506.20) | 3.18 | yes | 0.030 / 0.028
+L2 2 A2 x1.02     |   4 ( 1,   2.34) |  27 ( 2,  26.35) | 6.35 | yes | 0.058 / 0.044
+L2 2 B small-term |  12 ( 1,  12.76) |  34 ( 2,  33.22) | 8.57 | yes | 0.016 / 0.033
+L2 2 C 3-way      |   4 ( 1,   4.38) |  27 ( 2,  26.35) | 261.17 | yes | 0.565 / 0.207
+L2 3 A1 x1.01     |  12 ( 1,  10.21) | 512 (26, 508.31) | 3.26 | yes | 0.034 / 0.031
+L2 3 A2 x1.02     |   5 ( 1,   4.46) |  29 ( 2,  28.87) | 6.50 | yes | 0.041 / 0.047
+L2 3 B small-term |  18 ( 1,  18.37) |  88 ( 5,  95.48) | 5.96 | yes | 0.015 / 0.123
+L2 3 C 3-way      |   5 ( 1,   4.38) |  29 ( 2,  28.87) | 154.87 | yes | 0.664 / 0.148
+L2 4 A1 x1.01     |   7 ( 1,   7.21) | 367 (19, 359.71) | 5.19 | yes | 0.023 / 0.028
+L2 4 A2 x1.02     |   3 ( 1,   2.39) |  25 ( 2,  24.45) | 10.46 | yes | 0.055 / 0.056
+L2 4 B small-term |  40 ( 2,  38.47) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L2 4 C 3-way      |   3 ( 1,   2.54) |  25 ( 2,  24.45) | 71.08 | yes | 0.071 / 0.056
+L2 5 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L2 5 A2 x1.02     |  13 ( 1,  10.59) | 515 (26, 511.24) | 3.12 | yes | 0.088 / 0.066
+L2 5 B small-term |   6 ( 1,   6.09) |  67 ( 4,  68.06) | 6.06 | yes | 0.233 / 0.193
+L2 5 C 3-way      |  33 ( 2,  34.64) | 515 (26, 511.24) | 3.15 | yes | 2.074 / 1.484
+L4 1 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L4 1 A2 x1.02     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L4 1 B small-term |   2 ( 1,   2.88) |  29 ( 2,  28.87) | 9.22 | yes | 0.305 / 0.125
+L4 1 C 3-way      |  20 ( 1,  23.93) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L4 2 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L4 2 A2 x1.02     |   0 ( 0,   0.00) unrefuted |  34 ( 2,  33.22) | 0.00 | no | 0.000 / 0.035 NO_DISCRIMINATING
+L4 2 B small-term |   2 ( 1,   2.88) |  30 ( 2,  28.92) | 7.63 | yes | 0.182 / 0.052
+L4 2 C 3-way      |   7 ( 1,   7.37) |  34 ( 2,  33.22) | 97.86 | yes | 2.071 / 0.449
+L4 3 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L4 3 A2 x1.02     |   0 ( 0,   0.00) unrefuted |  39 ( 2,  38.26) | 0.00 | no | 0.000 / 0.037 NO_DISCRIMINATING
+L4 3 B small-term |   3 ( 1,   3.38) | 365 (19, 357.58) | 6.23 | yes | 0.098 / 0.072
+L4 3 C 3-way      |   9 ( 1,  10.52) |  39 ( 2,  38.26) | 80.51 | yes | 1.632 / 0.368
+L4 4 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 516 (26, 511.95) | 0.00 | no | 0.000 / 0.022 NO_DISCRIMINATING
+L4 4 A2 x1.02     |   6 ( 1,   6.18) |  31 ( 2,  30.07) | 3.18 | yes | 0.042 / 0.047
+L4 4 B small-term |   6 ( 1,   6.18) | 371 (19, 365.66) | 3.28 | yes | 0.042 / 0.041
+L4 4 C 3-way      |   6 ( 1,   6.18) |  31 ( 2,  30.07) | 39.50 | yes | 0.424 / 0.178
+L4 5 A1 x1.01     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L4 5 A2 x1.02     |   0 ( 0,   0.00) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+L4 5 B small-term |   2 ( 1,   2.88) |  27 ( 2,  26.35) | 10.04 | yes | 0.322 / 0.149
+L4 5 C 3-way      |  20 ( 1,  23.93) unrefuted | 800 (40, 805.23) unrefuted | 0.00 | no | 0.000 / 0.000 NO_DISCRIMINATING
+summary per set (15 seeds): active fewer steps / ties / passive fewer / planner declined; total steps active vs passive (declined rows excluded); total cost active vs passive; rows unrefuted at cap; b5 flagged among active wins; refutations below spec eps
+  A1 x1.01     |  6 /  0 /  0 /  9 |   75 vs 2938 |    64.58 vs  2912.13 | 0 | 6 | 0
+  A2 x1.02     | 11 /  0 /  0 /  4 |   86 vs 1849 |    69.77 vs  1826.02 | 0 | 11 | 0
+  B small-term | 14 /  0 /  0 /  1 |  337 vs 5080 |   380.52 vs  5100.96 | 5 | 14 | 2
+  C 3-way      | 13 /  0 /  0 /  2 |  178 vs 1922 |   182.16 vs  1897.50 | 0 | 13 | 0
+PD0_PLANNER_EFF2: PASS (invalid 0)
diff --git a/mk/physics0-planner.mk b/mk/physics0-planner.mk
index 07ce2c1f6..dc7b39b96 100644
--- a/mk/physics0-planner.mk
+++ b/mk/physics0-planner.mk
@@ -2,7 +2,7 @@
 # and the information-efficiency comparison (development evidence, not EXP-003).
 ifndef PHYSICS0_PLANNER_MK
 PHYSICS0_PLANNER_MK := 1
-.PHONY: test-physics0-planner p0p-purity physics0-planner-eff
+.PHONY: test-physics0-planner p0p-purity physics0-planner-eff physics0-planner-eff2
 
 P0P_COMMIT := $(shell git rev-parse --short=12 HEAD 2>/dev/null || echo unknown)
 P0P_CFLAGS = -std=c11 -Wall -Wextra -Werror -pedantic -O2 -D_POSIX_C_SOURCE=200809L -ffp-contract=off -fno-fast-math \
@@ -42,6 +42,9 @@ $(P0P_DIR)/bridge.o: $(P0P_BRIDGE_OBJS)
 $(P0P_DIR)/pd0_plan_eff: tests/physics0/planner/pd0_plan_eff.c $(P0P_SRCS) $(P0P_HDRS) $(P0P_DIR)/bridge.o
 	@mkdir -p $(P0P_DIR)
 	$(CC) $(P0P_CFLAGS) -o $@ $< $(P0P_SRCS) $(P0P_DIR)/bridge.o -lm
+$(P0P_DIR)/pd0_plan_eff2: tests/physics0/planner/pd0_plan_eff2.c $(P0P_SRCS) $(P0P_HDRS) $(P0P_DIR)/bridge.o
+	@mkdir -p $(P0P_DIR)
+	$(CC) $(P0P_CFLAGS) -o $@ $< $(P0P_SRCS) $(P0P_DIR)/bridge.o -lm
 
 p0p-purity:
 	@mkdir -p $(P0P_DIR)/purity
@@ -54,7 +57,12 @@ physics0-planner-eff: $(P0P_DIR)/pd0_plan_eff
 	./$(P0P_DIR)/pd0_plan_eff $(P0P_DIR)/pd0-planner-eff.json $(P0P_COMMIT) | tee $(P0P_DIR)/eff.out | tail -3
 	@grep -q '^PD0_PLANNER_EFF: PASS$$' $(P0P_DIR)/eff.out
 
-test-physics0-planner: p0p-purity $(P0P_DIR)/test_pd0_planner $(P0P_DIR)/test_pd0_planner_asan physics0-planner-eff
+physics0-planner-eff2: $(P0P_DIR)/pd0_plan_eff2
+	@rm -f $(P0P_DIR)/pd0-planner-eff2.json
+	./$(P0P_DIR)/pd0_plan_eff2 $(P0P_DIR)/pd0-planner-eff2.json $(P0P_COMMIT) | tee $(P0P_DIR)/eff2.out | tail -6
+	@grep -q '^PD0_PLANNER_EFF2: PASS' $(P0P_DIR)/eff2.out
+
+test-physics0-planner: p0p-purity $(P0P_DIR)/test_pd0_planner $(P0P_DIR)/test_pd0_planner_asan physics0-planner-eff physics0-planner-eff2
 	./$(P0P_DIR)/test_pd0_planner
 	./$(P0P_DIR)/test_pd0_planner_asan
 	@echo "test-physics0-planner: PD-0 planner contract (behaviours 1-6), mutants, passive baseline and efficiency comparison pass; receipt in $(P0P_DIR)/pd0-planner-eff.json"
diff --git a/tests/physics0/planner/pd0_plan_eff2.c b/tests/physics0/planner/pd0_plan_eff2.c
new file mode 100644
index 000000000..8e915d186
--- /dev/null
+++ b/tests/physics0/planner/pd0_plan_eff2.c
@@ -0,0 +1,265 @@
+/* PD-0 planner information-efficiency comparison, cut 2 (Direction 5), development evidence.
+ *
+ * Cut 1 (pd0_plan_eff.c) used rivals so weak that one episode refuted them
+ * under either strategy. This cut asks the same question with hard rivals and
+ * per-step accounting, so a tie at one episode cannot hide a difference.
+ *
+ * Rival sets per (level, seed), all built mechanically from the true relation
+ * (oracle-shaped, harness side; calibration, NOT a learner result):
+ *   A1  truth vs spring coefficient x1.01
+ *   A2  truth vs spring coefficient x1.02
+ *   B   truth vs a term whose effect is small inside the visited domain:
+ *       L4 cubic coefficient x0.9 (visible near the box edge), L2 damping
+ *       coefficient x0.95, L1 push coefficient x0.95 (L1 has no small term;
+ *       the push term is the only one whose effect scales with what the
+ *       planner chooses)
+ *   C   truth vs x1.02 vs the small term removed (L1: push coefficient x0.9,
+ *       since removing the push term is not a small difference)
+ *
+ * Metric per set and strategy: total OK steps and total |intervention| cost
+ * (micro units) until EVERY rival is refuted. As in spec T6 a rival is refuted
+ * by any single trial (episode) whose 20-step rollout error exceeds eps = 0.02,
+ * the L0-L4 in-box bound (spec section 6.1); the error is checked after every
+ * step of the trial over the steps of that trial so far, normalised by the
+ * declared reset-box scale (uniform spread) because the spec normalisation
+ * (trajectory sd) is undefined for the first steps; the spec-normalised value
+ * at the refuting step is recorded as a cross-check. Refuted rivals leave the
+ * live hypothesis set, so the planner aims the next trial at what is left. Episodes are 20
+ * steps; the planner commits a whole schedule before it runs (preregistered),
+ * cost counts steps up to and including the refuting step. Also recorded for
+ * the active strategy: the divergence D the planner chose for the refuting
+ * episode and whether that proposal was flagged by behaviour 5 (starts or
+ * reaches outside the middle 50% of the visited range). The truth's own
+ * rollout NRMSE must stay within eps or the row is INVALID.
+ *
+ * PD-0 development evidence. NOT an EXP-003 claim: no blinding, no seal, no
+ * preregistered pass criterion.
+ *
+ * usage: pd0_plan_eff2 <receipt-path> [commit]  (receipt created with O_EXCL; never overwrites) */
+#include <errno.h>
+#include <fcntl.h>
+#include <math.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include "pd0_planner.h"
+#include "pd0p_bridge.h"
+
+#define EPS_PPM 20000            /* level bound, L0-L4 in-box 20-step NRMSE */
+#define EP_CAP 40
+#define MIN_POOLED 2
+#define RESID_SD_MICRO 10000
+#define PLAN_SEED 2026100411ull
+#define PASSIVE_SEED 2026100412ull
+#define N_SETS 4
+static const char *set_name[N_SETS] = { "A1 x1.01", "A2 x1.02", "B small-term", "C 3-way" };
+
+typedef struct { double se[PD0_MAX_OBS], ss[PD0_MAX_OBS], mean[PD0_MAX_OBS]; uint64_t n; } acc;
+typedef struct {
+    int steps[2]; int64_t cost[2]; int episodes[2]; int refuted[2]; int declined[2]; int64_t spec_ppm[2];
+    int64_t d_first, d_refuting; int b5_refuting, b5_any;
+    int valid, no_disc;
+} row;
+
+static void rel_from_pb(const pb_rel *in, pd0_rel *out) {
+    memset(out, 0, sizeof *out);
+    out->n_vars = in->n_vars; out->n_latent = in->n_latent; out->n_channels = in->n_channels; out->n_equations = in->n_eq;
+    for (int e = 0; e < in->n_eq; e++) {
+        out->eq[e].target = in->eq[e].target; out->eq[e].n_terms = in->eq[e].n_terms;
+        for (int t = 0; t < in->eq[e].n_terms; t++) { out->eq[e].coef[t] = in->eq[e].coef[t]; memcpy(out->eq[e].expo[t], in->eq[e].expo[t], PD0_MAX_VARS + PD0_MAX_CHAN); }
+    }
+    out->description_bits = pd0_rel_bits(out);
+}
+
+/* term kinds in equation 1 (target s1), by exponent pattern */
+enum { T_SPRING, T_DAMP, T_CUBIC, T_PUSH };
+static int find_term(const pd0_rel *r, int kind) {
+    int e = r->n_equations > 1 ? 1 : 0;
+    for (int t = 0; t < r->eq[e].n_terms; t++) {
+        const uint8_t *x = r->eq[e].expo[t];
+        int push = 0; for (int c = 0; c < r->n_channels; c++) push |= x[r->n_vars + c];
+        if (kind == T_PUSH && push) return t;
+        if (push) continue;
+        if (kind == T_SPRING && x[0] == 1 && x[1] == 0) return t;
+        if (kind == T_DAMP && x[0] == 0 && x[1] == 1) return t;
+        if (kind == T_CUBIC && x[0] == 3) return t;
+    }
+    return -1;
+}
+/* scale coefficient of a term by num/den; returns 0 if the term is absent */
+static int scaled(const pd0_rel *truth, int kind, int64_t num, int64_t den, pd0_rel *out) {
+    memcpy(out, truth, sizeof *out);
+    int e = truth->n_equations > 1 ? 1 : 0, t = find_term(truth, kind);
+    if (t < 0) return 0;
+    out->eq[e].coef[t] = (out->eq[e].coef[t] * num) / den;
+    return 1;
+}
+static int removed(const pd0_rel *truth, int kind, pd0_rel *out) {
+    memcpy(out, truth, sizeof *out);
+    int e = truth->n_equations > 1 ? 1 : 0, t = find_term(truth, kind);
+    if (t < 0) return 0;
+    for (int u = t; u + 1 < out->eq[e].n_terms; u++) { out->eq[e].coef[u] = out->eq[e].coef[u + 1]; memcpy(out->eq[e].expo[u], out->eq[e].expo[u + 1], PD0_MAX_VARS + PD0_MAX_CHAN); }
+    out->eq[e].n_terms--; out->description_bits = pd0_rel_bits(out);
+    return 1;
+}
+/* small-term kind per level */
+static int small_kind(int level) { return level == 4 ? T_CUBIC : level == 2 ? T_DAMP : T_PUSH; }
+
+static void acc_add(acc *a, int n_obs, const int64_t *pred, const int64_t *obs) {
+    for (int i = 0; i < n_obs; i++) { double d = (double)(pred[i] - obs[i]) / 1e6, o = (double)obs[i] / 1e6; a->se[i] += d * d; a->ss[i] += o * o; a->mean[i] += o; }
+    a->n++;
+}
+/* per-step criterion: RMSE over the box scale (uniform spread of the declared reset box),
+ * defined from the first step; the spec normalisation (running trajectory sd) is undefined
+ * for the first steps of a trajectory and is recorded alongside as a cross-check */
+static double acc_nrmse_box(const acc *a, int n_obs, const double *box_sd) {
+    double worst = 0;
+    if (a->n < MIN_POOLED) return 0;
+    for (int i = 0; i < n_obs; i++) { double v = sqrt(a->se[i] / (double)a->n) / box_sd[i]; if (v > worst) worst = v; }
+    return worst;
+}
+static double acc_nrmse(const acc *a, int n_obs) {
+    double worst = 0;
+    if (a->n < MIN_POOLED) return 0;
+    for (int i = 0; i < n_obs; i++) {
+        double m = a->mean[i] / (double)a->n, var = a->ss[i] / (double)a->n - m * m;
+        double sd = var > 0 ? sqrt(var) : 0, rmse = sqrt(a->se[i] / (double)a->n);
+        double v = sd > 1e-9 ? rmse / sd : (rmse > 1e-9 ? 1e9 : 0);
+        if (v > worst) worst = v;
+    }
+    return worst;
+}
+static void rollout(const pd0_rel *r, const pd0_exp *e, int n_ok, int64_t out[PD0_MAX_STEPS][PD0_MAX_OBS]) {
+    int64_t st[PD0_MAX_VARS], nx[PD0_MAX_VARS]; memset(st, 0, sizeof st);
+    for (int i = 0; i < e->n_obs; i++) st[i] = e->reset[i];
+    for (int s = 0; s < n_ok; s++) { pd0_rel_step(r, st, e->steps[s].channel, e->steps[s].value, nx); for (int i = 0; i < e->n_obs; i++) out[s][i] = nx[i]; memcpy(st, nx, sizeof st); }
+}
+
+/* strategy 0 = active planner, 1 = passive baseline; per-step accounting */
+static void run_strategy(int level, uint64_t seed, int strategy, const pd0_rel *truth, const pd0_rel *rv[2], int n_rv, row *out) {
+    pb_bounds pb; pb_rel pbt;
+    pb_world *w = pb_open(level, seed, &pb, &pbt);
+    if (!w) { out->valid = 0; return; }
+    pd0p_bounds b; memset(&b, 0, sizeof b);
+    b.n_obs = pb.n_obs; b.n_channels = pb.n_channels; b.episode_max_steps = pb.episode_max_steps;
+    for (int i = 0; i < pb.n_channels; i++) { b.chan_min[i] = pb.chan_min[i]; b.chan_max[i] = pb.chan_max[i]; }
+    for (int i = 0; i < pb.n_obs; i++) { b.reset_min[i] = pb.reset_min[i]; b.reset_max[i] = pb.reset_max[i]; }
+    pd0p_domain dom; double box_sd[PD0_MAX_OBS];
+    for (int i = 0; i < pb.n_obs; i++) { dom.var_min[i] = pb.reset_min[i]; dom.var_max[i] = pb.reset_max[i]; box_sd[i] = (double)(pb.reset_max[i] - pb.reset_min[i]) / 1e6 / sqrt(12.0); }
+    pd0p_hyps h; h.n_hyp = (uint8_t)(1 + n_rv); h.hyp[0] = truth; for (int k = 0; k < n_rv; k++) h.hyp[1 + k] = rv[k]; h.residual_sd_micro = RESID_SD_MICRO;
+    static pd0p_prior prior; memset(&prior, 0, sizeof prior);
+    acc a_truth, a_rv[2];
+    int refuted[2] = { 0, 0 }, steps = 0, done = 0; int64_t cost = 0; int ep;
+    uint32_t budget = pb.budget_steps;
+    for (ep = 0; ep < EP_CAP && !done; ep++) {
+        pd0_exp e; int st; int64_t d_here = 0; int b5 = 0;
+        memset(&a_truth, 0, sizeof a_truth); memset(a_rv, 0, sizeof a_rv);   /* per trial, spec T6 */
+        h.n_hyp = 1; for (int k = 0; k < n_rv; k++) if (!refuted[k]) h.hyp[h.n_hyp++] = rv[k];   /* live hypotheses only */
+        if (strategy == 0) {
+            static pd0p_proposal p;
+            st = pd0p_propose(&b, &dom, &h, budget, &prior, PLAN_SEED + (uint64_t)ep, &p);
+            if (st == PD0P_NO_DISCRIMINATING_EXPERIMENT) { out->no_disc = 1; out->declined[0] = 1; break; }
+            if (st != PD0P_OK) { out->valid = 0; break; }
+            memcpy(&e, &p.exp, sizeof e); d_here = p.divergence_micro; b5 = p.outside_middle;
+            if (ep == 0) out->d_first = d_here;
+            out->b5_any |= b5;
+        } else if (pd0p_passive(&b, budget, PASSIVE_SEED, (uint32_t)ep, &e) != PD0P_OK) { out->valid = 0; break; }
+        if (pd0p_validate(&b, &prior, &e) != PD0P_OK) { out->valid = 0; break; }
+        pd0p_prior_add(&prior, e.schedule_hash);
+        pb_sched s; memset(&s, 0, sizeof s); s.n_obs = e.n_obs; s.n_steps = e.n_steps;
+        for (int i = 0; i < e.n_obs; i++) s.reset[i] = e.reset[i];
+        for (int k = 0; k < e.n_steps; k++) { s.channel[k] = e.steps[k].channel; s.value[k] = e.steps[k].value; }
+        int64_t obs[PB_STEPS][PB_MAX_OBS]; memset(obs, 0, sizeof obs);
+        int n_ok = pb_run(w, &s, obs);
+        if (n_ok < 0) { out->valid = 0; break; }
+        budget = pb.budget_steps > pb_steps_used(w) ? pb.budget_steps - pb_steps_used(w) : 0;
+        int64_t pt[PD0_MAX_STEPS][PD0_MAX_OBS], pr[2][PD0_MAX_STEPS][PD0_MAX_OBS];
+        rollout(truth, &e, n_ok, pt);
+        for (int r = 0; r < n_rv; r++) rollout(rv[r], &e, n_ok, pr[r]);
+        for (int k = 0; k < n_ok && !done; k++) {
+            steps++; cost += e.steps[k].value < 0 ? -e.steps[k].value : e.steps[k].value;
+            acc_add(&a_truth, e.n_obs, pt[k], obs[k]);
+            if (acc_nrmse_box(&a_truth, e.n_obs, box_sd) * 1e6 > EPS_PPM) out->valid = 0;   /* truth must pass every trial */
+            int all = 1;
+            for (int r = 0; r < n_rv; r++) {
+                acc_add(&a_rv[r], e.n_obs, pr[r][k], obs[k]);
+                if (!refuted[r] && acc_nrmse_box(&a_rv[r], e.n_obs, box_sd) * 1e6 > EPS_PPM) refuted[r] = 1;
+                if (!refuted[r]) all = 0;
+            }
+            if (all) {
+                done = 1;
+                if (strategy == 0) { out->d_refuting = d_here; out->b5_refuting = b5; }
+                double sp = 0; for (int r = 0; r < n_rv; r++) { double v = acc_nrmse(&a_rv[r], e.n_obs); if (v > sp) sp = v; }
+                out->spec_ppm[strategy] = (int64_t)(sp * 1e6);
+            }
+        }
+    }
+    out->steps[strategy] = steps; out->cost[strategy] = cost; out->episodes[strategy] = ep; out->refuted[strategy] = done;
+    pb_close(w);
+}
+
+int main(int argc, char **argv) {
+    if (argc < 2) { fprintf(stderr, "usage: %s <receipt-path> [commit]\n", argv[0]); return 2; }
+    const char *commit = argc > 2 ? argv[2] : "unknown";
+    int fd = open(argv[1], O_WRONLY | O_CREAT | O_EXCL, 0644);
+    if (fd < 0) { fprintf(stderr, "receipt exists or cannot be created: %s (%s)\n", argv[1], strerror(errno)); return 2; }
+    FILE *f = fdopen(fd, "w");
+    const int levels[3] = { 1, 2, 4 };
+    fprintf(f, "{\n  \"receipt\": \"PD0_PLANNER_EFFICIENCY_DEV_CUT2\",\n  \"claim\": \"PD-0 development evidence only; NOT an EXP-003 claim\",\n"
+               "  \"commit\": \"%s\",\n  \"eps_ppm\": %d,\n  \"eps_source\": \"L0-L4 in-box 20-step NRMSE bound, spec 6.1\",\n  \"min_pooled_steps\": %d,\n  \"episode_cap\": %d,\n  \"residual_sd_micro\": %d,\n  \"recorder\": \"STAND_IN\",\n"
+               "  \"sets\": [\"A1 truth vs spring x1.01\", \"A2 truth vs spring x1.02\", \"B truth vs small term (L4 cubic x0.9, L2 damping x0.95, L1 push x0.95)\", \"C truth vs x1.02 vs small term removed (L1: push x0.9)\"],\n  \"rows\": [\n",
+            commit, EPS_PPM, MIN_POOLED, EP_CAP, RESID_SD_MICRO);
+    int first = 1, invalid = 0;
+    int a_fewer[N_SETS] = {0}, ties[N_SETS] = {0}, p_fewer[N_SETS] = {0}, unref[N_SETS] = {0}, b5_sep[N_SETS] = {0}, declined[N_SETS] = {0}, spec_low[N_SETS] = {0};
+    long long s_act[N_SETS] = {0}, s_pas[N_SETS] = {0}, c_act[N_SETS] = {0}, c_pas[N_SETS] = {0};
+    printf("level seed set | active steps (episodes, cost units) | passive steps (episodes, cost units) | D chosen (refuting) | b5 | spec NRMSE at refute (active / passive)\n");
+    for (int li = 0; li < 3; li++) for (uint64_t seed = 1; seed <= 5; seed++) {
+        int level = levels[li];
+        pb_bounds pb; pb_rel pbt; pb_world *w = pb_open(level, seed, &pb, &pbt);
+        if (!w) { fprintf(stderr, "cannot open L%d seed %llu\n", level, (unsigned long long)seed); return 1; }
+        pb_close(w);
+        static pd0_rel truth, x101, x102, small, gone;
+        rel_from_pb(&pbt, &truth);
+        if (!scaled(&truth, T_SPRING, 101, 100, &x101) || !scaled(&truth, T_SPRING, 102, 100, &x102)) { fprintf(stderr, "no spring term L%d\n", level); return 1; }
+        int sk = small_kind(level);
+        if (!scaled(&truth, sk, level == 4 ? 90 : 95, 100, &small)) { fprintf(stderr, "no small term L%d\n", level); return 1; }
+        if (level == 1) { if (!scaled(&truth, T_PUSH, 90, 100, &gone)) return 1; } else if (!removed(&truth, sk, &gone)) return 1;
+        const pd0_rel *sets[N_SETS][2] = { { &x101, NULL }, { &x102, NULL }, { &small, NULL }, { &x102, &gone } };
+        const int n_rv[N_SETS] = { 1, 1, 1, 2 };
+        for (int si = 0; si < N_SETS; si++) {
+            row r; memset(&r, 0, sizeof r); r.valid = 1;
+            run_strategy(level, seed, 0, &truth, sets[si], n_rv[si], &r);
+            run_strategy(level, seed, 1, &truth, sets[si], n_rv[si], &r);
+            printf("L%d %llu %-12s | %3d (%2d, %6.2f)%s | %3d (%2d, %6.2f)%s | %.2f | %s | %.3f / %.3f%s%s\n", level, (unsigned long long)seed, set_name[si],
+                   r.steps[0], r.episodes[0], (double)r.cost[0] / 1e6, r.refuted[0] ? "" : " unrefuted",
+                   r.steps[1], r.episodes[1], (double)r.cost[1] / 1e6, r.refuted[1] ? "" : " unrefuted",
+                   (double)r.d_refuting / 1e6, r.b5_refuting ? "yes" : "no", (double)r.spec_ppm[0] / 1e6, (double)r.spec_ppm[1] / 1e6,
+                   r.valid ? "" : " INVALID(truth outside eps)", r.no_disc ? " NO_DISCRIMINATING" : "");
+            fprintf(f, "%s    {\"level\": %d, \"seed\": %llu, \"set\": %d, \"active_steps\": %d, \"active_episodes\": %d, \"active_cost_micro\": %lld, \"active_refuted\": %s, "
+                       "\"passive_steps\": %d, \"passive_episodes\": %d, \"passive_cost_micro\": %lld, \"passive_refuted\": %s, "
+                       "\"d_first_micro\": %lld, \"d_refuting_micro\": %lld, \"b5_refuting\": %s, \"b5_any\": %s, \"spec_nrmse_at_refute_ppm\": [%lld, %lld], \"valid\": %s, \"planner_declined\": %s}",
+                    first ? "" : ",\n", level, (unsigned long long)seed, si, r.steps[0], r.episodes[0], (long long)r.cost[0], r.refuted[0] ? "true" : "false",
+                    r.steps[1], r.episodes[1], (long long)r.cost[1], r.refuted[1] ? "true" : "false",
+                    (long long)r.d_first, (long long)r.d_refuting, r.b5_refuting ? "true" : "false", r.b5_any ? "true" : "false", (long long)r.spec_ppm[0], (long long)r.spec_ppm[1], r.valid ? "true" : "false", r.no_disc ? "true" : "false");
+            first = 0;
+            if (!r.valid) { invalid++; continue; }
+            if (r.declined[0]) { declined[si]++; continue; }   /* planner said no experiment separates them: not a win, not a loss */
+            if (!r.refuted[0] || !r.refuted[1]) unref[si]++;
+            if ((r.refuted[0] && r.spec_ppm[0] <= EPS_PPM) || (r.refuted[1] && r.spec_ppm[1] <= EPS_PPM)) spec_low[si]++;
+            s_act[si] += r.steps[0]; s_pas[si] += r.steps[1]; c_act[si] += r.cost[0]; c_pas[si] += r.cost[1];
+            if (r.steps[0] < r.steps[1]) { a_fewer[si]++; if (r.b5_refuting) b5_sep[si]++; } else if (r.steps[0] == r.steps[1]) ties[si]++; else p_fewer[si]++;
+        }
+    }
+    fprintf(f, "\n  ],\n  \"summary\": [\n");
+    printf("summary per set (15 seeds): active fewer steps / ties / passive fewer / planner declined; total steps active vs passive (declined rows excluded); total cost active vs passive; rows unrefuted at cap; b5 flagged among active wins; refutations below spec eps\n");
+    for (int si = 0; si < N_SETS; si++) {
+        printf("  %-12s | %2d / %2d / %2d / %2d | %4lld vs %4lld | %8.2f vs %8.2f | %d | %d | %d\n", set_name[si], a_fewer[si], ties[si], p_fewer[si], declined[si], s_act[si], s_pas[si], (double)c_act[si] / 1e6, (double)c_pas[si] / 1e6, unref[si], b5_sep[si], spec_low[si]);
+        fprintf(f, "    {\"set\": %d, \"active_fewer\": %d, \"ties\": %d, \"passive_fewer\": %d, \"total_steps_active\": %lld, \"total_steps_passive\": %lld, \"total_cost_active_micro\": %lld, \"total_cost_passive_micro\": %lld, \"planner_declined\": %d, \"unrefuted_rows\": %d, \"b5_among_active_wins\": %d, \"refutations_below_spec_eps\": %d}%s\n",
+                si, a_fewer[si], ties[si], p_fewer[si], s_act[si], s_pas[si], c_act[si], c_pas[si], declined[si], unref[si], b5_sep[si], spec_low[si], si + 1 < N_SETS ? "," : "");
+    }
+    fprintf(f, "  ],\n  \"invalid\": %d\n}\n", invalid);
+    fclose(f);
+    printf("PD0_PLANNER_EFF2: %s (invalid %d)\n", invalid == 0 ? "PASS" : "FAIL", invalid);
+    return invalid == 0 ? 0 : 1;
+}