save wolf status

This commit is contained in:
Rongsong Shen 2026-09-24 19:23:24 +08:00
parent b0f2aea466
commit 534895c5f6
Signed by untrusted user: rshen
GPG key ID: 80533536B0EB651C
6 changed files with 451 additions and 4102 deletions

View file

@ -10,7 +10,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/post-read.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/post-read.js\"",
"timeout": 5
}
]
@ -20,7 +20,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/post-write.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/post-write.js\"",
"timeout": 10
}
]
@ -30,7 +30,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/post-bash.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/post-bash.js\"",
"timeout": 10
}
]
@ -50,7 +50,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/session-start.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/session-start.js\"",
"timeout": 5
}
]
@ -62,7 +62,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/pre-read.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/pre-read.js\"",
"timeout": 5
}
]
@ -72,7 +72,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/pre-write.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/pre-write.js\"",
"timeout": 5
}
]
@ -82,7 +82,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/pre-bash.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/pre-bash.js\"",
"timeout": 5
}
]
@ -94,7 +94,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/stop.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/stop.js\"",
"timeout": 10
}
]
@ -106,7 +106,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/user-prompt-submit.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/user-prompt-submit.js\"",
"timeout": 5
}
]
@ -118,7 +118,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/post-batch.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/post-batch.js\"",
"timeout": 5
}
]
@ -130,7 +130,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/precompact.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/precompact.js\"",
"timeout": 5
}
]
@ -142,7 +142,7 @@
"hooks": [
{
"type": "command",
"command": "node \"/home/rshen/projects/xce/worktrees/scheduler-framework/.wolf/hooks/session-end.js\"",
"command": "node \"/mnt/jfs/projects/rshen/xce/scheduler-framework/.wolf/hooks/session-end.js\"",
"timeout": 10
}
]

View file

@ -1,13 +1,13 @@
{
"version": 1,
"meta": {
"lastScanned": "2026-09-24T08:19:48.605Z",
"fileCount": 697,
"lastScanned": "2026-09-24T09:43:08.995Z",
"fileCount": 702,
"hits": 0,
"misses": 0,
"renderedHash": "874f53e000496ecda4b198ce3b58146a20309f7f3739dd5c8f2768596b12c1b4",
"storeUpdatedAt": "2026-09-24T08:19:48.613Z",
"rootHash": "a8b88b2c1c5b1022"
"renderedHash": "f3d81573f594cd48eed6396653860d3691d51278f063129886313253d5410fcb",
"storeUpdatedAt": "2026-09-24T09:43:09.018Z",
"rootHash": "1c04bc1bbc3d7bef"
},
"files": {
".agent-shell/transcripts/2026-08-11-11-39-59.md": {
@ -4153,228 +4153,197 @@
"importance": 0.1036
},
"scripts/gitea-sync.py": {
"description": "GiteaAPI: die, warn, api_url, request + 12 more",
"tokens": 8433,
"hash": "b2a9e55db60fb48f",
"size": 30952,
"mtimeMs": 1787581363293.2732,
"updatedAt": "2026-09-08T03:09:38.930Z",
"source": "scan",
"description": "GiteaAPI: die, warn, bug_status, bug_state + 14 more",
"tokens": 10215,
"hash": "05e31c47f3c689ab",
"size": 37190,
"mtimeMs": 1790242988880.7297,
"updatedAt": "2026-09-24T09:43:08.995Z",
"source": "hook",
"symbols": [
{
"name": "die",
"kind": "fn",
"startLine": 40,
"endLine": 42,
"tokens": 21
"startLine": 43,
"endLine": 47,
"tokens": 22
},
{
"name": "warn",
"kind": "fn",
"startLine": 45,
"endLine": 46,
"startLine": 48,
"endLine": 51,
"tokens": 17
},
{
"name": "_env",
"kind": "fn",
"startLine": 49,
"endLine": 53,
"tokens": 52
"startLine": 52,
"endLine": 58,
"tokens": 53
},
{
"name": "_discover_gitea_token",
"kind": "fn",
"startLine": 56,
"endLine": 82,
"tokens": 247
"startLine": 59,
"endLine": 192,
"tokens": 1488
},
{
"name": "bug_status",
"kind": "fn",
"startLine": 193,
"endLine": 198,
"tokens": 55
},
{
"name": "bug_state",
"kind": "fn",
"startLine": 199,
"endLine": 202,
"tokens": 28
},
{
"name": "_text",
"kind": "fn",
"startLine": 203,
"endLine": 209,
"tokens": 70
},
{
"name": "api_url",
"kind": "fn",
"startLine": 147,
"endLine": 149,
"tokens": 34
"startLine": 210,
"endLine": 214,
"tokens": 35
},
{
"name": "request",
"kind": "fn",
"startLine": 152,
"endLine": 179,
"tokens": 303
"startLine": 215,
"endLine": 248,
"tokens": 360
},
{
"name": "GiteaAPI",
"kind": "class",
"startLine": 184,
"endLine": 249,
"tokens": 676
},
{
"name": "GiteaAPI.__init__",
"kind": "method",
"startLine": 187,
"endLine": 188,
"tokens": 17
},
{
"name": "GiteaAPI.list_labels",
"kind": "method",
"startLine": 192,
"endLine": 196,
"tokens": 64
},
{
"name": "GiteaAPI.ensure_label",
"kind": "method",
"startLine": 198,
"endLine": 208,
"tokens": 116
},
{
"name": "GiteaAPI.list_milestones",
"kind": "method",
"startLine": 212,
"endLine": 214,
"tokens": 49
},
{
"name": "GiteaAPI.create_milestone",
"kind": "method",
"startLine": 216,
"endLine": 220,
"tokens": 66
},
{
"name": "GiteaAPI.update_milestone",
"kind": "method",
"startLine": 222,
"endLine": 223,
"tokens": 34
},
{
"name": "GiteaAPI.list_issues",
"kind": "method",
"startLine": 227,
"endLine": 234,
"tokens": 104
},
{
"name": "GiteaAPI.create_issue",
"kind": "method",
"startLine": 236,
"endLine": 245,
"tokens": 134
},
{
"name": "GiteaAPI.update_issue",
"kind": "method",
"startLine": 247,
"endLine": 249,
"tokens": 54
"startLine": 249,
"endLine": 327,
"tokens": 806
},
{
"name": "ensure_all_labels",
"kind": "fn",
"startLine": 254,
"endLine": 257,
"tokens": 59
"startLine": 328,
"endLine": 335,
"tokens": 83
},
{
"name": "status_label",
"kind": "fn",
"startLine": 336,
"endLine": 342,
"tokens": 41
},
{
"name": "bug_labels",
"kind": "fn",
"startLine": 262,
"endLine": 292,
"tokens": 321
"startLine": 343,
"endLine": 360,
"tokens": 164
},
{
"name": "bug_body",
"kind": "fn",
"startLine": 300,
"endLine": 352,
"tokens": 415
"startLine": 361,
"endLine": 424,
"tokens": 558
},
{
"name": "bug_title",
"kind": "fn",
"startLine": 355,
"endLine": 366,
"tokens": 146
"startLine": 425,
"endLine": 444,
"tokens": 265
},
{
"name": "spec_requirements_body",
"kind": "fn",
"startLine": 369,
"endLine": 412,
"tokens": 456
"startLine": 445,
"endLine": 490,
"tokens": 457
},
{
"name": "spec_implementation_body",
"kind": "fn",
"startLine": 415,
"endLine": 452,
"tokens": 372
"startLine": 491,
"endLine": 530,
"tokens": 373
},
{
"name": "spec_validation_body",
"kind": "fn",
"startLine": 455,
"endLine": 499,
"tokens": 416
"startLine": 531,
"endLine": 618,
"tokens": 810
},
{
"name": "_spec_desired_states",
"kind": "fn",
"startLine": 619,
"endLine": 632,
"tokens": 164
},
{
"name": "sync_spec",
"kind": "fn",
"startLine": 536,
"endLine": 630,
"tokens": 973
"startLine": 633,
"endLine": 722,
"tokens": 877
},
{
"name": "_sync_spec_phase_states",
"kind": "fn",
"startLine": 633,
"endLine": 687,
"tokens": 656
"startLine": 723,
"endLine": 762,
"tokens": 461
},
{
"name": "_spec_milestone_desc",
"kind": "fn",
"startLine": 690,
"endLine": 700,
"tokens": 136
"startLine": 763,
"endLine": 775,
"tokens": 137
},
{
"name": "_resolve_label_ids",
"kind": "fn",
"startLine": 703,
"endLine": 710,
"tokens": 75
"startLine": 776,
"endLine": 787,
"tokens": 99
},
{
"name": "sync_bugs",
"kind": "fn",
"startLine": 715,
"endLine": 804,
"tokens": 943
"startLine": 788,
"endLine": 925,
"tokens": 1738
},
{
"name": "_write_json",
"kind": "fn",
"startLine": 809,
"endLine": 815,
"tokens": 79
"startLine": 926,
"endLine": 936,
"tokens": 103
},
{
"name": "main",
"kind": "fn",
"startLine": 820,
"endLine": 873,
"tokens": 546
"startLine": 937,
"endLine": 995,
"tokens": 570
}
],
"symbolSource": "ts",
"skeleton": "def die(msg):\ndef warn(msg):\ndef _env(key, default=None, required=False):\ndef _discover_gitea_token():\ndef api_url(path):\ndef request(method, path, body=None):\nclass GiteaAPI:\n def __init__(self):\n def list_labels(self):\n def ensure_label(self, name, color, description=\"\"):\n def list_milestones(self, state=\"all\"):\n def create_milestone(self, title, description=\"\", state=\"open\"):\n def update_milestone(self, milestone_id, **fields):\n def list_issues(self, milestone_id=None, state=\"all\"):\n def create_issue(self, title, body, milestone_id=None, labels=None,\n def update_issue(self, issue_number, **fields):\ndef ensure_all_labels(api):\ndef bug_labels(bug_entry):\ndef bug_body(bug_entry):\ndef bug_title(bug_entry):\ndef spec_requirements_body(spec_name, spec_data, brief_path, req_path, design_path):\ndef spec_implementation_body(spec_name, spec_data, tasks_path):\ndef spec_validation_body(spec_name, spec_data):\ndef sync_spec(api, spec_name, dry_run=False, quiet=False):\ndef _sync_spec_phase_states(api, spec_name, spec_data, gitea_state,\ndef _spec_milestone_desc(spec_name, spec_data):\ndef _resolve_label_ids(api, label_names):\ndef sync_bugs(api, dry_run=False, quiet=False, since=None):\ndef _write_json(path, data):\ndef main():",
"importance": 0.1036
]
},
"src/autoscaler/meson.build": {
"description": "",
@ -12495,6 +12464,253 @@
"mtimeMs": 1790235703661.0974,
"updatedAt": "2026-09-24T07:41:43.705Z",
"source": "hook"
},
".claude/skills/gitea-sync/buglog_set.py": {
"description": "Surgically set top-level fields on one .wolf/buglog.json entry.",
"tokens": 831,
"hash": "62c1869df8747d30",
"size": 2907,
"mtimeMs": 1790242416571.8413,
"updatedAt": "2026-09-24T09:33:36.645Z",
"source": "hook",
"symbols": [
{
"name": "parse_value",
"kind": "fn",
"startLine": 24,
"endLine": 30,
"tokens": 33
},
{
"name": "main",
"kind": "fn",
"startLine": 31,
"endLine": 79,
"tokens": 560
}
]
},
".claude/rules/buglog-status.md": {
"description": "Buglog status field",
"tokens": 518,
"hash": "fc94cc8938ab72a3",
"size": 2069,
"mtimeMs": 1790242465769.8462,
"updatedAt": "2026-09-24T09:34:25.833Z",
"source": "hook"
},
"scripts/buglog_set.py": {
"description": "Surgically set top-level fields on one .wolf/buglog.json entry.",
"tokens": 974,
"hash": "c89fd576df3086ad",
"size": 3409,
"mtimeMs": 1790242506374.312,
"updatedAt": "2026-09-24T09:35:06.455Z",
"source": "hook",
"symbols": [
{
"name": "BuglogEditError",
"kind": "class",
"startLine": 26,
"endLine": 29,
"tokens": 13
},
{
"name": "set_fields",
"kind": "fn",
"startLine": 30,
"endLine": 67,
"tokens": 519
},
{
"name": "_parse_value",
"kind": "fn",
"startLine": 68,
"endLine": 74,
"tokens": 34
},
{
"name": "main",
"kind": "fn",
"startLine": 75,
"endLine": 92,
"tokens": 128
}
]
},
"scripts/buglog.py": {
"description": "Read and edit .wolf/buglog.json without re-serializing it.",
"tokens": 3253,
"hash": "00b585da10e3c84a",
"size": 11383,
"mtimeMs": 1790242713725.917,
"updatedAt": "2026-09-24T09:38:33.787Z",
"source": "hook",
"symbols": [
{
"name": "BuglogEditError",
"kind": "class",
"startLine": 46,
"endLine": 49,
"tokens": 13
},
{
"name": "_today",
"kind": "fn",
"startLine": 50,
"endLine": 53,
"tokens": 18
},
{
"name": "_now",
"kind": "fn",
"startLine": 54,
"endLine": 57,
"tokens": 29
},
{
"name": "_load",
"kind": "fn",
"startLine": 58,
"endLine": 61,
"tokens": 26
},
{
"name": "_save",
"kind": "fn",
"startLine": 62,
"endLine": 70,
"tokens": 77
},
{
"name": "_entry_span",
"kind": "fn",
"startLine": 71,
"endLine": 83,
"tokens": 180
},
{
"name": "set_fields",
"kind": "fn",
"startLine": 84,
"endLine": 115,
"tokens": 404
},
{
"name": "next_id",
"kind": "fn",
"startLine": 116,
"endLine": 123,
"tokens": 98
},
{
"name": "append_entry",
"kind": "fn",
"startLine": 124,
"endLine": 141,
"tokens": 212
},
{
"name": "_split",
"kind": "fn",
"startLine": 142,
"endLine": 145,
"tokens": 26
},
{
"name": "_text",
"kind": "fn",
"startLine": 146,
"endLine": 151,
"tokens": 36
},
{
"name": "_find",
"kind": "fn",
"startLine": 152,
"endLine": 158,
"tokens": 44
},
{
"name": "_line",
"kind": "fn",
"startLine": 159,
"endLine": 163,
"tokens": 43
},
{
"name": "cmd_add",
"kind": "fn",
"startLine": 164,
"endLine": 187,
"tokens": 195
},
{
"name": "cmd_status",
"kind": "fn",
"startLine": 188,
"endLine": 205,
"tokens": 210
},
{
"name": "cmd_note",
"kind": "fn",
"startLine": 206,
"endLine": 213,
"tokens": 84
},
{
"name": "cmd_recur",
"kind": "fn",
"startLine": 214,
"endLine": 226,
"tokens": 160
},
{
"name": "cmd_set",
"kind": "fn",
"startLine": 227,
"endLine": 239,
"tokens": 102
},
{
"name": "cmd_show",
"kind": "fn",
"startLine": 240,
"endLine": 243,
"tokens": 30
},
{
"name": "cmd_list",
"kind": "fn",
"startLine": 244,
"endLine": 258,
"tokens": 161
},
{
"name": "cmd_triage",
"kind": "fn",
"startLine": 259,
"endLine": 264,
"tokens": 36
},
{
"name": "main",
"kind": "fn",
"startLine": 265,
"endLine": 332,
"tokens": 534
}
]
},
".claude/skills/buglog/SKILL.md": {
"description": "Buglog Skill",
"tokens": 956,
"hash": "6aa62aaf400fc008",
"size": 3823,
"mtimeMs": 1790242762845.2627,
"updatedAt": "2026-09-24T09:39:22.902Z",
"source": "hook"
}
}
}

View file

@ -1,7 +1,7 @@
# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-09-24T08:19:48.605Z
> Files: 697 tracked | Anatomy hits: 0 | Misses: 0
> Auto-maintained by OpenWolf. Last scanned: 2026-09-24T09:43:08.995Z
> Files: 702 tracked | Anatomy hits: 0 | Misses: 0
## ./
@ -25,6 +25,18 @@
- `2026-08-30-21-28-19.md` — Agent Shell Transcript (~106161 tok)
- `2026-09-02-10-55-02.md` — Agent Shell Transcript (~10751 tok)
## .claude/rules/
- `buglog-status.md` — Buglog status field (~518 tok)
## .claude/skills/buglog/
- `SKILL.md` — Buglog Skill (~956 tok)
## .claude/skills/gitea-sync/
- `buglog_set.py` — Surgically set top-level fields on one .wolf/buglog.json entry. (~831 tok)
## .claude/skills/xce-build/
- `SKILL.md` — build xce source code (~4647 tok)
@ -720,7 +732,9 @@
## scripts/
- `gitea-sync.py` — GiteaAPI: die, warn, api_url, request + 12 more (~8433 tok)
- `buglog_set.py` — Surgically set top-level fields on one .wolf/buglog.json entry. (~974 tok)
- `buglog.py` — Read and edit .wolf/buglog.json without re-serializing it. (~3253 tok)
- `gitea-sync.py` — GiteaAPI: die, warn, bug_status, bug_state + 14 more (~10215 tok)
## src/

View file

@ -15785,7 +15785,8 @@
},
{
"id": "bug-1429",
"status": "fixed",
"status_note": "teardown-order fix (2026-08-30) covered 21 sites; test_config_repl.c (~23 sites) + test_term_safety_adapter.c (5) still unverified, and a 300s TIMEOUT recurred 2026-09-24 near test_commit_barrier_rollout.c's jap fixture",
"status": "partial",
"status_updated": "2026-09-24",
"timestamp": "2026-07-10",
"error_message": "controller_unit_test suite TIMEOUT (300s, killed by SIGTERM) during /xce-build controller run immediately after uncommitted edits to persist.c, ha_convergence.c, config_repl.c (delaymgr-inline blocking I/O moved to VTASK_LIVE_BLOCK vtasks with inline-fallback-on-failure). Compile succeeded with zero errors (only pre-existing warnings). meson test summary: Ok:0 Fail:0 Timeout:1. Last test output before the hang was test_demotion_replay_yields_committed_only (test_commit_barrier_reply.c) printing overlayfs-SKIP, followed by a burst of HA FSM / persist_apply_pump_run log lines ending in \"HA quorum lost: connected=0 required=1\", then total silence for the remaining ~294s until SIGTERM. No ASAN/crash report -- looks like a genuine hang/deadlock, not a crash.",
@ -15822,8 +15823,8 @@
"bug-1687",
"bug-924"
],
"occurrences": 4,
"last_seen": "2026-09-19T09:00:00Z"
"occurrences": 5,
"last_seen": "2026-09-24T10:51:31Z"
},
{
"id": "bug-1430",

View file

@ -1,13 +1,7 @@
{
"last_heartbeat": "2026-09-07T14:41:46.821Z",
"last_heartbeat": "2026-09-24T11:02:37.927Z",
"engine_status": "running",
"execution_log": [
{
"task_id": "anatomy-rescan",
"status": "success",
"timestamp": "2026-05-21T19:00:00.445Z",
"duration_ms": 29
},
{
"task_id": "anatomy-rescan",
"status": "success",
@ -619,6 +613,12 @@
"status": "success",
"timestamp": "2026-09-07T13:00:00.252Z",
"duration_ms": 246
},
{
"task_id": "memory-consolidation",
"status": "success",
"timestamp": "2026-09-24T09:00:00.067Z",
"duration_ms": 39
}
],
"dead_letter_queue": [],

File diff suppressed because it is too large Load diff