From 7cfcbf2b6824400fb88c67b36635159a2f392a72 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Nov 2026 03:47:49 +0000 Subject: [PATCH] plans: task 4 ruling 2a -- the placer splits the code at each export, entry before code Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm --- docs/v4.0.0/plans/2026-11-19-f18-artifact-build.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/v4.0.0/plans/2026-11-19-f18-artifact-build.md b/docs/v4.0.0/plans/2026-11-19-f18-artifact-build.md index 421850df..dc3cc5a5 100644 --- a/docs/v4.0.0/plans/2026-11-19-f18-artifact-build.md +++ b/docs/v4.0.0/plans/2026-11-19-f18-artifact-build.md @@ -329,6 +329,14 @@ and placing them on a node are the ADR's steps 4 and 6 (ยง3). the flags with the ACL defaults, the name, the link, the code. It tells the kernel, as `(WORD-DEFINED)` does. The test runs the words by name at the console. Asked: entries now, or calls by address and entries left to step 6. + **2a, ruled 2026-11-20: "Split at each export".** An entry is laid right before its code (`dict.f18`: + the four cells at xt-4 to xt-1, the code at xt), but the artifact's code is one block with no room + between its words (ruling 1). So the placer lays each export's entry, then that export's code, up to + the next export's entry offset. Code before the first export goes first, with no entry. Every cell + moves by the entries laid before it, so every relocation is mapped through the moved offsets, and + each one's reach is checked at its final address. Calls go straight to the code. A word whose code + runs on into the next export's, with no `;` or jump between, cannot be split, and the placer refuses + it. Asked: that, or the whole block at the base, with an entry after it whose xt cell jumps to the word. 3. **The nucleus's effects: "Tool assembles it".** `mkf18a` is given the nucleus's directory, assembles it with its map, and derives each header's effect by name, as task 2's measurement did. Nothing is generated in between. Asked: that, or an effects file generated once per build.