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:
parent
955efecd19
commit
6e77ccc465
5 changed files with 11028 additions and 32 deletions
|
|
@ -3896,3 +3896,88 @@
|
|||
| 21:48 | Edited src/scheduler/src/sim_loop.c | 2→2 lines | ~25 |
|
||||
| 04:49 | RED-phase verification for bug-1681: commented out plugin_begin_session/plugin_end_session in sim_loop.c, confirmed sched_sim_session_ordering_test FAILS (Expected 2/1 Was 0), restored file (git diff clean vs fix), rebuilt, confirmed GREEN (2 Tests 0 Failures OK) | src/scheduler/src/sim_loop.c, src/scheduler/testsuite/test_sim_session_ordering.c | verified genuine RED->GREEN, no lingering changes | ~9k |
|
||||
| 21:50 | Session end: 29 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 15 reads | ~97041 tok |
|
||||
| 23:40 | Session end: 29 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 15 reads | ~97041 tok |
|
||||
| 23:49 | Session end: 29 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 15 reads | ~97041 tok |
|
||||
| 23:57 | Session end: 29 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 15 reads | ~97041 tok |
|
||||
| 23:58 | Edited .claude/skills/xce-audit-invariants/SKILL.md | 11→15 lines | ~243 |
|
||||
| 23:58 | Edited .claude/skills/xce-audit-invariants/SKILL.md | modified are() | ~768 |
|
||||
| 23:58 | Edited .claude/skills/xce-audit-invariants/SKILL.md | expanded (+9 lines) | ~203 |
|
||||
| 23:58 | Edited .claude/skills/xce-audit-invariants/SKILL.md | inline fix | ~131 |
|
||||
| 23:58 | Edited .claude/skills/xce-audit-invariants/SKILL.md | 8→11 lines | ~200 |
|
||||
| 23:59 | Session end: 34 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 15 reads | ~99864 tok |
|
||||
| 00:04 | Edited .claude/skills/xce-audit-invariants/SKILL.md | expanded (+19 lines) | ~602 |
|
||||
| 00:05 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 17 reads | ~100508 tok |
|
||||
| 00:07 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 18 reads | ~100508 tok |
|
||||
| 07:12 | Ran xce-build.sh xceadmin (read-only diagnostic build+test) | src/xce.build/xceadmin/ | 267 passed, 3 skipped, 0 failed; wheel built | ~0 |
|
||||
| 00:17 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 19 reads | ~100508 tok |
|
||||
| 00:27 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 26 reads | ~367229 tok |
|
||||
| 00:29 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 31 reads | ~401467 tok |
|
||||
| 00:30 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 37 reads | ~459984 tok |
|
||||
| 00:31 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 37 reads | ~459984 tok |
|
||||
| 00:31 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 37 reads | ~459984 tok |
|
||||
| 00:32 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 37 reads | ~459984 tok |
|
||||
| 00:32 | Session end: 35 writes across 14 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 37 reads | ~459984 tok |
|
||||
| 00:42 | Edited src/controller/ha.h | expanded (+6 lines) | ~198 |
|
||||
| 00:42 | Edited src/controller/ha.c | added 1 condition(s) | ~586 |
|
||||
| 00:42 | Edited src/controller/ha.c | added 1 condition(s) | ~1032 |
|
||||
| 00:43 | Edited src/controller/testsuite/test_ha_durability.c | 2→3 lines | ~40 |
|
||||
| 00:43 | Edited src/controller/testsuite/test_ha_durability.c | modified cluster() | ~1444 |
|
||||
| 00:43 | Edited src/controller/testsuite/test_ha_durability.c | expanded (+7 lines) | ~147 |
|
||||
| 00:43 | Edited src/controller/CLAUDE.md | inline fix | ~328 |
|
||||
| 07:52 | Verified bug-1684 fix: controller ASAN incremental build (348/348 targets, no errors, no ha_persist_term signature mismatch) | src/build-asan (controller) | 3 new test_ha_durability tests PASS, 2 pre-existing bug-1561 failures only, other build artifacts preserved | ~4000 |
|
||||
| 00:48 | Session end: 42 writes across 18 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 44 reads | ~512618 tok |
|
||||
| 00:49 | Session end: 42 writes across 18 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 44 reads | ~512618 tok |
|
||||
| 01:00 | Edited src/include/persist.h | expanded (+16 lines) | ~339 |
|
||||
| 01:00 | Session end: 43 writes across 19 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 52 reads | ~566916 tok |
|
||||
| 01:00 | Edited src/include/wal_types.h | modified enum() | ~240 |
|
||||
| 01:00 | Edited src/controller/persist.c | added error handling | ~239 |
|
||||
| 01:00 | Edited src/controller/persist.c | added 3 condition(s) | ~556 |
|
||||
| 01:00 | Session end: 46 writes across 21 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 52 reads | ~568025 tok |
|
||||
| 01:00 | Edited src/controller/persist.c | added error handling | ~607 |
|
||||
| 01:01 | Edited src/controller/persist.c | added 4 condition(s) | ~544 |
|
||||
| 01:01 | Edited src/controller/persist.c | added 2 condition(s) | ~597 |
|
||||
| 01:02 | Edited src/controller/job.c | added error handling | ~442 |
|
||||
| 01:02 | Edited src/controller/job.c | expanded (+16 lines) | ~434 |
|
||||
| 01:04 | Created src/controller/testsuite/test_wal_job_start_fact.c | — | ~6378 |
|
||||
| 01:04 | Edited src/controller/meson.build | 2→3 lines | ~35 |
|
||||
| 01:04 | Edited src/controller/testsuite/controller_test.c | 1→2 lines | ~24 |
|
||||
| 01:04 | Edited src/controller/testsuite/controller_test.c | 1→2 lines | ~20 |
|
||||
| 01:07 | Created src/scheduler/testsuite/test_limit_plugin.c | — | ~2350 |
|
||||
| 01:07 | Edited src/scheduler/testsuite/meson.build | expanded (+16 lines) | ~344 |
|
||||
| 01:07 | Edited src/scheduler/testsuite/meson.build | 3→5 lines | ~72 |
|
||||
| 01:10 | Edited src/scheduler/testsuite/test_limit_plugin.c | modified put_resvals() | ~170 |
|
||||
| 01:11 | Edited src/scheduler/src/plugins/limit.c | modified has() | ~683 |
|
||||
| 01:15 | bug-1685 fix: removed redundant kill_limit(limit) in limit_update_config()'s error path (limit.c) -- kvmgr's own xkvmgr_add rollback (kvmgr.c/zarray.c) already frees it once via privdata->limits' .datakiller=kill_limit; second call was a double free | src/scheduler/src/plugins/limit.c | RED confirmed live (new test aborted, ASAN heap-use-after-free in kill_limit, exact bug-1685 signature) before fix, GREEN confirmed after (sched_limit_plugin_test OK, full scheduler suite 52/53, only pre-existing bug-1560 flake) | ~15000 |
|
||||
| 01:16 | Updated .wolf/buglog.json bug-1685 root_cause+fix fields with full diagnosis + RED/GREEN evidence, marked FIXED, added double-free/kvmgr-rollback/fixed tags | .wolf/buglog.json | valid JSON, 1026 bugs preserved, not manually committed (Stop hook checkpoints) | ~2500 |
|
||||
| 01:19 | Session end: 60 writes across 27 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 59 reads | ~609281 tok |
|
||||
| 01:19 | Session end: 60 writes across 27 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 59 reads | ~609281 tok |
|
||||
| 01:20 | Session end: 60 writes across 27 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 59 reads | ~609281 tok |
|
||||
| 01:33 | Edited src/scheduler/src/plugins/builtin_fcfs.c | added 1 condition(s) | ~349 |
|
||||
| 01:33 | Edited src/scheduler/src/plugins/builtin_fcfs.c | added 1 condition(s) | ~200 |
|
||||
| 01:33 | Edited src/scheduler/src/plugins/builtin_fcfs.c | added 1 condition(s) | ~356 |
|
||||
| 01:34 | Edited src/scheduler/src/plugins/builtin_fcfs.c | modified 1686() | ~368 |
|
||||
| 01:35 | Session end: 64 writes across 28 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 62 reads | ~667276 tok |
|
||||
| 01:38 | Created src/scheduler/testsuite/test_builtin_fcfs_cursor_uaf.c | — | ~2769 |
|
||||
| 01:38 | Edited src/scheduler/testsuite/meson.build | expanded (+19 lines) | ~398 |
|
||||
| 01:38 | Edited src/scheduler/testsuite/meson.build | 2→5 lines | ~74 |
|
||||
| 01:39 | Edited src/scheduler/src/plugins/builtin_fcfs.c | removed 24 lines | ~42 |
|
||||
| 01:39 | Edited src/scheduler/src/plugins/builtin_fcfs.c | modified REVERT() | ~54 |
|
||||
| 01:39 | Edited src/scheduler/src/plugins/builtin_fcfs.c | modified for() | ~81 |
|
||||
| 01:41 | Edited src/scheduler/testsuite/test_builtin_fcfs_cursor_uaf.c | 3→8 lines | ~93 |
|
||||
| 01:41 | Edited src/scheduler/testsuite/test_builtin_fcfs_cursor_uaf.c | 8→3 lines | ~40 |
|
||||
| 01:42 | Edited src/scheduler/src/plugins/builtin_fcfs.c | added 1 condition(s) | ~351 |
|
||||
| 01:42 | Edited src/scheduler/src/plugins/builtin_fcfs.c | added 1 condition(s) | ~184 |
|
||||
| 01:42 | Edited src/scheduler/src/plugins/builtin_fcfs.c | added 1 condition(s) | ~304 |
|
||||
| 01:43 | Edited src/controller/testsuite/test_commit_barrier_reply.c | expanded (+16 lines) | ~436 |
|
||||
| 01:50 | GREEN: full scheduler suite 53/54 OK (test_builtin_fcfs_cursor_uaf_test PASS; only bug-1560 pre-existing failure) | src/scheduler/testsuite/test_builtin_fcfs_cursor_uaf.c, meson.build | pass | ~1200 |
|
||||
| 01:51 | Updated bug-1686 in place with full diagnosis + RED/GREEN evidence; appended bug-1686 Key Learning to cerebrum.md | .wolf/buglog.json, .wolf/cerebrum.md | done | ~800 |
|
||||
| 01:49 | Session end: 76 writes across 30 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 63 reads | ~673917 tok |
|
||||
| 01:53 | Edited src/controller/testsuite/test_commit_barrier_reply.c | 3→4 lines | ~62 |
|
||||
| 01:55 | Edited src/controller/testsuite/test_commit_barrier_reply.c | 4→4 lines | ~62 |
|
||||
| 01:58 | Edited src/controller/testsuite/test_commit_barrier_reply.c | expanded (+7 lines) | ~161 |
|
||||
| 02:00 | Edited src/controller/testsuite/test_commit_barrier_reply.c | 2→7 lines | ~113 |
|
||||
| 02:01 | Edited src/controller/testsuite/test_commit_barrier_reply.c | 2→3 lines | ~49 |
|
||||
| 02:03 | Edited src/controller/testsuite/test_commit_barrier_reply.c | 2→3 lines | ~50 |
|
||||
| 02:06 | Edited src/controller/testsuite/test_commit_barrier_reply.c | 2→2 lines | ~39 |
|
||||
| 02:13 | Edited src/controller/testsuite/test_commit_barrier_reply.c | removed 10 lines | ~35 |
|
||||
| 17:35 | bug-1687 FIXED: WAL_JOB_START now carries job_pidinfo_t+start_time through both apply seams (mirrors bug-1678's WAL_JOB_DISPATCH pattern) — job.c (record_job_start_fact, restore_job_start_state), persist.c (capnp_encode_pidinfo/decode_pidinfo, persist_submit_job_start_fact, apply_wal_entry+apply_committed_entry WAL_JOB_START handling), persist.h/wal_types.h decls+docs, new testsuite/test_wal_job_start_fact.c (6 tests). RED (4/6 fail pre-fix) → GREEN (6/6) independently verified via git-stash. Also found+fixed a real deadlock my larger payload exposed in test_commit_barrier_reply.c's cbrp_count_jobstate_entries_ex (exact-size `==` match undercounted → downstream test spun forever; fixed to `>=`) plus applied bug-1452's teardown-ordering precedent to cbrp_teardown as defense-in-depth. Full suite: 1146 Tests, 2 Failures (pre-existing bug-1561 overlayfs flake only), zero hangs | src/controller/job.c, persist.c, testsuite/test_wal_job_start_fact.c, testsuite/test_commit_barrier_reply.c, testsuite/controller_test.c, meson.build, src/include/persist.h, wal_types.h, .wolf/buglog.json (bug-1687) | GREEN, full suite verified | ~large |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue