v4: L8-CARD@ ( -- card changes ), and its POST case; POST 991 (#189, Phase 7 Task 9, part A)

Request -41, served by the kernel from the node's L8 state; the word
in physics.4th. test_mesh_boot checks it against the kernel's own
values, changes more than 0: failed first (UNKNOWN WORD), now 142
checks pass. POST.md takes only the new case and the counts: the two
cells that differ run to run are #199's. POST_FLOOR 990 -> 991.

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 15:12:33 +00:00
parent 0522d77337
commit 43f8687f70
12 changed files with 308 additions and 5 deletions
+9
View File
@@ -351,6 +351,15 @@ int main(void)
&& p->l7_adaptive_heartrate == 1u, "the gates are the current card's (%u), through card_bits", p->l8.current_card);
CHECK(p->l1_cache == (ENABLE_HOTWORDS_CACHE && (b & 0x40u)) && p->l4_pipelining == (ENABLE_PIPELINING && (b & 0x08u)),
"and L1 and L4 within the build's ceilings");
/* L8-CARD@ ( -- card changes ), for acceptance (Phase 7 Task 9, rulings 2 and 2a): the node's card, and how
* often it has changed -- more than 0 once L8 has run, which a boot without the physics never shows */
{
char want[64];
r = line(V4_MESH_HERA, "L8-CARD@ . .", &how);
snprintf(want, sizeof want, "%lu %u ", (unsigned long)p->l8.changes, (unsigned)p->l8.current_card);
CHECK(how == V4_TEXT_COMPLETED && strcmp(r, want) == 0 && p->l8.changes > 0,
"L8-CARD@ leaves the card and its changes, more than 0: \"%s\", the kernel's \"%s\"", r, want);
}
v4_mesh_l8_force(&ms, 0, 0u, 1);
r = line(V4_MESH_HERA, ": L8T 300 0 DO 3 DUP * DROP LOOP ; L8T", &how);
CHECK(p->l8.current_card == 0 && !p->l2_window && !p->l3_decay && !p->l1_cache && !p->l4_pipelining