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:
parent
0480798583
commit
b8ef82c1b2
4 changed files with 43 additions and 23 deletions
|
|
@ -7,33 +7,42 @@
|
||||||
|
|
||||||
## ✅ Done
|
## ✅ 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
|
## 🚀 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
|
### Open items (not yet actioned)
|
||||||
1. _<concrete user-visible outcome>_
|
- `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
|
### Files to create / edit
|
||||||
- _<path + purpose>_
|
- _none pending_
|
||||||
|
|
||||||
### Open decisions
|
### Open decisions
|
||||||
- _<question to ask before coding>_
|
- _none pending_
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 📁 Active architecture
|
## 📁 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
|
## 🔧 Useful commands
|
||||||
|
|
||||||
```bash
|
```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>
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"meta": {
|
"meta": {
|
||||||
"lastScanned": "2026-09-11T11:32:34.355Z",
|
"lastScanned": "2026-09-13T09:37:12.866Z",
|
||||||
"fileCount": 531,
|
"fileCount": 532,
|
||||||
"hits": 0,
|
"hits": 0,
|
||||||
"misses": 0,
|
"misses": 0,
|
||||||
"renderedHash": "33fd3fb89102d63e9b4431d49b33d7db59e3b7a1038c68f9c3f47eb849642bd2",
|
"renderedHash": "1e5c212dfea7cd6b5ecc301cef1fa5432308875a98d00b7c0b3f556246533ee7",
|
||||||
"storeUpdatedAt": "2026-09-11T11:32:34.363Z",
|
"storeUpdatedAt": "2026-09-13T09:37:12.874Z",
|
||||||
"rootHash": "92eb48ac76f08b14"
|
"rootHash": "76dd78a99d8c45d4"
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
".agent-shell/transcripts/2026-08-11-11-39-59.md": {
|
".agent-shell/transcripts/2026-08-11-11-39-59.md": {
|
||||||
|
|
@ -3917,13 +3917,12 @@
|
||||||
},
|
},
|
||||||
"CHANGES.md": {
|
"CHANGES.md": {
|
||||||
"description": "XCE Change Log",
|
"description": "XCE Change Log",
|
||||||
"tokens": 14607,
|
"tokens": 17327,
|
||||||
"hash": "06f38cd2e4e01f21",
|
"hash": "38a24edb08aa767d",
|
||||||
"size": 58441,
|
"size": 69323,
|
||||||
"mtimeMs": 1788694807751.8726,
|
"mtimeMs": 1789292232830.0906,
|
||||||
"updatedAt": "2026-09-08T03:09:38.924Z",
|
"updatedAt": "2026-09-13T09:37:12.866Z",
|
||||||
"source": "scan",
|
"source": "hook"
|
||||||
"importance": 0.1036
|
|
||||||
},
|
},
|
||||||
"CLAUDE.md": {
|
"CLAUDE.md": {
|
||||||
"description": "OpenWolf",
|
"description": "OpenWolf",
|
||||||
|
|
@ -9991,6 +9990,15 @@
|
||||||
"mtimeMs": 1789125200160.1223,
|
"mtimeMs": 1789125200160.1223,
|
||||||
"updatedAt": "2026-09-11T11:13:20.196Z",
|
"updatedAt": "2026-09-11T11:13:20.196Z",
|
||||||
"source": "hook"
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# anatomy.md
|
# anatomy.md
|
||||||
|
|
||||||
> Auto-maintained by OpenWolf. Last scanned: 2026-09-11T11:32:34.355Z
|
> Auto-maintained by OpenWolf. Last scanned: 2026-09-13T09:37:12.866Z
|
||||||
> Files: 531 tracked | Anatomy hits: 0 | Misses: 0
|
> Files: 532 tracked | Anatomy hits: 0 | Misses: 0
|
||||||
|
|
||||||
## ./
|
## ./
|
||||||
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
- `.gitignore` — Git ignore rules (~413 tok)
|
- `.gitignore` — Git ignore rules (~413 tok)
|
||||||
- `.mcp.json` (~7 tok)
|
- `.mcp.json` (~7 tok)
|
||||||
- `.opencode.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)
|
- `CLAUDE.md` — OpenWolf (~1806 tok)
|
||||||
- `README.md` — Project documentation (~1157 tok)
|
- `README.md` — Project documentation (~1157 tok)
|
||||||
|
|
||||||
|
|
@ -653,6 +653,7 @@
|
||||||
- `jul19-jul26-2026.md` — Work Summary: Jul 19 – Jul 26, 2026 (~3482 tok)
|
- `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)
|
- `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)
|
- `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/
|
## scripts/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4547,3 +4547,5 @@
|
||||||
|
|
||||||
| Time | Action | File(s) | Outcome | ~Tokens |
|
| Time | Action | File(s) | Outcome | ~Tokens |
|
||||||
|------|--------|---------|---------|--------|
|
|------|--------|---------|---------|--------|
|
||||||
|
| 02:32 | Created reports/sep06-sep12-2026.md | — | ~3109 |
|
||||||
|
| 02:37 | Edited CHANGES.md | modified docs() | ~2946 |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue