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
This commit is contained in:
Claude
2026-11-20 15:12:33 +00:00
parent 0522d77337
commit 43f8687f70
12 changed files with 308 additions and 5 deletions
+1
View File
@@ -23,6 +23,7 @@ Block 3973
-32 KERNEL-WORD INFER-VARIANCE@ ( -- d ) -32 KERNEL-WORD INFER-VARIANCE@ ( -- d )
-33 KERNEL-WORD INFER-FIT@ ( -- d ) -33 KERNEL-WORD INFER-FIT@ ( -- d )
-34 KERNEL-WORD INFER-EARLY-EXIT@ ( -- flag ) -34 KERNEL-WORD INFER-EARLY-EXIT@ ( -- flag )
-41 KERNEL-WORD L8-CARD@ ( -- card changes )
( v3's DECAY_RATE_PER_US_Q16, its compile-time constant ) ( v3's DECAY_RATE_PER_US_Q16, its compile-time constant )
1 CONSTANT DECAY-RATE@ 1 CONSTANT DECAY-RATE@
--> -->
+3 -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 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. 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 991 cases. 783 are v3's, with what the hosted v3 binary did as the
expected result. This file lists every other case, and why. expected result. This file lists every other case, and why.
## 1. Rewritten: the standard's result, or v3's table's (159) ## 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 | | `LIST.basic` | `1 LIST` | values left only |
| `SCR.after_list` | `1 LIST SCR @ . CR` | values left only | | `SCR.after_list` | `1 LIST SCR @ . CR` | values left only |
## 3. Written by hand (28) ## 3. Written by hand (29)
For required words v3 has no case for. The expected results are the For required words v3 has no case for. The expected results are the
standard's; no v3 run stands behind them. standard's; no v3 run stands behind them.
@@ -241,6 +241,7 @@ standard's; no v3 run stands behind them.
| `WORD.delimiter` | `: W2 44 WORD COUNT TYPE ; W2 A B,` | stack `empty`, prints `A B` | | `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.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` | | `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` |
## 4. v3 cases left out (52) ## 4. v3 cases left out (52)
+90
View File
@@ -0,0 +1,90 @@
/home/user/LithosAnanke/v4/build/mkcapsule /home/user/LithosAnanke/capsules /home/user/LithosAnanke/v4/build/capsule_generated.c
mkcapsule: scanning /home/user/LithosAnanke/capsules
[p] zuse.4th (1684 bytes, hash=0x490ded9be257a90b)
[p] font.4th (17688 bytes, hash=0x3f305911500c78f6)
[p] MANIFEST_AUTO.md (11687 bytes, hash=0xe022545a0755960f)
[p] multiuser-doe.4th (3942 bytes, hash=0x22140588ee7c39e6)
[p] hestia:init.4th (891 bytes, hash=0x64e111990fbc45ff)
[p] contrib:README.md (1855 bytes, hash=0x4212e52b927793e7)
[p] ACL.4th (4318 bytes, hash=0xf8890c05c0d8f921)
[p] workload-3.4th (2189 bytes, hash=0x62b7a71576ad1041)
[p] init-l8-diverse.4th (430 bytes, hash=0xaa293201a6c91838)
[p] user-font-demo.4th (1674 bytes, hash=0xce1fd7d1b581a56d)
[p] workload-9.4th (1321 bytes, hash=0x3f2bec73142aa424)
[p] lib.4th (619 bytes, hash=0x4b216635c359ef73)
[p] workload-calib1.4th (304 bytes, hash=0x3b9f2d17b554fabc)
[m] init.4th (669 bytes, hash=0xd09db9461b336431)
[p] workload-1-lite.4th (540 bytes, hash=0x44a7a7e3176dcc8d)
[p] init-l8-stable.4th (278 bytes, hash=0xdc3830f189063a9a)
[p] v4:physics.4th (3003 bytes, hash=0x64d86ec4883d2cdd)
[p] v4:forth79.4th (1216 bytes, hash=0x4609d6ef54166ef8)
[p] v4:ACL.4th (2103 bytes, hash=0xdba5690fb0ee12a4)
[p] v4:init.4th (756 bytes, hash=0x13fe8932fa4d2934)
[p] v4:sys:log.f18 (4535 bytes, hash=0x544cd004233dff62)
[p] v4:sys:qmath.f18 (8607 bytes, hash=0xa93783c2c8f9b7db)
[p] v4:sys:map-32.f18 (3215 bytes, hash=0x17ad313814d028ff)
[p] v4:sys:blocks.f18 (6112 bytes, hash=0x09d361dbe6174236)
[p] v4:sys:input.f18 (10692 bytes, hash=0x0f13c3f9d5fd07fc)
[p] v4:sys:dict.f18 (13816 bytes, hash=0xe3453808afd5a0af)
[p] v4:sys:forth.f18 (12617 bytes, hash=0xc4c0ad315c95eda4)
[p] v4:sys:quit.f18 (32141 bytes, hash=0x7fa7a7668b6bf1ed)
[p] v4:sys:map-64.f18 (3254 bytes, hash=0x81bda2bfcf496f6a)
[p] v4:sys:codegen.f18 (4999 bytes, hash=0x36d2ae84d2911b90)
[p] v4:sys:acl.f18 (5303 bytes, hash=0x5ceb5b43b0c5fbb1)
[p] v4:sys:core.f18 (24370 bytes, hash=0x0f415502fccc3fba)
[p] v4:sys:system.f18 (10189 bytes, hash=0xfe257eb084c43a5d)
[p] v4:sys:numout.f18 (6641 bytes, hash=0xca0fb0f9c1589e20)
[p] v4:sys:words.f18 (9642 bytes, hash=0x2f4e5f7f3e7f736f)
[p] v4:sys:compile.f18 (23381 bytes, hash=0xbef95acf00cb404a)
[p] v4:sys:end.f18 (1604 bytes, hash=0x22eea18b132f8faf)
[p] v4:starshipos.4th (706 bytes, hash=0x1734a8f4fe7483a5)
[p] v4:hera.4th (1376 bytes, hash=0x78730b1d6effe892)
[p] v4:rom:sym.f18 (5610 bytes, hash=0xbbad5748f5bbf863)
[p] v4:rom:main.f18 (2284 bytes, hash=0x6994f1f1d567e163)
[p] v4:rom:math.f18 (5108 bytes, hash=0x9be63ad87934622f)
[p] v4:rom:dir.f18 (5112 bytes, hash=0x51b069f0623ded16)
[p] v4:rom:num.f18 (2634 bytes, hash=0x08b76f1b058cac17)
[p] v4:rom:pack.f18 (4583 bytes, hash=0x65a944d8eb7de7f2)
[p] v4:rom:word.f18 (12966 bytes, hash=0x9210d6c2ac424d11)
[p] v4:rom:in.f18 (4230 bytes, hash=0x65798bed38a09f0f)
[p] v4:rom:mesh.f18 (449 bytes, hash=0x83723d76b9620c2c)
[p] v4:centre.4th (4140 bytes, hash=0x53b1e3df644e8e25)
[p] README.md (2305 bytes, hash=0x09a684ebdfbeb01c)
[p] block-acl.4th (980 bytes, hash=0xf6cc2a59e3a6734e)
[p] sdk.4th (2295 bytes, hash=0x008fdbbb62c94a3a)
[p] pki:starshipos-intermediate.der (408 bytes, hash=0xb40aab540c19f877)
[p] init-l8-omni.4th (1986 bytes, hash=0x5979e314d6452045)
[p] acl-std79.4th (5040 bytes, hash=0x773bf9209df191d1)
[p] doe-campaign.4th (2369 bytes, hash=0x26fb485e5c9dc6ff)
[p] init-l8-volatile.4th (718 bytes, hash=0x98caabbbd92abac4)
[p] doe.4th (3244 bytes, hash=0xf154616d248e861f)
[p] fabric.4th (10359 bytes, hash=0x9d9489cbeca4099b)
[p] workload-4.4th (469 bytes, hash=0x099619264e650b1c)
[p] init-l8-temporal.4th (363 bytes, hash=0x51abd4c138246651)
[p] workload-5.4th (480 bytes, hash=0x526964c7c9506a11)
[p] fonts:README.md (1846 bytes, hash=0xf628c2b7a49f4d46)
[p] fonts:JetBrainsMono-Regular.ttf (270224 bytes, hash=0xf4b7077dab274e6b)
[p] init-l8-transition.4th (529 bytes, hash=0xbcc1a81976f0a4c9)
[p] workload-2.4th (1321 bytes, hash=0xf113b3d0bcccae47)
[p] workload-1.4th (1041 bytes, hash=0x63e251adb0a03613)
[p] workload-5-lite.4th (468 bytes, hash=0xea0303f38824f254)
[p] workload-0.4th (290 bytes, hash=0x93f86f60aeba8feb)
[p] artemis:init.4th (16782 bytes, hash=0x7ba120e2a6aab239)
[p] MANIFEST.md (35813 bytes, hash=0x9d3a6fdb7415d224)
[p] workload-7.4th (206 bytes, hash=0x02862291387eb7ac)
[p] BLOCK_MAP.md (23272 bytes, hash=0x581b8bf06779c914)
[p] turtle.4th (3254 bytes, hash=0x4d470418ca543365)
[p] workload-8.4th (172 bytes, hash=0x56b7f2f0efa000df)
[p] workload-6.4th (1986 bytes, hash=0x06fc0ce1e369ef5a)
mkcapsule: 76 capsule(s) collected
mkcapsule: wrote /home/user/LithosAnanke/v4/build/capsule_generated.c
cc -std=c99 -Wall -Wextra -Wpedantic -Werror -O2 -g -D_POSIX_C_SOURCE=200809L -I/home/user/LithosAnanke/v4/include -isystem /home/user/LithosAnanke/v3/include -isystem /home/user/LithosAnanke/kernel/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -DTRAIN_F18A='"/home/user/LithosAnanke/v4/build/train-place-64.f18a"' -c /home/user/LithosAnanke/v4/tests/test_mesh_boot.c -o /home/user/LithosAnanke/v4/build/test_mesh_boot.o
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v4/system/mesh.c -o /home/user/LithosAnanke/v4/build/mesh-64.o
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v4/system/inference.c -o /home/user/LithosAnanke/v4/build/inference-64.o
cd /home/user/LithosAnanke/v4/build/v3o-mesh && cc -std=gnu99 -Wall -O2 -g -I/home/user/LithosAnanke/v3/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v4/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v3/src/block_subsystem.c /home/user/LithosAnanke/v3/src/blkio_ram.c /home/user/LithosAnanke/v3/src/blkio_file.c /home/user/LithosAnanke/v3/src/log.c /home/user/LithosAnanke/v3/src/platform/platform_init.c /home/user/LithosAnanke/v3/src/platform/linux/time.c /home/user/LithosAnanke/v4/system/blocks.c
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 /home/user/LithosAnanke/v4/build/test_mesh_boot.o /home/user/LithosAnanke/v4/build/mesh-64.o /home/user/LithosAnanke/v4/build/inference-64.o /home/user/LithosAnanke/v4/src/manage.c /home/user/LithosAnanke/v4/src/place.c /home/user/LithosAnanke/v4/src/artifact.c /home/user/LithosAnanke/v4/src/effect.c /home/user/LithosAnanke/v4/build/mesh-rom-64.c /home/user/LithosAnanke/v4/build/rom-64.c /home/user/LithosAnanke/v4/build/v4_map_64.c /home/user/LithosAnanke/v4/build/capsule_generated.c /home/user/LithosAnanke/v4/src/node.c /home/user/LithosAnanke/v4/src/exec.c /home/user/LithosAnanke/v4/src/stack.c /home/user/LithosAnanke/v4/src/iword.c /home/user/LithosAnanke/v4/src/heat.c /home/user/LithosAnanke/v4/src/guard.c /home/user/LithosAnanke/v4/src/image.c /home/user/LithosAnanke/v4/src/fabric.c /home/user/LithosAnanke/v4/src/capsule.c /home/user/LithosAnanke/v4/src/message.c /home/user/LithosAnanke/v4/src/wire.c /home/user/LithosAnanke/v4/system/boot.c /home/user/LithosAnanke/v4/system/post.c /home/user/LithosAnanke/v4/system/post_cases.c /home/user/LithosAnanke/kernel/src/capsule/capsule_find.c /home/user/LithosAnanke/kernel/src/capsule/capsule_validate.c /home/user/LithosAnanke/kernel/src/capsule/capsule_sig.c /home/user/LithosAnanke/kernel/src/capsule/capsule_blocks.c /home/user/LithosAnanke/kernel/src/hash/xxhash64.c /home/user/LithosAnanke/kernel/src/crypto/x509_ed25519.c /home/user/LithosAnanke/kernel/src/crypto/ed25519.c /home/user/LithosAnanke/kernel/src/crypto/fe25519.c /home/user/LithosAnanke/kernel/src/crypto/scalar25519.c /home/user/LithosAnanke/kernel/src/crypto/sha512.c /home/user/LithosAnanke/v4/build/v3o-mesh/*.o -o /home/user/LithosAnanke/v4/build/test_mesh_boot
[mesh boot, V4_CELL_BITS=64]
v4 mesh boot: V4_CELL_BITS=64
PARITY:V4_POST tests=990 pass=990 fail=0
142 checks, 0 failures
exit 0
+93
View File
@@ -0,0 +1,93 @@
/home/user/LithosAnanke/v4/build/mkcapsule /home/user/LithosAnanke/capsules /home/user/LithosAnanke/v4/build/capsule_generated.c
mkcapsule: scanning /home/user/LithosAnanke/capsules
[p] zuse.4th (1684 bytes, hash=0x490ded9be257a90b)
[p] font.4th (17688 bytes, hash=0x3f305911500c78f6)
[p] MANIFEST_AUTO.md (11687 bytes, hash=0xe022545a0755960f)
[p] multiuser-doe.4th (3942 bytes, hash=0x22140588ee7c39e6)
[p] hestia:init.4th (891 bytes, hash=0x64e111990fbc45ff)
[p] contrib:README.md (1855 bytes, hash=0x4212e52b927793e7)
[p] ACL.4th (4318 bytes, hash=0xf8890c05c0d8f921)
[p] workload-3.4th (2189 bytes, hash=0x62b7a71576ad1041)
[p] init-l8-diverse.4th (430 bytes, hash=0xaa293201a6c91838)
[p] user-font-demo.4th (1674 bytes, hash=0xce1fd7d1b581a56d)
[p] workload-9.4th (1321 bytes, hash=0x3f2bec73142aa424)
[p] lib.4th (619 bytes, hash=0x4b216635c359ef73)
[p] workload-calib1.4th (304 bytes, hash=0x3b9f2d17b554fabc)
[m] init.4th (669 bytes, hash=0xd09db9461b336431)
[p] workload-1-lite.4th (540 bytes, hash=0x44a7a7e3176dcc8d)
[p] init-l8-stable.4th (278 bytes, hash=0xdc3830f189063a9a)
[p] v4:physics.4th (2953 bytes, hash=0x5b0195fc30828bde)
[p] v4:forth79.4th (1216 bytes, hash=0x4609d6ef54166ef8)
[p] v4:ACL.4th (2103 bytes, hash=0xdba5690fb0ee12a4)
[p] v4:init.4th (756 bytes, hash=0x13fe8932fa4d2934)
[p] v4:sys:log.f18 (4535 bytes, hash=0x544cd004233dff62)
[p] v4:sys:qmath.f18 (8607 bytes, hash=0xa93783c2c8f9b7db)
[p] v4:sys:map-32.f18 (3215 bytes, hash=0x17ad313814d028ff)
[p] v4:sys:blocks.f18 (6112 bytes, hash=0x09d361dbe6174236)
[p] v4:sys:input.f18 (10692 bytes, hash=0x0f13c3f9d5fd07fc)
[p] v4:sys:dict.f18 (13816 bytes, hash=0xe3453808afd5a0af)
[p] v4:sys:forth.f18 (12617 bytes, hash=0xc4c0ad315c95eda4)
[p] v4:sys:quit.f18 (32141 bytes, hash=0x7fa7a7668b6bf1ed)
[p] v4:sys:map-64.f18 (3254 bytes, hash=0x81bda2bfcf496f6a)
[p] v4:sys:codegen.f18 (4999 bytes, hash=0x36d2ae84d2911b90)
[p] v4:sys:acl.f18 (5303 bytes, hash=0x5ceb5b43b0c5fbb1)
[p] v4:sys:core.f18 (24370 bytes, hash=0x0f415502fccc3fba)
[p] v4:sys:system.f18 (10189 bytes, hash=0xfe257eb084c43a5d)
[p] v4:sys:numout.f18 (6641 bytes, hash=0xca0fb0f9c1589e20)
[p] v4:sys:words.f18 (9642 bytes, hash=0x2f4e5f7f3e7f736f)
[p] v4:sys:compile.f18 (23381 bytes, hash=0xbef95acf00cb404a)
[p] v4:sys:end.f18 (1604 bytes, hash=0x22eea18b132f8faf)
[p] v4:starshipos.4th (706 bytes, hash=0x1734a8f4fe7483a5)
[p] v4:hera.4th (1376 bytes, hash=0x78730b1d6effe892)
[p] v4:rom:sym.f18 (5610 bytes, hash=0xbbad5748f5bbf863)
[p] v4:rom:main.f18 (2284 bytes, hash=0x6994f1f1d567e163)
[p] v4:rom:math.f18 (5108 bytes, hash=0x9be63ad87934622f)
[p] v4:rom:dir.f18 (5112 bytes, hash=0x51b069f0623ded16)
[p] v4:rom:num.f18 (2634 bytes, hash=0x08b76f1b058cac17)
[p] v4:rom:pack.f18 (4583 bytes, hash=0x65a944d8eb7de7f2)
[p] v4:rom:word.f18 (12966 bytes, hash=0x9210d6c2ac424d11)
[p] v4:rom:in.f18 (4230 bytes, hash=0x65798bed38a09f0f)
[p] v4:rom:mesh.f18 (449 bytes, hash=0x83723d76b9620c2c)
[p] v4:centre.4th (4140 bytes, hash=0x53b1e3df644e8e25)
[p] README.md (2305 bytes, hash=0x09a684ebdfbeb01c)
[p] block-acl.4th (980 bytes, hash=0xf6cc2a59e3a6734e)
[p] sdk.4th (2295 bytes, hash=0x008fdbbb62c94a3a)
[p] pki:starshipos-intermediate.der (408 bytes, hash=0xb40aab540c19f877)
[p] init-l8-omni.4th (1986 bytes, hash=0x5979e314d6452045)
[p] acl-std79.4th (5040 bytes, hash=0x773bf9209df191d1)
[p] doe-campaign.4th (2369 bytes, hash=0x26fb485e5c9dc6ff)
[p] init-l8-volatile.4th (718 bytes, hash=0x98caabbbd92abac4)
[p] doe.4th (3244 bytes, hash=0xf154616d248e861f)
[p] fabric.4th (10359 bytes, hash=0x9d9489cbeca4099b)
[p] workload-4.4th (469 bytes, hash=0x099619264e650b1c)
[p] init-l8-temporal.4th (363 bytes, hash=0x51abd4c138246651)
[p] workload-5.4th (480 bytes, hash=0x526964c7c9506a11)
[p] fonts:README.md (1846 bytes, hash=0xf628c2b7a49f4d46)
[p] fonts:JetBrainsMono-Regular.ttf (270224 bytes, hash=0xf4b7077dab274e6b)
[p] init-l8-transition.4th (529 bytes, hash=0xbcc1a81976f0a4c9)
[p] workload-2.4th (1321 bytes, hash=0xf113b3d0bcccae47)
[p] workload-1.4th (1041 bytes, hash=0x63e251adb0a03613)
[p] workload-5-lite.4th (468 bytes, hash=0xea0303f38824f254)
[p] workload-0.4th (290 bytes, hash=0x93f86f60aeba8feb)
[p] artemis:init.4th (16782 bytes, hash=0x7ba120e2a6aab239)
[p] MANIFEST.md (35813 bytes, hash=0x9d3a6fdb7415d224)
[p] workload-7.4th (206 bytes, hash=0x02862291387eb7ac)
[p] BLOCK_MAP.md (23272 bytes, hash=0x581b8bf06779c914)
[p] turtle.4th (3254 bytes, hash=0x4d470418ca543365)
[p] workload-8.4th (172 bytes, hash=0x56b7f2f0efa000df)
[p] workload-6.4th (1986 bytes, hash=0x06fc0ce1e369ef5a)
mkcapsule: 76 capsule(s) collected
mkcapsule: wrote /home/user/LithosAnanke/v4/build/capsule_generated.c
cc -std=c99 -Wall -Wextra -Wpedantic -Werror -O2 -g -D_POSIX_C_SOURCE=200809L -I/home/user/LithosAnanke/v4/include -isystem /home/user/LithosAnanke/v3/include -isystem /home/user/LithosAnanke/kernel/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -DTRAIN_F18A='"/home/user/LithosAnanke/v4/build/train-place-64.f18a"' -c /home/user/LithosAnanke/v4/tests/test_mesh_boot.c -o /home/user/LithosAnanke/v4/build/test_mesh_boot.o
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v4/system/mesh.c -o /home/user/LithosAnanke/v4/build/mesh-64.o
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v4/system/inference.c -o /home/user/LithosAnanke/v4/build/inference-64.o
cd /home/user/LithosAnanke/v4/build/v3o-mesh && cc -std=gnu99 -Wall -O2 -g -I/home/user/LithosAnanke/v3/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v4/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v3/src/block_subsystem.c /home/user/LithosAnanke/v3/src/blkio_ram.c /home/user/LithosAnanke/v3/src/blkio_file.c /home/user/LithosAnanke/v3/src/log.c /home/user/LithosAnanke/v3/src/platform/platform_init.c /home/user/LithosAnanke/v3/src/platform/linux/time.c /home/user/LithosAnanke/v4/system/blocks.c
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 /home/user/LithosAnanke/v4/build/test_mesh_boot.o /home/user/LithosAnanke/v4/build/mesh-64.o /home/user/LithosAnanke/v4/build/inference-64.o /home/user/LithosAnanke/v4/src/manage.c /home/user/LithosAnanke/v4/src/place.c /home/user/LithosAnanke/v4/src/artifact.c /home/user/LithosAnanke/v4/src/effect.c /home/user/LithosAnanke/v4/build/mesh-rom-64.c /home/user/LithosAnanke/v4/build/rom-64.c /home/user/LithosAnanke/v4/build/v4_map_64.c /home/user/LithosAnanke/v4/build/capsule_generated.c /home/user/LithosAnanke/v4/src/node.c /home/user/LithosAnanke/v4/src/exec.c /home/user/LithosAnanke/v4/src/stack.c /home/user/LithosAnanke/v4/src/iword.c /home/user/LithosAnanke/v4/src/heat.c /home/user/LithosAnanke/v4/src/guard.c /home/user/LithosAnanke/v4/src/image.c /home/user/LithosAnanke/v4/src/fabric.c /home/user/LithosAnanke/v4/src/capsule.c /home/user/LithosAnanke/v4/src/message.c /home/user/LithosAnanke/v4/src/wire.c /home/user/LithosAnanke/v4/system/boot.c /home/user/LithosAnanke/v4/system/post.c /home/user/LithosAnanke/v4/system/post_cases.c /home/user/LithosAnanke/kernel/src/capsule/capsule_find.c /home/user/LithosAnanke/kernel/src/capsule/capsule_validate.c /home/user/LithosAnanke/kernel/src/capsule/capsule_sig.c /home/user/LithosAnanke/kernel/src/capsule/capsule_blocks.c /home/user/LithosAnanke/kernel/src/hash/xxhash64.c /home/user/LithosAnanke/kernel/src/crypto/x509_ed25519.c /home/user/LithosAnanke/kernel/src/crypto/ed25519.c /home/user/LithosAnanke/kernel/src/crypto/fe25519.c /home/user/LithosAnanke/kernel/src/crypto/scalar25519.c /home/user/LithosAnanke/kernel/src/crypto/sha512.c /home/user/LithosAnanke/v4/build/v3o-mesh/*.o -o /home/user/LithosAnanke/v4/build/test_mesh_boot
[mesh boot, V4_CELL_BITS=64]
v4 mesh boot: V4_CELL_BITS=64
PARITY:V4_POST tests=990 pass=990 fail=0
FAIL /home/user/LithosAnanke/v4/tests/test_mesh_boot.c:360: L8-CARD@ leaves the card and its changes, more than 0: "UNKNOWN WORD: 'L8-CARD@'
", the kernel's "8 7 "
142 checks, 1 failures
make: *** [Makefile:406: mesh-boot] Error 1
exit 2
+10
View File
@@ -0,0 +1,10 @@
cc -std=c99 -Wall -Wextra -Wpedantic -Werror -O2 -g -D_POSIX_C_SOURCE=200809L -I/home/user/LithosAnanke/v4/include -isystem /home/user/LithosAnanke/v3/include -isystem /home/user/LithosAnanke/kernel/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -DTRAIN_F18A='"/home/user/LithosAnanke/v4/build/train-place-64.f18a"' -c /home/user/LithosAnanke/v4/tests/test_mesh_boot.c -o /home/user/LithosAnanke/v4/build/test_mesh_boot.o
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v4/system/mesh.c -o /home/user/LithosAnanke/v4/build/mesh-64.o
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v4/system/inference.c -o /home/user/LithosAnanke/v4/build/inference-64.o
cd /home/user/LithosAnanke/v4/build/v3o-mesh && cc -std=gnu99 -Wall -O2 -g -I/home/user/LithosAnanke/v3/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v4/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -c /home/user/LithosAnanke/v3/src/block_subsystem.c /home/user/LithosAnanke/v3/src/blkio_ram.c /home/user/LithosAnanke/v3/src/blkio_file.c /home/user/LithosAnanke/v3/src/log.c /home/user/LithosAnanke/v3/src/platform/platform_init.c /home/user/LithosAnanke/v3/src/platform/linux/time.c /home/user/LithosAnanke/v4/system/blocks.c
cc -std=c99 -Wall -Wextra -O2 -g -I/home/user/LithosAnanke/v4/include -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/v3/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 /home/user/LithosAnanke/v4/build/test_mesh_boot.o /home/user/LithosAnanke/v4/build/mesh-64.o /home/user/LithosAnanke/v4/build/inference-64.o /home/user/LithosAnanke/v4/src/manage.c /home/user/LithosAnanke/v4/src/place.c /home/user/LithosAnanke/v4/src/artifact.c /home/user/LithosAnanke/v4/src/effect.c /home/user/LithosAnanke/v4/build/mesh-rom-64.c /home/user/LithosAnanke/v4/build/rom-64.c /home/user/LithosAnanke/v4/build/v4_map_64.c /home/user/LithosAnanke/v4/build/capsule_generated.c /home/user/LithosAnanke/v4/src/node.c /home/user/LithosAnanke/v4/src/exec.c /home/user/LithosAnanke/v4/src/stack.c /home/user/LithosAnanke/v4/src/iword.c /home/user/LithosAnanke/v4/src/heat.c /home/user/LithosAnanke/v4/src/guard.c /home/user/LithosAnanke/v4/src/image.c /home/user/LithosAnanke/v4/src/fabric.c /home/user/LithosAnanke/v4/src/capsule.c /home/user/LithosAnanke/v4/src/message.c /home/user/LithosAnanke/v4/src/wire.c /home/user/LithosAnanke/v4/system/boot.c /home/user/LithosAnanke/v4/system/post.c /home/user/LithosAnanke/v4/system/post_cases.c /home/user/LithosAnanke/kernel/src/capsule/capsule_find.c /home/user/LithosAnanke/kernel/src/capsule/capsule_validate.c /home/user/LithosAnanke/kernel/src/capsule/capsule_sig.c /home/user/LithosAnanke/kernel/src/capsule/capsule_blocks.c /home/user/LithosAnanke/kernel/src/hash/xxhash64.c /home/user/LithosAnanke/kernel/src/crypto/x509_ed25519.c /home/user/LithosAnanke/kernel/src/crypto/ed25519.c /home/user/LithosAnanke/kernel/src/crypto/fe25519.c /home/user/LithosAnanke/kernel/src/crypto/scalar25519.c /home/user/LithosAnanke/kernel/src/crypto/sha512.c /home/user/LithosAnanke/v4/build/v3o-mesh/*.o -o /home/user/LithosAnanke/v4/build/test_mesh_boot
[mesh boot, V4_CELL_BITS=64]
v4 mesh boot: V4_CELL_BITS=64
PARITY:V4_POST tests=991 pass=991 fail=0
142 checks, 0 failures
exit 0
File diff suppressed because one or more lines are too long
+1
View File
@@ -76,6 +76,7 @@
#define V4_REQ_HOT_COUNT (-38) /* ( -- n ): words with heat */ #define V4_REQ_HOT_COUNT (-38) /* ( -- n ): words with heat */
#define V4_REQ_HOT_NTH (-39) /* ( i -- xt heat ): the i-th hottest, as v3's TOP-WORDS orders them; 0 0 past them */ #define V4_REQ_HOT_NTH (-39) /* ( i -- xt heat ): the i-th hottest, as v3's TOP-WORDS orders them; 0 0 past them */
#define V4_REQ_XT_HEAT (-40) /* ( xt -- n ): a word's heat, 0 for what is not one */ #define V4_REQ_XT_HEAT (-40) /* ( xt -- n ): a word's heat, 0 for what is not one */
#define V4_REQ_L8_CARD (-41) /* ( -- card changes ): L8's card on this node, and how often it has changed (Phase 7 Task 9) */
typedef struct { typedef struct {
v4_uheat_t calls; /* every call since the word was defined */ v4_uheat_t calls; /* every call since the word was defined */
v4_uheat_t since; /* calls since the owner last charged them */ v4_uheat_t since; /* calls since the owner last charged them */
+1 -1
View File
@@ -1,3 +1,3 @@
990 991
# v4 POST: the fewest tests an accepted boot may report (#173). Raise it when POST grows; # v4 POST: the fewest tests an accepted boot may report (#173). Raise it when POST grows;
# never lower it without Captain Bob. scripts/nightly.sh post-count reads the first line. # never lower it without Captain Bob. scripts/nightly.sh post-count reads the first line.
+7 -1
View File
@@ -986,7 +986,13 @@ static int physics_serve(unsigned place, v4_node *n, v4_cell value)
v4_cell u, a, xt; v4_cell u, a, xt;
v4_mesh_account *r; v4_mesh_account *r;
const uint64_t *d; const uint64_t *d;
if (value > V4_REQ_FREEZE_WORD || value < V4_REQ_XT_HEAT) return 0; if (value > V4_REQ_FREEZE_WORD || value < V4_REQ_L8_CARD) return 0;
if (value == V4_REQ_L8_CARD) { /* ( -- card changes ), for acceptance (Task 9) */
if (n->ds.depth + 2u > V4_DATA_DEPTH) return 0;
v4_dstack_push(&n->ds, p ? (v4_cell)p->l8.current_card : 0);
v4_dstack_push(&n->ds, p ? (v4_cell)p->l8.changes : 0);
return 1;
}
if (value <= V4_REQ_ENTROPY_FETCH) return entropy_serve(place, n, value); if (value <= V4_REQ_ENTROPY_FETCH) return entropy_serve(place, n, value);
switch (value) { switch (value) {
case V4_REQ_FREEZE_WORD: case V4_REQ_UNFREEZE_WORD: case V4_REQ_FROZEN: case V4_REQ_HEAT_FETCH: case V4_REQ_HEAT_STORE: case V4_REQ_FREEZE_WORD: case V4_REQ_UNFREEZE_WORD: case V4_REQ_FROZEN: case V4_REQ_HEAT_FETCH: case V4_REQ_HEAT_STORE:
+3 -1
View File
@@ -1020,6 +1020,7 @@ static const char *const l986[] = { ": W1 BL WORD COUNT TYPE ; W1 HELLO" };
static const char *const l987[] = { ": W2 44 WORD COUNT TYPE ; W2 A B," }; static const char *const l987[] = { ": W2 44 WORD COUNT TYPE ; W2 A B," };
static const char *const l988[] = { ": W3 BL WORD C@ . ; W3 ABC" }; static const char *const l988[] = { ": W3 BL WORD C@ . ; W3 ABC" };
static const char *const l989[] = { ": W4 BL WORD COUNT TYPE ; W4 X" }; static const char *const l989[] = { ": W4 BL WORD COUNT TYPE ; W4 X" };
static const char *const l990[] = { "L8-CARD@ 0< . 64 U< . CR" };
const v4_post_case v4_post_cases[] = { const v4_post_case v4_post_cases[] = {
{ "DUP.basic", l0, 1u, V4_POST_STACK | V4_POST_SUITE, 0, 0u, "5 5 \012", 5u }, { "DUP.basic", l0, 1u, V4_POST_STACK | V4_POST_SUITE, 0, 0u, "5 5 \012", 5u },
@@ -2012,6 +2013,7 @@ const v4_post_case v4_post_cases[] = {
{ "WORD.delimiter", l987, 1u, V4_POST_STACK, 0, 0u, "A B", 3u }, { "WORD.delimiter", l987, 1u, V4_POST_STACK, 0, 0u, "A B", 3u },
{ "WORD.count", l988, 1u, V4_POST_STACK, 0, 0u, "3 ", 2u }, { "WORD.count", l988, 1u, V4_POST_STACK, 0, 0u, "3 ", 2u },
{ "WORD.skips_leading", l989, 1u, V4_POST_STACK, 0, 0u, "X", 1u }, { "WORD.skips_leading", l989, 1u, V4_POST_STACK, 0, 0u, "X", 1u },
{ "L8-CARD@.basic", l990, 1u, V4_POST_STACK | V4_POST_KERNEL | V4_POST_SUITE, 0, 0u, "0 -1 \012", 6u },
}; };
const unsigned v4_post_case_count = 990u; const unsigned v4_post_case_count = 991u;
+9
View File
@@ -351,6 +351,15 @@ int main(void)
&& p->l7_adaptive_heartrate == 1u, "the gates are the current card's (%u), through card_bits", p->l8.current_card); && p->l7_adaptive_heartrate == 1u, "the gates are the current card's (%u), through card_bits", p->l8.current_card);
CHECK(p->l1_cache == (ENABLE_HOTWORDS_CACHE && (b & 0x40u)) && p->l4_pipelining == (ENABLE_PIPELINING && (b & 0x08u)), CHECK(p->l1_cache == (ENABLE_HOTWORDS_CACHE && (b & 0x40u)) && p->l4_pipelining == (ENABLE_PIPELINING && (b & 0x08u)),
"and L1 and L4 within the build's ceilings"); "and L1 and L4 within the build's ceilings");
/* L8-CARD@ ( -- card changes ), for acceptance (Phase 7 Task 9, rulings 2 and 2a): the node's card, and how
* often it has changed -- more than 0 once L8 has run, which a boot without the physics never shows */
{
char want[64];
r = line(V4_MESH_HERA, "L8-CARD@ . .", &how);
snprintf(want, sizeof want, "%lu %u ", (unsigned long)p->l8.changes, (unsigned)p->l8.current_card);
CHECK(how == V4_TEXT_COMPLETED && strcmp(r, want) == 0 && p->l8.changes > 0,
"L8-CARD@ leaves the card and its changes, more than 0: \"%s\", the kernel's \"%s\"", r, want);
}
v4_mesh_l8_force(&ms, 0, 0u, 1); v4_mesh_l8_force(&ms, 0, 0u, 1);
r = line(V4_MESH_HERA, ": L8T 300 0 DO 3 DUP * DROP LOOP ; L8T", &how); r = line(V4_MESH_HERA, ": L8T 300 0 DO 3 DUP * DROP LOOP ; L8T", &how);
CHECK(p->l8.current_card == 0 && !p->l2_window && !p->l3_decay && !p->l1_cache && !p->l4_pipelining CHECK(p->l8.current_card == 0 && !p->l2_window && !p->l3_decay && !p->l1_cache && !p->l4_pipelining
+3
View File
@@ -197,4 +197,7 @@ EXTRA = [
dict(label="WORD.delimiter", text=": W2 44 WORD COUNT TYPE ; W2 A B,", out="A B"), dict(label="WORD.delimiter", text=": W2 44 WORD COUNT TYPE ; W2 A B,", out="A B"),
dict(label="WORD.count", text=": W3 BL WORD C@ . ; W3 ABC", out="3 "), dict(label="WORD.count", text=": W3 BL WORD C@ . ; W3 ABC", out="3 "),
dict(label="WORD.skips_leading", text=": W4 BL WORD COUNT TYPE ; W4 X", out="X"), dict(label="WORD.skips_leading", text=": W4 BL WORD COUNT TYPE ; W4 X", out="X"),
# v4's own, not v3's: L8's card and its changes, for acceptance (Phase 7 Task 9, ruled 2026-11-20).
# Their values come of the run; the case holds what any run has: changes not negative, the card one of 64
dict(label="L8-CARD@.basic", text="L8-CARD@ 0< . 64 U< . CR", out="0 -1 \n"),
] ]