Files
LithosAnanke/capsules/v4/init.4th
T
Claude 9e737b6252 v4 init.4th pins the words that create or end nodes
Captain Bob ruled: "Also pin the kernel words". After the policy loads,
init.4th pins 11 words: BIRTH, BIRTH-AS, UNIT, KILL, UNIT-KILL, PAUSE,
RESUME, NODE-BORN, NODE-KILL, NODE-SLEEP and NODE-WAKE. Their fields
cannot be changed, so no policy can deny them. v4 has no CAPSULE-BIRTH.
The wiring words, NODE-WIRE and NODE-UNWIRE, are not pinned; they
neither create nor end a node.

Test first in test_mesh_boot: each of the 11 is pinned. The before-run
had all 11 unpinned. After: 114 checks pass, POST 990/990.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-19 12:00:23 +00:00

17 lines
756 B
Forth

Block 3980
( init.4th -- the system's init, run after POST and COLD. )
( MACHINE.md 1.1 and 3, step 5: everything after POST is )
( init.4th's. docs/v4.0.0/plans/2026-11-18-v4-init.md. )
( Step 2, security on: the ACL policy, ACL.4th. )
S" v4:ACL.4th" CAPSULE-INCLUDE
( The words that create or end nodes, pinned: their fields )
( cannot be changed, so no policy can deny them. )
' BIRTH ACL-PIN ' BIRTH-AS ACL-PIN ' UNIT ACL-PIN
' KILL ACL-PIN ' UNIT-KILL ACL-PIN
' PAUSE ACL-PIN ' RESUME ACL-PIN
' NODE-BORN ACL-PIN ' NODE-KILL ACL-PIN
' NODE-SLEEP ACL-PIN ' NODE-WAKE ACL-PIN
( Step 1, the search order: STARSHIPOS, then FORTH. Last, )
( since ACL.4th ends in FORTH DEFINITIONS. )
STARSHIPOS