#189, ENGINE step 4, Phase 1 (plan 2026-11-13-engine-step4-phase1), Tasks 1-4. Captain Bob, 2026-11-13: Q1 "A new node key", Q2 "Per heartbeat tick", Q3 "All of v3's", Q4 "In Phase 1" / "Full births now", who runs next "Hera by compudynamics now" (Task 5, to come). - stadium.c/.h: stadium_node_key(node) ("NODE" | number), stadium_boot_init_for(first), stadium_birth_node(key, name); stadium_boot_init() and stadium_birth_hera() are them for Hera's key, so v3's path is as it was (only an impossible panic's words changed). - kernel_main.c: the system is chosen and said first, then the Stadium, sessions, switch-signal and kernel-Hermes tables for both systems in v3's order; v4: Hera, node 10, patron zero under her node key, the word, block and opcode layers. The quota self-test and the heartbeat's line are functions now, called by both systems. - sk_v4.c/.h: sk_v4_run() goes -- sk_v4_boot() returns, the kernel's checks after POST (opcodes, words, conservation, quota, heartbeat), then sk_v4_prompt(). sk_v4_charge_opcodes() at the heartbeat's service points (the key wait, after each line) and once after POST. - stadium_ops.c/.h: a node's 32 opcodes as Stadium patrons (HEAT-OP's feed, "Both"): retirements charged as the word layer's dispatches, a quantum each, the reservoir's floor kept, shared by retirements when short; cooling per tick as words. ~0.5 us a charge on the host: kept. - qemu_session.py: a v4 acceptance boot fails without "Stadium: N cells", "Stadium conservation: CONSERVED" and the heartbeat's ticks (#189). Tests first (logs/20261113-122142): the physics check failed on the v4 boot; test_stadium_node, test_stadium_ops (and its share case, after a real boot showed ";" taking all the heat) failed before. Now: kernel host tests all pass; amd64 v4 boot passes, POST 539/539, dict_hash unchanged, "Stadium opcodes: 30 resident, hottest opcode 8", CONSERVED; a system=v3 boot prints its Stadium lines as on 2026-11-06. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
13 lines
2.0 KiBLFS
Plaintext
13 lines
2.0 KiBLFS
Plaintext
cc -std=c99 -Wall -Wextra -Werror -O2 -g -I/home/user/LithosAnanke/kernel/tests -I/home/user/LithosAnanke/kernel/include -I/home/user/LithosAnanke/kernel/include/starkernel -I/home/user/LithosAnanke/v3/include -D__STARKERNEL__ /home/user/LithosAnanke/kernel/tests/test_stadium_node.c /home/user/LithosAnanke/kernel/tests/fakes.c /home/user/LithosAnanke/kernel/src/vm/stadium.c /home/user/LithosAnanke/kernel/src/vm/session.c /home/user/LithosAnanke/kernel/src/capsule/vm_uuid.c -o /home/user/LithosAnanke/build/kernel-tests/test_stadium_node
|
|
/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:28:5: error: implicit declaration of function 'memset' [-Werror=implicit-function-declaration]
|
|
/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:28:5: error: incompatible implicit declaration of built-in function 'memset' [-Werror=builtin-declaration-mismatch]
|
|
/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:38:18: error: implicit declaration of function 'stadium_node_key' [-Werror=implicit-function-declaration]
|
|
/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:38:18: error: invalid initializer
|
|
/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:38:48: error: invalid initializer
|
|
/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:43:30: error: incompatible type for argument 2 of 'vm_uuid_equal'
|
|
16 | #define CHECK(c, ...) do { harness_checks++; if (!(c)) { harness_failures++; \
|
|
/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:45:11: error: implicit declaration of function 'stadium_boot_init_for'; did you mean 'stadium_boot_init'? [-Werror=implicit-function-declaration]
|
|
16 | #define CHECK(c, ...) do { harness_checks++; if (!(c)) { harness_failures++; \
|
|
/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:51:11: error: implicit declaration of function 'stadium_birth_node'; did you mean 'stadium_birth_hera'? [-Werror=implicit-function-declaration]
|
|
16 | #define CHECK(c, ...) do { harness_checks++; if (!(c)) { harness_failures++; \
|