chore(wolf): sync anatomy/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
e787cead73
commit
0b04ab89b1
4 changed files with 1634 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# anatomy.md
|
||||
|
||||
> Auto-maintained by OpenWolf. Last scanned: 2026-08-25T02:41:40.380Z
|
||||
> Auto-maintained by OpenWolf. Last scanned: 2026-08-25T03:34:25.057Z
|
||||
> Files: 724 tracked | Anatomy hits: 0 | Misses: 0
|
||||
|
||||
## ../../../../../../tmp/
|
||||
|
|
@ -956,7 +956,7 @@
|
|||
- `ha_convergence.c` — Declares char (~8389 tok)
|
||||
- `ha.c` — define _GNU_SOURCE (~125491 tok)
|
||||
- `ha.h` — ifndef HA_H (~36503 tok)
|
||||
- `job.c` — include <assert.h> (~33381 tok)
|
||||
- `job.c` — include <assert.h> (~33580 tok)
|
||||
- `join.c` — include "config.h" (~2994 tok)
|
||||
- `main.c` — build-time-versioning task 3.2 (argp_program_version runtime-composed into static `version_buf[128]`, "My name is..." startup INFO reads that buffer) PLUS dirty-content-fingerprint task 3.2 (2026-08-21): new static `version_display_buf[128]` composed via `xce_compose_version_ex()` (adds `STR(VERSION_DIRTY_FINGERPRINT)`) feeds `argp_program_version` instead; `version_buf`'s composition + the startup INFO log are byte-identical/untouched (Req 3.2). Live-verified: `--version` -> `7ebcba6d-cdb7cc7d`, startup log -> `7ebcba6d-dirty` (~5346 tok)
|
||||
- `meson.build` (~3466 tok)
|
||||
|
|
@ -965,7 +965,7 @@
|
|||
- `myconf.c` — define _GNU_SOURCE (~1180 tok)
|
||||
- `opget.c` — include "config.h" (~1730 tok)
|
||||
- `opupd.c` — include "config.h" (~714 tok)
|
||||
- `persist.c` — define _GNU_SOURCE (~91053 tok)
|
||||
- `persist.c` — define _GNU_SOURCE (~91271 tok)
|
||||
- `queue.c` — include <errno.h> (~1554 tok)
|
||||
- `repl.c` — include <assert.h> (~9240 tok)
|
||||
- `reply.c` — include "config.h" (~590 tok)
|
||||
|
|
@ -1016,7 +1016,7 @@
|
|||
- `test_convergence_verification.c` — define _GNU_SOURCE (~20242 tok)
|
||||
- `test_ctrl_metrics.c` — define _GNU_SOURCE (~949 tok)
|
||||
- `test_ctrlstatus.c` — include <stdatomic.h> (~6287 tok)
|
||||
- `test_dispatch_commit.c` — Declares table (~7042 tok)
|
||||
- `test_dispatch_commit.c` — Declares table (~7800 tok)
|
||||
- `test_dispatch_fail_retry.c` — task 5.2's fail->succeed->fail test (`test_rpc_failure_bound_resets_after_intervening_success`, toggles worker ep broken/working across `dispatch_a_job_test()` calls) proves Req 4.3 counter-reset end-to-end (GREEN). Its job.state==PEND/job.allocs==NULL assertions on the post-success retryable/terminal failures were REMOVED (task 5.2 remediation, 2026-08-23) after kiro-debug (HIGH confidence) found that sub-scenario unreachable via any real caller today -- see bug-1631 for the deferred analysis; the removed-assertion rationale is documented inline in the test (~13000 tok)
|
||||
- `test_dispatch_fail_terminal.c` — Declares table (~3499 tok)
|
||||
- `test_ha_rdhup_integration.c` — Declares char (~8362 tok)
|
||||
|
|
@ -1091,7 +1091,7 @@
|
|||
|
||||
## src/include/
|
||||
|
||||
- `persist.h` — pragma once (~24667 tok)
|
||||
- `persist.h` — pragma once (~24996 tok)
|
||||
- `utils.h` — dirty-content-fingerprint task 3.1: new `xce_compose_version_ex()` extern decl (--version-only sibling of xce_compose_version(), adds optional `dirty_fingerprint` param); startup-log call sites keep calling the untouched xce_compose_version() (~2720 tok)
|
||||
- `wal_types.h` — pragma once (~2250 tok)
|
||||
|
||||
|
|
|
|||
|
|
@ -33,13 +33,13 @@
|
|||
"first_read": "2026-08-24T13:22:07.911Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/job.c": {
|
||||
"count": 2,
|
||||
"tokens": 33025,
|
||||
"count": 3,
|
||||
"tokens": 33381,
|
||||
"first_read": "2026-08-24T13:47:22.005Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/persist.c": {
|
||||
"count": 1,
|
||||
"tokens": 89338,
|
||||
"count": 4,
|
||||
"tokens": 91053,
|
||||
"first_read": "2026-08-24T13:48:33.882Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/frontend/xcecli/common/request/request_test.go": {
|
||||
|
|
@ -143,14 +143,34 @@
|
|||
"first_read": "2026-08-24T15:02:51.326Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/testsuite/test_dispatch_commit.c": {
|
||||
"count": 1,
|
||||
"tokens": 6641,
|
||||
"count": 3,
|
||||
"tokens": 7042,
|
||||
"first_read": "2026-08-25T02:28:16.135Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/testsuite/test_wal_job_dispatch_fact.c": {
|
||||
"count": 2,
|
||||
"tokens": 3006,
|
||||
"first_read": "2026-08-25T02:28:34.447Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/include/persist.h": {
|
||||
"count": 1,
|
||||
"tokens": 24667,
|
||||
"first_read": "2026-08-25T03:28:01.860Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/testsuite/test_jobdispatch_no_double_notify.c": {
|
||||
"count": 1,
|
||||
"tokens": 5490,
|
||||
"first_read": "2026-08-25T03:31:09.821Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/frontend/apiserver/utils/types.go": {
|
||||
"count": 1,
|
||||
"tokens": 0,
|
||||
"first_read": "2026-08-25T03:42:39.517Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/frontend/apiserver/store/query.go": {
|
||||
"count": 1,
|
||||
"tokens": 0,
|
||||
"first_read": "2026-08-25T03:42:57.537Z"
|
||||
}
|
||||
},
|
||||
"files_written": [
|
||||
|
|
@ -531,6 +551,48 @@
|
|||
"action": "edit",
|
||||
"tokens": 1248,
|
||||
"at": "2026-08-25T02:41:40.387Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/include/persist.h",
|
||||
"action": "edit",
|
||||
"tokens": 413,
|
||||
"at": "2026-08-25T03:28:36.972Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/persist.c",
|
||||
"action": "edit",
|
||||
"tokens": 314,
|
||||
"at": "2026-08-25T03:29:29.434Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/job.c",
|
||||
"action": "edit",
|
||||
"tokens": 266,
|
||||
"at": "2026-08-25T03:29:54.248Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/testsuite/test_dispatch_commit.c",
|
||||
"action": "edit",
|
||||
"tokens": 877,
|
||||
"at": "2026-08-25T03:33:50.386Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/testsuite/test_dispatch_commit.c",
|
||||
"action": "edit",
|
||||
"tokens": 81,
|
||||
"at": "2026-08-25T03:34:00.083Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/job.c",
|
||||
"action": "edit",
|
||||
"tokens": 30,
|
||||
"at": "2026-08-25T03:34:10.178Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/job.c",
|
||||
"action": "edit",
|
||||
"tokens": 21,
|
||||
"at": "2026-08-25T03:34:25.064Z"
|
||||
}
|
||||
],
|
||||
"edit_counts": {
|
||||
|
|
@ -555,17 +617,17 @@
|
|||
"src/frontend/apiserver/backend/convert_test.go": 1,
|
||||
"src/frontend/xcecli/models/jobs.go": 1,
|
||||
"src/frontend/xcecli/cmd/jobs/submit.go": 1,
|
||||
"src/controller/job.c": 4,
|
||||
"src/controller/job.c": 7,
|
||||
"src/controller/apiserver.c": 2,
|
||||
"src/controller/persist.c": 5,
|
||||
"src/include/persist.h": 1,
|
||||
"src/controller/persist.c": 6,
|
||||
"src/include/persist.h": 2,
|
||||
"src/controller/testsuite/test_repl_apply.c": 1,
|
||||
"src/controller/testsuite/test_dispatch_commit.c": 1,
|
||||
"src/controller/testsuite/test_dispatch_commit.c": 3,
|
||||
"src/controller/testsuite/test_wal_job_dispatch_fact.c": 4
|
||||
},
|
||||
"anatomy_hits": 13,
|
||||
"anatomy_misses": 17,
|
||||
"repeated_reads_warned": 12,
|
||||
"anatomy_hits": 15,
|
||||
"anatomy_misses": 19,
|
||||
"repeated_reads_warned": 18,
|
||||
"cerebrum_warnings": 0,
|
||||
"stop_count": 17
|
||||
"stop_count": 20
|
||||
}
|
||||
|
|
@ -3835,3 +3835,13 @@
|
|||
| 19:41 | Edited src/controller/testsuite/test_wal_job_dispatch_fact.c | added 2 condition(s) | ~884 |
|
||||
| 19:41 | Edited src/controller/testsuite/test_wal_job_dispatch_fact.c | added error handling | ~387 |
|
||||
| 19:41 | Edited src/controller/testsuite/test_wal_job_dispatch_fact.c | added 1 condition(s) | ~1165 |
|
||||
| 20:13 | Session end: 63 writes across 25 files (.gitignore, spec.json, request_test.go, request.go, gitea-sync.py) | 30 reads | ~230921 tok |
|
||||
| 20:20 | Session end: 63 writes across 25 files (.gitignore, spec.json, request_test.go, request.go, gitea-sync.py) | 30 reads | ~230921 tok |
|
||||
| 20:27 | Session end: 63 writes across 25 files (.gitignore, spec.json, request_test.go, request.go, gitea-sync.py) | 30 reads | ~232636 tok |
|
||||
| 20:28 | Edited src/include/persist.h | modified is() | ~386 |
|
||||
| 20:29 | Edited src/controller/persist.c | added 1 condition(s) | ~293 |
|
||||
| 20:29 | Edited src/controller/job.c | modified never() | ~248 |
|
||||
| 20:33 | Edited src/controller/testsuite/test_dispatch_commit.c | added 1 condition(s) | ~818 |
|
||||
| 20:34 | Edited src/controller/testsuite/test_dispatch_commit.c | 4→5 lines | ~76 |
|
||||
| 20:34 | Edited src/controller/job.c | 2→2 lines | ~28 |
|
||||
| 20:34 | Edited src/controller/job.c | 2→2 lines | ~20 |
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue