Author SHA1 Message Date
Claude 6eecf0d2d7 logs: the protocol on 65737e28: PASS -- the loops the same on the four boots (#189)
Build / Image RASPI (push) Successful in 6m46s
Build / Image PC (push) Successful in 9m26s
Build / Image MILKV (push) Successful in 3m32s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 14m24s
Acceptance / Acceptance (pull_request) Successful in 37m21s
All eight stages, a clean tree. loops() on every boot: heat 6, 1000
cooled to 0, variance not 0 and width 455 with L8 held on card 18, 66
card changes ending on card 11 -- the same on amd64, aarch64, riscv64
and the stick. dict_hash 0x7c5a2f0c02145e63, POST 992/992. The record
is logs/20261120-192820/README.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 20:20:31 +00:00
Claude 65737e282f v4-dictionary.tsv: L8-CARD@ and L8-HOLD; the protocol on a9a8687f, failed at docs for want of them
The protocol's docs stage refused the two Task 9 words without
dictionary entries (my omission); every other stage passed, the loops
the same on the four boots: H=6, D=0, V=-1 455, L=66 11. Its report,
FAIL, is kept. The entries added, in the file's order; make dictionary
passes. The protocol runs again from accept-amd64.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 19:28:12 +00:00
Claude a9a8687fa5 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
2026-11-20 18:06:09 +00:00
Claude 43f8687f70 v4: L8-CARD@ ( -- card changes ), and its POST case; POST 991 (#189, Phase 7 Task 9, part A)
Request -41, served by the kernel from the node's L8 state; the word
in physics.4th. test_mesh_boot checks it against the kernel's own
values, changes more than 0: failed first (UNKNOWN WORD), now 142
checks pass. POST.md takes only the new case and the counts: the two
cells that differ run to run are #199's. POST_FLOOR 990 -> 991.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 15:12:33 +00:00
Claude 0522d77337 plans: Phase 7 Task 9, 2a -- L8-CARD@ leaves the card and its changes (#189)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 15:08:48 +00:00
Claude 27ab2bce1e plans: Phase 7 Task 9 ruled -- all the loops asserted, L8-CARD@, a WORD_PHYSICS switch (#189)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 15:04:28 +00:00
Claude 41befb0294 plans: Phase 7 Task 9 -- acceptance asserts the loops (#189), design, for ruling
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 14:54:18 +00:00
Claude 9039ce836d logs: make -C v4 post79 twice -- post_cases.c and POST79.md the same (#190), POST.md not (#199)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 14:52:47 +00:00
Claude 0a0be0cafd CLAUDE.md: while a PR is open, commit locally and push once (#152)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 14:43:46 +00:00
Claude adcfadb7f7 capsules/BLOCK_MAP.md: refreshed -- v4:ACL.4th and v4:init.4th, and centre.4th's hash
Stale since those capsules changed on this branch: the build rewrites
it, but each boot's restore (nightly.sh, qemu_session.py) put the
committed copy back. make -f kernel/Makefile manifest (#145, ruled).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 14:41:41 +00:00
Claude 1990a40f09 fe25519: take the carry out by multiplying, not by a left shift of a negative value
fe25519_carry's c << 51, with c negative after fe25519_sub, is
undefined in C99; the nightly's sanitized mesh boot stopped on it
(2026-11-20, run 333), reaching it through CI's signed capsules.
c * 2^51 is the same value. test_fe25519 (16 checks: values that
send a limb negative, and RFC 8032 tests 1 and 2 signed and verified)
runs in make -C v4 test and under ASan+UBSan in sanitize; it failed
first under UBSan at fe25519.c:31:26. Gates pass, POST 990/990.
The acceptance protocol runs before it reaches a PR (ruled: the next
PR, not #198).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 14:01:15 +00:00
Claude 40e9773885 logs: the nightly's fe25519 sanitizer failure, reproduced without the signing key
fe25519_carry shifts a negative carry left (fe25519.c:31, and :35),
undefined in C99; CI's signed capsules reach it in san-mesh-boot.
Reported, not fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 12:54:08 +00:00
Claude f7769c0e93 v4: the host placer, and a small train placed on Hera at her HERE (ADR step 3, task 4)
place.c places a train's artifact as ABI.md section 5 has it, the
code split at each export with its entry before it. test_mesh_boot
places tests/train-place, built by mkf18a with an import from the
nucleus: its words run by name, the nucleus's ABS is reached, the
kernel records each export, and six refusals leave Hera unchanged.
mkf18a refuses a word that runs on into an export. Failed first;
gates pass, POST 990/990. Plan section 13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 12:44:50 +00:00
Claude cf2a321807 plans: task 4, 2a corrected -- a word that runs on into an export is refused by the tool
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 11:42:29 +00:00
Claude 0684cd8362 v4 mkf18a: import nucleus NAME -- hash 0, the effect from the nucleus (task 4, part 1)
mkf18a takes nucleus=SYSDIR, assembles the nucleus as the ROM does and
looks NAME up by its dictionary name; a word in line there, or one with
no fixed effect, is refused (plan section 12, rulings 3 and 4).
test_mkf18a: 5 new checks failed first, 93 pass at both widths. Its
build now has the host node's size, as the tool's has: the nucleus did
not fit a mesh node's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 03:53:57 +00:00
Claude 7cfcbf2b68 plans: task 4 ruling 2a -- the placer splits the code at each export, entry before code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 03:47:49 +00:00
Claude 3945d3964a plans: task 4 ruled -- host placer in C, it lays entries, the tool assembles the nucleus, import nucleus NAME
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 03:46:54 +00:00
Claude 7422dc5319 plans: task 4, the small train placed -- design, for ruling
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 03:44:41 +00:00
Claude 33bd835474 plans, ARTIFACT.md: task 3's six drafting choices ruled, each kept as drafted
The hash framing and what each provenance hash covers (choices 1, 2,
now in ARTIFACT.md section 4), the pool's unit 0, a literal store to
(PORT) as a request, capabilities through calls, and the import
placeholders at the node's top. Held locally until #198 merges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 00:21:36 +00:00
Claude 998510757a logs: the protocol on bd8997ff (mkf18a, ADR step 3 task 3): PASS
Acceptance / Acceptance (pull_request) Successful in 37m45s
Build / Image RASPI (push) Successful in 4m47s
Build / Image PC (push) Successful in 5m28s
Build / Image MILKV (push) Successful in 5m39s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 16m10s
Every stage passes: the four boots at POST 990/990, dict_hash
0x0ffb1d31c4aa7857 on all three (405 words), test-32 (42 programs, 0
failures), the proofs, the images and the documents.
logs/20261119-230627/PROTOCOL.md. test-32 ran twice: a container
restart lost the first run, with no result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 23:51:12 +00:00
Claude bd8997ffdf logs: the protocol on dc3803ab so far -- four boots and test-32 pass
Build / Image RASPI (push) Successful in 5m47s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 15m7s
Build / Image PC (push) Successful in 6m2s
Build / Image MILKV (push) Successful in 5m57s
accept-amd64, accept-aarch64, accept-riscv64 and accept-stick-high
pass, POST 990/990, dict_hash 0x0ffb1d31c4aa7857 on all three (405
words); test-32, 42 programs, 0 failures. Two aarch64 runs stopped at
the 570 s foreground cap, not failed (212934 after the heartbeat,
213939 at node 11's SEND), are kept; the third ran in the background,
alone (rules, 2026-11-18), and passed. Proofs, images and docs to come.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 22:20:59 +00:00
Claude dc3803ab47 v4: mkf18a, the host tool that builds a train's F18 artifact (ADR step 3, task 3)
Build / Image RASPI (push) Successful in 3m59s
Build / Image PC (push) Successful in 3m58s
Build / Image MILKV (push) Successful in 4m7s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 16m5s
The artifact's layout and its check (artifact.h, artifact.c), the tool
(tools/f18a.c, mkf18a.c) and make -C v4 artifacts. test_mkf18a, 83
checks at both widths, failed against a stub first. Gates: test,
test-32 and sanitize pass, POST 990/990. Plan section 11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 21:09:22 +00:00
Claude 84f119a1b3 v4 text.c: a word's flags and capabilities after its name; import lines (task 3, part 1)
As ruled (plans §10.2, §10.3, §10.5): ': NAME inline pinned mode N
ports request N' records the word's attributes and lays nothing down;
'import TRAIN NAME' declares another train's word, its calls, jumps and
&NAME recorded as that import. test_text: 11 checks failed before; 274
pass at both widths. The check that ': T immediate ;' is refused is
replaced, as ruled. Full gates run at the end of task 3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 19:53:07 +00:00
Claude d6b894769c plans, ARTIFACT.md: task 3 ruling, capabilities declared, then checked
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 19:48:24 +00:00
Claude cad8291478 plans, ABI.md: task 3 ruling, a train's hash is its .f18a's capsule ID
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 19:47:39 +00:00
Claude 57f556e645 plans: task 3 ruling, an import line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 19:42:13 +00:00
Claude 9b114fff83 plans: task 3 ruling, flags after the : name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 19:41:42 +00:00
Claude a1b26eacaf plans: task 3 ruling, exports are the : words, no headers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 19:41:13 +00:00
Claude daf614285a v4 effect.c: stack effects derived from code (ADR step 3, task 2)
Build / Image RASPI (push) Successful in 4m35s
Build / Image PC (push) Successful in 4m20s
Build / Image MILKV (push) Successful in 4m6s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 15m23s
Walks a word's code, opcode by opcode with the engine's own counts, and
gives what it takes and leaves on both stacks, or why it has none.
Called and in-line words; recursion, computed jumps, paths that meet at
different depths and loops that leave a count have none. Test first:
23 checks failed against a stub. SWAP', UM/MOD, C@, C! and ROUNDTRIP
agree with their stack comments. On the nucleus: 214 of 315 headers
fixed. v4 test, test-32 and ASan+UBSan pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 19:28:33 +00:00
Claude 4d64e677f5 v4 text.c: the address record (ADR step 3, task 1)
Build / Image RASPI (push) Successful in 4m13s
Build / Image PC (push) Successful in 3m51s
Build / Image MILKV (push) Successful in 4m30s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 17m32s
Every cell laid down that holds an address of the assembly is recorded,
with its branch slot or 7 for the whole cell, as ARTIFACT.md's
relocations need. Test first: test_text 13 checks failed before.
test_host_rom_nucleus runs with the record on: 1825 branches, 664 whole
cells, the ROM still equal word for word. v4 test, test-32 and
ASan+UBSan pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 17:51:54 +00:00
Claude 29b99f90e6 plans: step 3 §6.6 ruled, mkf18a / .f18a; design ruled
Build / Image RASPI (push) Successful in 4m41s
Build / Image PC (push) Successful in 5m50s
Build / Image MILKV (push) Successful in 6m2s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 15m51s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:33:29 +00:00
Claude 6c639e5d20 plans: step 3 §6.5 ruled, the tool's hash is its source's
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:32:59 +00:00
Claude 3733949c28 ABI.md 2c: a word with no fixed effect stays internal, the build does not fail
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:32:39 +00:00
Claude a6371b1ce3 plans: step 3 §6.4 ruled, every fixed-effect word exported
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:32:21 +00:00
Claude 255dd92deb plans: step 3 §6.3a ruled, the nucleus renamed to name order
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:31:07 +00:00
Claude b5e85392c1 plans: step 3 §6.3 ruled, all it finds, name order
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:30:24 +00:00
Claude 9c8b8dbd8b plans: step 3 §6.2a ruled, the nucleus is not an artifact
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:28:47 +00:00
Claude 4ecdc80197 plans: step 3 §6.2 ruled, both, nucleus first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:27:31 +00:00
Claude 1961348e15 ARTIFACT.md: relocation slot 7, the whole cell (step 3 §6.1 ruled)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:26:29 +00:00
Claude 16b8fddaef plans: artifacts in the build (ADR step 3), draft for ruling
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:25:39 +00:00
Claude f2174a39a4 ABI.md, ARTIFACT.md: three drafting additions confirmed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:24:51 +00:00
Claude fe0f709498 ARTIFACT.md: choice 5 ruled, code cells low-first; layout ruled
Build / Image RASPI (push) Successful in 4m17s
Build / Image PC (push) Successful in 5m37s
Build / Image MILKV (push) Successful in 5m40s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 13m56s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:19:58 +00:00
Claude 4a7ca4e288 ARTIFACT.md: choice 4 ruled, port bit plus request list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:19:00 +00:00
Claude c9cc39f4ec ARTIFACT.md: choice 3 ruled, both stack effects recorded and checked
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:17:11 +00:00
Claude d052af6d53 ARTIFACT.md: choice 2 ruled, SHA-512 for provenance and proofs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:16:20 +00:00
Claude c4b922d496 ABI.md §4: records in 32-bit units, code in cells, as ARTIFACT.md rules
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:15:13 +00:00
Claude 2b8609e4fc ARTIFACT.md: choice 1 ruled, 32-bit units
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 16:13:57 +00:00
183 changed files with 190249 additions and 92 deletions
+4 -1
View File
@@ -315,7 +315,10 @@ for its tree -- any change outside the evidence after the run is stale, and the
again. **One stage per foreground command is also a protocol**, and is how an agent runs it (the
QEMU rule: never in the background): `scripts/nightly.sh protocol accept-amd64`, then
`accept-aarch64`, `accept-riscv64`, `accept-stick-high`, `test-32`, `proofs`, `images`, `docs`,
each its own command, then `scripts/nightly.sh protocol-report`. The tools: `make
each its own command, then `scripts/nightly.sh protocol-report`. **While a PR is open, commit locally and
push once** (#152, 2026-11-08): Gitea redoes the PR's patch test and diff statistics on every push to its
branch, and a burst of pushes with large log directories took it to 1.75 GiB. Its `app.ini` diff limits
(`MAX_GIT_DIFF_LINES` 300, `MAX_GIT_DIFF_FILES` 30) stop a runaway diff; one push keeps it to one test. The tools: `make
ARCH=amd64,aarch64,riscv64 init`, plus the HOL-Library heap the CI image has (`ci/runner-image`).
**v4 is the default build (Captain Bob, 2026-10-14: "v4 is the default build ... no, qemu to v4
+11
View File
@@ -20,6 +20,17 @@ config ENABLE_HOTWORDS_CACHE
migration exists to collapse to one source of truth. Set to y
to enable; also gates L8 Jacquard's L1_heat_tracking bit.
config WORD_PHYSICS
bool "Compudynamics on a v4 node's words: the loops at call and at each tick (WORD_PHYSICS)"
default y
help
#189 Phase 7 Task 9 (Captain Bob, 2026-11-20, "A Kconfig switch"): a
word's heat, its decay, the rolling window, pipelining, inference and
L8, run by the kernel at every call and at every heartbeat tick. Off,
a word's calls are still counted and charged to the Stadium, and none
of the loops runs: the boot the acceptance checks are seen to fail
on. The revert, as OPCODE_PHYSICS is the opcodes'.
config OPCODE_PHYSICS
bool "Compudynamics on the 32 F18 opcodes as well as the words (OPCODE_PHYSICS)"
default y
+22 -15
View File
@@ -29,10 +29,12 @@
| `sdk.4th` | 5109, 5110, 5111, 5112, 5113, 5114, 5115 | `0x008fdbbb62c94a3a` | n/a |
| `turtle.4th` | 5100, 5101, 5102, 5103, 5104, 5105, 5106, 5107, 5108 | `0x4d470418ca543365` | n/a |
| `user-font-demo.4th` | 4200, 4201, 4202 | `0xce1fd7d1b581a56d` | n/a |
| `v4:centre.4th` | 3964, 3965, 3966, 3967, 3968, 3969, 3970 | `0xea5815290d56dff3` | n/a |
| `v4:ACL.4th` | 3984, 3985, 3986, 3987 | `0xdba5690fb0ee12a4` | n/a |
| `v4:centre.4th` | 3964, 3965, 3966, 3967, 3968, 3969, 3970 | `0x53b1e3df644e8e25` | n/a |
| `v4:forth79.4th` | 3948, 3949, 3950 | `0x4609d6ef54166ef8` | n/a |
| `v4:hera.4th` | 3960, 3961 | `0x78730b1d6effe892` | n/a |
| `v4:physics.4th` | 3972, 3973, 3974, 3975, 3976 | `0x5b0195fc30828bde` | n/a |
| `v4:init.4th` | 3980 | `0x13fe8932fa4d2934` | n/a |
| `v4:physics.4th` | 3972, 3973, 3974, 3975, 3976 | `0xb26da18d35ce5a84` | n/a |
| `v4:starshipos.4th` | 3956, 3957 | `0x1734a8f4fe7483a5` | n/a |
| `workload-0.4th` | 2200, 2201 | `0x93f86f60aeba8feb` | n/a |
| `workload-1-lite.4th` | 5058, 5059 | `0x44a7a7e3176dcc8d` | n/a |
@@ -112,18 +114,23 @@
| 3957 | `v4:starshipos.4th` | `0x1734a8f4fe7483a5` | ok |
| 3960 | `v4:hera.4th` | `0x78730b1d6effe892` | ok |
| 3961 | `v4:hera.4th` | `0x78730b1d6effe892` | ok |
| 3964 | `v4:centre.4th` | `0xea5815290d56dff3` | ok |
| 3965 | `v4:centre.4th` | `0xea5815290d56dff3` | ok |
| 3966 | `v4:centre.4th` | `0xea5815290d56dff3` | ok |
| 3967 | `v4:centre.4th` | `0xea5815290d56dff3` | ok |
| 3968 | `v4:centre.4th` | `0xea5815290d56dff3` | ok |
| 3969 | `v4:centre.4th` | `0xea5815290d56dff3` | ok |
| 3970 | `v4:centre.4th` | `0xea5815290d56dff3` | ok |
| 3972 | `v4:physics.4th` | `0x5b0195fc30828bde` | ok |
| 3973 | `v4:physics.4th` | `0x5b0195fc30828bde` | ok |
| 3974 | `v4:physics.4th` | `0x5b0195fc30828bde` | ok |
| 3975 | `v4:physics.4th` | `0x5b0195fc30828bde` | ok |
| 3976 | `v4:physics.4th` | `0x5b0195fc30828bde` | ok |
| 3964 | `v4:centre.4th` | `0x53b1e3df644e8e25` | ok |
| 3965 | `v4:centre.4th` | `0x53b1e3df644e8e25` | ok |
| 3966 | `v4:centre.4th` | `0x53b1e3df644e8e25` | ok |
| 3967 | `v4:centre.4th` | `0x53b1e3df644e8e25` | ok |
| 3968 | `v4:centre.4th` | `0x53b1e3df644e8e25` | ok |
| 3969 | `v4:centre.4th` | `0x53b1e3df644e8e25` | ok |
| 3970 | `v4:centre.4th` | `0x53b1e3df644e8e25` | ok |
| 3972 | `v4:physics.4th` | `0xb26da18d35ce5a84` | ok |
| 3973 | `v4:physics.4th` | `0xb26da18d35ce5a84` | ok |
| 3974 | `v4:physics.4th` | `0xb26da18d35ce5a84` | ok |
| 3975 | `v4:physics.4th` | `0xb26da18d35ce5a84` | ok |
| 3976 | `v4:physics.4th` | `0xb26da18d35ce5a84` | ok |
| 3980 | `v4:init.4th` | `0x13fe8932fa4d2934` | ok |
| 3984 | `v4:ACL.4th` | `0xdba5690fb0ee12a4` | ok |
| 3985 | `v4:ACL.4th` | `0xdba5690fb0ee12a4` | ok |
| 3986 | `v4:ACL.4th` | `0xdba5690fb0ee12a4` | ok |
| 3987 | `v4:ACL.4th` | `0xdba5690fb0ee12a4` | ok |
| 4000 | `ACL.4th` | `0xf8890c05c0d8f921` | ok |
| 4001 | `ACL.4th` | `0xf8890c05c0d8f921` | ok |
| 4002 | `ACL.4th` | `0xf8890c05c0d8f921` | ok |
@@ -387,4 +394,4 @@
| 5115 | `sdk.4th` | `0x008fdbbb62c94a3a` | ok |
---
*40 capsule(s) scanned. Re-run `mkcapsule --manifest <dir>` to refresh.*
*42 capsule(s) scanned. Re-run `mkcapsule --manifest <dir>` to refresh.*
+2
View File
@@ -23,6 +23,8 @@ Block 3973
-32 KERNEL-WORD INFER-VARIANCE@ ( -- d )
-33 KERNEL-WORD INFER-FIT@ ( -- d )
-34 KERNEL-WORD INFER-EARLY-EXIT@ ( -- flag )
-41 KERNEL-WORD L8-CARD@ ( -- card changes )
-42 KERNEL-WORD L8-HOLD ( card -- ; -1: L8 chooses )
( v3's DECAY_RATE_PER_US_Q16, its compile-time constant )
1 CONSTANT DECAY-RATE@
-->
+2
View File
@@ -208,6 +208,8 @@ IS ( xt -- ) IS xxx: make the deferred word xxx run xt; compiled when compiling.
J ( -- n ) Compile-only: the index of the next outer DO loop.
KERNEL-WORD ( n -- ) KERNEL-WORD xxx: define xxx, a word that asks the kernel to do request n (as BYE, BLOCK).
KEY ( -- c ) Wait for a key and leave its character.
L8-CARD@ ( -- card changes ) L8's current card on this node, 0 to 63, and how many times it has changed: more than 0 once L8 has run.
L8-HOLD ( card -- ) Holds L8 on the card given, 0 to 63, its gates applied; -1 lets L8 choose again.
LATEST ( -- xt ) The newest entry of the CURRENT vocabulary.
LEAVE ( -- ) Compile-only: leave the innermost DO loop at its next LOOP or +LOOP.
LFA ( xt -- addr ) The link field of the entry (>LINK).
Can't render this file because it contains an unexpected character in line 11 and column 3.
+12 -3
View File
@@ -60,7 +60,9 @@ anywhere but where it was compiled needs those fields fixed (§5).
## 4. The artifact
All of it is in cells, so an F18 node can read it.
**The records are in 32-bit units, low byte first, and the code is in the build's cells** (`ARTIFACT.md`
§1, ruled 2026-11-19, "32-bit units"). A node reads the records as it reads a block, four bytes to a
cell. *Corrected 2026-11-19: this line said "All of it is in cells, so an F18 node can read it".*
| Record | Holds |
|---|---|
@@ -152,6 +154,7 @@ capsule-blocks.md` §5), and Artemis keeping what is kept (ruling 3).
`.f18` to artifacts on the build machine. It is a second assembler beside the ROM's, so the two must
agree: the tool's output is checked against what the ROM assembles from the same source, cell for cell,
in the build and in CI. The compiler's identity in the provenance record is the tool's own hash.
The cell-for-cell check was added in drafting; confirmed by Captain Bob, 2026-11-19 ("Yes").
2. ~~The stack-effect declaration~~ **Ruled 2026-11-19: "Derived by the tool".**
- A first answer, "the ( -- ) comment, strict", was withdrawn the same day. Captain Bob: "I think I may
have made a bad assumption. I had the idea of that after (- was aliased to ( is for SDK special. We're
@@ -162,7 +165,9 @@ capsule-blocks.md` §5), and Artemis keeping what is kept (ruling 3).
- **2c, ruled 2026-11-19: "Refused as an export".** A word whose effect depends on its data (a loop
leaving a count of values, branches that leave different depths, `EXECUTE`, a `DEFER`red word) has no
fixed count. It cannot be exported by an engine: it stays internal to its train, or is restructured.
Every export has a fixed effect, which the tool derives and the build fails without.
Every export has a fixed effect, derived by the tool; a word with none stays internal, and the build
does not fail for it (`plans/2026-11-19-f18-artifact-build.md` §6.4). *Corrected 2026-11-19: this
said "which the tool derives and the build fails without".*
3. ~~What a capsule carries~~ **Ruled 2026-11-19: "No, by reference".** A train's engine carries only the
hash of the `.f18` source it was assembled from, in its provenance record. The source stays in the
repository and in its own capsule. To check an engine against its source, the source is fetched by
@@ -171,6 +176,9 @@ capsule-blocks.md` §5), and Artemis keeping what is kept (ruling 3).
the train it imports from: (its capsule hash, the word's name). If that train is rebuilt or updated,
its hash changes, so its importers are rebuilt too, and a live update replaces the whole dependent set
of trains together. Placement refuses an import whose hash is not present.
**Ruled 2026-11-19 (step 3, `plans/2026-11-19-f18-artifact-build.md` §10.4):** a train's hash is its
`.f18a`'s capsule ID. The nucleus has none, so a word imported from it has hash 0 and is resolved by name
in the node's dictionary at placement; exact hashes hold between artifact trains only.
5. ~~How callers reach a replacement~~ **Ruled 2026-11-19: "Jump at the old entry".** At activation, each
replaced word's first code cell, at its xt, is overwritten with a `jump` to the new word: one cell per
word, and every caller, compiled at run time or not, follows at once. The old code stays in place,
@@ -180,7 +188,8 @@ capsule-blocks.md` §5), and Artemis keeping what is kept (ruling 3).
scans every node's P and return stack for an address inside the old words' code. When none is there, it
writes all of a set's jumps in that one tick. While some are there, it tries again on later ticks. A
message waiting for an old word is not code on a stack and does not hold the set back: the word it
reaches is the new one.
reaches is the new one. That last point was added in drafting; confirmed by Captain Bob, 2026-11-19
("Yes").
7. ~~Proofs first~~ **Ruled 2026-11-19: "Safe activation first".** The first Isabelle/HOL property:
- the jump at each old entry is written only at a tick when no node's P or return stack holds an address
inside the old code (choice 6);
+63 -27
View File
@@ -9,16 +9,18 @@ ruled:
- imports name the exact build;
- the source travels by reference.
**Nothing here is built.** The choices left open are numbered in §8.
**Nothing here is built.** The choices in §8 are ruled (2026-11-19).
## 1. Units, order, width
- **The unit is a 32-bit word**, stored little-endian, low byte first, as v4's blocks are (`blocks.h`:
"four bytes to a cell, the first lowest"). Every record is a whole number of units, so the records read
the same at either cell width.
- **The code is cells of the build's width.** A 32-bit engine and a 64-bit engine are two artifacts: the
- **The code is cells of the build's width**, each stored low byte first (choice 5). A 32-bit engine and a 64-bit engine are two artifacts: the
header says which, and placement refuses the wrong one.
- **A 64-bit value**, such as a hash, is two units, low unit first.
- **A 64-bit value**, such as a capsule's hash, is two units, low unit first.
- **A SHA-512 hash** (choice 2) is 16 units: its 64 bytes in their order, packed four to a unit, low byte
first.
- **A name** is a counted string, its length byte then its characters, packed four to a unit, low byte
first, as the dictionary packs names (`dict.f18`). It sits in the string pool and is referred to by its
unit offset.
@@ -27,11 +29,11 @@ ruled:
```
header 16 units
provenance 12 units
provenance 64 units
exports E x 8 units
imports I x 6 units
relocations R x 2 units
verification 4 units
verification 18 units
string pool S units
code C cells
```
@@ -54,15 +56,22 @@ engine of a train: the capsule's payload. The capsule's content hash and Ed25519
| 9 | the unit offset of the exports (the others follow, in §2's order) |
| 10–15 | reserved, 0 |
## 4. Provenance (12 units, ADR §3.1)
## 4. Provenance (64 units, ADR §3.1)
Each hash is SHA-512 (choice 2).
| Units | Field |
|---|---|
| 0–1 | the hash of the `.f18` source the engine was assembled from (choice 3: by reference) |
| 2–3 | the host tool's hash, the compiler's identity (choice 1) |
| 4–5 | the build configuration's hash: the knobs that change code, the cell width, `V4_NODE_WORDS`, the rings |
| 6–7 | the ROM's hash it must agree with: the tool's output is checked against the ROM's assembly |
| 8–11 | reserved, 0 |
| 0–15 | the hash of the `.f18` source the engine was assembled from (ABI choice 3: by reference) |
| 16–31 | the host tool's hash, the compiler's identity (ABI choice 1) |
| 32–47 | the build configuration's hash: the knobs that change code, the cell width, `V4_NODE_WORDS`, the rings |
| 48–63 | the ROM's hash it must agree with: the tool's output is checked against the ROM's assembly |
**How each hash is taken** (ruled 2026-11-20, "Keep as drafted": plan 2026-11-19-f18-artifact-build §11,
choices 1 and 2). Each input is framed as its name, a NUL, its length in 8 bytes low first, then its
bytes, so two inputs cannot run together. The tool's hash covers its own sources and every `include/v4`
header, in a fixed order. The configuration's covers the sizes as text, framed as `config`, then the map.
The ROM's covers the ROM file. `v4/tools/f18a.h` names the files.
## 5. Exports, imports, relocations
@@ -75,7 +84,7 @@ engine of a train: the capsule's payload. The capsule's content hash and Ed25519
| 2 | the flags, as the entry's: immediate, compile-only, in-line, and the ACL defaults (pinned, mode) |
| 3 | the data stack effect: cells taken in the low 16 bits, cells left in the high 16, derived (choice 2) |
| 4 | the return stack effect, the same way, derived |
| 5 | the capabilities: a bit for the ports, then a string pool offset to its list of kernel request numbers, or 0 |
| 5 | the capabilities: bit 31 set if it touches ports; bits 0–30 the string pool offset of its list of kernel requests, or 0 for none |
| 6–7 | reserved, 0 |
**An import (6 units):**
@@ -92,19 +101,23 @@ engine of a train: the capsule's payload. The capsule's content hash and Ed25519
| Unit | Field |
|---|---|
| 0 | the code cell, as an offset, and in the top 3 bits the slot whose branch field holds the address (0–3) |
| 0 | the code cell, as an offset, and in the top 3 bits the slot whose branch field holds the address (0–3), or 7 for the whole cell |
| 1 | what it points to: `0xFFFFFFFF` for internal, so the base is added; otherwise the import's index |
Placement (`ABI.md` §5) patches each relocation's branch field. It refuses a patched address beyond that
slot's reach: 27, 22, 17 or 12 bits (`iword.h`).
## 6. Verification (4 units, ADR §5)
**Slot 7, the whole cell** (ruled 2026-11-19, "Slot 7 = whole cell", step 3's design §6.1). The cell holds
an address as a value: an `&NAME` literal, or a dictionary link. Placement adds the base, or puts in the
import's address, to the whole cell, which reaches all of a node. Slots 4–6 are unused.
## 6. Verification (18 units, ADR §5)
| Units | Field |
|---|---|
| 0–1 | the hash of the proof that covers this exact artifact: its theory and its build; 0 means none |
| 2 | the assumptions it holds under, as a string pool offset, or 0 |
| 3 | reserved, 0 |
| 0–15 | the SHA-512 hash of the proof that covers this exact artifact: its theory and its build; all 0 means none |
| 16 | the assumptions it holds under, as a string pool offset, or 0 |
| 17 | reserved, 0 |
## 7. What makes a valid artifact
@@ -112,18 +125,41 @@ The tool writes these properties and placement checks them. They are also the fi
about the format:
- the magic and the version;
- every count and offset within the payload;
- every string pool offset on a counted string;
- every string pool offset on a counted string, or, for a capabilities list, on a unit holding its count
*n* followed by *n* units, each a `KERNEL-WORD` number;
- every export's entry inside the code;
- every relocation's cell inside the code, its slot one that holds a branch, its import index below I;
- every relocation's cell inside the code, its slot 0–3 one that holds a branch or 7, its import index
below I;
- every reserved unit 0.
## 8. Open, for ruling one at a time
1. **The unit:** 32-bit units, width-independent records (§1), or the build's cell for everything?
2. **The hashes:** XXHash64, as capsule identities are today, for every hash in the artifact, or a
cryptographic hash (SHA-512, already in the tree for Ed25519) for provenance and proofs? Signing stays
Ed25519 either way.
3. **The return-stack effect:** recorded and checked (§5, unit 4), or the data stack only?
4. **Capabilities:** the port bit plus a list of kernel request numbers (§5, unit 5), or something else?
5. **Endianness for the code cells:** as the golden model stores them (host order), or fixed low-first like
the records?
1. ~~The unit~~ **Ruled 2026-11-19: "32-bit units".** Every record is in 32-bit units, low byte first,
as v4's blocks are, so the records read the same at either cell width (§1). Only the code is in the
build's cells.
2. ~~The hashes~~ **Ruled 2026-11-19: "SHA-512 for provenance".** The provenance hashes (source, tool,
configuration, ROM) and the proof's hash are SHA-512, the one already in the tree for Ed25519, 16
units each (§4, §6). An import's capsule hash stays the capsule's ID, XXHash64, 2 units (§5), and
signing stays Ed25519. The provenance record grows from 12 units to 64, with no reserved units, and
verification from 4 to 18.
3. ~~The return-stack effect~~ **Ruled 2026-11-19: "Record and check both".** The tool derives the
return-stack effect as it derives the data-stack effect, and records it in unit 4 of each export and
import (§5). Placement, compatibility (`ABI.md` §7, "the same stack effect") and the proofs check
both.
4. ~~Capabilities~~ **Ruled 2026-11-19: "Port bit + request list".** As drafted (§5, unit 5). The tool
derives it from the code: a port opcode sets the bit, and each kernel request the word reaches goes in
its list. Compatibility refuses a replacement that needs one the old did not (`ABI.md` §7). The list
is a count unit then that many request numbers (§7). The bit layout and the list's form were chosen in
drafting; confirmed by Captain Bob, 2026-11-19 ("Yes").
**Changed 2026-11-19 (step 3, `plans/2026-11-19-f18-artifact-build.md` §10.5, "Declared, then checked"):**
v4 has no port opcode, so capabilities cannot be derived. Each word declares them (`ports`, `request N`),
and the tool fails the build where it can see a port or a request that is not declared. The layout is
unchanged.
5. ~~Endianness for the code cells~~ **Ruled 2026-11-19: "Low-first, like the records".** Every byte of
the artifact has one order, low byte first, so its hashes and signature are the same whichever host
built it. A big-endian host swaps the bytes when it places the code.
## 9. Status
All five choices are ruled. This is the artifact layout, the ADR's step 2, as ruled. The next step is the
ADR's step 3: artifact production in the build (the host tool), designed for ruling before any code.
+4 -2
View File
@@ -6,7 +6,7 @@ the standard first -- FORTH-79, FORTH-83, ANS 1994 -- then v3's table, not v3's
The cases are `v4/system/post_cases.c`; those of the words `capsules/v4/physics.4th` defines
need the kernel and are not run by the hosted product.
POST runs 990 cases. 783 are v3's, with what the hosted v3 binary did as the
POST runs 992 cases. 783 are v3's, with what the hosted v3 binary did as the
expected result. This file lists every other case, and why.
## 1. Rewritten: the standard's result, or v3's table's (159)
@@ -206,7 +206,7 @@ printed unless an address is printed; the values are not.
| `LIST.basic` | `1 LIST` | values left only |
| `SCR.after_list` | `1 LIST SCR @ . CR` | values left only |
## 3. Written by hand (28)
## 3. Written by hand (30)
For required words v3 has no case for. The expected results are the
standard's; no v3 run stands behind them.
@@ -241,6 +241,8 @@ standard's; no v3 run stands behind them.
| `WORD.delimiter` | `: W2 44 WORD COUNT TYPE ; W2 A B,` | stack `empty`, prints `A B` |
| `WORD.count` | `: W3 BL WORD C@ . ; W3 ABC` | stack `empty`, prints `3 ` |
| `WORD.skips_leading` | `: W4 BL WORD COUNT TYPE ; W4 X` | stack `empty`, prints `X` |
| `L8-CARD@.basic` | `L8-CARD@ 0< . 64 U< . CR` | stack `empty`, prints `0 -1 \n` |
| `L8-HOLD.basic` | `18 L8-HOLD L8-CARD@ DROP . -1 L8-HOLD CR` | stack `empty`, prints `18 \n` |
## 4. v3 cases left out (52)
+17
View File
@@ -515,6 +515,23 @@ it.
- There is no decay, rolling window, pipelining, inference, L8, heartbeat
or Stadium wire on the node.
*Corrected 2026-11-20 (#189; ENGINE step 4 Phase 7, `plans/2026-11-13-engine-step4-phase7-the-loops-and-parity.md`).*
Section 2.2 was true of the lone node of 2026-10-07. It no longer is of v4 in its place in the system. The
kernel keeps every word's record (Phase 2) and runs v3's loops on it, at `call` and on the one heartbeat
(Phase 7, Tasks 1 to 4):
- L1: heat;
- L2: the rolling window;
- L3: decay, on touch and in the background;
- L4: pipelining and the hot-words cache, behind `ENABLE_PIPELINING` and `ENABLE_HOTWORDS_CACHE`, off as in v3;
- L5 and L6: inference;
- L7: the adaptive heartbeat, the kernel's one heartbeat (2026-11-17);
- L8: the Jacquard selector.
The loops also run on the 32 opcodes (`OPCODE_PHYSICS`). The words of `physics.4th` read and set them, among
them `L8-CARD@` and `L8-HOLD` (Task 9). Each acceptance boot asserts L1, L3, L2 with L5, and L8 at the
prompt (`scripts/qemu_session.py`, `loops()`), and `WORD_PHYSICS=0`, the revert, fails acceptance at POST.
The call-target count of `heat.c` described above is still there, beside the kernel's records.
### 2.3 What the v4 design documents say
The documents ruled on 2026-10-01 do not say "as v3". They say:
@@ -213,8 +213,58 @@ Phase 4).
**Done 2026-11-14** (`POST-PARITY.md` section 6): 990 cases, all pass on Hera; each case rewritten is
listed with its reason in `POST.md`; the floor (`v4/system/POST_FLOOR`) is 990.
### Task 9: acceptance -- the full protocol; ENGINE.md, V3-PARITY.md, FABRIC-3
**Designed 2026-11-20, for ruling** (#189's last two items: "Acceptance asserts it on the three architectures
and the stick -- a boot without the physics fails", and "V3-PARITY.md section 2 and #4 say what is now
built"). Nothing here is built.
Each task gets its steps when the one before it is accepted, test first, as Phase 2's did.
What a boot shows today: the heartbeat ticking, the Stadium conserved, Hera's words admitted after POST
(`scripts/qemu_session.py`, every acceptance boot). Nothing there fails if a word's heat, its decay, the
window, inference or L8 did not run: those are seen in `test_mesh_boot` on the host only.
The words of Task 4 read them at the prompt, on the real boot, so the session can ask. The steps:
1. **Test first: a build without the physics.** `OPCODE_PHYSICS=0` takes out only the opcodes' loops, so
it is not the case. The check is seen to fail on a boot whose per-call hook does nothing: a
one-line stub, in a diagnostic build only, never committed in the tree that ships.
2. **The checks, in the v4 session of `qemu_session.py`,** after the prompt, each a line typed and its
answer matched:
- L1, heat: a word defined and called three times. `' W HEAT@ .` is more than 0.
- L3, decay: `HEAT!` sets a word's heat; after a set number of heartbeat ticks, `HEAT@` is less.
- L2 and L5, the window and inference: after a workload, `INFER-RUN INFER-WINDOW@ .` is not 0.
- L8: no word reads the card today. See the open questions.
Each value is measured on the three architectures first, and the matches are written from what the
boots print, not guessed.
3. **The record:** `V3-PARITY.md` section 2.2 corrected, dated, to what is built (it says "There is no
decay, rolling window, pipelining, inference, L8, heartbeat or Stadium wire on the node"), and #4 told.
4. **The protocol** on the result: four boots, test-32, the proofs, the images, the documents.
**Ruled 2026-11-20, one at a time:**
1. **The loops asserted: "L1, L3, L2/L5, L8".** Heat, decay, the window and inference, and L8: every loop v4
carries, seen on the real boot on the three architectures and the stick. Asked: those, or a smaller set
with the rest left to `test_mesh_boot`.
2. **L8: "A word, L8-CARD@".** A kernel request, as Task 4's words are, in `physics.4th`. It leaves the node's
current card number. It gets a POST case, and the session checks that it is one of the table's cards
after a workload. Asked: a word, a line the kernel prints, or L8 left to the host test.
**2a, ruled 2026-11-20: "L8-CARD@ leaves card and changes".** `( -- card changes )`. The check is that the
card is one of the table's and that changes is more than 0 after a workload. The card alone could not
fail: L8 starts on card 8, and with the physics off it never runs, so the card stays 8, which is one of
the table's. With the physics on, UCB1 tries each untried card once, and the kernel counts each change
(`v4_mesh_l8.changes`).
3. **The boot without the physics: "A Kconfig switch".** `WORD_PHYSICS` (default y), beside `OPCODE_PHYSICS`,
turns the per-call and per-tick word loops off. It is a real revert, as ruling 7's is. The session's
checks are seen to fail on `WORD_PHYSICS=0`, and pass on the boot as built. Step 1 above, the stub, is
replaced by this. Asked: that, or a one-off stub in a diagnostic build.
**3a, ruled 2026-11-20: "POST's failure is enough".** A `WORD_PHYSICS=0` boot fails acceptance at POST
(amd64, `logs/20261120-task9/amd64-nophysics.txt`): its `ENTROPY@` cases need a word's heat. So it
never reaches the prompt, and every loop check fails with it, but not one at a time. The checks are
then measured and passed on the boot as built. Nothing in POST changes. Asked: that, POST's physics
cases skipped under `WORD_PHYSICS=0`, or each loop failed by holding L8 on cards that turn it off.
**The L2/L5 check, measured 2026-11-20** (taken as recommended: Captain Bob, "Yes go on"). On amd64,
as built, `INFER-WINDOW@` was 0. Every loop but L1 is gated by L8's current card, and L5's width is
computed only on ticks whose card has L5 on, so on a real boot it may or may not be set. The check is
instead that `INFER-RUN INFER-VARIANCE@` is not 0 after the workload: the variance is computed whenever
the window holds calls, whatever the card, and stays 0 with no window. That is L2's window with the
engine run on it. The width is printed beside it, not checked; L5's width stays in `test_mesh_boot`,
where L8 is held on a card. The same boot: L1 H=6, L3 1000 cooled to 0 in 40 s, L8 65 changes on card 11.
## Review focus
File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More