feat(v4): Phase 7 Task 3 -- background decay and the window's adaptive pass in each node's heartbeat cycle (#189)
In v3's order (vm_heartbeat_run_cycle): the tick; background decay -- 64 words a cycle from a cursor down the dictionary (v3's vm_tick_apply_background_decay), so a word not called cools; the window's adaptive pass on its diversity (v3's rolling_window_run_adaptive_pass: halve to 256, double to 4096). Test first: test_mesh_boot.c, 62 checks (70 with pipelining and the cache on). Inference, L8 and the snapshot next. Not pushed (held to the end of Phase 7). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
@@ -124,8 +124,13 @@ Phase 4).
|
||||
and `:1210`), and its tick is the count of cycles; the timer heartbeat is not the VM's tick. Task 2a
|
||||
had used the kernel's timer: corrected. Each node counts its word calls; every 256th runs its cycle
|
||||
at the call. Test first (`test_mesh_boot.c`, 59 and 67 checks).
|
||||
- [ ] The cycle's loops, in v3's order (`vm_heartbeat_run_cycle`): tick; inference every 1000 ticks;
|
||||
background decay; the window's service; L8's update; the snapshot.
|
||||
- [x] Background decay (v3's `vm_tick_apply_background_decay`): 64 words a cycle from a cursor down the
|
||||
dictionary, so a word not called cools. The window's adaptive pass (v3's
|
||||
`rolling_window_run_adaptive_pass`): diversity against the last; halve to 256, double to 4096.
|
||||
Test first (`test_mesh_boot.c`: 62 checks; 70 on).
|
||||
- [ ] Inference every 1000 ticks (v3's `vm_tick_inference_engine`, `inference_engine.c`).
|
||||
- [ ] L8's update (v3's `vm_heartbeat_update_l8`: its metrics; the table of 64 cards, #188; the gates L1-L7).
|
||||
- [ ] The snapshot.
|
||||
### 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
|
||||
|
||||
Reference in New Issue
Block a user