chore(wolf): update session tracking state
Covers the printf/tlog-prefix consistency fix, the "info resource all" UX fix, and the resource-distribution-mapping roadmap gap surfaced while investigating total/current display for GLOBAL/SHARED resources.
This commit is contained in:
parent
e61fa2b3a8
commit
6522a73459
4 changed files with 1347 additions and 30 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# anatomy.md
|
||||
|
||||
> Auto-maintained by OpenWolf. Last scanned: 2026-08-19T15:07:22.008Z
|
||||
> Files: 592 tracked | Anatomy hits: 0 | Misses: 0
|
||||
> Auto-maintained by OpenWolf. Last scanned: 2026-08-20T03:02:21.623Z
|
||||
> Files: 593 tracked | Anatomy hits: 0 | Misses: 0
|
||||
|
||||
## ../../../../../../tmp/
|
||||
|
||||
|
|
@ -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 (~14672 tok)
|
||||
- `roadmap.md` — Roadmap (~15027 tok)
|
||||
- `security.md` — Security Standards (~1636 tok)
|
||||
- `structure.md` — Project Structure (~1348 tok)
|
||||
- `tech.md` — Technology Stack (~1500 tok)
|
||||
|
|
@ -957,13 +957,13 @@
|
|||
- `main.c` — CLI entry (argp table); bug-1585 added --record-snapshot-interval, wired to sched.record_snapshot_interval (~4650 tok)
|
||||
- `recording_session.c` — include <stdint.h> (~2706 tok)
|
||||
- `repl_break.c` — include <stdio.h>; task 12.5 added unconditional repl_print_event_summary() in xce_repl_on_event() (bug-1595), 790/800 lines (~8861 tok)
|
||||
- `repl_info.c` — include <stdio.h>; task 12.5 rewrote info-resource for metadata + GLOBAL/SHARED-only (bug-1593), repl_job_state_name() now non-static; 856 lines, STILL OVER 800-line cap (pre-existing debt, was 883) (~8462 tok)
|
||||
- `repl_info.c` — include <stdio.h> (~8894 tok)
|
||||
- `repl_internal.h` — if !defined(_REPL_INTERNAL_H_); task 12.5 added replay_complete field + repl_job_state_name extern (~3602 tok)
|
||||
- `repl_params.c` — include <errno.h> (~4299 tok)
|
||||
- `repl.c` — include <ctype.h>; task 12.5 added xce_repl_on_replay_complete(), replay_complete guard on step/continue, quote-stripping in repl_split_tokens() (bug-1594/1596) (~6611 tok)
|
||||
- `resource.c` — include <errno.h> (~4526 tok)
|
||||
- `scheduler.c` — include <errno.h> (~15773 tok)
|
||||
- `sim_loop.c` — include <errno.h> (~9686 tok)
|
||||
- `sim_loop.c` — include <errno.h> (~9926 tok)
|
||||
- `sim_picker.c` — include <errno.h> (~1374 tok)
|
||||
- `sim_verify.c` — include <stdio.h> (~4694 tok)
|
||||
- `sim.c` — include <errno.h> (~5100 tok)
|
||||
|
|
@ -976,13 +976,14 @@
|
|||
|
||||
## src/scheduler/testsuite/
|
||||
|
||||
- `meson.build` — Declares vtask_entry (~15137 tok)
|
||||
- `meson.build` — Declares vtask_entry (~15412 tok)
|
||||
- `scratch_gen_resource_replay.c` (~2735 tok)
|
||||
- `test_clock.c` — Declares uint64_t (~5450 tok)
|
||||
- `test_core_events.c` — Declares and; real dup_val() reimpl added for link (bug-1585) (~7880 tok)
|
||||
- `test_core_isolation.c` — Declares char (~4069 tok)
|
||||
- `test_driver_translate.c` — Declares field; full_val/delta_val fixtures now set ->which=XCE_VAL_NUMERIC (bug-1585 dup_val fix exposed the gap) (~9580 tok)
|
||||
- `test_repl_breakpoints_inspection.c` — Declares and (~16735 tok)
|
||||
- `test_no_bare_printf.c` — Declares char (~1702 tok)
|
||||
- `test_repl_breakpoints_inspection.c` — Declares and (~17207 tok)
|
||||
- `test_repl_equivalence.c` — Declares char (~7554 tok)
|
||||
- `test_repl_execution_control.c` — Declares directly (~8798 tok)
|
||||
- `test_resval_ownership.c` — bug-1585 regression: RESVALS_FULL/RESVALS_DELTA heap-use-after-free, with a REAL (non-stubbed) kill_sched_resval to actually catch it (~5471 tok)
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
"first_read": "2026-08-19T09:41:20.109Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/src/sim_loop.c": {
|
||||
"count": 4,
|
||||
"tokens": 9386,
|
||||
"count": 7,
|
||||
"tokens": 9921,
|
||||
"first_read": "2026-08-19T09:43:29.822Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/include/repl.h": {
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
"first_read": "2026-08-19T09:44:33.465Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/test_repl_breakpoints_inspection.c": {
|
||||
"count": 4,
|
||||
"count": 5,
|
||||
"tokens": 16735,
|
||||
"first_read": "2026-08-19T09:44:42.168Z"
|
||||
},
|
||||
|
|
@ -108,8 +108,8 @@
|
|||
"first_read": "2026-08-19T10:12:31.555Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/test_sim_event_loop.c": {
|
||||
"count": 5,
|
||||
"tokens": 9082,
|
||||
"count": 6,
|
||||
"tokens": 9248,
|
||||
"first_read": "2026-08-19T10:12:45.396Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/meson.build": {
|
||||
|
|
@ -163,7 +163,7 @@
|
|||
"first_read": "2026-08-19T10:52:27.345Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/meson.build": {
|
||||
"count": 2,
|
||||
"count": 3,
|
||||
"tokens": 15137,
|
||||
"first_read": "2026-08-19T10:52:27.503Z"
|
||||
},
|
||||
|
|
@ -173,8 +173,8 @@
|
|||
"first_read": "2026-08-19T10:58:53.028Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/steering/roadmap.md": {
|
||||
"count": 3,
|
||||
"tokens": 14153,
|
||||
"count": 4,
|
||||
"tokens": 14672,
|
||||
"first_read": "2026-08-19T11:46:57.981Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/controller/testsuite/test.c": {
|
||||
|
|
@ -236,6 +236,51 @@
|
|||
"count": 1,
|
||||
"tokens": 0,
|
||||
"first_read": "2026-08-19T14:30:37.407Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/lib/wrap.c": {
|
||||
"count": 1,
|
||||
"tokens": 0,
|
||||
"first_read": "2026-08-20T02:45:32.266Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/meson.build": {
|
||||
"count": 1,
|
||||
"tokens": 628,
|
||||
"first_read": "2026-08-20T02:47:21.830Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/src/repl_info.c": {
|
||||
"count": 3,
|
||||
"tokens": 8462,
|
||||
"first_read": "2026-08-20T02:50:21.859Z"
|
||||
},
|
||||
"/tmp/claude-1000/-home-rshen-projects-xce-worktrees-scheduler-framework/0334ebbe-8d9c-4931-871d-87c678f83a79/tasks/b5qc5afmr.output": {
|
||||
"count": 1,
|
||||
"tokens": 0,
|
||||
"first_read": "2026-08-20T02:50:55.495Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/test_no_bare_printf.c": {
|
||||
"count": 1,
|
||||
"tokens": 1702,
|
||||
"first_read": "2026-08-20T02:51:59.644Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/configs/resources.yaml": {
|
||||
"count": 1,
|
||||
"tokens": 1687,
|
||||
"first_read": "2026-08-20T02:55:46.020Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/configs/schema/resources.schema.json": {
|
||||
"count": 1,
|
||||
"tokens": 342,
|
||||
"first_read": "2026-08-20T02:55:46.480Z"
|
||||
},
|
||||
"/home/rshen/projects/xce/worktrees/scheduler-framework/src/frontend/xcecli/models/resource.go": {
|
||||
"count": 1,
|
||||
"tokens": 0,
|
||||
"first_read": "2026-08-20T02:56:23.701Z"
|
||||
},
|
||||
"/tmp/claude-1000/-home-rshen-projects-xce-worktrees-scheduler-framework/0334ebbe-8d9c-4931-871d-87c678f83a79/tasks/bom2mhtc9.output": {
|
||||
"count": 1,
|
||||
"tokens": 0,
|
||||
"first_read": "2026-08-20T02:57:51.027Z"
|
||||
}
|
||||
},
|
||||
"files_written": [
|
||||
|
|
@ -544,18 +589,72 @@
|
|||
"action": "edit",
|
||||
"tokens": 380,
|
||||
"at": "2026-08-19T15:07:22.014Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/src/sim_loop.c",
|
||||
"action": "edit",
|
||||
"tokens": 611,
|
||||
"at": "2026-08-20T02:46:44.302Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/test_no_bare_printf.c",
|
||||
"action": "create",
|
||||
"tokens": 1824,
|
||||
"at": "2026-08-20T02:48:32.297Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/meson.build",
|
||||
"action": "edit",
|
||||
"tokens": 309,
|
||||
"at": "2026-08-20T02:49:21.943Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/meson.build",
|
||||
"action": "edit",
|
||||
"tokens": 76,
|
||||
"at": "2026-08-20T02:49:34.980Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/src/sim_loop.c",
|
||||
"action": "edit",
|
||||
"tokens": 84,
|
||||
"at": "2026-08-20T02:56:18.214Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/src/repl_info.c",
|
||||
"action": "edit",
|
||||
"tokens": 344,
|
||||
"at": "2026-08-20T02:57:12.753Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/test_repl_breakpoints_inspection.c",
|
||||
"action": "edit",
|
||||
"tokens": 534,
|
||||
"at": "2026-08-20T02:58:02.252Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/src/scheduler/testsuite/test_repl_breakpoints_inspection.c",
|
||||
"action": "edit",
|
||||
"tokens": 42,
|
||||
"at": "2026-08-20T03:00:14.543Z"
|
||||
},
|
||||
{
|
||||
"file": "/home/rshen/projects/xce/worktrees/scheduler-framework/.kiro/steering/roadmap.md",
|
||||
"action": "edit",
|
||||
"tokens": 422,
|
||||
"at": "2026-08-20T03:02:21.633Z"
|
||||
}
|
||||
],
|
||||
"edit_counts": {
|
||||
"src/scheduler/testsuite/test_repl_breakpoints_inspection.c": 1,
|
||||
"src/scheduler/testsuite/test_repl_breakpoints_inspection.c": 3,
|
||||
"src/scheduler/testsuite/test_sim_startup.c": 2,
|
||||
"src/scheduler/testsuite/test_sim_event_loop.c": 5,
|
||||
"src/scheduler/meson.build": 1,
|
||||
"src/scheduler/testsuite/meson.build": 3,
|
||||
"src/scheduler/testsuite/meson.build": 5,
|
||||
"src/scheduler/testsuite/test_core_isolation.c": 5,
|
||||
"src/scheduler/CLAUDE.md": 1,
|
||||
"src/scheduler/src/sim.c": 1,
|
||||
"src/scheduler/src/sim_loop.c": 6,
|
||||
"src/scheduler/src/sim_loop.c": 8,
|
||||
"src/controller/cluster.c": 3,
|
||||
"src/controller/testsuite/test_sched_admin_dispatch.c": 2,
|
||||
".kiro/specs/scheduler-core/requirements.md": 1,
|
||||
|
|
@ -567,11 +666,13 @@
|
|||
".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
|
||||
".kiro/steering/roadmap.md": 6,
|
||||
"src/scheduler/testsuite/test_no_bare_printf.c": 1,
|
||||
"src/scheduler/src/repl_info.c": 1
|
||||
},
|
||||
"anatomy_hits": 34,
|
||||
"anatomy_misses": 13,
|
||||
"repeated_reads_warned": 51,
|
||||
"anatomy_hits": 39,
|
||||
"anatomy_misses": 17,
|
||||
"repeated_reads_warned": 60,
|
||||
"cerebrum_warnings": 0,
|
||||
"stop_count": 22
|
||||
"stop_count": 24
|
||||
}
|
||||
|
|
@ -2480,3 +2480,16 @@
|
|||
| 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 |
|
||||
| 08:08 | Session end: 51 writes across 19 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 47 reads | ~605505 tok |
|
||||
| 19:46 | Edited src/scheduler/src/sim_loop.c | modified sim_print_decision() | ~571 |
|
||||
| 19:48 | Created src/scheduler/testsuite/test_no_bare_printf.c | — | ~1702 |
|
||||
| 19:49 | Edited src/scheduler/testsuite/meson.build | expanded (+19 lines) | ~288 |
|
||||
| 19:49 | Edited src/scheduler/testsuite/meson.build | 3→6 lines | ~71 |
|
||||
| 03:05 | Ran ASAN incremental build+tests for scheduler (task from parent agent) | src/scheduler | build OK (41/43 tests pass); sched_no_bare_printf_test FAILS -- false positive, flags sim_loop.c doc-comment prose text, not real code; live smoke test confirms actual PEND line has no timestamp prefix | ~4500 |
|
||||
| 19:56 | Edited src/scheduler/src/sim_loop.c | 4→4 lines | ~78 |
|
||||
| 19:57 | Edited src/scheduler/src/repl_info.c | added 1 condition(s) | ~321 |
|
||||
| 19:58 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | modified 20() | ~499 |
|
||||
| 02:58 | Verified fix for sched_no_bare_printf_test false positive: reworded doc comment above sim_print_decision() (sim_loop.c ~L375-384) to avoid literal "printf(" substring in prose; fresh incremental ASAN build+test confirms both test_scheduler_src_has_no_bare_printf_calls and test_scheduler_plugins_has_no_bare_printf_calls now PASS. Full scheduler suite: 42/43 Ok, 1 Fail (test_recordstart_symlink_escape_replies_error, pre-existing bug-1560, expected) | src/scheduler/src/sim_loop.c | build clean, target regression confirmed fixed, no new failures | ~8k |
|
||||
| 20:00 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | 1→2 lines | ~39 |
|
||||
| 20:00 | Session end: 59 writes across 21 files (test_repl_breakpoints_inspection.c, test_sim_startup.c, test_sim_event_loop.c, meson.build, test_core_isolation.c) | 56 reads | ~622851 tok |
|
||||
| 20:02 | Edited .kiro/steering/roadmap.md | 1→2 lines | ~394 |
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue