Rename FABRIC series: FABRIC.md->0, FABRIC-2.md->1, FABRIC-3.md->2, FABRIC-4.md unchanged
FABRIC.md -> FABRIC-0.md FABRIC-2.md -> FABRIC-1.md FABRIC-3.md -> FABRIC-2.md (the current/living document) FABRIC-4.md unchanged (new #3 to follow separately) Every cross-reference repo-wide updated to match, including doc-comment citations inside kernel source (.c/.h) files -- done via an ordered placeholder substitution (FABRIC-3.md->placeholder2, FABRIC-2.md-> placeholder1, FABRIC.md->placeholder0, then placeholders resolved to final names) in a single pass per file to avoid double-shifting already-renamed references. One line in capsules/font.4th grew past the 64-char block-format limit as a side effect of the longer filename; shortened it and reverified with mkcapsule --lint (34/34 pass) before rebuilding. Verified 3-arch boot to ok> (amd64/aarch64/riscv64, each in the foreground) after the fix; logs and DoE CSVs from this session's verification runs included per this repo's own audit-artifact convention. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019YcT3H2PQeyujrzjqS3Var
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
ff2941dfb9
commit
b031b802e3
@@ -414,7 +414,7 @@ void kernel_main(BootInfo *boot_info) {
|
||||
console_println("APIC: init done\n");
|
||||
|
||||
#ifdef ARCH_AMD64
|
||||
/* item 4.3.5 (FABRIC.md §27.5): I/O APIC + i8042 keyboard, interrupt-
|
||||
/* item 4.3.5 (FABRIC-0.md §27.5): I/O APIC + i8042 keyboard, interrupt-
|
||||
* driven. Routed masked here; unmasked in kernel_main_deep() at the
|
||||
* same point the APIC timer is started. */
|
||||
console_println("I/O APIC: init...");
|
||||
@@ -508,12 +508,12 @@ static void kernel_main_deep(BootInfo *boot_info) {
|
||||
console_println("Boot successful!\n");
|
||||
|
||||
#ifdef STARFORTH_ENABLE_VM
|
||||
/* Stadium: boot-time allocation (FABRIC.md item 3.2), before any VM
|
||||
/* Stadium: boot-time allocation (FABRIC-0.md item 3.2), before any VM
|
||||
* exists (§6). Soft failure -- nothing downstream consumes the Stadium
|
||||
* yet, so a failed allocation logs and boot continues. */
|
||||
(void)stadium_boot_init();
|
||||
|
||||
/* Session: boot-time allocation (FABRIC-3.md §H.12 step 4), sized from
|
||||
/* Session: boot-time allocation (FABRIC-2.md §H.12 step 4), sized from
|
||||
* stadium_max_vm_count() so it must run after stadium_boot_init() above
|
||||
* and before the first session is registered (stadium_birth_hera()
|
||||
* below registers Hera as session zero). Soft failure, same reasoning
|
||||
@@ -521,14 +521,14 @@ static void kernel_main_deep(BootInfo *boot_info) {
|
||||
* failed session_register() rather than treating it as fatal. */
|
||||
(void)session_boot_init();
|
||||
|
||||
/* item 4.1, FABRIC.md item 3.6/§17.7: actually enforce "Hera is patron
|
||||
/* item 4.1, FABRIC-0.md item 3.6/§17.7: actually enforce "Hera is patron
|
||||
* zero" before anything else can land on cell 0 via the free list, then
|
||||
* bring up the word layer's map. Both must happen before the first word
|
||||
* ever dispatches -- capsule birth below runs init.4th, which dispatches
|
||||
* words. */
|
||||
(void)stadium_birth_hera();
|
||||
stadium_words_init();
|
||||
stadium_blocks_init(); /* FABRIC-3.md §B: block-patron layer, same ordering as words */
|
||||
stadium_blocks_init(); /* FABRIC-2.md §B: block-patron layer, same ordering as words */
|
||||
|
||||
/* M7: VM Bootstrap and Parity Validation */
|
||||
console_println("VM: bootstrap parity...");
|
||||
@@ -616,7 +616,7 @@ static void kernel_main_deep(BootInfo *boot_info) {
|
||||
}
|
||||
}
|
||||
|
||||
/* Zuse identity: SUPERSEDED 2026-08-28 (FABRIC-3.md §F.20/§F.21).
|
||||
/* Zuse identity: SUPERSEDED 2026-08-28 (FABRIC-2.md §F.20/§F.21).
|
||||
* The one-shot block-fence mint-or-load that used to run here is
|
||||
* gone -- Zuse is thumbdrive-resident now (her seed never touches
|
||||
* system storage), and a thumbdrive can't be detected this early in
|
||||
@@ -655,7 +655,7 @@ static void kernel_main_deep(BootInfo *boot_info) {
|
||||
xhci_bringup(&xhci_dev) == 0);
|
||||
}
|
||||
|
||||
/* FABRIC.md item 4.4g (decided 2026-08-11): console_fb_init() moved here,
|
||||
/* FABRIC-0.md item 4.4g (decided 2026-08-11): console_fb_init() moved here,
|
||||
* before capsule_birth_mama(), so the fleet-birth/self-test transcript is
|
||||
* framebuffer-visible too, not just the small post-birth tail. Costs
|
||||
* roughly 12x more boot-time heartbeat ticks (one-shot, at boot only --
|
||||
@@ -796,7 +796,7 @@ static void kernel_main_deep(BootInfo *boot_info) {
|
||||
* for the same reason. */
|
||||
|
||||
/* Hermes is now a permanent fleet-foundation VM, not self-test
|
||||
* scaffolding -- FABRIC-3.md D.7 (birth-by-message-only, 2026-08-28):
|
||||
* scaffolding -- FABRIC-2.md D.7 (birth-by-message-only, 2026-08-28):
|
||||
* the Tripod legs (Hera/Hermes/Artemis) must be alive session-less so
|
||||
* a later thumbdrive-attach flow has a running Hermes/Artemis to
|
||||
* message. Previously born, exercised, and KILLed by item 4.2's own
|
||||
@@ -816,7 +816,7 @@ static void kernel_main_deep(BootInfo *boot_info) {
|
||||
|
||||
/* Artemis is now a permanent fleet-foundation VM, not self-test
|
||||
* scaffolding -- same reasoning as Hermes's own birth just above
|
||||
* (FABRIC-3.md D.7). Previously born, exercised, and KILLed by item
|
||||
* (FABRIC-2.md D.7). Previously born, exercised, and KILLed by item
|
||||
* 4.6's own self-test every boot; that diagnostic exercising is gone,
|
||||
* only the birth remains. Artemis's own capsule still runs its own
|
||||
* self-test plus a 30-rep stress campaign at load
|
||||
@@ -862,7 +862,7 @@ static void kernel_main_deep(BootInfo *boot_info) {
|
||||
if (mama->halted) goto idle;
|
||||
#endif
|
||||
|
||||
/* FABRIC.md item 4.4g (decided 2026-08-11): console_fb_init() call site
|
||||
/* FABRIC-0.md item 4.4g (decided 2026-08-11): console_fb_init() call site
|
||||
* moved earlier in this function, before capsule_birth_mama() -- see that
|
||||
* call site's comment. This used to be here (item 4.4c, 2026-08-11: wires
|
||||
* the framebuffer AND turns on vt100_init(), so serial and framebuffer
|
||||
|
||||
Reference in New Issue
Block a user