feat(kernel): Hera in the kernel's fabric and registry; centre.4th and hera.4th on her

#189, ENGINE step 4 Phase 1, Task 5a. Captain Bob, 2026-11-13: "Full
births now"; "Hera as now, in a fabric".

- sk_v4.c: the kernel's fabric (v4/fabric.h), Hera's node at its one
  place, entered in its registry (v4/manage.h) as node 10. The registry's
  answers are real: a birth is "no room" -- the fabric has one place
  until 5b; CAPSULE-OPEN/-LINE read the kernel's capsule directory,
  checked as the boot checks (no capsule of F18 code is there until 5b);
  a born node's parity line. She is not told her number: the boot's
  console addresses node 0 (told 10, the boot stopped after POST -- kept,
  labelled, logs/20261113-132712).
- boot.h/boot.c: v4_boot's `request` hook (the registry's requests) and
  `capsules` (the kernel's own, loaded before the seal, so POST runs on
  them). hosted.c sets neither: the hosted product's boot is as it was.
- kernel/Makefile: manage.c in the kernel's v4 engine.
- qemu_session.py: a v4 acceptance boot asks NODE-ME . and wants 0.
- v4-dictionary.tsv: the 55 words of centre.4th and hera.4th, written
  from their source and manage.h; mkdictionary.py loads the kernel's
  capsules into the hosted system before WORDS, so the live list is the
  kernel's -- 375 words.
- .claude/memory/rules.md, rule 6: every boot command under timeout 570.

Seen to fail first (logs/20261113-132410): NODE-ME was an unknown word.
After: amd64 NODE-ME . gives 0 ok; POST 539/539; word_count 375. v4
suite: test, test-32 99 programs 0 failures; v4-checks 79 under the
sanitizers 0 failures, the hosted builds alike.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
Claude
2026-11-13 14:24:27 +00:00
parent c32cd04388
commit f10d2bc835
21 changed files with 348 additions and 24 deletions
+1
View File
@@ -0,0 +1 @@
# #189 Phase 1 Task 5a: the registry check (qemu_session.py registry()) before Hera is in the kernel's fabric: NODE-ME is an unknown word.
Binary file not shown.
@@ -0,0 +1,53 @@
LOG: logs/20261113-132410/amd64/qemu-amd64-20261113-132410.log
PASS: POST: PASSED
PASS: Boot disk: not a StarshipOS stick (an ISO or ESP boot)
PASS: Zuse: genesis minted onto attached thumbdrive (a fresh data stick)
PASS: the Stadium: its cells allocated
PASS: the Stadium: conservation CONSERVED
PASS: the heartbeat: ticking
PASS: [zuse@Hera] ok>
PASS: 7 ok, and a prompt
FAIL: NODE-ME: Hera is at place 0 of the kernel's fabric
--- serial log, the log's last 40 lines (logs/20261113-132410/amd64/qemu-amd64-20261113-132410.log):
142 | PARITY:V4_F18 name=v4:sys:log.f18 capsule_hash=0xfc6540e6b824a52b
143 | V4: capsule v4:sys:acl.f18 signature: missing (unsigned)
144 | PARITY:V4_F18 name=v4:sys:acl.f18 capsule_hash=0x6845aa048db7eb22
145 | V4: capsule v4:sys:end.f18 signature: missing (unsigned)
146 | PARITY:V4_F18 name=v4:sys:end.f18 capsule_hash=0x5ef01312c07b79cc
147 | PARITY:V4_ROM words=2372 rom_hash=0x87b23d3ae2643c8d instructions=59537530
148 | V4: capsule v4:forth79.4th signature: missing (unsigned)
149 | PARITY:V4_CAPSULE name=v4:forth79.4th capsule_id=0x4055641ee17d176b capsule_hash=0x4055641ee17d176b dict_hash=0x7d5965f7983485b9
150 | PARITY:V4_POST tests=539 pass=539 fail=0
151 | PARITY:V4_SYSTEM word_count=320 dict_hash=0x47570d4ced6ce255
152 | PARITY:OK
153 | POST: PASSED
154 | PCI: init...
155 | PCI: ECAM mapped (amd64)
156 | virtio-rng: no device on PCI bus 0
157 | rng: backend = rdrand
158 | entropy: ready
159 | virtio-input: no device on PCI bus 0
160 | Starting heartbeat...
161 | APIC Timer: started (LVT=0x00020020 ICR=10052969)
162 |
163 | I/O APIC: keyboard IRQ1 unmasked
164 | Heartbeat running.
165 | Stadium opcodes: 30 resident, hottest opcode 8
166 | Stadium words: promotions=0 evictions=0
167 | Stadium conservation: resident_sum=43673 reservoir=21863 sum=65536 (Q48_ONE=65536)
168 | Stadium conservation: CONSERVED
169 | Stadium quota grant self-test: OK
170 | Hera reservoir=21863
171 | test-vm reservoir=65536
172 | Heartbeat: 4 ticks, trust=0x00010000, variance=0x00000000
173 | blkio_usb: MSC device ready
174 | Artemis: the stick's partition attached
175 | \x1b[38;2;255;165;0m[Hera]\x1b[39m Zuse: genesis minted onto attached thumbdrive
176 | \x1b[38;2;255;165;0m[zuse@Hera]\x1b[39m \x1b[38;2;85;255;255mok> \x1b[39m3 4 + .
177 | \x1b[38;2;255;165;0m[zuse@Hera]\x1b[39m 7 ok
178 | \x1b[38;2;255;165;0m[zuse@Hera]\x1b[39m \x1b[38;2;85;255;255mok> \x1b[39mNODE-ME .
179 | \x1b[38;2;255;165;0m[zuse@Hera]\x1b[39m UNKNOWN WORD: 'NODE-ME'
180 | \x1b[38;2;255;165;0m[zuse@Hera]\x1b[39m ERROR
181 | \x1b[38;2;255;165;0m[zuse@Hera]\x1b[39m \x1b[38;2;85;255;255mok> \x1b[39m
---
RESULT: FAIL
+5
View File
@@ -0,0 +1,5 @@
# Stopped, not a result: #189 Task 5a's first boot, with Hera told '10 (ME) !' after the boot.
# The boot passed POST, then stopped at 'StarForth v4: the node did not let go of POST's blocks':
# the console addresses node 0, and told she was 10 she let its next line go. The boot outlasted
# the tool's 10 minutes and was moved to the background; QEMU was stopped with SIGTERM at once.
# The (ME) line was taken out; every boot command is now under 'timeout 570' (memory rule 6).
Binary file not shown.
Binary file not shown.
+5
View File
@@ -0,0 +1,5 @@
# #189 Phase 1 Task 5a
../../20261113-132410/amd64: the registry check before -- NODE-ME is an unknown word.
../amd64: the amd64 boot after -- NODE-ME . gives 0 ok; POST 539/539; word_count 375.
test-test32.log: make -C v4 test test-32: 99 programs, 3724180 checks, 0 failures.
../../20261113-135049/v4-checks: scripts/nightly.sh v4-checks: 79 programs under the sanitizers, 0 failures; the hosted builds alike.
Binary file not shown.