diff --git a/.crumb b/.crumb index 5df0e999a..69ffdc8d7 100644 --- a/.crumb +++ b/.crumb @@ -48,7 +48,7 @@ }, { "digest": "a414ddfdae9afef02f2a1784617471777ae68368c87969d5a7f651dfa63e9c39", - "last_commit": "6501b9350", + "last_commit": "96ea448ad", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -66,13 +66,13 @@ }, { "digest": "485146f08c7e6124bdbb5a8ecc86770ca4f216a890e08f2d7c4691ac3586bc59", - "last_commit": "6501b9350", + "last_commit": "96ea448ad", "name": "native", "purpose": "Handwritten .om units of omega-mv that are not part of the seed ladder: the ORIG-4 shadow adviso" }, { "digest": "8de6679cad12c4af3224d67281e9c1f0382407be78017e0e622661b5270100c1", - "last_commit": "6501b9350", + "last_commit": "96ea448ad", "name": "neuralese", "purpose": "Bounded untrusted representation envelopes and explicit checked Omega decoding; learned extensio" }, @@ -90,13 +90,13 @@ }, { "digest": "ff080a36e84cf4dd3007c1b0f360c01371b5d1a4d8fd6dea5d1927fb2f354b8d", - "last_commit": "6501b9350", + "last_commit": "96ea448ad", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, { - "digest": "4e7251847298392c2e24591e45747e2b214c48f66a636063fbd7b3ab32a55a6d", - "last_commit": "d94617177", + "digest": "afc0a615167640374b02c58f5e579653b8b828c16c8ccf6b56a8dc061a399c8a", + "last_commit": "48214a01c", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, @@ -107,15 +107,15 @@ "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:45396f65f68cf5ac22432d1740e450f31cff6da00997aa01dffc06fc15eacbce", - "compiled_at": "2026-10-31T06:19:31Z", + "children_root": "sha256:794ae1f2b5e636c33af10bd131da6565b40f1f1850ff961a1ecdff0d876f432f", + "compiled_at": "2026-10-31T06:55:51Z", "compiler": "crumb-compile/1", - "digest": "sha256:32c2176ecc1612dc6ddc51a9ff15b0268ef43262951b7cbf09d37549edb2462f", + "digest": "sha256:cb842f40fcef2b1ed33f6e5b6c7c1dfbacdc11c30c820d9d5d9f83c9a41e77e4", "evidence_files": 14989, "evidence_root": "sha256:69b37cac708300e920a939718510a36d2198911e210aa883216be553698086f3", "files": 23184, - "generated_at_commit": "6501b9350837b55236254d4cac8b4fc4181cd013", - "source_tree": "sha256:1447455198f49b62ef2062d3946a81f80816f5f10a6b56cb5ec34f6d27c7da92" + "generated_at_commit": "69815e3f0a6b98583f65b032959318d249856e88", + "source_tree": "sha256:cf064520e0a9f643a8e2b92b87e9121943034376cb24929c9e344854740bd91f" }, "owner_lane": "", "provenance": { diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 522977f8d..ab5b95e8d 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -89,3 +89,4 @@ Update this table in the same commit as the work it credits. | Claude Opus 5.5 | Ported the #671 packed-list hostile-ingress campaign (from 9a2b6a5) to main as an OM-2 conductor gate in `seed/host/check.sh`: 60 runtime packet, boundary and truncation cases, with size, count and exact-length mutant compilers each detected, and the record-length mutant documented as undetectable by exit status | | Claude Opus 5.5 | Added the host CPU words `cpufence` (DSB SY / MFENCE) and `cpurelax` (YIELD / PAUSE) to omc (#939) as keyword ids 199/200 (first 178/179, renumbered because open PRs #878/#890 claimed 178..180 first), with the `seed/host/cpufence.sh` fixture, refusal checks and a nop-fence mutant; reseeded the compiler and regenerated the pinned units, moved every gate and parity `OMC_PIN`, and re-pinned GEN-1 (revision 2) for the new OMEGESE section. | | Claude Opus 5.5 | Merged #946 (cpufence 199/200) into the #970 execpure branch: reseeded omc to 7a8b84fc at 512 functions with execpure 198, moved every active pin, regenerated the pinned units, took main's packed-list ingress and #608 trace segment over the PR copies (dropping the superseded segment-gate.om from gate669), and ported the #856 getppid check from the deleted seed/host/gate.sh into seed/host/gate.om with a getpid negative control. Made the #671 hostile source campaign (gate669 mode 3) pass again: tok_num and ir_lead scan words and leading blanks in nested 999999-pass loops instead of trapping 4, the function-count fixture avoids the f32/f64 type keywords and follows the 4096-function cap. | +| Claude Opus 5.5 | R15 energy preflight test: the fake package counter (and the falling cpu_p counter of decr3) now ticks every 10 ms until the case finishes instead of on a fixed 0.05/0.15 s schedule, so a preflight that starts late under load still sees it advance; delayed-start repro, 30/30 quiet and 30/30 under pinned busy loops | diff --git a/tests/.crumb b/tests/.crumb index 71191fca9..0ac0ae690 100644 --- a/tests/.crumb +++ b/tests/.crumb @@ -308,14 +308,14 @@ } ], "children_root": "sha256:4e202b52b2c80d88dc93220a0c00cda479e52c2e63f847fbb30b9b1f426294f5", - "compiled_at": "2026-10-31T02:32:51Z", + "compiled_at": "2026-10-31T05:27:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:4e7251847298392c2e24591e45747e2b214c48f66a636063fbd7b3ab32a55a6d", + "digest": "sha256:afc0a615167640374b02c58f5e579653b8b828c16c8ccf6b56a8dc061a399c8a", "evidence_files": 74, "evidence_root": "sha256:9aa38bf7dcfa5eb3499356a0a2a1dd7704fedfae2d16822a7c9e1400f3a72723", "files": 2047, - "generated_at_commit": "758f5674e8c5344858be02b1dfa4d98b23bc7376", - "source_tree": "sha256:507bf3bd4641fae99c0a70740cb2295bae3cf8cd49e03c0e1a451fc9a3862688" + "generated_at_commit": "1db941627f637312ce60e49872dcdd18b49a54b7", + "source_tree": "sha256:bd43c51d15c9f611728acbc8632a3045f0224523ff0d7c49de0f2d4100915f57" }, "owner_lane": "", "provenance": { diff --git a/tests/r15_energy_preflight_test.sh b/tests/r15_energy_preflight_test.sh index 2e5f28263..8b48542dd 100644 --- a/tests/r15_energy_preflight_test.sh +++ b/tests/r15_energy_preflight_test.sh @@ -42,9 +42,14 @@ mk() { # case: a complete, valid-looking reader tree (static counters) i=1; for l in $EL; do echo "$l" > "$H/energy${i}_label"; echo 5000000000 > "$H/energy${i}_input"; echo 0 > "$H/energy${i}_overflow_raw"; i=$((i + 1)); done i=1; for l in $PL; do echo "$l" > "$H/power${i}_label"; echo 20000000 > "$H/power${i}_input"; i=$((i + 1)); done } -# advance : package counter rises 0.5 J then 1 J in the background while the preflight samples +# tick : a background writer moves hwmon1/energy_input by +# every 10 ms from until untick , so the counter keeps moving through the preflight's whole +# sampling window however late the preflight starts. (A writer on a fixed schedule could finish before the +# first sample under load; all three samples then saw one value and the valid case reported 'did not advance'.) put() { echo "$2" > "$1.tmp" && mv "$1.tmp" "$1"; } # atomic, so the preflight never reads a half-written file -advance() { ( sleep 0.05; put "$W/$1/hwmon1/energy1_input" $(( $2 + 500000 )); sleep 0.1; put "$W/$1/hwmon1/energy1_input" $(( $2 + 1000000 )) ) & } +tick() { ( v=$3; while [ ! -e "$W/$1.untick" ]; do v=$((v + $4)); put "$W/$1/hwmon1/energy$2_input" $v; sleep 0.01; done ) & } +untick() { : > "$W/$1.untick"; wait; } +advance() { tick "$1" 1 "$2" 500000; } # advance : package counter rises 0.5 J per tick mkdir -p "$W/absent/hwmon0"; echo acpitz > "$W/absent/hwmon0/name"; check absent 5 "reason=absent" mkdir -p "$W/empty"; check empty 5 "reason=absent" mk substitute; echo nvml > "$W/substitute/hwmon1/name"; check substitute 5 "reason=absent" @@ -67,24 +72,22 @@ mk lowhead; echo 4294967000000000 > "$W/lowhead/hwmon1/energy3_input"; check low # less than the planned run (2400 s x 100 W = 240 kJ), so a wrap could land mid-run mk shortrun; echo 4094967295000 > "$W/shortrun/hwmon1/energy1_input" advance shortrun 4094967295000 -R15_ENERGY_PREFLIGHT_SLEEP=0.08 check shortrun 5 "planned run"; wait +R15_ENERGY_PREFLIGHT_SLEEP=0.08 check shortrun 5 "planned run"; untick shortrun # wrapped / reset counter: uptime 200000 s but only 1 kJ on the counter (floor 10 W x 200000 s = 2 MJ) mk wrapped; echo 1000000000 > "$W/wrapped/hwmon1/energy1_input"; printf "200000.00 1.00\n" > "$W/wrapped-uptime" advance wrapped 1000000000 -R15_UPTIME_FILE="$W/wrapped-uptime" R15_ENERGY_PREFLIGHT_SLEEP=0.08 check wrapped 5 "wrapped or was reset"; wait -mk nouptime; advance nouptime 5000000000; R15_UPTIME_FILE="$W/does-not-exist" R15_ENERGY_PREFLIGHT_SLEEP=0.08 check nouptime 5 "uptime"; wait +R15_UPTIME_FILE="$W/wrapped-uptime" R15_ENERGY_PREFLIGHT_SLEEP=0.08 check wrapped 5 "wrapped or was reset"; untick wrapped +mk nouptime; advance nouptime 5000000000; R15_UPTIME_FILE="$W/does-not-exist" R15_ENERGY_PREFLIGHT_SLEEP=0.08 check nouptime 5 "uptime"; untick nouptime # a decrease on any channel (not only package) invalidates the reader mk decr3; echo 5000000000 > "$W/decr3/hwmon1/energy1_input" -( k=0; while [ $k -lt 60 ]; do put "$W/decr3/hwmon1/energy3_input" $((5000000000 - k * 1000)); k=$((k + 1)); sleep 0.01; done ) & # steadily falling cpu_p counter +tick decr3 3 5000000000 -1000 # steadily falling cpu_p counter advance decr3 5000000000 R15_ENERGY_PREFLIGHT_SLEEP=0.08 check decr3 5 "energy3 counter went backwards" -wait +untick decr3 # valid: package counter advances between samples mk valid -put "$W/valid/hwmon1/energy1_input" 5000100000 advance valid 5000100000 -R15_ENERGY_PREFLIGHT_SLEEP=0.08 check valid 0 "energy preflight ok" -wait +R15_ENERGY_PREFLIGHT_SLEEP=0.08 check valid 0 "energy preflight ok"; untick valid # blocked run: receipt refuses (exit 4), writes nothing R=$W/blocked; mkdir -p "$R"; printf 'BLOCKED_INSTRUMENT\nINSTRUMENT_UNAVAILABLE reason=absent\n' > "$R/instrument-unavailable.txt" out=$(tools/r15_receipt.sh "$R" "$W/receipt-out" 2>&1); rc=$?