v4 init.4th, steps 1 and 2: the ACL policy loaded after POST, then the search order
Captain Bob ruled "ACL at boot", loaded "From init.4th", the include "Compose[d] in FORTH". - capsules/v4/init.4th, at block 3980: S" v4:ACL.4th" CAPSULE-INCLUDE, then STARSHIPOS. - capsules/v4/ACL.4th is the policy, git mv'ed from v4/capsule/ACL.fth and reflowed into chained 64x16 blocks, its text unchanged. - CAPSULE-INCLUDE in centre.4th places a capsule and LOADs its lowest block. It is composed from CAPSULE-OPEN and CAPSULE-LINE, with no new C word. - The mesh loads v4:init.4th after POST and COLD, its one fixed step there. Test first in test_mesh_boot: the parity line, DOE without naming STARSHIPOS, and ACL-BOOT pinned. The before-run failed. After: 113 checks pass and POST is 990/990. All 52 tests, test-32 and ASan/UBSan pass. The dictionary has 405 words. One amd64 session passes 18/18 with "ACL: active". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
@@ -1365,6 +1365,10 @@ static int boot(v4_mesh *ms)
|
||||
say("PARITY:V4_SYSTEM word_count="); v4_boot_say_dec(&bt, v4_boot_word_count(&h->n, ms->im));
|
||||
say(" dict_hash="); v4_boot_say_hex(&bt, v4_image_dict_hash(&h->n, ms->im));
|
||||
say("\n");
|
||||
|
||||
/* the system's init (MACHINE.md 3, step 5; docs/v4.0.0/plans/2026-11-18-v4-init.md): the loader's one fixed
|
||||
* step after POST. Everything from here is init.4th's -- security on, the search order */
|
||||
if (!load(ms, "v4:init.4th")) { say("V4: init.4th did not complete\n"); return 0; }
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user