chore(wolf): sync anatomy/cerebrum/memory/hooks/token-ledger bookkeeping

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AgYRU3zDTqNGV5Jk8aiKLg
This commit is contained in:
Rongsong Shen 2026-08-25 10:53:49 +00:00
parent f7b732a300
commit b2a8fe4ce9
No known key found for this signature in database
GPG key ID: 5BCDAAE0123E9FE2
5 changed files with 4226 additions and 41 deletions

View file

@ -3999,3 +3999,31 @@
| 02:41 | Session end: 98 writes across 31 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 67 reads | ~704342 tok |
| 09:56 | bug-1689: fixed WAL_JOB_FINISH silent field drop (exit_info/finish_time/run_time) on replay, mirroring bug-1687's WAL_JOB_START pattern exactly (native trailer, no capnp needed for job_exitinfo_t) | job.c, persist.c, persist.h, wal_types.h, test_wal_job_finish_fact.c (new) | RED (4 fail, git-stash-verified) -> GREEN (6/6 new tests, 1152 suite tests, only pre-existing bug-1561 flaky failures) | ~large |
| 09:56 | Logged bug-1689 to buglog.json (re-checked max id twice, renumbered bug-1688->bug-1689 after sibling-session collision); updated cerebrum.md Key Learnings (2 entries) | buglog.json, cerebrum.md, anatomy.md | done | ~medium |
| 03:00 | Session end: 98 writes across 31 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 67 reads | ~704342 tok |
| 03:11 | Edited src/schema/controller.capnp | modified mapname() | ~507 |
| 03:12 | Edited src/controller/persist.c | added error handling | ~261 |
| 03:12 | Edited src/controller/persist.c | added 3 condition(s) | ~651 |
| 03:13 | Edited src/controller/persist.c | added error handling | ~526 |
| 03:13 | Edited src/controller/persist.c | added 3 condition(s) | ~458 |
| 03:14 | Edited src/controller/persist.c | modified switch() | ~172 |
| 03:15 | Edited src/controller/persist.c | added 1 condition(s) | ~333 |
| 03:15 | Edited src/controller/persist.c | added 2 condition(s) | ~295 |
| 03:15 | Edited src/include/wal_types.h | expanded (+19 lines) | ~386 |
| 03:15 | Edited src/controller/job.c | added error handling | ~414 |
| 03:20 | Created src/controller/testsuite/test_wal_job_rusage_fact.c | — | ~7480 |
| 03:31 | Session end: 109 writes across 33 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 74 reads | ~774573 tok |
| 03:31 | Session end: 109 writes across 33 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 74 reads | ~774573 tok |
| 03:33 | Edited src/controller/job.c | added 4 condition(s) | ~1669 |
| 03:33 | Edited src/controller/job.c | inline fix | ~20 |
| 03:34 | Edited src/controller/persist.c | modified c() | ~300 |
| 03:34 | Edited src/controller/persist.c | expanded (+9 lines) | ~570 |
| 03:34 | Edited src/include/wal_types.h | expanded (+10 lines) | ~296 |
| 03:36 | Edited src/controller/testsuite/test_wal_job_rusage_fact.c | added 3 condition(s) | ~1532 |
| 03:36 | Edited src/controller/testsuite/test_wal_job_rusage_fact.c | 2→3 lines | ~58 |
| 03:36 | Edited src/controller/testsuite/test_wal_job_rusage_fact.c | expanded (+14 lines) | ~299 |
| 03:36 | Session end: 117 writes across 33 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 75 reads | ~788544 tok |
| 03:37 | Edited src/controller/testsuite/controller_test.c | 2→3 lines | ~36 |
| 03:37 | Edited src/controller/testsuite/controller_test.c | 2→3 lines | ~30 |
| 03:37 | Edited src/controller/meson.build | 2→3 lines | ~35 |
| 03:38 | Edited src/controller/job.c | 3→3 lines | ~34 |
| 10:51 | bug-1690: WAL_JOB_RUSAGE/job.run_usage restart-drop fixed -- new capnp HostRunusage/JobRunusage schema, merge_job_runusage() safety fix (avoids freeing a live makeString()-backed host_name), both apply seams, 8 new tests, RED(6 fail)/GREEN(1160 tests 0 new fail) verified | src/schema/controller.capnp, src/controller/{job,persist}.c, src/include/wal_types.h, test_wal_job_rusage_fact.c | GREEN, buglog.json updated | ~n/a |