chore(wolf): regenerate handoff, sync anatomy/memory bookkeeping

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
This commit is contained in:
Rongsong Shen 2026-09-13 09:43:21 +00:00
parent 0480798583
commit b8ef82c1b2
No known key found for this signature in database
GPG key ID: 5BCDAAE0123E9FE2
4 changed files with 43 additions and 23 deletions

View file

@ -7,33 +7,42 @@
## ✅ Done
- (nothing yet — fill in as work completes)
- **scheduler-sim-eager-reconciliation spec, revision 4** (2026-09-12, commit `25fb5c11`): captured jobs' `job->state` now set to `JOB_STAT_RUN` synchronously at dispatch capture (`sim_reconcile_unaccounted_jobs`), mirroring normal-mode's `sched_commit_decision` semantics (bug-1624/bug-1804). All 4 revision tasks in `tasks.md` checked off.
- **bug-1799/1801**: fixed sim replay resInUse over-commit — `sched_account_jobs`'s per-round re-derive now skips RECONCILING/UNAVAIL workers (matches `core_reset_workers`'s existing bug-1751 skip). Previously a worker's `used` slots could exceed its own `value` capacity after a resync replay (observed 26 used vs. 22 capacity).
- **bug-1800**: bytes-valued CONSUMABLE resources (mem/swp/tmp) in `info worker` now render with human-scaled units, matching maxmem/maxswap/maxtmp's existing formatting.
- **bug-1802/1803**: `break ANY` breakpoint kind added then reverted after live feedback it over-fired inside busy sessions; replaced with a prescan-based "next non-dummy session" hint surfaced in `info summary`.
- Full scheduler test suite verified GREEN: 77/77 tests pass (asan profile, `xce.build`), confirmed via fresh build+test run before committing.
---
## 🚀 Next phase
**Goal:** _<what we're building next>_
**Goal:** _None currently active — last quest (scheduler-sim-eager-reconciliation revision + bug-1799..1804) is committed and closed out._
### Acceptance criteria
1. _<concrete user-visible outcome>_
### Open items (not yet actioned)
- `gitea` MCP server failed to connect this session (CONNECT_TIMEOUT) — buglog entries bug-1798 through bug-1804 have not been synced to Gitea issues via the `gitea-sync` skill; retry once the server is reachable.
### Files to create / edit
- _<path + purpose>_
- _none pending_
### Open decisions
- _<question to ask before coding>_
- _none pending_
---
## 📁 Active architecture
- **Stack:** _<frameworks>_
- **Stack:** Go API/CLI tier (`src/frontend/apiserver`) fronting C daemons (`src/controller`, `src/worker`, `src/scheduler`); Meson-based build via `src/tools/xce-build.sh`, hermetic nix dev shell.
- **Current focus area:** `src/scheduler` — sim/replay mode (`sim.c`, `sim_loop.c`, `repl_info.c`) and resource accounting (`resource.c`).
---
## 🔧 Useful commands
```bash
# add the most-used commands here
# Build + test scheduler only (ASAN profile)
bash src/tools/xce-build.sh scheduler asan xce.build --jobs <N>
# Replay a live-captured scheduler session
./xce.build/scheduler/xce_scheduler -i -s <replay-file>
```

View file

@ -1,13 +1,13 @@
{
"version": 1,
"meta": {
"lastScanned": "2026-09-11T11:32:34.355Z",
"fileCount": 531,
"lastScanned": "2026-09-13T09:37:12.866Z",
"fileCount": 532,
"hits": 0,
"misses": 0,
"renderedHash": "33fd3fb89102d63e9b4431d49b33d7db59e3b7a1038c68f9c3f47eb849642bd2",
"storeUpdatedAt": "2026-09-11T11:32:34.363Z",
"rootHash": "92eb48ac76f08b14"
"renderedHash": "1e5c212dfea7cd6b5ecc301cef1fa5432308875a98d00b7c0b3f556246533ee7",
"storeUpdatedAt": "2026-09-13T09:37:12.874Z",
"rootHash": "76dd78a99d8c45d4"
},
"files": {
".agent-shell/transcripts/2026-08-11-11-39-59.md": {
@ -3917,13 +3917,12 @@
},
"CHANGES.md": {
"description": "XCE Change Log",
"tokens": 14607,
"hash": "06f38cd2e4e01f21",
"size": 58441,
"mtimeMs": 1788694807751.8726,
"updatedAt": "2026-09-08T03:09:38.924Z",
"source": "scan",
"importance": 0.1036
"tokens": 17327,
"hash": "38a24edb08aa767d",
"size": 69323,
"mtimeMs": 1789292232830.0906,
"updatedAt": "2026-09-13T09:37:12.866Z",
"source": "hook"
},
"CLAUDE.md": {
"description": "OpenWolf",
@ -9991,6 +9990,15 @@
"mtimeMs": 1789125200160.1223,
"updatedAt": "2026-09-11T11:13:20.196Z",
"source": "hook"
},
"reports/sep06-sep12-2026.md": {
"description": "XCE Project Status — Sep 06 – Sep 12, 2026",
"tokens": 2914,
"hash": "637ebf462b0b42a1",
"size": 11769,
"mtimeMs": 1789291943530.255,
"updatedAt": "2026-09-13T09:32:23.567Z",
"source": "hook"
}
}
}

View file

@ -1,7 +1,7 @@
# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-09-11T11:32:34.355Z
> Files: 531 tracked | Anatomy hits: 0 | Misses: 0
> Auto-maintained by OpenWolf. Last scanned: 2026-09-13T09:37:12.866Z
> Files: 532 tracked | Anatomy hits: 0 | Misses: 0
## ./
@ -9,7 +9,7 @@
- `.gitignore` — Git ignore rules (~413 tok)
- `.mcp.json` (~7 tok)
- `.opencode.json` (~7 tok)
- `CHANGES.md` — XCE Change Log (~14607 tok)
- `CHANGES.md` — XCE Change Log (~17327 tok)
- `CLAUDE.md` — OpenWolf (~1806 tok)
- `README.md` — Project documentation (~1157 tok)
@ -653,6 +653,7 @@
- `jul19-jul26-2026.md` — Work Summary: Jul 19 – Jul 26, 2026 (~3482 tok)
- `jul27-aug02-2026.md` — XCE Project Status — Jul 27 – Aug 01, 2026 (~2003 tok)
- `jun29-jul04-2026.md` — Work Summary: June 30 – July 4, 2026 (~857 tok)
- `sep06-sep12-2026.md` — XCE Project Status — Sep 06 – Sep 12, 2026 (~2914 tok)
## scripts/

View file

@ -4547,3 +4547,5 @@
| Time | Action | File(s) | Outcome | ~Tokens |
|------|--------|---------|---------|--------|
| 02:32 | Created reports/sep06-sep12-2026.md | — | ~3109 |
| 02:37 | Edited CHANGES.md | modified docs() | ~2946 |