v4: the host placer, and a small train placed on Hera at her HERE (ADR step 3, task 4)

place.c places a train's artifact as ABI.md section 5 has it, the
code split at each export with its entry before it. test_mesh_boot
places tests/train-place, built by mkf18a with an import from the
nucleus: its words run by name, the nucleus's ABS is reached, the
kernel records each export, and six refusals leave Hera unchanged.
mkf18a refuses a word that runs on into an export. Failed first;
gates pass, POST 990/990. Plan section 13.

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-20 12:44:50 +00:00
parent cf2a321807
commit f7769c0e93
16 changed files with 2246 additions and 10 deletions
+12
View File
@@ -325,6 +325,18 @@ int main(void)
free(c);
}
/* a word that runs on into an export (section 12, 2a as corrected): placement splits the code at each
* export, so the tool refuses it; one that runs on into a word that is not an export is not split */
put(SCRATCH "/r11", "00.f18", ": A dup\n: B drop ;\n");
CHECK(refused(SCRATCH "/r11", NULL, 0, "runs on"), "a word that runs on into the next export");
put(SCRATCH "/r12", "00.f18", ": X dup\n: L FOR dup NEXT ;\n");
{
size_t l12;
unsigned char *c = build(SCRATCH "/r12", NULL, 0, &l12);
CHECK(c != NULL, "one that runs on into a word that is not exported builds: %s", err);
free(c);
}
/* imports from the nucleus (section 12, rulings 3 and 4): hash 0, the effect derived from the nucleus
* as the tool assembles it, by its dictionary name */
put(SCRATCH "/n1", "00.f18", "import nucleus ABS\n: DIST inv 1 + + ABS ;\n");