chore(wolf): update session tracking state

Covers the low-risk backlog cleanup pass (stale roadmap entries,
job_ctrl/OP_upgradeConfig investigations) plus one self-correction lesson
in cerebrum.md's Do-Not-Repeat list.
This commit is contained in:
Rongsong Shen 2026-08-19 15:08:06 +00:00
parent a16d32e3fe
commit e5d15a1ab0
No known key found for this signature in database
GPG key ID: 5BCDAAE0123E9FE2
5 changed files with 2586 additions and 24 deletions

View file

@ -1,6 +1,6 @@
# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-08-19T10:58:57.650Z
> Auto-maintained by OpenWolf. Last scanned: 2026-08-19T15:07:22.008Z
> Files: 592 tracked | Anatomy hits: 0 | Misses: 0
## ../../../../../../tmp/
@ -616,11 +616,11 @@
## .kiro/specs/scheduler-core/
- `brief.md` — Brief: scheduler-core (~2035 tok)
- `design.md` — Technical Design: scheduler-core (~17349 tok)
- `design.md` — Technical Design: scheduler-core (~17232 tok)
- `requirements.md` — Requirements Document (~26526 tok)
- `research.md` — Research & Design Decisions: scheduler-core (~4398 tok)
- `research.md` — Research & Design Decisions: scheduler-core (~4653 tok)
- `spec.json` (~200 tok)
- `tasks.md` — Implementation Plan (~32783 tok)
- `tasks.md` — Implementation Plan (~32966 tok)
## .kiro/specs/scheduler-core/.solomd/
@ -672,7 +672,7 @@
- `ha-async-io.md` — HA Protocol & Async I/O (~4721 tok)
- `persistence.md` — WAL & Persistence Durability (~3007 tok)
- `product.md` — Product Overview (~1509 tok)
- `roadmap.md` — Roadmap (~13890 tok)
- `roadmap.md` — Roadmap (~14672 tok)
- `security.md` — Security Standards (~1636 tok)
- `structure.md` — Project Structure (~1348 tok)
- `tech.md` — Technology Stack (~1500 tok)

View file

@ -63,7 +63,7 @@
## Do-Not-Repeat
- Don't run `clang-format -i` on whole existing files here — the repo isn't clang-format-clean at baseline, so a full reformat buries the real diff; recovering via `git checkout HEAD -- <file>` on a file with other uncommitted work destroys that work irrecoverably.
- Before citing a bug as "still open" or a spec as "blocked," cross-check `.wolf/buglog.json`'s actual fix status and the spec's own tasks.md/commit history — blocked_on notes and prior narrative claims (including this file's own past entries) can be stale.
- Before citing a bug as "still open" or a spec as "blocked," cross-check `.wolf/buglog.json`'s actual fix status and the spec's own tasks.md/commit history — blocked_on notes and prior narrative claims (including this file's own past entries) can be stale. **Self-caught recurrence (2026-08-19)**: while reconciling OTHER stale doc references, wrote a new tasks.md status line asserting "tasks 2.1-2.6 still carry no `_Verified:` annotations" by trusting a 2026-08-07 validation finding's own wording verbatim, without re-checking the file — they'd actually been backfilled the very next day (commit `d7b49690`, 2026-08-08). A dispatched verification agent caught it via `git log`/direct read. Lesson holds even for a claim you are ABOUT to write, not just one you're citing from memory: grep/read the actual current state of the specific lines before asserting their status, every time, no exceptions for "this one's probably still true."
- Before trusting an "all tests pass, GO" claim on a stale/uncommitted tree, re-run the suite yourself — a buglog "FIXED" note can describe the *intended* fix while the code on disk is mid-revert from RED-phase construction.
- A generic retry/failover classifier that judges retriable-vs-terminal by a raw return value's magnitude (comparing against known errno values) is unsafe unless every wrapped call site shares the same success convention — a call that legitimately returns a variable count on success can numerically collide with an error code.
- When two independent "is it ready" signals exist server-side, a wait/convergence helper gating on only one does not imply the other is satisfied — check what the actual raced precondition depends on.

View file

@ -83,8 +83,8 @@
"first_read": "2026-08-19T10:06:35.141Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/cluster.c": {
"count": 3,
"tokens": 26217,
"count": 6,
"tokens": 24998,
"first_read": "2026-08-19T10:07:05.618Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/src/core_clock.c": {
@ -153,8 +153,8 @@
"first_read": "2026-08-19T10:25:46.915Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/specs/scheduler-core/tasks.md": {
"count": 2,
"tokens": 32131,
"count": 7,
"tokens": 32875,
"first_read": "2026-08-19T10:41:02.602Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/test_repl_snapshot_params.c": {
@ -171,6 +171,71 @@
"count": 1,
"tokens": 200,
"first_read": "2026-08-19T10:58:53.028Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/steering/roadmap.md": {
"count": 3,
"tokens": 14153,
"first_read": "2026-08-19T11:46:57.981Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/testsuite/test.c": {
"count": 1,
"tokens": 39556,
"first_read": "2026-08-19T14:13:47.657Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/specs/raft-apply-decoupling/design.md": {
"count": 1,
"tokens": 9566,
"first_read": "2026-08-19T14:16:26.222Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/job.c": {
"count": 2,
"tokens": 26846,
"first_read": "2026-08-19T14:19:04.736Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/persist.c": {
"count": 5,
"tokens": 88956,
"first_read": "2026-08-19T14:19:29.313Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/apiserver.c": {
"count": 1,
"tokens": 6392,
"first_read": "2026-08-19T14:21:41.708Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/sched.c": {
"count": 1,
"tokens": 6080,
"first_read": "2026-08-19T14:21:41.716Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/config_repl.c": {
"count": 1,
"tokens": 36913,
"first_read": "2026-08-19T14:28:17.120Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/xceadmin/tests/test_config_push_mock.py": {
"count": 1,
"tokens": 0,
"first_read": "2026-08-19T14:28:43.763Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/ha.c": {
"count": 3,
"tokens": 125491,
"first_read": "2026-08-19T14:29:14.907Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/join.c": {
"count": 1,
"tokens": 2994,
"first_read": "2026-08-19T14:29:41.876Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/xceadmin/src/xceadmin/push.py": {
"count": 1,
"tokens": 0,
"first_read": "2026-08-19T14:29:56.418Z"
},
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/xceadmin/tests/test_e2e_live_ha_push.py": {
"count": 1,
"tokens": 0,
"first_read": "2026-08-19T14:30:37.407Z"
}
},
"files_written": [
@ -419,6 +484,66 @@
"action": "edit",
"tokens": 12,
"at": "2026-08-19T10:58:57.657Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/specs/scheduler-core/research.md",
"action": "edit",
"tokens": 315,
"at": "2026-08-19T11:46:31.439Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/specs/scheduler-core/research.md",
"action": "edit",
"tokens": 98,
"at": "2026-08-19T11:46:44.440Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/steering/roadmap.md",
"action": "edit",
"tokens": 230,
"at": "2026-08-19T11:47:12.314Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/steering/roadmap.md",
"action": "edit",
"tokens": 362,
"at": "2026-08-19T11:48:14.864Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/specs/scheduler-core/design.md",
"action": "edit",
"tokens": 374,
"at": "2026-08-19T11:49:02.415Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/specs/scheduler-core/tasks.md",
"action": "edit",
"tokens": 230,
"at": "2026-08-19T11:50:00.606Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/steering/roadmap.md",
"action": "edit",
"tokens": 256,
"at": "2026-08-19T14:14:21.310Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/specs/scheduler-core/tasks.md",
"action": "edit",
"tokens": 209,
"at": "2026-08-19T14:25:11.259Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/steering/roadmap.md",
"action": "edit",
"tokens": 626,
"at": "2026-08-19T15:07:04.449Z"
},
{
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/steering/roadmap.md",
"action": "edit",
"tokens": 380,
"at": "2026-08-19T15:07:22.014Z"
}
],
"edit_counts": {
@ -434,17 +559,19 @@
"src/controller/cluster.c": 3,
"src/controller/testsuite/test_sched_admin_dispatch.c": 2,
".kiro/specs/scheduler-core/requirements.md": 1,
".kiro/specs/scheduler-core/design.md": 3,
".kiro/specs/scheduler-core/design.md": 4,
".kiro/specs/resource-value-verification/design.md": 2,
"src/scheduler/src/core_events.c": 1,
"src/frontend/apiserver/backend/handler.go": 1,
"src/scheduler/testsuite/scratch_gen_resource_replay.c": 1,
".kiro/specs/scheduler-core/tasks.md": 1,
".kiro/specs/scheduler-core/spec.json": 1
".kiro/specs/scheduler-core/tasks.md": 3,
".kiro/specs/scheduler-core/spec.json": 1,
".kiro/specs/scheduler-core/research.md": 2,
".kiro/steering/roadmap.md": 5
},
"anatomy_hits": 24,
"anatomy_misses": 10,
"repeated_reads_warned": 34,
"anatomy_hits": 34,
"anatomy_misses": 13,
"repeated_reads_warned": 51,
"cerebrum_warnings": 0,
"stop_count": 17
"stop_count": 22
}

View file

@ -2464,3 +2464,19 @@
| 03:58 | Edited .kiro/specs/scheduler-core/spec.json | inline fix | ~12 |
| 03:59 | Session end: 41 writes across 17 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 34 reads | ~245953 tok |
| 04:01 | Session end: 41 writes across 17 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 34 reads | ~245953 tok |
| 04:46 | Edited .kiro/specs/scheduler-core/research.md | 1→2 lines | ~294 |
| 04:46 | Edited .kiro/specs/scheduler-core/research.md | inline fix | ~91 |
| 04:47 | Edited .kiro/steering/roadmap.md | inline fix | ~215 |
| 04:48 | Edited .kiro/steering/roadmap.md | "/kiro-verify-completion" → "fcfs.c" | ~338 |
| 04:49 | Edited .kiro/specs/scheduler-core/design.md | modified was() | ~350 |
| 04:50 | Edited .kiro/specs/scheduler-core/tasks.md | 1→2 lines | ~215 |
| 04:50 | Session end: 47 writes across 19 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 35 reads | ~262104 tok |
| 07:08 | Session end: 47 writes across 19 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 35 reads | ~262367 tok |
| 07:14 | Edited .kiro/steering/roadmap.md | "!<command>" → "xce-test-e2e-primitives" | ~239 |
| 07:16 | Session end: 48 writes across 19 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 37 reads | ~311837 tok |
| 14:22 | Investigated tasks 2.1-2.6 "missing _Verified" backfill request: premise false, lines already added by commit d7b49690 (2026-08-08); found line 431 (added by 0519d24d today) falsely claims backfill still open. No tasks.md edit made — reported discrepancy instead of writing false-positive lines. Fresh build/test: 41/42 meson suites pass, all picker/fcfs tests green (60/60 across 8 binaries), 1 unrelated pre-known failure (bug-1560) | .kiro/specs/scheduler-core/tasks.md | investigated, no edit | ~90000 tok |
| 07:25 | Edited .kiro/specs/scheduler-core/tasks.md | "s Open Questions/Risks #6" → "s Open Questions/Risks #6" | ~195 |
| 07:26 | Session end: 49 writes across 19 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 41 reads | ~440320 tok |
| 07:27 | Session end: 49 writes across 19 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 41 reads | ~439101 tok |
| 08:07 | Edited .kiro/steering/roadmap.md | "s " → "raft-apply-decoupling" | ~584 |
| 08:07 | Edited .kiro/steering/roadmap.md | inline fix | ~354 |

File diff suppressed because it is too large Load diff