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
+7 -1
View File
@@ -986,7 +986,13 @@ static int physics_serve(unsigned place, v4_node *n, v4_cell value)
v4_cell u, a, xt;
v4_mesh_account *r;
const uint64_t *d;
if (value > V4_REQ_FREEZE_WORD || value < V4_REQ_XT_HEAT) return 0;
if (value > V4_REQ_FREEZE_WORD || value < V4_REQ_L8_CARD) return 0;
if (value == V4_REQ_L8_CARD) { /* ( -- card changes ), for acceptance (Task 9) */
if (n->ds.depth + 2u > V4_DATA_DEPTH) return 0;
v4_dstack_push(&n->ds, p ? (v4_cell)p->l8.current_card : 0);
v4_dstack_push(&n->ds, p ? (v4_cell)p->l8.changes : 0);
return 1;
}
if (value <= V4_REQ_ENTROPY_FETCH) return entropy_serve(place, n, value);
switch (value) {
case V4_REQ_FREEZE_WORD: case V4_REQ_UNFREEZE_WORD: case V4_REQ_FROZEN: case V4_REQ_HEAT_FETCH: case V4_REQ_HEAT_STORE: