From 6dcfbe67405f9f2ba51298ae2075cca5d29a3d98 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 20:33:21 +0000 Subject: [PATCH] Capsule blocks steps 3+4 for v4: capsules are placed in RAM and load their lowest block Captain Bob ruled: Block n lands at n-R; the lowest block is interpreted; chaining is the developer's; together, v4 first. - v4_blocks_place_capsule copies each Block n into RAM block n - R as 16 lines of 64, space-padded, in any file order. A later block of the same number overwrites. It refuses a block below R. - The mesh's load(), its capsule reader (CAPSULE-OPEN/(LINES), so a child's forth79.4th via BIRTH too), boot.c and test_host_unit's model each place a capsule, then interpret " LOAD". - mkdictionary.py skips --> when it types capsules at the hosted prompt. - The v4 capsules are renumbered into R..2R-1, landing at RAM 1900 and up, away from POST's blocks 0-5. Each is chained with -->, and centre.4th's gap at 8103 is closed. Test first: - test_host_blocks.c gained 6 placement checks; it failed to build before. - test_mesh_boot.c checks forth79's lowest block in RAM block 1900; it failed before. After: POST is 990/990; all 52 tests at 64 bits, test-32, hosted-check and ASan/UBSan pass; the amd64 kernel builds; the dictionary has 404 words. Logs are in logs/20261118-capsule-place. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm --- capsules/BLOCK_MAP.md | 48 +-- capsules/v4/centre.4th | 20 +- capsules/v4/forth79.4th | 10 +- capsules/v4/hera.4th | 5 +- capsules/v4/physics.4th | 14 +- capsules/v4/starshipos.4th | 7 +- .../v4.0.0/plans/2026-11-18-capsule-blocks.md | 42 +++ logs/20261118-capsule-place/build-amd64.log | 267 +++++++++++++++++ logs/20261118-capsule-place/dictionary.log | 6 + logs/20261118-capsule-place/hosted-check.log | 126 ++++++++ logs/20261118-capsule-place/san-mesh-boot.log | 4 + logs/20261118-capsule-place/sanitize.log | 2 + logs/20261118-capsule-place/test-32.log | 274 ++++++++++++++++++ logs/20261118-capsule-place/test-64.log | 273 +++++++++++++++++ .../test_host_blocks-after.log | 5 + .../test_host_blocks-before.log | 6 + .../test_mesh_boot-after.log | 84 ++++++ .../test_mesh_boot-before.log | 83 ++++++ v4/Makefile | 2 +- v4/include/v4/blocks.h | 11 + v4/system/blocks.c | 40 +++ v4/system/boot.c | 66 ++--- v4/system/mesh.c | 33 ++- v4/tests/test_host_blocks.c | 30 ++ v4/tests/test_host_unit.c | 30 +- v4/tests/test_mesh_boot.c | 4 + v4/tools/mkdictionary.py | 4 +- 27 files changed, 1399 insertions(+), 97 deletions(-) create mode 100644 logs/20261118-capsule-place/build-amd64.log create mode 100644 logs/20261118-capsule-place/dictionary.log create mode 100644 logs/20261118-capsule-place/hosted-check.log create mode 100644 logs/20261118-capsule-place/san-mesh-boot.log create mode 100644 logs/20261118-capsule-place/sanitize.log create mode 100644 logs/20261118-capsule-place/test-32.log create mode 100644 logs/20261118-capsule-place/test-64.log create mode 100644 logs/20261118-capsule-place/test_host_blocks-after.log create mode 100644 logs/20261118-capsule-place/test_host_blocks-before.log create mode 100644 logs/20261118-capsule-place/test_mesh_boot-after.log create mode 100644 logs/20261118-capsule-place/test_mesh_boot-before.log diff --git a/capsules/BLOCK_MAP.md b/capsules/BLOCK_MAP.md index 212710d6..a13dbdce 100644 --- a/capsules/BLOCK_MAP.md +++ b/capsules/BLOCK_MAP.md @@ -29,11 +29,11 @@ | `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` | 8100, 8101, 8102, 8104, 8105, 8106, 8107 | `0xccd1b28a101c78b2` | n/a | -| `v4:forth79.4th` | 6000, 6001, 6002 | `0x4055641ee17d176b` | n/a | -| `v4:hera.4th` | 8000, 8001 | `0x85300ad4e6e8b86b` | n/a | -| `v4:physics.4th` | 8200, 8201, 8202, 8203, 8204 | `0x747d89ca8d57e29c` | n/a | -| `v4:starshipos.4th` | 7000, 7001 | `0x5658ee1b771b5963` | n/a | +| `v4:centre.4th` | 3964, 3965, 3966, 3967, 3968, 3969, 3970 | `0xea5815290d56dff3` | 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:starshipos.4th` | 3956, 3957 | `0x1734a8f4fe7483a5` | n/a | | `workload-0.4th` | 2200, 2201 | `0x93f86f60aeba8feb` | n/a | | `workload-1-lite.4th` | 5058, 5059 | `0x44a7a7e3176dcc8d` | n/a | | `workload-1.4th` | 4406, 4415, 4425, 4435 | `0x63e251adb0a03613` | n/a | @@ -105,6 +105,25 @@ | 2160 | `workload-8.4th` | `0x56b7f2f0efa000df` | ok | | 2200 | `workload-0.4th` | `0x93f86f60aeba8feb` | ok | | 2201 | `workload-0.4th` | `0x93f86f60aeba8feb` | ok | +| 3948 | `v4:forth79.4th` | `0x4609d6ef54166ef8` | ok | +| 3949 | `v4:forth79.4th` | `0x4609d6ef54166ef8` | ok | +| 3950 | `v4:forth79.4th` | `0x4609d6ef54166ef8` | ok | +| 3956 | `v4:starshipos.4th` | `0x1734a8f4fe7483a5` | ok | +| 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 | | 4000 | `ACL.4th` | `0xf8890c05c0d8f921` | ok | | 4001 | `ACL.4th` | `0xf8890c05c0d8f921` | ok | | 4002 | `ACL.4th` | `0xf8890c05c0d8f921` | ok | @@ -366,25 +385,6 @@ | 5113 | `sdk.4th` | `0x008fdbbb62c94a3a` | ok | | 5114 | `sdk.4th` | `0x008fdbbb62c94a3a` | ok | | 5115 | `sdk.4th` | `0x008fdbbb62c94a3a` | ok | -| 6000 | `v4:forth79.4th` | `0x4055641ee17d176b` | ok | -| 6001 | `v4:forth79.4th` | `0x4055641ee17d176b` | ok | -| 6002 | `v4:forth79.4th` | `0x4055641ee17d176b` | ok | -| 7000 | `v4:starshipos.4th` | `0x5658ee1b771b5963` | ok | -| 7001 | `v4:starshipos.4th` | `0x5658ee1b771b5963` | ok | -| 8000 | `v4:hera.4th` | `0x85300ad4e6e8b86b` | ok | -| 8001 | `v4:hera.4th` | `0x85300ad4e6e8b86b` | ok | -| 8100 | `v4:centre.4th` | `0xccd1b28a101c78b2` | ok | -| 8101 | `v4:centre.4th` | `0xccd1b28a101c78b2` | ok | -| 8102 | `v4:centre.4th` | `0xccd1b28a101c78b2` | ok | -| 8104 | `v4:centre.4th` | `0xccd1b28a101c78b2` | ok | -| 8105 | `v4:centre.4th` | `0xccd1b28a101c78b2` | ok | -| 8106 | `v4:centre.4th` | `0xccd1b28a101c78b2` | ok | -| 8107 | `v4:centre.4th` | `0xccd1b28a101c78b2` | ok | -| 8200 | `v4:physics.4th` | `0x747d89ca8d57e29c` | ok | -| 8201 | `v4:physics.4th` | `0x747d89ca8d57e29c` | ok | -| 8202 | `v4:physics.4th` | `0x747d89ca8d57e29c` | ok | -| 8203 | `v4:physics.4th` | `0x747d89ca8d57e29c` | ok | -| 8204 | `v4:physics.4th` | `0x747d89ca8d57e29c` | ok | --- *40 capsule(s) scanned. Re-run `mkcapsule --manifest ` to refresh.* diff --git a/capsules/v4/centre.4th b/capsules/v4/centre.4th index d90288a8..7a8ad321 100644 --- a/capsules/v4/centre.4th +++ b/capsules/v4/centre.4th @@ -1,4 +1,4 @@ -Block 8100 +Block 3964 ( centre.4th -- what a node that births others needs. ) ( docs/v4.0.0/MESH.md 9a. Births follow v3: any node may ) ( birth on its own ports, and is its children's parent. ) @@ -14,7 +14,8 @@ VARIABLE (T#) : (TC) ( c -- ) PAD (T#) @ + C! 1 (T#) +! ; : (TS) ( baddr u -- ) DUP IF 0 DO DUP I + C@ (TC) LOOP DROP ELSE DROP DROP THEN ; -Block 8101 +--> +Block 3965 : (TN) ( n -- ) 0 <# #S #> (TS) 32 (TC) ; : (T) ( -- baddr u ) PAD (T#) @ ; ( The node being born: its number, its place, the port of ) @@ -27,7 +28,8 @@ VARIABLE (KIDC) VARIABLE (PERS) VARIABLE (PERS#) -1 NODE-ERROR ! ; : (TOLD) ( how -- ) 1 - IF (FAIL) THEN ; : (TELL) ( baddr u -- ) (KID#) @ SEND (KID#) @ AWAIT (TOLD) ; -Block 8102 +--> +Block 3966 ( the system, a capsule of F18 code, cell by cell to its port ) : (NUCLEUS) ( -- ) S" v4:nucleus-64.f18" CAPSULE-OPEN 0= IF (FAIL) THEN @@ -36,7 +38,8 @@ Block 8102 : (LINES) ( baddr u -- ) CAPSULE-OPEN 0= IF (FAIL) THEN BEGIN PAD CAPSULE-LINE DUP 0< 0= WHILE PAD SWAP (TELL) REPEAT DROP ; -Block 8104 +--> +Block 3967 ( Who it is, where its printing goes, which of its ports ) ( leads to everything it is not told of, and who is there. ) : (WHO) ( -- ) @@ -45,7 +48,8 @@ Block 8104 (KIDC) @ (TN) S" DEFAULT-ROUTE " (TS) (ME) @ (TN) (KIDC) @ (TN) S" NEIGHBOUR" (TS) (T) 0 (KIDP) @ SEND-ON (KID#) @ AWAIT (TOLD) ; -Block 8105 +--> +Block 3968 ( number port childport baddr u -- place A NODE IS BORN, ) ( its port childport joined to this one's port: empty, then ) ( the system, FORTH-79, and its personality if u is not 0. ) @@ -60,7 +64,8 @@ Block 8105 S" (SEAL)" (TELL) (KID) @ (KID#) @ NODE-PARITY (KID) @ ; -Block 8106 +--> +Block 3969 ( number port childport -- place a node with no capsule ) : BIRTH 0 0 BIRTH-AS ; ( Two outer nodes are joined: port 3 of X to port 4 of Y, ) @@ -74,7 +79,8 @@ VARIABLE (XP) VARIABLE (XN) VARIABLE (YP) VARIABLE (YN) : (JOIN) ( -- ) (XP) @ 3 (YP) @ 4 NODE-WIRE 0= IF (FAIL) THEN (YN) @ 3 (XN) @ (SAY) (XN) @ 4 (YN) @ (SAY) ; -Block 8107 +--> +Block 3970 ( n -- A UNIT: four outer nodes, n+1 to n+4, on ports 2 ) ( to 5 of this one, each by its own port 2, and joined in a ) ( square: 1-2, 2-4, 4-3, 3-1. ) diff --git a/capsules/v4/forth79.4th b/capsules/v4/forth79.4th index 105d58c9..a8bc6fb2 100644 --- a/capsules/v4/forth79.4th +++ b/capsules/v4/forth79.4th @@ -1,10 +1,11 @@ -Block 6000 +Block 3948 ( forth79.4th -- the FORTH-79 Required Word Set for v4, ) ( as colon definitions, loaded when the system boots. ) -( docs/v4.0.0/NUCLEUS.md. Blocks 6000 up. ) +( docs/v4.0.0/NUCLEUS.md. Blocks 3948 up. ) ( A word moves here from the assembled nucleus, v4/capsule, ) ( once its colon definition passes POST. ) -Block 6001 +--> +Block 3949 ( U* U/MOD -- FORTH-79 unsigned multiply and divide. ) ( Neither v3 nor the v4 nucleus had them. ) ( The first two words count the bits in a cell. ) @@ -14,7 +15,8 @@ Block 6001 VARIABLE (UD) ( u1 u2 -- ud the unsigned double product ) : U* UM* ; -Block 6002 +--> +Block 3950 ( ud u1 -- u2 u3 unsigned: u2 the remainder, u3 the quotient ) ( One bit a step: shift ud left, and take u1 from its high ) ( cell whenever it goes, counting that in the low cell. ) diff --git a/capsules/v4/hera.4th b/capsules/v4/hera.4th index 03e25ccf..9549e662 100644 --- a/capsules/v4/hera.4th +++ b/capsules/v4/hera.4th @@ -1,4 +1,4 @@ -Block 8000 +Block 3960 ( hera.4th -- what is Hera's alone, beside centre.4th, which ) ( she loads first. docs/v4.0.0/MESH.md 9a. She decides ) ( which nodes there are and which are awake: KILL, PAUSE and ) @@ -14,7 +14,8 @@ Block 8000 : KILL ( n -- ) (THERE?) 0= IF ." KILL: " (NO-NODE) THEN DUP NODE-KILL NO-ROUTE ; -Block 8001 +--> +Block 3961 : PAUSE ( n -- ) (THERE?) 0= IF ." PAUSE: " (NO-NODE) THEN NODE-SLEEP ; : RESUME ( n -- ) diff --git a/capsules/v4/physics.4th b/capsules/v4/physics.4th index ea46541f..a1b35a9f 100644 --- a/capsules/v4/physics.4th +++ b/capsules/v4/physics.4th @@ -1,4 +1,4 @@ -Block 8200 +Block 3972 ( physics.4th -- the words of the loops, v3's physics-freeze ) ( and inference words, on a node the kernel keeps records ) ( for: each asks its kernel, which keeps every word's and ) @@ -14,7 +14,8 @@ Block 8200 -27 KERNEL-WORD INFER-DECAY-SLOPE ( addr u -- d ) -28 KERNEL-WORD INFER-WINDOW-WIDTH ( addr u -- n ) -29 KERNEL-WORD INFER-RUN ( -- ) -Block 8201 +--> +Block 3973 ( and what the last INFER-RUN, or the heartbeat's, found; ) ( a q is a Q48.16 double, as qmath.f18's ) -30 KERNEL-WORD INFER-WINDOW@ ( -- u ) @@ -24,7 +25,8 @@ Block 8201 -34 KERNEL-WORD INFER-EARLY-EXIT@ ( -- flag ) ( v3's DECAY_RATE_PER_US_Q16, its compile-time constant ) 1 CONSTANT DECAY-RATE@ -Block 8202 +--> +Block 3974 ( v3's StarForth module: a word's execution heat, by the ) ( address ' leaves; and the hottest -- the kernel's records ) -35 KERNEL-WORD ENTROPY@ ( addr -- n ) @@ -40,7 +42,8 @@ Block 8202 ." ==================================" CR (HOT#) MIN 0 ?DO I (HOT) SWAP I 1+ 0 .R ." . " >NAME COUNT TYPE ." : " 0 .R CR LOOP ; -Block 8203 +--> +Block 3975 ( WORD-ENTROPY: every word with heat, then the totals, as v3 ) VARIABLE (WE-T) VARIABLE (WE-N) : WORD-ENTROPY ( -- ) @@ -56,7 +59,8 @@ VARIABLE (WE-T) VARIABLE (WE-N) ." Total words: " (WE-N) @ 0 .R CR (WE-T) @ IF ." Average executions per word: " (WE-T) @ (WE-N) @ / 0 .R CR THEN ; -Block 8204 +--> +Block 3976 ( (- skips its input to the matching close paren, nesting, ) ( as v3's code does -- its documentation says to the line end ) : (- ( -- ) 1 diff --git a/capsules/v4/starshipos.4th b/capsules/v4/starshipos.4th index 982ed059..cd38916d 100644 --- a/capsules/v4/starshipos.4th +++ b/capsules/v4/starshipos.4th @@ -1,11 +1,12 @@ -Block 7000 +Block 3956 ( starshipos.4th -- the StarshipOS words, in their own ) ( vocabulary, STARSHIPOS: not FORTH-79, so not in FORTH. ) ( Loaded when the system boots, after forth79.4th. ) -( Blocks 7000 up. New definitions still go into FORTH; the ) +( Blocks 3956 up. New definitions still go into FORTH; the ) ( search starts in STARSHIPOS once init.4th sets it. ) VOCABULARY STARSHIPOS STARSHIPOS DEFINITIONS -Block 7001 +--> +Block 3957 ( DOE baddr u -- as S" name" DOE ) ( Intended: run the DoE of that name, from the capsule of ) ( that name. As yet it only types the name back -- asked for ) diff --git a/docs/v4.0.0/plans/2026-11-18-capsule-blocks.md b/docs/v4.0.0/plans/2026-11-18-capsule-blocks.md index 43b7413a..554f6d54 100644 --- a/docs/v4.0.0/plans/2026-11-18-capsule-blocks.md +++ b/docs/v4.0.0/plans/2026-11-18-capsule-blocks.md @@ -153,3 +153,45 @@ marker"): The "kernel ROM image" is now "the next iso image that qemu runs with". **Nothing is built.** When the SDK begins, the hook is to be designed against these lines. + +## 6. Steps 3 and 4 for v4, built together (2026-11-18) + +**Why together** (ruled "Together, v4 first"): v4's `-->` is error 14 outside a block load, so +capsule chaining added under the old line-streaming loader would have broken every boot. + +**What is built:** +- **`v4_blocks_place_capsule`** (`v4/system/blocks.c`, `blocks.h`). Each `Block n` is copied to RAM + block `n - R` as 16 lines of 64 characters, padded with spaces, in any file order. A later block of + the same number overwrites. The lowest placed is given back, and a block below R is refused. +- **Every v4 loader places a capsule, then interprets ` LOAD`:** + - the mesh's `load()` (Hera's boot); + - the mesh's capsule reader (`CAPSULE-OPEN`/`(LINES)`, which is how `BIRTH` gives a child + `forth79.4th`); + - the hosted product's `boot.c`; + - `test_host_unit`'s model of the kernel. + + `mkdictionary.py` types the capsules at the hosted prompt, and skips `-->` there. +- **The v4 capsules are renumbered into R..2R-1 and chained with `-->`.** They land at RAM 1900 and up, + away from POST's blocks 0–5: + + | Capsule | Blocks | + |---|---| + | `forth79.4th` | 3948–3950 | + | `starshipos.4th` | 3956–3957 | + | `hera.4th` | 3960–3961 | + | `centre.4th` | 3964–3970 (it had a gap at 8103) | + | `physics.4th` | 3972–3976 | + +**Test first:** +- `test_host_blocks.c` gained 6 placement checks (54 now). It failed to build before, with no + `v4_blocks_place_capsule`. +- `test_mesh_boot.c`: forth79.4th's lowest block is in RAM block 1900. It failed before, with block + 1900 empty, and passes after (110 checks). + +**Verified** (`logs/20261118-capsule-place/`): +- POST is 990/990; +- all 52 tests at 64 bits, test-32, `hosted-check` (three ISAs identical), and ASan/UBSan pass; +- the amd64 kernel builds; +- the dictionary check has 404 words, as before. + +**v3's `INIT`** is the next step, as ruled. diff --git a/logs/20261118-capsule-place/build-amd64.log b/logs/20261118-capsule-place/build-amd64.log new file mode 100644 index 00000000..73d2ed25 --- /dev/null +++ b/logs/20261118-capsule-place/build-amd64.log @@ -0,0 +1,267 @@ + V4ROM capsules/v4/rom -> build/amd64/kernel/v4_rom_64.c build/amd64/kernel/v4_map_64.c build/amd64/kernel/v4_mesh_rom_64.c +CC (loader) v4/system/mesh.c +CC (loader) v4/system/boot.c +CC (loader) v4/system/blocks.c +CC (kernel) v3/src/blkio_ram.c +CC (kernel) v3/src/block_subsystem.c +CC (kernel) v3/src/compudynamics.c +CC (kernel) v3/src/dictionary_heat_optimization.c +CC (kernel) v3/src/dictionary_management.c +CC (kernel) v3/src/heartbeat_export.c +CC (kernel) v3/src/inference_engine.c +CC (kernel) v3/src/io.c +CC (kernel) v3/src/math_portable.c +CC (kernel) v3/src/memory_management.c +CC (kernel) v3/src/physics_execution_hooks.c +CC (kernel) v3/src/physics_hotwords_cache.c +CC (kernel) v3/src/physics_metadata.c +CC (kernel) v3/src/physics_pipelining_metrics.c +CC (kernel) v3/src/physics_runtime.c +CC (kernel) v3/src/profiler.c +CC (kernel) v3/src/rolling_window_of_truth.c +CC (kernel) v3/src/ssm_jacquard.c +CC (kernel) v3/src/stack_management.c +CC (kernel) v3/src/vm_api.c +CC (kernel) v3/src/vm_debug.c +CC (kernel) v3/src/word_registry.c +CC (kernel) v3/src/word_source/acl_words.c +CC (kernel) v3/src/word_source/arithmetic_words.c +CC (kernel) v3/src/word_source/block_words.c +CC (kernel) v3/src/word_source/control_words.c +CC (kernel) v3/src/word_source/defer_words.c +CC (kernel) v3/src/word_source/defining_words.c +CC (kernel) v3/src/word_source/dictionary_heat_diagnostic_words.c +CC (kernel) v3/src/word_source/dictionary_manipulation_words.c +CC (kernel) v3/src/word_source/dictionary_words.c +CC (kernel) v3/src/word_source/double_words.c +CC (kernel) v3/src/word_source/editor_words.c +CC (kernel) v3/src/word_source/framebuffer_words.c +CC (kernel) v3/src/word_source/format_words.c +CC (kernel) v3/src/word_source/inference_words.c +CC (kernel) v3/src/word_source/io_words.c +CC (kernel) v3/src/word_source/keyboard_words.c +CC (kernel) v3/src/word_source/lifecycle_words_hosted.c +CC (kernel) v3/src/word_source/log_words.c +CC (kernel) v3/src/word_source/logical_words.c +CC (kernel) v3/src/word_source/memory_words.c +CC (kernel) v3/src/word_source/mixed_arithmetic_words.c +CC (kernel) v3/src/word_source/physics_benchmark_words.c +CC (kernel) v3/src/word_source/physics_diagnostic_words.c +CC (kernel) v3/src/word_source/physics_freeze_words.c +CC (kernel) v3/src/word_source/physics_pipelining_diagnostic_words.c +CC (kernel) v3/src/word_source/q48_words.c +CC (kernel) v3/src/word_source/return_stack_words.c +CC (kernel) v3/src/word_source/scroll_words.c +CC (kernel) v3/src/word_source/stack_words.c +CC (kernel) v3/src/word_source/starforth_words.c +CC (kernel) v3/src/word_source/string_words.c +CC (kernel) v3/src/word_source/system_words.c +CC (kernel) v3/src/word_source/ttf_words.c +CC (kernel) v3/src/word_source/vocabulary_words.c +CC (kernel) v3/src/test_runner/test_common.c +CC (kernel) v3/src/test_runner/test_contracts.c +CC (kernel) v3/src/test_runner/test_runner.c +CC (kernel) v3/src/test_runner/modules/acl_words_test.c +CC (kernel) v3/src/test_runner/modules/arithmetic_words_test.c +CC (kernel) v3/src/test_runner/modules/block_words_test.c +CC (kernel) v3/src/test_runner/modules/control_words_test.c +CC (kernel) v3/src/test_runner/modules/defining_words_tests.c +CC (kernel) v3/src/test_runner/modules/dictionary_manipulation_words_test.c +CC (kernel) v3/src/test_runner/modules/dictionary_words_test.c +CC (kernel) v3/src/test_runner/modules/double_words_test.c +CC (kernel) v3/src/test_runner/modules/format_words_test.c +CC (kernel) v3/src/test_runner/modules/inference_words_test.c +CC (kernel) v3/src/test_runner/modules/integration_tests.c +CC (kernel) v3/src/test_runner/modules/io_words_test.c +CC (kernel) v3/src/test_runner/modules/logical_words_test.c +CC (kernel) v3/src/test_runner/modules/mama_forth_words_test.c +CC (kernel) v3/src/test_runner/modules/memory_words_test.c +CC (kernel) v3/src/test_runner/modules/mixed_arithmetic_words_test.c +CC (kernel) v3/src/test_runner/modules/physics_freeze_words_test.c +CC (kernel) v3/src/test_runner/modules/q48_words_test.c +CC (kernel) v3/src/test_runner/modules/return_stack_words_test.c +CC (kernel) v3/src/test_runner/modules/stack_words_test.c +CC (kernel) v3/src/test_runner/modules/starforth_words_test.c +CC (kernel) v3/src/test_runner/modules/stress_tests.c +CC (kernel) v3/src/test_runner/modules/string_words_test.c +CC (kernel) v3/src/test_runner/modules/system_words_test.c +CC (kernel) v3/src/test_runner/modules/vocabulary_words_test.c +CC (kernel) v4/system/mesh.c +CC (kernel) v4/system/boot.c +CC (kernel) v4/system/blocks.c + MKCAP capsules -> build/amd64/kernel/capsule_generated.c +mkcapsule: scanning 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:sys:log.f18 (4535 bytes, hash=0x544cd004233dff62) + [p] v4:sys:qmath.f18 (8607 bytes, hash=0xa93783c2c8f9b7db) + [p] v4:sys:map-32.f18 (3162 bytes, hash=0x5bdf8cbbebdd3c8f) + [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 (3201 bytes, hash=0x06cb44832df2b8fd) + [p] v4:sys:codegen.f18 (4999 bytes, hash=0x36d2ae84d2911b90) + [p] v4:sys:acl.f18 (4100 bytes, hash=0x76e7e746befa2733) + [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 (23099 bytes, hash=0xb46bf77ceee7245a) + [p] v4:sys:end.f18 (1452 bytes, hash=0x98fd33b1c431cfe7) + [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 (3923 bytes, hash=0xea5815290d56dff3) + [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 (22886 bytes, hash=0x04227af00df2126e) + [p] turtle.4th (3254 bytes, hash=0x4d470418ca543365) + [p] workload-8.4th (172 bytes, hash=0x56b7f2f0efa000df) + [p] workload-6.4th (1986 bytes, hash=0x06fc0ce1e369ef5a) +mkcapsule: 74 capsule(s) collected +mkcapsule: wrote build/amd64/kernel/capsule_generated.c + MKCAP capsules -> capsules/BLOCK_MAP.md +mkcapsule: manifest written to capsules/BLOCK_MAP.md (40 capsule(s)) +CC (loader) v3/src/blkio_ram.c +CC (loader) v3/src/block_subsystem.c +CC (loader) v3/src/compudynamics.c +CC (loader) v3/src/dictionary_heat_optimization.c +CC (loader) v3/src/dictionary_management.c +CC (loader) v3/src/heartbeat_export.c +CC (loader) v3/src/inference_engine.c +CC (loader) v3/src/io.c +CC (loader) v3/src/math_portable.c +CC (loader) v3/src/memory_management.c +CC (loader) v3/src/physics_execution_hooks.c +CC (loader) v3/src/physics_hotwords_cache.c +CC (loader) v3/src/physics_metadata.c +CC (loader) v3/src/physics_pipelining_metrics.c +CC (loader) v3/src/physics_runtime.c +CC (loader) v3/src/profiler.c +CC (loader) v3/src/rolling_window_of_truth.c +CC (loader) v3/src/ssm_jacquard.c +CC (loader) v3/src/stack_management.c +CC (loader) v3/src/vm_api.c +CC (loader) v3/src/vm_debug.c +CC (loader) v3/src/word_registry.c +CC (loader) v3/src/word_source/acl_words.c +CC (loader) v3/src/word_source/arithmetic_words.c +CC (loader) v3/src/word_source/block_words.c +CC (loader) v3/src/word_source/control_words.c +CC (loader) v3/src/word_source/defer_words.c +CC (loader) v3/src/word_source/defining_words.c +CC (loader) v3/src/word_source/dictionary_heat_diagnostic_words.c +CC (loader) v3/src/word_source/dictionary_manipulation_words.c +CC (loader) v3/src/word_source/dictionary_words.c +CC (loader) v3/src/word_source/double_words.c +CC (loader) v3/src/word_source/editor_words.c +CC (loader) v3/src/word_source/format_words.c +CC (loader) v3/src/word_source/framebuffer_words.c +CC (loader) v3/src/word_source/inference_words.c +CC (loader) v3/src/word_source/io_words.c +CC (loader) v3/src/word_source/keyboard_words.c +CC (loader) v3/src/word_source/lifecycle_words_hosted.c +CC (loader) v3/src/word_source/log_words.c +CC (loader) v3/src/word_source/logical_words.c +CC (loader) v3/src/word_source/memory_words.c +CC (loader) v3/src/word_source/mixed_arithmetic_words.c +CC (loader) v3/src/word_source/physics_benchmark_words.c +CC (loader) v3/src/word_source/physics_diagnostic_words.c +CC (loader) v3/src/word_source/physics_freeze_words.c +CC (loader) v3/src/word_source/physics_pipelining_diagnostic_words.c +CC (loader) v3/src/word_source/q48_words.c +CC (loader) v3/src/word_source/return_stack_words.c +CC (loader) v3/src/word_source/scroll_words.c +CC (loader) v3/src/word_source/stack_words.c +CC (loader) v3/src/word_source/starforth_words.c +CC (loader) v3/src/word_source/string_words.c +CC (loader) v3/src/word_source/system_words.c +CC (loader) v3/src/word_source/ttf_words.c +CC (loader) v3/src/word_source/vocabulary_words.c +CC (loader) v3/src/test_runner/test_common.c +CC (loader) v3/src/test_runner/test_contracts.c +CC (loader) v3/src/test_runner/test_runner.c +CC (loader) v3/src/test_runner/modules/acl_words_test.c +CC (loader) v3/src/test_runner/modules/arithmetic_words_test.c +CC (loader) v3/src/test_runner/modules/block_words_test.c +CC (loader) v3/src/test_runner/modules/control_words_test.c +CC (loader) v3/src/test_runner/modules/defining_words_tests.c +CC (loader) v3/src/test_runner/modules/dictionary_manipulation_words_test.c +CC (loader) v3/src/test_runner/modules/dictionary_words_test.c +CC (loader) v3/src/test_runner/modules/double_words_test.c +CC (loader) v3/src/test_runner/modules/format_words_test.c +CC (loader) v3/src/test_runner/modules/inference_words_test.c +CC (loader) v3/src/test_runner/modules/integration_tests.c +CC (loader) v3/src/test_runner/modules/io_words_test.c +CC (loader) v3/src/test_runner/modules/logical_words_test.c +CC (loader) v3/src/test_runner/modules/mama_forth_words_test.c +CC (loader) v3/src/test_runner/modules/memory_words_test.c +CC (loader) v3/src/test_runner/modules/mixed_arithmetic_words_test.c +CC (loader) v3/src/test_runner/modules/physics_freeze_words_test.c +CC (loader) v3/src/test_runner/modules/q48_words_test.c +CC (loader) v3/src/test_runner/modules/return_stack_words_test.c +CC (loader) v3/src/test_runner/modules/stack_words_test.c +CC (loader) v3/src/test_runner/modules/starforth_words_test.c +CC (loader) v3/src/test_runner/modules/stress_tests.c +CC (loader) v3/src/test_runner/modules/string_words_test.c +CC (loader) v3/src/test_runner/modules/system_words_test.c +CC (loader) v3/src/test_runner/modules/vocabulary_words_test.c + CC build/amd64/kernel/capsule_generated.c + CC (kernel) build/amd64/kernel/capsule_generated.c +LD (kernel) build/amd64/kernel/starkernel_kernel.elf +ld: warning: build/amd64/kernel/obj/kernel/arch/amd64/switch.o: missing .note.GNU-stack section implies executable stack +ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker +Kernel built: build/amd64/kernel/starkernel_kernel.elf +LD (loader PE) build/amd64/kernel/starkernel_loader.efi +Loader built: build/amd64/kernel/starkernel_loader.efi +StarKernel built successfully for amd64 + Loader: build/amd64/kernel/starkernel_loader.efi + Kernel: build/amd64/kernel/starkernel_kernel.elf +rc=0 diff --git a/logs/20261118-capsule-place/dictionary.log b/logs/20261118-capsule-place/dictionary.log new file mode 100644 index 00000000..4ce0a8ab --- /dev/null +++ b/logs/20261118-capsule-place/dictionary.log @@ -0,0 +1,6 @@ +mkdictionary: docs/reference/v4-dictionary.tsv covers all 404 live words +mkdictionary: build/docs/gen/dictionary-words.md, 404 words + PANDOC build/docs/gen/dictionary-words.md -> build/docs/gen/dictionary-words.tex + LATEXMK docs/book/dictionary.tex -> build/docs/Dictionary.pdf + PDF build/docs/Dictionary.pdf +rc=0 diff --git a/logs/20261118-capsule-place/hosted-check.log b/logs/20261118-capsule-place/hosted-check.log new file mode 100644 index 00000000..bdc2a8c6 --- /dev/null +++ b/logs/20261118-capsule-place/hosted-check.log @@ -0,0 +1,126 @@ + [hosted amd64] +V4: capsule v4:sys:map-64.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:map-64.f18 capsule_hash=0x06cb44832df2b8fd +V4: capsule v4:sys:core.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:core.f18 capsule_hash=0x0f415502fccc3fba +V4: capsule v4:sys:input.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:input.f18 capsule_hash=0x0f13c3f9d5fd07fc +V4: capsule v4:sys:dict.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:dict.f18 capsule_hash=0xe3453808afd5a0af +V4: capsule v4:sys:codegen.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:codegen.f18 capsule_hash=0x36d2ae84d2911b90 +V4: capsule v4:sys:compile.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:compile.f18 capsule_hash=0xb46bf77ceee7245a +V4: capsule v4:sys:quit.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:quit.f18 capsule_hash=0x7fa7a7668b6bf1ed +V4: capsule v4:sys:forth.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:forth.f18 capsule_hash=0xc4c0ad315c95eda4 +V4: capsule v4:sys:numout.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:numout.f18 capsule_hash=0xca0fb0f9c1589e20 +V4: capsule v4:sys:words.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:words.f18 capsule_hash=0x2f4e5f7f3e7f736f +V4: capsule v4:sys:system.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:system.f18 capsule_hash=0xfe257eb084c43a5d +V4: capsule v4:sys:qmath.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:qmath.f18 capsule_hash=0xa93783c2c8f9b7db +V4: capsule v4:sys:blocks.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:blocks.f18 capsule_hash=0x09d361dbe6174236 +V4: capsule v4:sys:log.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:log.f18 capsule_hash=0x544cd004233dff62 +V4: capsule v4:sys:acl.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:acl.f18 capsule_hash=0x76e7e746befa2733 +V4: capsule v4:sys:end.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:end.f18 capsule_hash=0x98fd33b1c431cfe7 +PARITY:V4_ROM words=2383 rom_hash=0xd858ef412d684f92 instructions=63411003 +V4: capsule v4:forth79.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:forth79.4th capsule_id=0x4609d6ef54166ef8 capsule_hash=0x4609d6ef54166ef8 dict_hash=0x5311160b526979b7 +PARITY:V4_POST tests=945 pass=945 fail=0 +PARITY:V4_SYSTEM word_count=321 dict_hash=0xca74c5fc5269c9e1 +PARITY:OK +POST: PASSED +ok> + [hosted aarch64] +V4: capsule v4:sys:map-64.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:map-64.f18 capsule_hash=0x06cb44832df2b8fd +V4: capsule v4:sys:core.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:core.f18 capsule_hash=0x0f415502fccc3fba +V4: capsule v4:sys:input.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:input.f18 capsule_hash=0x0f13c3f9d5fd07fc +V4: capsule v4:sys:dict.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:dict.f18 capsule_hash=0xe3453808afd5a0af +V4: capsule v4:sys:codegen.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:codegen.f18 capsule_hash=0x36d2ae84d2911b90 +V4: capsule v4:sys:compile.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:compile.f18 capsule_hash=0xb46bf77ceee7245a +V4: capsule v4:sys:quit.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:quit.f18 capsule_hash=0x7fa7a7668b6bf1ed +V4: capsule v4:sys:forth.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:forth.f18 capsule_hash=0xc4c0ad315c95eda4 +V4: capsule v4:sys:numout.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:numout.f18 capsule_hash=0xca0fb0f9c1589e20 +V4: capsule v4:sys:words.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:words.f18 capsule_hash=0x2f4e5f7f3e7f736f +V4: capsule v4:sys:system.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:system.f18 capsule_hash=0xfe257eb084c43a5d +V4: capsule v4:sys:qmath.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:qmath.f18 capsule_hash=0xa93783c2c8f9b7db +V4: capsule v4:sys:blocks.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:blocks.f18 capsule_hash=0x09d361dbe6174236 +V4: capsule v4:sys:log.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:log.f18 capsule_hash=0x544cd004233dff62 +V4: capsule v4:sys:acl.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:acl.f18 capsule_hash=0x76e7e746befa2733 +V4: capsule v4:sys:end.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:end.f18 capsule_hash=0x98fd33b1c431cfe7 +PARITY:V4_ROM words=2383 rom_hash=0xd858ef412d684f92 instructions=63411003 +V4: capsule v4:forth79.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:forth79.4th capsule_id=0x4609d6ef54166ef8 capsule_hash=0x4609d6ef54166ef8 dict_hash=0x5311160b526979b7 +PARITY:V4_POST tests=945 pass=945 fail=0 +PARITY:V4_SYSTEM word_count=321 dict_hash=0xca74c5fc5269c9e1 +PARITY:OK +POST: PASSED +ok> + [hosted riscv64] +V4: capsule v4:sys:map-64.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:map-64.f18 capsule_hash=0x06cb44832df2b8fd +V4: capsule v4:sys:core.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:core.f18 capsule_hash=0x0f415502fccc3fba +V4: capsule v4:sys:input.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:input.f18 capsule_hash=0x0f13c3f9d5fd07fc +V4: capsule v4:sys:dict.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:dict.f18 capsule_hash=0xe3453808afd5a0af +V4: capsule v4:sys:codegen.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:codegen.f18 capsule_hash=0x36d2ae84d2911b90 +V4: capsule v4:sys:compile.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:compile.f18 capsule_hash=0xb46bf77ceee7245a +V4: capsule v4:sys:quit.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:quit.f18 capsule_hash=0x7fa7a7668b6bf1ed +V4: capsule v4:sys:forth.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:forth.f18 capsule_hash=0xc4c0ad315c95eda4 +V4: capsule v4:sys:numout.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:numout.f18 capsule_hash=0xca0fb0f9c1589e20 +V4: capsule v4:sys:words.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:words.f18 capsule_hash=0x2f4e5f7f3e7f736f +V4: capsule v4:sys:system.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:system.f18 capsule_hash=0xfe257eb084c43a5d +V4: capsule v4:sys:qmath.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:qmath.f18 capsule_hash=0xa93783c2c8f9b7db +V4: capsule v4:sys:blocks.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:blocks.f18 capsule_hash=0x09d361dbe6174236 +V4: capsule v4:sys:log.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:log.f18 capsule_hash=0x544cd004233dff62 +V4: capsule v4:sys:acl.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:acl.f18 capsule_hash=0x76e7e746befa2733 +V4: capsule v4:sys:end.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:end.f18 capsule_hash=0x98fd33b1c431cfe7 +PARITY:V4_ROM words=2383 rom_hash=0xd858ef412d684f92 instructions=63411003 +V4: capsule v4:forth79.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:forth79.4th capsule_id=0x4609d6ef54166ef8 capsule_hash=0x4609d6ef54166ef8 dict_hash=0x5311160b526979b7 +PARITY:V4_POST tests=945 pass=945 fail=0 +PARITY:V4_SYSTEM word_count=321 dict_hash=0xca74c5fc5269c9e1 +PARITY:OK +POST: PASSED +ok> +depthsweep: 230 runs, 0 failures +hosted-check: amd64, aarch64 and riscv64 boot identically; a boot with a failing case fails +rc=0 diff --git a/logs/20261118-capsule-place/san-mesh-boot.log b/logs/20261118-capsule-place/san-mesh-boot.log new file mode 100644 index 00000000..81946607 --- /dev/null +++ b/logs/20261118-capsule-place/san-mesh-boot.log @@ -0,0 +1,4 @@ + [ASan+UBSan mesh boot, V4_CELL_BITS=64] +v4 mesh boot: V4_CELL_BITS=64 + PARITY:V4_POST tests=990 pass=990 fail=0 + 110 checks, 0 failures diff --git a/logs/20261118-capsule-place/sanitize.log b/logs/20261118-capsule-place/sanitize.log new file mode 100644 index 00000000..bb7cc22e --- /dev/null +++ b/logs/20261118-capsule-place/sanitize.log @@ -0,0 +1,2 @@ + 54 checks, 0 failures + 126 checks, 0 failures diff --git a/logs/20261118-capsule-place/test-32.log b/logs/20261118-capsule-place/test-32.log new file mode 100644 index 00000000..de9d3389 --- /dev/null +++ b/logs/20261118-capsule-place/test-32.log @@ -0,0 +1,274 @@ + [V4_CELL_BITS=32 run-32-test_asm.c] +v4 asm tests: V4_CELL_BITS=32 + 32 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_cells.c] +v4 single-cell word tests: V4_CELL_BITS=32 + code: 99 of 1024 words + NIP headroom: data 7 below canary, return 7 below its return address + SWAP headroom: data 6 below canary, return 6 below its return address + ROT headroom: data 5 below canary, return 4 below its return address + -ROT headroom: data 5 below canary, return 5 below its return address + ?DUP headroom: data 7 below canary, return 8 below its return address + +! headroom: data 7 below canary, return 8 below its return address + -! headroom: data 7 below canary, return 8 below its return address + 2@ headroom: data 7 below canary, return 8 below its return address + 2! headroom: data 6 below canary, return 6 below its return address + - headroom: data 6 below canary, return 8 below its return address + MIN headroom: data 3 below canary, return 6 below its return address + MAX headroom: data 3 below canary, return 6 below its return address + OR headroom: data 6 below canary, return 8 below its return address + 0> headroom: data 8 below canary, return 8 below its return address + <> headroom: data 7 below canary, return 8 below its return address + < headroom: data 5 below canary, return 7 below its return address + > headroom: data 5 below canary, return 6 below its return address + <= headroom: data 5 below canary, return 6 below its return address + >= headroom: data 5 below canary, return 6 below its return address + U< headroom: data 5 below canary, return 7 below its return address + WITHIN headroom: data 3 below canary, return 5 below its return address + 21420 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_console.c] +v4 console tests: V4_CELL_BITS=32, capture 4096 characters + 312 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_dump.c] +test_dump: 15 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_exec.c] +v4 exec tests: V4_CELL_BITS=32 + 3107 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_fabric.c] +v4 fabric tests: V4_CELL_BITS=32, 8 ports to a node + 334 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_fabric_walk.c] +v4 fabric walk tests + 13 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_foundation.c] +v4 foundation tests: V4_CELL_BITS=32 + code: 949 of 1024 words + Q.+ random cases that overflow Q48.16: 2682 of 20000 + Q.> as written (SWAP D<): 11702 wrong of 20169 + (UQ/) cases run: 8687 + UM* headroom: data 5 below canary, return 6 below its return address + UM/MOD headroom: data 5 below canary, return 6 below its return address + ABS headroom: data 7 below canary, return 7 below its return address + U> headroom: data 5 below canary, return 5 below its return address + D+ headroom: data 5 below canary, return 5 below its return address + DNEGATE headroom: data 6 below canary, return 7 below its return address + DABS headroom: data 6 below canary, return 6 below its return address + M+ headroom: data 5 below canary, return 4 below its return address + M- headroom: data 4 below canary, return 5 below its return address + M* headroom: data 5 below canary, return 4 below its return address + M/MOD headroom: data 4 below canary, return 3 below its return address + MOD headroom: data 4 below canary, return 2 below its return address + */MOD headroom: data 4 below canary, return 2 below its return address + */ headroom: data 4 below canary, return 2 below its return address + D0< headroom: data 7 below canary, return 7 below its return address + D2* headroom: data 6 below canary, return 7 below its return address + D2/ headroom: data 7 below canary, return 7 below its return address + 2ROT headroom: data 2 below canary, return 1 below its return address + D- headroom: data 4 below canary, return 4 below its return address + D0= headroom: data 6 below canary, return 7 below its return address + D= headroom: data 4 below canary, return 3 below its return address + < headroom: data 5 below canary, return 7 below its return address + = headroom: data 7 below canary, return 7 below its return address + D< headroom: data 3 below canary, return 3 below its return address + (D<) headroom: data 2 below canary, return 5 below its return address + 2SWAP headroom: data 4 below canary, return 4 below its return address + 2OVER headroom: data 2 below canary, return 3 below its return address + DMAX headroom: data 2 below canary, return 4 below its return address + DMIN headroom: data 2 below canary, return 4 below its return address + Q.> (2SWAP D<) headroom: data 3 below canary, return 2 below its return address + Q.* headroom: data 2 below canary, return 3 below its return address + (UQ/) headroom: data 3 below canary, return 4 below its return address + Q./ headroom: data 2 below canary, return 3 below its return address + Q.EXP headroom: data 2 below canary, return 2 below its return address + Q.SQRT headroom: data 2 below canary, return 2 below its return address + Q.LOG headroom: data 2 below canary, return 2 below its return address + (Q.REDUCE) headroom: data 4 below canary, return 5 below its return address + Q.SIN headroom: data 2 below canary, return 2 below its return address + Q.COS headroom: data 2 below canary, return 2 below its return address + LSHIFT headroom: data 6 below canary, return 5 below its return address + RSHIFT headroom: data 6 below canary, return 5 below its return address + C@ headroom: data 7 below canary, return 7 below its return address + C! headroom: data 6 below canary, return 7 below its return address + SM/REM headroom: data 4 below canary, return 3 below its return address + /MOD headroom: data 4 below canary, return 2 below its return address + / headroom: data 4 below canary, return 2 below its return address + * headroom: data 5 below canary, return 5 below its return address + 1023754 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_guard.c] +v4 guard tests: V4_CELL_BITS=32, data bound 1, return bound 1 + 60 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_heat.c] +v4 heat tests: V4_CELL_BITS=32 + 67 checks, 0 failures +mkrom: rom, 2383 words, 32-bit cells -> /home/user/LithosAnanke/v4/build/rom-32.c +mkrom: mesh_rom, 265 words, 32-bit cells -> /home/user/LithosAnanke/v4/build/mesh-rom-32.c + [V4_CELL_BITS=32 run-32-test_host_blocks.c] +v4 block request tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + 52 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_codegen.c] +v4 host code generator tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + code: 1728 words + 856 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_compile.c] +v4 host compiler tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + capsule: 4559 words + a line may have 270 values on the stack while the interpreter reads its next word + a word run from the interpreter has 29 return entries to itself + defining and running a word leaves 1017 data cells under it untouched + 1096 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_depth.c] +v4 mesh depth tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + a text that prints 1012..1024 values: works to 1020, then a stack error and nothing else; calls: works to 23 deep; 19 worked, 14 clean errors, 0 failures + SEND 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 26 deep; 20 worked, 13 clean errors, 0 failures + SEND with no way 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 27 deep; 21 worked, 12 clean errors, 0 failures + AWAIT answered 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 24 deep; 18 worked, 15 clean errors, 0 failures + AWAIT ended by a GONE 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 24 deep; 18 worked, 15 clean errors, 0 failures + passing on while its text waits for room 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 17 deep; 11 worked, 22 clean errors, 0 failures + AWAIT broken by a line from the console 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 24 deep; 18 worked, 15 clean errors, 0 failures + a refusal while its text waits for room 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 17 deep; 11 worked, 22 clean errors, 0 failures + GONE 1012..1024 values: works to 1019, then a stack error and nothing else; calls: works to 26 deep; 21 worked, 12 clean errors, 0 failures + a spent message refused while its text waits 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 17 deep; 11 worked, 22 clean errors, 0 failures + 330 runs: 168 worked, 162 ended in a stack error and nothing else, 0 did neither + 397 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_dict.c] +v4 host dictionary tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + code: 1633 words + 300 entries in 2218 cells + FIND headroom: data 1020 below canary, return 28 below its return address + (') headroom: data 1020 below canary, return 28 below its return address + MAKE headroom: data 1020 below canary, return 28 below its return address + , headroom: data 1020 below canary, return 31 below its return address + ALLOT headroom: data 1020 below canary, return 30 below its return address + 708 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_input.c] +v4 host input tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + code: 1108 words + WORD headroom: data 1020 below canary, return 29 below its return address + NUMBER headroom: data 1016 below canary, return 25 below its return address + EXPECT headroom: data 1020 below canary, return 30 below its return address + ENCLOSE headroom: data 1017 below canary, return 28 below its return address + 6569 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_mesh.c] +v4 mesh tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + the flood: 268 sends tried: 2 refused at once, 121 let go on the way, 145 done; 1 of the two texts that set a node sending let go; (LOST) 122, (REFUSED) 124 + between texts the nucleus used at most 3 cells of the data stack and 4 entries of the return stack + a node removed or a wire cut: 19983 times in all + 244 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_node.c] +v4 host node tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + 45 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_quit.c] +v4 host prompt tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + capsule: 7381 words + from the prompt, words may call each other 30 deep + 1020 values may wait on the stack while the next line is typed and interpreted + defining and running a word from the prompt leaves 1017 data cells under it untouched + .S prints a stack of up to 1018 values; it needs 6 cells free + WORDS: 318 names, longest line 74 columns + 1356 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_rom_asm.c] +test_host_rom_asm: 466 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_rom_in.c] +test_host_rom_in: 26 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_rom_math.c] +v4 ROM math tests: V4_CELL_BITS=32 + the host ROM: 2383 words; the mesh ROM: 265 words + 156 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_rom_nucleus.c] + the ROM assembled the system: 63401381 instructions, 16536684 instruction words, 0.69 s (32-bit cells) +test_host_rom_nucleus: 6 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_rom_num.c] +test_host_rom_num: 31 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_rom_pack.c] +test_host_rom_pack: 7 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_rom_range.c] +test_host_rom_range: 19 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_rom_sym.c] +test_host_rom_sym: 81 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_host_unit.c] +v4 unit tests: V4_CELL_BITS=32, V4_NODE_WORDS=32768 + not run at this width: the capsules are the 64-bit products' + [V4_CELL_BITS=32 run-32-test_iword.c] +v4 iword tests: V4_CELL_BITS=32 + 1763 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_loops.c] +v4 loop tests: V4_CELL_BITS=32 + code: 298 of 1024 words + loops run against C: 3008 (1696 more would run past 63 times and were left out) + DO .. LOOP headroom: data 5 below canary, return 6 below its return address + DO .. +LOOP headroom: data 5 below canary, return 6 below its return address + ?DO .. LOOP headroom: data 5 below canary, return 6 below its return address + DO .. LEAVE .. LOOP headroom: data 5 below canary, return 6 below its return address + nested DO, I and J headroom: data 5 below canary, return 4 below its return address + 3104 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_manage.c] +v4 manage tests: V4_CELL_BITS=32 + 78 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_node.c] +v4 node tests: V4_CELL_BITS=32, 1024 words + node: 1024 words + 52 head + 52 tail boundary (10.2% overhead) + 1078 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_numout.c] +v4 number-output tests: V4_CELL_BITS=32 + code: 382 of 1024 words + SPACES headroom: data 6 below canary, return 7 below its return address + . headroom: data 3 below canary, return 2 below its return address + .R headroom: data 3 below canary, return 2 below its return address + U. headroom: data 3 below canary, return 3 below its return address + U.R headroom: data 3 below canary, return 3 below its return address + D. headroom: data 3 below canary, return 2 below its return address + D.R headroom: data 3 below canary, return 2 below its return address + 25242 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_pictured.c] +v4 pictured-output tests: V4_CELL_BITS=32 + <# #S #> headroom: data 3 below canary, return 3 below its return address + signed picture headroom: data 3 below canary, return 2 below its return address + 4716 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_port.c] +v4 port tests: V4_CELL_BITS=32 + 25 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_printing.c] +v4 printing tests (? Q.PRINT DUMP BASE HLD): V4_CELL_BITS=32 + code: 506 of 1024 words + DECIMAL headroom: data 7 below canary, return 8 below its return address + ? headroom: data 3 below canary, return 2 below its return address + Q.PRINT headroom: data 3 below canary, return 3 below its return address + DUMP headroom: data 3 below canary, return 4 below its return address + 13439 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_stack.c] +v4 stack tests: V4_CELL_BITS=32, data depth 10, return depth 9 + exhaustive: 2046 sequences of length <= 10 + differential: 200000 ops + 730137 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_strings.c] +v4 string tests: V4_CELL_BITS=32 + code: 234 of 1024 words + COUNT headroom: data 6 below canary, return 6 below its return address + CMOVE headroom: data 4 below canary, return 5 below its return address + CMOVE> headroom: data 3 below canary, return 5 below its return address + MOVE headroom: data 5 below canary, return 6 below its return address + FILL headroom: data 4 below canary, return 5 below its return address + BLANK headroom: data 4 below canary, return 5 below its return address + -TRAILING headroom: data 5 below canary, return 6 below its return address + COMPARE headroom: data 3 below canary, return 5 below its return address + SEARCH headroom: data 2 below canary, return 5 below its return address + SCAN headroom: data 4 below canary, return 5 below its return address + SKIP headroom: data 4 below canary, return 5 below its return address + 16729 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_terminal.c] +v4 terminal-output tests: V4_CELL_BITS=32 + KEY headroom: data 8 below canary + EMIT headroom: data 7 below canary, return 8 below its return address + CR headroom: data 7 below canary, return 8 below its return address + TYPE headroom: data 5 below canary, return 6 below its return address + 1212 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_text.c] +v4 text assembler tests: V4_CELL_BITS=32 + 240 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_umul.c] +v4 umul tests: V4_CELL_BITS=32 + 2009 checks, 0 failures + [V4_CELL_BITS=32 run-32-test_wire.c] +v4 wire tests: V4_CELL_BITS=32, 1024 cells to a queue + 112 checks, 0 failures +rc=0 diff --git a/logs/20261118-capsule-place/test-64.log b/logs/20261118-capsule-place/test-64.log new file mode 100644 index 00000000..7d0c0bcb --- /dev/null +++ b/logs/20261118-capsule-place/test-64.log @@ -0,0 +1,273 @@ + [V4_CELL_BITS=64 run-64-test_asm.c] +v4 asm tests: V4_CELL_BITS=64 + 32 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_cells.c] +v4 single-cell word tests: V4_CELL_BITS=64 + code: 99 of 1024 words + NIP headroom: data 7 below canary, return 7 below its return address + SWAP headroom: data 6 below canary, return 6 below its return address + ROT headroom: data 5 below canary, return 4 below its return address + -ROT headroom: data 5 below canary, return 5 below its return address + ?DUP headroom: data 7 below canary, return 8 below its return address + +! headroom: data 7 below canary, return 8 below its return address + -! headroom: data 7 below canary, return 8 below its return address + 2@ headroom: data 7 below canary, return 8 below its return address + 2! headroom: data 6 below canary, return 6 below its return address + - headroom: data 6 below canary, return 8 below its return address + MIN headroom: data 3 below canary, return 6 below its return address + MAX headroom: data 3 below canary, return 6 below its return address + OR headroom: data 6 below canary, return 8 below its return address + 0> headroom: data 8 below canary, return 8 below its return address + <> headroom: data 7 below canary, return 8 below its return address + < headroom: data 5 below canary, return 7 below its return address + > headroom: data 5 below canary, return 6 below its return address + <= headroom: data 5 below canary, return 6 below its return address + >= headroom: data 5 below canary, return 6 below its return address + U< headroom: data 5 below canary, return 7 below its return address + WITHIN headroom: data 3 below canary, return 5 below its return address + 21420 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_console.c] +v4 console tests: V4_CELL_BITS=64, capture 4096 characters + 312 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_dump.c] +test_dump: 15 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_exec.c] +v4 exec tests: V4_CELL_BITS=64 + 3110 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_fabric.c] +v4 fabric tests: V4_CELL_BITS=64, 8 ports to a node + 334 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_fabric_walk.c] +v4 fabric walk tests + 13 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_foundation.c] +v4 foundation tests: V4_CELL_BITS=64 + code: 949 of 1024 words + Q.+ random cases that overflow Q48.16: 2682 of 20000 + Q.> as written (SWAP D<): 12834 wrong of 20169 + (UQ/) cases run: 9000 + UM* headroom: data 5 below canary, return 6 below its return address + UM/MOD headroom: data 5 below canary, return 6 below its return address + ABS headroom: data 7 below canary, return 7 below its return address + U> headroom: data 5 below canary, return 5 below its return address + D+ headroom: data 5 below canary, return 5 below its return address + DNEGATE headroom: data 6 below canary, return 7 below its return address + DABS headroom: data 6 below canary, return 6 below its return address + M+ headroom: data 5 below canary, return 4 below its return address + M- headroom: data 4 below canary, return 5 below its return address + M* headroom: data 5 below canary, return 4 below its return address + M/MOD headroom: data 4 below canary, return 3 below its return address + MOD headroom: data 4 below canary, return 2 below its return address + */MOD headroom: data 4 below canary, return 2 below its return address + */ headroom: data 4 below canary, return 2 below its return address + D0< headroom: data 7 below canary, return 7 below its return address + D2* headroom: data 6 below canary, return 7 below its return address + D2/ headroom: data 7 below canary, return 7 below its return address + 2ROT headroom: data 2 below canary, return 1 below its return address + D- headroom: data 4 below canary, return 4 below its return address + D0= headroom: data 6 below canary, return 7 below its return address + D= headroom: data 4 below canary, return 3 below its return address + < headroom: data 5 below canary, return 7 below its return address + = headroom: data 7 below canary, return 7 below its return address + D< headroom: data 3 below canary, return 3 below its return address + (D<) headroom: data 2 below canary, return 5 below its return address + 2SWAP headroom: data 4 below canary, return 4 below its return address + 2OVER headroom: data 2 below canary, return 3 below its return address + DMAX headroom: data 2 below canary, return 4 below its return address + DMIN headroom: data 2 below canary, return 4 below its return address + Q.> (2SWAP D<) headroom: data 3 below canary, return 2 below its return address + Q.* headroom: data 2 below canary, return 3 below its return address + (UQ/) headroom: data 3 below canary, return 4 below its return address + Q./ headroom: data 2 below canary, return 3 below its return address + Q.EXP headroom: data 2 below canary, return 2 below its return address + Q.SQRT headroom: data 2 below canary, return 2 below its return address + Q.LOG headroom: data 2 below canary, return 2 below its return address + (Q.REDUCE) headroom: data 4 below canary, return 5 below its return address + Q.SIN headroom: data 2 below canary, return 2 below its return address + Q.COS headroom: data 2 below canary, return 2 below its return address + LSHIFT headroom: data 6 below canary, return 5 below its return address + RSHIFT headroom: data 6 below canary, return 5 below its return address + C@ headroom: data 7 below canary, return 7 below its return address + C! headroom: data 6 below canary, return 7 below its return address + SM/REM headroom: data 4 below canary, return 3 below its return address + /MOD headroom: data 4 below canary, return 2 below its return address + / headroom: data 4 below canary, return 2 below its return address + * headroom: data 5 below canary, return 5 below its return address + 1024904 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_guard.c] +v4 guard tests: V4_CELL_BITS=64, data bound 1, return bound 1 + 60 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_heat.c] +v4 heat tests: V4_CELL_BITS=64 + 67 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_blocks.c] +v4 block request tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + 54 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_codegen.c] +v4 host code generator tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + code: 1728 words + 856 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_compile.c] +v4 host compiler tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + capsule: 4559 words + a line may have 270 values on the stack while the interpreter reads its next word + a word run from the interpreter has 29 return entries to itself + defining and running a word leaves 1017 data cells under it untouched + 1096 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_depth.c] +v4 mesh depth tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + a text that prints 1012..1024 values: works to 1020, then a stack error and nothing else; calls: works to 23 deep; 19 worked, 14 clean errors, 0 failures + SEND 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 26 deep; 20 worked, 13 clean errors, 0 failures + SEND with no way 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 27 deep; 21 worked, 12 clean errors, 0 failures + AWAIT answered 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 24 deep; 18 worked, 15 clean errors, 0 failures + AWAIT ended by a GONE 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 24 deep; 18 worked, 15 clean errors, 0 failures + passing on while its text waits for room 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 17 deep; 11 worked, 22 clean errors, 0 failures + AWAIT broken by a line from the console 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 24 deep; 18 worked, 15 clean errors, 0 failures + a refusal while its text waits for room 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 17 deep; 11 worked, 22 clean errors, 0 failures + GONE 1012..1024 values: works to 1019, then a stack error and nothing else; calls: works to 26 deep; 21 worked, 12 clean errors, 0 failures + a spent message refused while its text waits 1012..1024 values: works to 1018, then a stack error and nothing else; calls: works to 17 deep; 11 worked, 22 clean errors, 0 failures + 330 runs: 168 worked, 162 ended in a stack error and nothing else, 0 did neither + 397 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_dict.c] +v4 host dictionary tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + code: 1633 words + 300 entries in 2218 cells + FIND headroom: data 1020 below canary, return 28 below its return address + (') headroom: data 1020 below canary, return 28 below its return address + MAKE headroom: data 1020 below canary, return 28 below its return address + , headroom: data 1020 below canary, return 31 below its return address + ALLOT headroom: data 1020 below canary, return 30 below its return address + 708 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_input.c] +v4 host input tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + code: 1108 words + WORD headroom: data 1020 below canary, return 29 below its return address + NUMBER headroom: data 1016 below canary, return 25 below its return address + EXPECT headroom: data 1020 below canary, return 30 below its return address + ENCLOSE headroom: data 1017 below canary, return 28 below its return address + 6569 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_mesh.c] +v4 mesh tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + the flood: 268 sends tried: 2 refused at once, 121 let go on the way, 145 done; 1 of the two texts that set a node sending let go; (LOST) 122, (REFUSED) 124 + between texts the nucleus used at most 3 cells of the data stack and 4 entries of the return stack + a node removed or a wire cut: 26895 times in all + 244 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_node.c] +v4 host node tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + 45 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_quit.c] +v4 host prompt tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + capsule: 7381 words + from the prompt, words may call each other 30 deep + 1020 values may wait on the stack while the next line is typed and interpreted + defining and running a word from the prompt leaves 1017 data cells under it untouched + .S prints a stack of up to 1018 values; it needs 6 cells free + WORDS: 318 names, longest line 74 columns + 1360 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_rom_asm.c] +test_host_rom_asm: 472 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_rom_in.c] +test_host_rom_in: 26 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_rom_math.c] +v4 ROM math tests: V4_CELL_BITS=64 + the host ROM: 2383 words; the mesh ROM: 265 words + 156 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_rom_nucleus.c] + the ROM assembled the system: 63411003 instructions, 16539406 instruction words, 0.64 s (64-bit cells) +test_host_rom_nucleus: 6 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_rom_num.c] +test_host_rom_num: 31 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_rom_pack.c] +test_host_rom_pack: 7 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_rom_range.c] +test_host_rom_range: 19 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_rom_sym.c] +test_host_rom_sym: 81 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_host_unit.c] +v4 unit tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + after POST and COLD: 228 of the 8302 cells below HERE differ from before POST (the first at 18); dict_hash differs + the four outer nodes: dict_hash=0x74781d08f32ff33a + 126 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_iword.c] +v4 iword tests: V4_CELL_BITS=64 + 1763 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_loops.c] +v4 loop tests: V4_CELL_BITS=64 + code: 298 of 1024 words + loops run against C: 3008 (1696 more would run past 63 times and were left out) + DO .. LOOP headroom: data 5 below canary, return 6 below its return address + DO .. +LOOP headroom: data 5 below canary, return 6 below its return address + ?DO .. LOOP headroom: data 5 below canary, return 6 below its return address + DO .. LEAVE .. LOOP headroom: data 5 below canary, return 6 below its return address + nested DO, I and J headroom: data 5 below canary, return 4 below its return address + 3104 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_manage.c] +v4 manage tests: V4_CELL_BITS=64 + 78 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_node.c] +v4 node tests: V4_CELL_BITS=64, 1024 words + node: 1024 words + 52 head + 52 tail boundary (10.2% overhead) + 1078 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_numout.c] +v4 number-output tests: V4_CELL_BITS=64 + code: 382 of 1024 words + SPACES headroom: data 6 below canary, return 7 below its return address + . headroom: data 3 below canary, return 2 below its return address + .R headroom: data 3 below canary, return 2 below its return address + U. headroom: data 3 below canary, return 3 below its return address + U.R headroom: data 3 below canary, return 3 below its return address + D. headroom: data 3 below canary, return 2 below its return address + D.R headroom: data 3 below canary, return 2 below its return address + 25242 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_pictured.c] +v4 pictured-output tests: V4_CELL_BITS=64 + <# #S #> headroom: data 3 below canary, return 3 below its return address + signed picture headroom: data 3 below canary, return 2 below its return address + 4716 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_port.c] +v4 port tests: V4_CELL_BITS=64 + 25 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_printing.c] +v4 printing tests (? Q.PRINT DUMP BASE HLD): V4_CELL_BITS=64 + code: 506 of 1024 words + DECIMAL headroom: data 7 below canary, return 8 below its return address + ? headroom: data 3 below canary, return 2 below its return address + Q.PRINT headroom: data 3 below canary, return 3 below its return address + DUMP headroom: data 3 below canary, return 4 below its return address + 13439 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_stack.c] +v4 stack tests: V4_CELL_BITS=64, data depth 10, return depth 9 + exhaustive: 2046 sequences of length <= 10 + differential: 200000 ops + 730137 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_strings.c] +v4 string tests: V4_CELL_BITS=64 + code: 234 of 1024 words + COUNT headroom: data 6 below canary, return 6 below its return address + CMOVE headroom: data 4 below canary, return 5 below its return address + CMOVE> headroom: data 3 below canary, return 5 below its return address + MOVE headroom: data 5 below canary, return 6 below its return address + FILL headroom: data 4 below canary, return 5 below its return address + BLANK headroom: data 4 below canary, return 5 below its return address + -TRAILING headroom: data 5 below canary, return 6 below its return address + COMPARE headroom: data 3 below canary, return 5 below its return address + SEARCH headroom: data 2 below canary, return 5 below its return address + SCAN headroom: data 4 below canary, return 5 below its return address + SKIP headroom: data 4 below canary, return 5 below its return address + 16729 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_terminal.c] +v4 terminal-output tests: V4_CELL_BITS=64 + KEY headroom: data 8 below canary + EMIT headroom: data 7 below canary, return 8 below its return address + CR headroom: data 7 below canary, return 8 below its return address + TYPE headroom: data 5 below canary, return 6 below its return address + 1212 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_text.c] +v4 text assembler tests: V4_CELL_BITS=64 + 240 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_umul.c] +v4 umul tests: V4_CELL_BITS=64 + 2808 checks, 0 failures + [V4_CELL_BITS=64 run-64-test_wire.c] +v4 wire tests: V4_CELL_BITS=64, 1024 cells to a queue + 112 checks, 0 failures diff --git a/logs/20261118-capsule-place/test_host_blocks-after.log b/logs/20261118-capsule-place/test_host_blocks-after.log new file mode 100644 index 00000000..d06a2351 --- /dev/null +++ b/logs/20261118-capsule-place/test_host_blocks-after.log @@ -0,0 +1,5 @@ +mkrom: rom, 2383 words, 64-bit cells -> /home/user/LithosAnanke/v4/build/rom-64.c +mkrom: mesh_rom, 265 words, 64-bit cells -> /home/user/LithosAnanke/v4/build/mesh-rom-64.c + [V4_CELL_BITS=64 run-64-test_host_blocks.c] +v4 block request tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768 + 54 checks, 0 failures diff --git a/logs/20261118-capsule-place/test_host_blocks-before.log b/logs/20261118-capsule-place/test_host_blocks-before.log new file mode 100644 index 00000000..64460eba --- /dev/null +++ b/logs/20261118-capsule-place/test_host_blocks-before.log @@ -0,0 +1,6 @@ +/home/user/LithosAnanke/v4/tests/test_host_blocks.c: In function 'main': +/home/user/LithosAnanke/v4/tests/test_host_blocks.c:231:22: error: implicit declaration of function 'v4_blocks_place_capsule' [-Werror=implicit-function-declaration] + 231 | int placed = v4_blocks_place_capsule((const uint8_t *)cap, (const uint8_t *)cap + sizeof cap - 1u, &lowest); + | ^~~~~~~~~~~~~~~~~~~~~~~ +cc1: all warnings being treated as errors +make: *** [Makefile:357: /home/user/LithosAnanke/v4/build/64-test_host_blocks.c] Error 1 diff --git a/logs/20261118-capsule-place/test_mesh_boot-after.log b/logs/20261118-capsule-place/test_mesh_boot-after.log new file mode 100644 index 00000000..eb88c86e --- /dev/null +++ b/logs/20261118-capsule-place/test_mesh_boot-after.log @@ -0,0 +1,84 @@ +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:sys:log.f18 (4535 bytes, hash=0x544cd004233dff62) + [p] v4:sys:qmath.f18 (8607 bytes, hash=0xa93783c2c8f9b7db) + [p] v4:sys:map-32.f18 (3162 bytes, hash=0x5bdf8cbbebdd3c8f) + [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 (3201 bytes, hash=0x06cb44832df2b8fd) + [p] v4:sys:codegen.f18 (4999 bytes, hash=0x36d2ae84d2911b90) + [p] v4:sys:acl.f18 (4100 bytes, hash=0x76e7e746befa2733) + [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 (23099 bytes, hash=0xb46bf77ceee7245a) + [p] v4:sys:end.f18 (1452 bytes, hash=0x98fd33b1c431cfe7) + [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 (3923 bytes, hash=0xea5815290d56dff3) + [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 (22886 bytes, hash=0x04227af00df2126e) + [p] turtle.4th (3254 bytes, hash=0x4d470418ca543365) + [p] workload-8.4th (172 bytes, hash=0x56b7f2f0efa000df) + [p] workload-6.4th (1986 bytes, hash=0x06fc0ce1e369ef5a) +mkcapsule: 74 capsule(s) collected +mkcapsule: wrote /home/user/LithosAnanke/v4/build/capsule_generated.c +/home/user/LithosAnanke/v4/system/boot.c:359:13: warning: 'say_where' defined but not used [-Wunused-function] + 359 | static void say_where(const v4_boot *b, const char *name, uint32_t block, uint32_t line) + | ^~~~~~~~~ + [mesh boot, V4_CELL_BITS=64] +v4 mesh boot: V4_CELL_BITS=64 + PARITY:V4_POST tests=990 pass=990 fail=0 + 110 checks, 0 failures diff --git a/logs/20261118-capsule-place/test_mesh_boot-before.log b/logs/20261118-capsule-place/test_mesh_boot-before.log new file mode 100644 index 00000000..683192fe --- /dev/null +++ b/logs/20261118-capsule-place/test_mesh_boot-before.log @@ -0,0 +1,83 @@ +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 (2937 bytes, hash=0x747d89ca8d57e29c) + [p] v4:forth79.4th (1208 bytes, hash=0x4055641ee17d176b) + [p] v4:sys:log.f18 (4535 bytes, hash=0x544cd004233dff62) + [p] v4:sys:qmath.f18 (8607 bytes, hash=0xa93783c2c8f9b7db) + [p] v4:sys:map-32.f18 (3162 bytes, hash=0x5bdf8cbbebdd3c8f) + [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 (3201 bytes, hash=0x06cb44832df2b8fd) + [p] v4:sys:codegen.f18 (4999 bytes, hash=0x36d2ae84d2911b90) + [p] v4:sys:acl.f18 (4100 bytes, hash=0x76e7e746befa2733) + [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 (23099 bytes, hash=0xb46bf77ceee7245a) + [p] v4:sys:end.f18 (1452 bytes, hash=0x98fd33b1c431cfe7) + [p] v4:starshipos.4th (702 bytes, hash=0x5658ee1b771b5963) + [p] v4:hera.4th (1372 bytes, hash=0x85300ad4e6e8b86b) + [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 (3899 bytes, hash=0xccd1b28a101c78b2) + [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 (22886 bytes, hash=0x04227af00df2126e) + [p] turtle.4th (3254 bytes, hash=0x4d470418ca543365) + [p] workload-8.4th (172 bytes, hash=0x56b7f2f0efa000df) + [p] workload-6.4th (1986 bytes, hash=0x06fc0ce1e369ef5a) +mkcapsule: 74 capsule(s) collected +mkcapsule: wrote /home/user/LithosAnanke/v4/build/capsule_generated.c + [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:149: forth79.4th's lowest block is in RAM block 1900: "" (1) + 110 checks, 1 failures +make: *** [Makefile:380: mesh-boot] Error 1 diff --git a/v4/Makefile b/v4/Makefile index 70633749..5aa34081 100644 --- a/v4/Makefile +++ b/v4/Makefile @@ -89,7 +89,7 @@ $(BINDIR)/san-v3blocks.o: $(V3_BLOCK_SRCS) $(wildcard $(ROOT_DIR)/v3/include/*.h # flags: its warnings, its sanitizers, its cell width and node size. # So are POST's runner and its cases (system/post.c, system/post_cases.c; # docs/v4.0.0/NUCLEUS.md 6.3), which are the kernel's too. -blocks_src = $(if $(call uses_blocks,$(1)),$(BLOCKS_SRC) $(HERE)/system/post.c $(HERE)/system/post_cases.c) +blocks_src = $(if $(call uses_blocks,$(1)),$(BLOCKS_SRC) $(HERE)/system/post.c $(HERE)/system/post_cases.c $(ROOT)/kernel/src/capsule/capsule_blocks.c) blocks_objs = $(if $(call uses_blocks,$(1)),$(BINDIR)/v3blocks.o) # the fault dump of a node that stopped (system/dump.c; plan 2026-11-17-emergency-diagnostic-build): the # kernel's, linked with its own test diff --git a/v4/include/v4/blocks.h b/v4/include/v4/blocks.h index 5f309ccc..c88b5846 100644 --- a/v4/include/v4/blocks.h +++ b/v4/include/v4/blocks.h @@ -85,4 +85,15 @@ void v4_blocks_init(v4_blocks *w, v4_cell window); * its port, when this is called. */ int v4_blocks_serve(v4_blocks *w, v4_node *n, v4_cell request); +/* A CAPSULE OF FORTH BLOCKS, PLACED (docs/v4.0.0/plans/2026-11-18-capsule-blocks.md). Each + * `Block n` of the capsule text from p to end is copied into the kernel's RAM block n - R, where + * R is the RAM block count (BLK_RAM_USER_BLOCKS, v3/include/blk_layout.h), as 16 lines of 64 + * characters padded with spaces -- in whatever order the file has them; a later block of the same + * number overwrites an earlier one. Where a block lands is the capsule's author's affair: nothing + * checks it but that n is at least R. The lowest block placed is in *lowest, which the loader + * interprets (`LOAD`); what runs after it is the capsule's own (`-->`, `LOAD`, `THRU`). Returns + * how many blocks were placed, or -1: a block below R, a line over 64 characters or more than 16 + * lines, or a block storage would not give, in which case some may have been placed. */ +int v4_blocks_place_capsule(const uint8_t *p, const uint8_t *end, uint32_t *lowest); + #endif /* V4_BLOCKS_H */ diff --git a/v4/system/blocks.c b/v4/system/blocks.c index 205b1be3..f2068dda 100644 --- a/v4/system/blocks.c +++ b/v4/system/blocks.c @@ -7,6 +7,7 @@ * through v3's own calls. */ #include "v4/blocks.h" +#include "starkernel/capsule_blocks.h" #include "block_subsystem.h" static void let_go(v4_blocks *w) @@ -162,3 +163,42 @@ int v4_blocks_serve(v4_blocks *w, v4_node *n, v4_cell request) v4_dstack_push(&n->ds, (v4_cell)status); return 1; } + +/* ---- a capsule of FORTH blocks, placed in RAM (blocks.h) ------------------------------ */ + +int v4_blocks_place_capsule(const uint8_t *p, const uint8_t *end, uint32_t *lowest) +{ + uint8_t *b = 0; + uint32_t dest = 0; + unsigned line = 0; + int placed = 0; + + while (p && p < end) { + const uint8_t *after, *nl; + uint32_t num; + unsigned len, i; + if (capsule_block_header(p, end, &num, &after)) { + if (b && blk_update(dest) != BLK_OK) return -1; + if (num < BLK_RAM_USER_BLOCKS) return -1; + dest = num - BLK_RAM_USER_BLOCKS; + b = blk_get_buffer(dest, 1); + if (!b) return -1; + for (i = 0; i < V4_BLOCK_CELLS * 4u; i++) b[i] = ' '; + if (placed == 0 || dest < *lowest) *lowest = dest; + placed++; line = 0; p = after; + continue; + } + for (nl = p; nl < end && *nl != '\n'; nl++) { } + len = (unsigned)(nl - p); + if (len && p[len - 1] == '\r') len--; + if (b) { + if (len > 64u || line >= 16u) return -1; + for (i = 0; i < len; i++) b[64u * line + i] = p[i]; + line++; + } + p = nl < end ? nl + 1 : end; + } + if (b && blk_update(dest) != BLK_OK) return -1; + return placed; +} + diff --git a/v4/system/boot.c b/v4/system/boot.c index 268f35a2..8cd684df 100644 --- a/v4/system/boot.c +++ b/v4/system/boot.c @@ -36,7 +36,6 @@ static const char *const boot_capsules[] = { #define V4_POST_AT_BOOT 1 #endif -#define LINE_MAX 1025u /* a line is at most 1024 characters, a block */ #define STEP_LIMIT 4000000000ULL /* instruction words one line may take */ /* ---- printing ------------------------------------------------------------ */ @@ -356,55 +355,40 @@ static const uint8_t *open_capsule(const v4_boot *b, const char *name, const Cap } -static void say_where(const v4_boot *b, const char *name, uint32_t block, uint32_t line) -{ - say(b, "\nV4: capsule "); say(b, name); - say(b, " block "); say_dec(b, block); - say(b, " line "); say_dec(b, line); -} static int load_capsule(const v4_boot *b, const char *name) { const CapsuleDesc *cap; - const uint8_t *p, *end; - uint32_t block = 0, line = 0; - int in_block = 0; + const uint8_t *p; + uint32_t lowest = 0, v; + int placed; p = open_capsule(b, name, &cap); if (!p) return 0; - end = p + cap->length; - while (p < end) { - const uint8_t *after, *nl; - uint32_t num; - unsigned len, i; - char text[LINE_MAX]; - - if (capsule_block_header(p, end, &num, &after)) { - block = num; line = 0; in_block = 1; p = after; - continue; + /* Its blocks are placed in RAM, block n at n - R, and the lowest is loaded: what runs after it is + * the capsule's own (docs/v4.0.0/plans/2026-11-18-capsule-blocks.md). */ + placed = v4_blocks_place_capsule(p, p + cap->length, &lowest); + if (placed < 0) { say(b, "V4: "); say(b, name); say(b, " could not be placed in RAM\n"); return 0; } + if (placed > 0) { + char text[24], d[12]; + unsigned len = 0, nd = 0; + const char *s; + int how; + v = lowest; + do { d[nd++] = (char)('0' + v % 10u); v /= 10u; } while (v); + while (nd) text[len++] = d[--nd]; + for (s = " LOAD"; *s; s++) text[len++] = *s; + how = v4_boot_line(b, text, len); + if (how != V4_TEXT_COMPLETED) { + say(b, "V4: "); say(b, name); + say(b, how == V4_TEXT_ERROR ? " ended in an error: " + : how == V4_TEXT_QUIT ? " ended with QUIT: " + : how == V4_BOOT_LINE_NO_INPUT ? " reads the keyboard: " + : " stopped the node: "); + b->out(text, len); say(b, "\n"); + return 0; } - for (nl = p; nl < end && *nl != '\n'; nl++) { } - len = (unsigned)(nl - p); - if (len && p[len - 1] == '\r') len--; - if (in_block) { - line++; - if (len >= LINE_MAX) { say_where(b, name, block, line); say(b, " is too long\n"); return 0; } - if (len) { - for (i = 0; i < len; i++) text[i] = (char)p[i]; - int how = v4_boot_line(b, text, len); - if (how != V4_TEXT_COMPLETED) { - say_where(b, name, block, line); - say(b, how == V4_TEXT_ERROR ? " ended in an error: " - : how == V4_TEXT_QUIT ? " ended with QUIT: " - : how == V4_BOOT_LINE_NO_INPUT ? " reads the keyboard: " - : " stopped the node: "); - b->out(text, len); say(b, "\n"); - return 0; - } - } - } - p = (nl < end) ? nl + 1 : end; } say(b, "PARITY:V4_CAPSULE name="); say(b, name); diff --git a/v4/system/mesh.c b/v4/system/mesh.c index 12bd4586..5d22fd1d 100644 --- a/v4/system/mesh.c +++ b/v4/system/mesh.c @@ -65,6 +65,25 @@ static void put_cell(void *self, v4_cell w) typedef struct { const uint8_t *p, *end; int in_block; } reader; static reader reads[MAX_PLACES]; +/* A capsule of FORTH blocks is placed in RAM, block n at n - R, and what is told to the node is the one + * line that loads its lowest block (docs/v4.0.0/plans/2026-11-18-capsule-blocks.md): the rest is the + * capsule's own (`-->`, `LOAD`, `THRU`). The line goes in text; its length, 0 when the capsule had no + * block, or -1 when it could not be placed. */ +static int placed_line(const uint8_t *p, uint32_t length, char *text) +{ + uint32_t lowest = 0, v; + char d[12]; + int placed = v4_blocks_place_capsule(p, p + length, &lowest), at = 0, nd = 0; + const char *s; + if (placed <= 0) return placed; + v = lowest; + do { d[nd++] = (char)('0' + v % 10u); v /= 10u; } while (v); + while (nd) text[at++] = d[--nd]; + for (s = " LOAD"; *s; s++) text[at++] = *s; + return at; +} +static char load_text[MAX_PLACES][24]; /* each place's one line, while its reader gives it */ + static int open_cb(void *self, unsigned asker, const char *name, unsigned len) { char cname[V4_MANAGE_LINE + 1u]; @@ -84,7 +103,13 @@ static int open_cb(void *self, unsigned asker, const char *name, unsigned len) p = v4_boot_capsule(&bt, cname, &length, &id, &hash); if (!p) return 0; the->reading_nucleus[asker] = 0; - reads[asker].p = p; reads[asker].end = p + length; reads[asker].in_block = 0; + { + int len = placed_line(p, length, load_text[asker]); + if (len < 0) return 0; + reads[asker].p = (const uint8_t *)load_text[asker]; + reads[asker].end = reads[asker].p + len; + reads[asker].in_block = 1; /* the one line is the reader's: no header before it */ + } return 1; } static int cell_cb(void *self, unsigned asker, v4_cell *w) @@ -1225,7 +1250,6 @@ static void post_say(void *self, const char *text, unsigned len) { ((v4_mesh *)s /* Every line of a capsule of FORTH blocks, told to Hera; then its parity line, as v4_boot_run prints it. */ static int load(v4_mesh *ms, const char *name) { - static reader r; char text[V4_MSG_MAX_CHARS + 1u]; uint32_t length; uint64_t id, hash; @@ -1233,8 +1257,9 @@ static int load(v4_mesh *ms, const char *name) int n; v4_fabric_node *h = v4_fabric_node_at(&ms->f, ms->hera_place); if (!p) return 0; - r.p = p; r.end = p + length; r.in_block = 0; - while ((n = next_line(&r, text, V4_MSG_MAX_CHARS)) >= 0) { + n = placed_line(p, length, text); + if (n < 0) { say("V4: "); say(name); say(" could not be placed in RAM\n"); return 0; } + if (n > 0) { int how = v4_mesh_tell(ms, V4_MESH_HERA, text, (unsigned)n); if (how != V4_TEXT_COMPLETED) { say("V4: "); say(name); say(" did not complete: "); ms->out(text, (unsigned)n); say("\n"); diff --git a/v4/tests/test_host_blocks.c b/v4/tests/test_host_blocks.c index b941067b..f2a734f0 100644 --- a/v4/tests/test_host_blocks.c +++ b/v4/tests/test_host_blocks.c @@ -217,6 +217,36 @@ int main(void) CHECK(!v4_blocks_serve(&w, &n, 5) && !v4_blocks_serve(&w, &n, 0) && !v4_blocks_serve(&w, &n, -6) && v4_dstack_pop(&n.ds) == 22 && v4_dstack_pop(&n.ds) == 11, "any other request is not served here, and the stack is as it was"); + /* ---- a capsule placed in RAM (docs/v4.0.0/plans/2026-11-18-capsule-blocks.md) ---- + * Each `Block n` goes to RAM block n - R (R the RAM block count, blk_layout.h), as 16 + * lines of 64 characters padded with spaces, whatever its order in the file; a later + * block of the same number overwrites; the lowest placed is given back. */ + { + static const char cap[] = + "Block 2050\n( two )\n: TWO 2 ;\n" + "Block 2049\n( one, written first in RAM order )\n" + "Block 2051\n( first )\n" + "Block 2051\n( second, overwrites )\n"; + uint32_t lowest = 0; + int placed = v4_blocks_place_capsule((const uint8_t *)cap, (const uint8_t *)cap + sizeof cap - 1u, &lowest); + const uint8_t *b1 = blk_get_buffer(1, 0), *b2 = blk_get_buffer(2, 0), *b3 = blk_get_buffer(3, 0); + unsigned k, spaces = 1; + CHECK(placed == 4 && lowest == 1, "four blocks placed, the lowest at RAM block 1 (%d, %u)", placed, (unsigned)lowest); + CHECK(b2 && memcmp(b2, "( two )", 7) == 0 && memcmp(b2 + 64, ": TWO 2 ;", 9) == 0, + "block 2050 is at RAM block 2: its lines at 0 and 64"); + for (k = 7; b2 && k < 64; k++) if (b2[k] != ' ') spaces = 0; + for (k = 128 + 0; b2 && k < 1024; k++) if (b2[k] != ' ') spaces = 0; + CHECK(spaces, " each line padded with spaces to 64, and the rest of the block spaces"); + CHECK(b1 && memcmp(b1, "( one, written first in RAM order )", 35) == 0, "block 2049 is at RAM block 1, whatever the file's order"); + CHECK(b3 && memcmp(b3, "( second, overwrites )", 22) == 0, "a block of the same number overwrites the first"); + } + { + static const char low[] = "Block 2047\n( in the RAM itself )\n"; + uint32_t lowest = 99; + CHECK(v4_blocks_place_capsule((const uint8_t *)low, (const uint8_t *)low + sizeof low - 1u, &lowest) == -1, + "a block below the RAM count is refused"); + } + printf(" %d checks, %d failures\n", checks, failures); return failures ? 1 : 0; } diff --git a/v4/tests/test_host_unit.c b/v4/tests/test_host_unit.c index 6d44b71c..534b1f1d 100644 --- a/v4/tests/test_host_unit.c +++ b/v4/tests/test_host_unit.c @@ -100,6 +100,26 @@ static int read_file(reader *r, const char *name) r->at = 0; r->in_block = 0; r->is_f18 = 0; r->cells_at = 0; return 1; } +/* A capsule of FORTH blocks, as the kernel takes it in (v4/system/mesh.c; docs/v4.0.0/plans/ + * 2026-11-18-capsule-blocks.md): its blocks placed in RAM, block n at n - R, and the reader left + * with the one line that loads the lowest. 0 if it could not be read or placed. */ +static int place_file(reader *r, const char *name) +{ + uint32_t lowest = 0; + int placed; + char one[40]; + if (!read_file(r, name)) return 0; + placed = v4_blocks_place_capsule((const uint8_t *)r->text, (const uint8_t *)r->text + r->len, &lowest); + if (placed < 0) return 0; + snprintf(one, sizeof one, placed ? "Block 1\n%u LOAD\n" : "\n", (unsigned)lowest); + free(r->text); + r->len = (long)strlen(one); + r->text = (char *)malloc((size_t)r->len + 1); + if (!r->text) return 0; + memcpy(r->text, one, (size_t)r->len + 1); + r->at = 0; r->in_block = 0; + return 1; +} /* the next line of a block that has anything on it: its length, or -1 */ static int next_line(reader *r, char *text) { @@ -175,8 +195,8 @@ static int host_open(void *self, unsigned asker, const char *name, unsigned len) reader *r = &reads[asker]; (void)self; if (len == 17 && memcmp(name, "v4:nucleus-64.f18", 17) == 0) { r->is_f18 = 1; r->cells_at = 0; return 1; } - if (len == 14 && memcmp(name, "v4:forth79.4th", 14) == 0) return read_file(r, "forth79.4th"); - if (len == 13 && memcmp(name, "v4:centre.4th", 13) == 0) return read_file(r, "centre.4th"); + if (len == 14 && memcmp(name, "v4:forth79.4th", 14) == 0) return place_file(r, "forth79.4th"); + if (len == 13 && memcmp(name, "v4:centre.4th", 13) == 0) return place_file(r, "centre.4th"); return 0; } static int host_cell(void *self, unsigned asker, v4_cell *w) @@ -331,15 +351,15 @@ static void post_say(void *self, const char *text, unsigned len) if (post_said_len + len < sizeof post_said) { memcpy(post_said + post_said_len, text, len); post_said_len += len; post_said[post_said_len] = 0; } } -/* Every line of a capsule of FORTH blocks, told to a node from the console: - * how many lines did not complete. */ +/* A capsule of FORTH blocks, placed in RAM and its lowest block loaded, told to a node from the + * console: how many lines did not complete. */ static unsigned load(v4_cell node, const char *file) { static reader r; char line[V4_MANAGE_LINE + 1]; unsigned bad = 0; int n; - if (!read_file(&r, file)) return 1; + if (!place_file(&r, file)) return 1; while ((n = next_line(&r, line)) >= 0) { line[n] = 0; (void)tell(node, line); diff --git a/v4/tests/test_mesh_boot.c b/v4/tests/test_mesh_boot.c index e487f37c..99561448 100644 --- a/v4/tests/test_mesh_boot.c +++ b/v4/tests/test_mesh_boot.c @@ -143,6 +143,10 @@ int main(void) /* ---- lines, as messages ---- */ r = line(V4_MESH_HERA, "3 4 + .", &how); CHECK(how == V4_TEXT_COMPLETED && strcmp(r, "7 ") == 0, "a line to Hera: \"%s\" (%d)", r, how); + /* the capsules were placed in RAM, block n at n - R, and loaded from there (capsule blocks plan, step 4): + * forth79.4th's lowest block, 3948, is RAM block 1900 */ + r = line(V4_MESH_HERA, "1900 BLOCK 16 TYPE", &how); + CHECK(how == V4_TEXT_COMPLETED && strncmp(r, "( forth79.4th --", 16) == 0, "forth79.4th's lowest block is in RAM block 1900: \"%.20s\" (%d)", r, how); /* starshipos.4th, a system capsule loaded before POST (MACHINE.md 3, step 3; ruled 2026-11-18) */ r = line(V4_MESH_HERA, "STARSHIPOS S\" ok\" DOE", &how); /* COLD leaves FORTH alone in the search; init.4th will set it */ CHECK(how == V4_TEXT_COMPLETED && strcmp(r, "ok") == 0, "starshipos.4th is loaded: in STARSHIPOS, DOE types its name: \"%s\" (%d)", r, how); diff --git a/v4/tools/mkdictionary.py b/v4/tools/mkdictionary.py index 782db243..d49fa9ba 100644 --- a/v4/tools/mkdictionary.py +++ b/v4/tools/mkdictionary.py @@ -44,7 +44,9 @@ def live_words(): feed = [] for path in kernel_capsules(): for l in open(os.path.join(ROOT, path)): - if not re.match(r"^Block \d+\s*$", l): + # every block, in order, typed at the prompt: a block's header is not FORTH, and its `-->` + # (which chains to the next block when the kernel LOADs it) is an error at the terminal + if not re.match(r"^Block \d+\s*$", l) and l.strip() != "-->": feed.append(l.rstrip("\n")) feed.append('." [[WORDS]]" CR WORDS') out = subprocess.run([HOSTED], input="\n".join(feed) + "\n", capture_output=True, text=True, timeout=120).stdout