v4: acceptance asserts the loops -- L1, L3, L2 with L5, L8 -- and WORD_PHYSICS (#189, Phase 7 Task 9)
Build / Image RASPI (push) Successful in 6m16s
Build / Image PC (push) Successful in 6m19s
Build / Image MILKV (push) Successful in 8m30s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 16m7s

The acceptance session's loops(), at every v4 boot's prompt: a word's
heat (L1), its decay from a set heat (L3), INFER-RUN's variance and
width with L8 held on card 18 (L2, L5), and L8's changes. L8-HOLD
( card -- ), request -42, beside L8-CARD@, with its POST case: POST 992.
WORD_PHYSICS (Kconfig.physics, default y) turns the word loops off: a
boot with it off fails acceptance at POST (ruled 3a). Measured on amd64:
heat 6, 1000 cooled to 0 in 40 s, width 455, 66 changes. L8 unheld
settles on card 11, with the window off, so L2/L5 hold a card (ruled).
test_mesh_boot: L8-HOLD failed first, 144 checks now. V3-PARITY.md 2.2
corrected, dated. Gates pass, POST 992/992.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
Claude
2026-11-20 18:06:09 +00:00
parent 43f8687f70
commit a9a8687fa5
31 changed files with 3767 additions and 17 deletions
+40
View File
@@ -522,6 +522,45 @@ def physics():
re.search(r"Stadium words: promotions=[1-9]\d*", text()) is not None)
def probe(line, mark, secs=60):
"""Type `line`, which prints `mark` and then numbers; the numbers after the newest `mark`, or None."""
n = count(PROMPT)
type_line(line)
if not wait_for(PROMPT, secs, n):
return None
found = re.findall(re.escape(mark) + r"((?:-?\d+\s+)+)", text()[-600:])
return [int(v) for v in found[-1].split()] if found else None
def loops():
"""The loops on Hera's words, asked at the prompt (#189; Phase 7 Task 9, ruled 2026-11-20: "L1, L3, L2/L5,
L8"): a boot whose words have no physics fails each of these -- WORD_PHYSICS=0 (Kconfig.physics) is that
boot. The values are the run's own, so each check is of what any run with the loops has."""
n = count(PROMPT)
type_line(': PHY1 ; : PHY3 PHY1 PHY1 PHY1 ; : PHYH ." H=" S" PHY1" HEAT@ . ;')
check("the loops' words defined", wait_for(PROMPT, 60, n) and "ERROR" not in text()[-300:])
v = probe("PHY3 PHY3 PHYH", "H=")
check("L1, heat: PHY1 called six times from code has heat (H=%s)" % (v,), v is not None and v[0] > 0)
v = probe(': PHYS 1000 S" PHY1" HEAT! ." S=" S" PHY1" HEAT@ . ; PHYS', "S=")
check("HEAT! sets PHY1's heat to 1000 (S=%s)" % (v,), v == [1000])
time.sleep(40) # heartbeat ticks pass; PHY1 is not called
v = probe(': PHYD ." D=" S" PHY1" HEAT@ . ; PHYD', "D=")
check("L3, decay: PHY1 left alone cools from 1000 (D=%s)" % (v,), v is not None and 0 <= v[0] < 1000)
# the window (L2) and inference on it (L5): L8 settles on a card with L2 off (card 11 on amd64, after 65
# changes, measured 2026-11-20), so it is held on card 18 -- L2, L5 and L7 -- for the workload (L8-HOLD,
# ruled), then lets go. INFER-RUN's variance and L5's width are then both not 0.
v = probe(': PHYW 50 0 DO PHY3 LOOP ; : PHYI 18 L8-HOLD PHYW INFER-RUN ." V=" INFER-VARIANCE@ OR 0= 0= . '
'INFER-WINDOW@ . -1 L8-HOLD ; PHYI', "V=")
check("L2 and L5, L8 held on card 18: INFER-RUN's variance and width are not 0 (V=%s: true, the width)" % (v,),
v is not None and len(v) == 2 and v[0] == -1 and v[1] > 0)
v = probe(': PHYL ." L=" L8-CARD@ . . ; PHYL', "L=")
check("L8: the card has changed, and is one of the 64 (L=%s: changes, card)" % (v,),
v is not None and len(v) == 2 and v[0] > 0 and 0 <= v[1] < 64)
n = count(PROMPT)
type_line("FORGET PHY1")
check("the loops' words forgotten", wait_for(PROMPT, 60, n) and "ERROR" not in text()[-300:])
def registry():
"""Hera in the kernel's fabric and registry (#189, Phase 1 Task 5a): NODE-ME, made by centre.4th,
is answered by the kernel with her place, 0 -- as the host mesh answers it (test_host_unit.c)."""
@@ -530,6 +569,7 @@ def registry():
check("NODE-ME: Hera is at place 0 of the kernel's fabric",
wait_for(PROMPT, 60, n) and re.search(r"(?:^|[^0-9])0\s+ok", text()[-200:]) is not None
and "UNKNOWN WORD" not in text()[-200:])
loops()
births()