feat(v4): Phase 7 Task 3 -- the heartbeat snapshot; the loops complete (#189)

Each cycle publishes v3's HeartbeatSnapshot: the tick, the window's width and fill, the decay slope, and the
dictionary's heat as inference last counted it (words over 50, cooling, the heat in all). One copy, not
v3's two, which are for its heartbeat thread. With it every loop v3 runs before its prompt runs on v4's
word records on every node. Test first: test_mesh_boot.c 73 checks, 81 on. Not pushed.

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-14 00:10:46 +00:00
parent 6d954ac279
commit b5d99ba98b
4 changed files with 34 additions and 1 deletions
@@ -143,7 +143,9 @@ Phase 4).
through `card_bits` -- v3 applies the card's number, one bit off (#196; ruled "v4 correct, v3 as
is"). `v4_mesh_l8_force` as v3's `ssm_l8_force_config`. Test first (67 checks; 75 on). amd64 PASS,
156 s.
- [ ] The snapshot.
- [x] The snapshot (v3's `heartbeat_publish_snapshot`): each cycle, the tick, window, slope and the
dictionary's heat as inference counted it (v3's `*_at_check`). One copy: v3 double-buffers for its
heartbeat thread, which v4 has no counterpart of. Test first (73 checks; 81 on).
### Task 4: the words that read and set them (`FREEZE-WORD`, the inference words, ...), and their POST
### Task 5: the StarForth words (Phase 3's: `init.4th`, `starforth.4th`), and their POST
### Task 6: the ACL (Phase 4's: `ACL.4th`, the word card, the countdown), and its POST