chore(openwolf): update session memory, buglog, and anatomy tracking

Records bug-1461/1462 fixes, admin-config-tool completion, and
config-upgrade-snapshot spec work across anatomy.md, buglog.json,
cerebrum.md, memory.md, and the session/token-ledger state files.
This commit is contained in:
Rongsong Shen 2026-07-23 04:29:12 +00:00
parent 8ee98beed7
commit 60c25c39c4
6 changed files with 23648 additions and 59 deletions

View file

@ -1,7 +1,7 @@
# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-07-21T08:07:27.029Z
> Files: 731 tracked | Anatomy hits: 0 | Misses: 0
> Auto-maintained by OpenWolf. Last scanned: 2026-07-23T04:18:08.713Z
> Files: 780 tracked | Anatomy hits: 0 | Misses: 0
## ../../../../../../tmp/claude-1000/
@ -14,6 +14,10 @@
- `hammer3.sh` — Tight repro loop v3 for bug-1436: test the LARGE-PAYLOAD hypothesis. (~975 tok)
- `run-chaotic-soak.sh` (~61 tok)
## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/0831eee2-dc09-43af-aa28-cc4603faf604/scratchpad/
- `log_bug1462.py` (~1438 tok)
## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/1c68567a-5bf5-4a4d-980c-beb4c42e613d/scratchpad/
- `ctrlstatus_delta_check.sh` (~376 tok)
@ -46,14 +50,17 @@
## ../../../../../claude/.claude/plans/
- `ancient-beaming-kahn.md` — Bug-1454: Scheduler --peers Minor Issues (Narrowed) (~913 tok)
- `snug-juggling-moth.md` — Plan: xce-gitea-sync — Automated cc-sdd + Buglog → Gitea Sync Tool (~1883 tok)
## ../../../../../claude/.claude/projects/-home-rshen-projects-xce-xce/memory/
- `MEMORY.md` — Memory Index (~1906 tok)
- `MEMORY.md` — Memory Index (~2062 tok)
- `project_bug1306_hook_rc_clobber.md` (~693 tok)
- `project_bug1417_vote_index_mapping.md` — Bug-1417: Real-vote reply index mapping mismatch (~784 tok)
- `project_bug1418_prework_decision.md` (~724 tok)
- `project_bug1418_term_desync_apply_divergent.md` — Bug-1418: Term desync + apply-divergence promotion block → chaotic liveness stall (~743 tok)
- `project_bug1419_wal_dup_submit_false_divergent.md` — Declares occurrence (~955 tok)
- `project_bug1462_config_replication_fixed.md` — Declares client (~620 tok)
- `project_bug847_wal_batch_payload_loss.md` (~1213 tok)
- `project_raft_election_resonance.md` (~556 tok)
- `reference_nonoverlay_fs_soak.md` (~371 tok)
@ -69,7 +76,7 @@
## ./
- `.clang-format` (~226 tok)
- `.gitignore` — Git ignore rules (~170 tok)
- `.gitignore` — Git ignore rules (~217 tok)
- `.mcp.json` (~7 tok)
- `.opencode.json` (~7 tok)
- `CLAUDE.md` — OpenWolf (~1400 tok)
@ -82,14 +89,18 @@
## .claude/
- `settings.json` (~497 tok)
- `settings.local.json` (~507 tok)
- `settings.json` (~706 tok)
- `settings.local.json` (~756 tok)
- `ucai-formatter-cache.local.json` (~17 tok)
## .claude/rules/
- `openwolf.md` (~313 tok)
## .claude/skills/gitea-sync/
- `SKILL.md` — Gitea Sync Skill (~1875 tok)
## .claude/skills/kiro-debug/
- `SKILL.md` — kiro-debug (~1322 tok)
@ -264,16 +275,16 @@
## .claude/skills/xce-build/
- `SKILL.md` — build xce source code (~985 tok)
- `SKILL.md` — build xce source code (~1283 tok)
## .claude/skills/xce-deploy-ha/
- `SKILL.md` — XCE HA Cluster Deployment (~1678 tok)
- `SKILL.md` — XCE HA Cluster Deployment (~1974 tok)
## .claude/skills/xce-test-ha/
- `run-ha-soak.sh` — run-ha-soak.sh — driver for /xce-test-ha: deploy a 3-node XCE HA cluster, then repeatedly kill primary/verify/restart. Sequential mode now gates round 1's first kill on a 3-of-3 initial config-tag convergence wait (bug-1449 fix; mirrors wait_for_full_convergence's poll style) before the round loop, in addition to its existing full-reconvergence wait between later rounds. (~31300 tok)
- `SKILL.md` — XCE HA Failover Soak Test (~6845 tok)
- `run-ha-soak.sh` — run-ha-soak.sh — driver for /xce-test-ha: deploy a 3-node XCE HA cluster, then (~30050 tok)
- `SKILL.md` — XCE HA Failover Soak Test (~6970 tok)
- `soak-verdict-selftest.sh` — soak-verdict-selftest.sh — deterministic unit test for the verdict parser in (~2637 tok)
- `soak-verdict.sh` — soak-verdict.sh — pure (side-effect-free) verdict helpers for run-ha-soak.sh. (~2781 tok)
@ -329,9 +340,12 @@
## .kiro/specs/admin-config-tool/
- `brief.md` — Brief: admin-config-tool (~10183 tok)
- `requirements.md` — Requirements Document (~4705 tok)
- `spec.json` (~138 tok)
- `brief.md` — Brief: admin-config-tool (~10613 tok)
- `design.md` — Technical Design: admin-config-tool (~13515 tok)
- `requirements.md` — Requirements Document (~5992 tok)
- `research.md` — Research & Design Decisions: admin-config-tool (~6829 tok)
- `spec.json` (~332 tok)
- `tasks.md` — Implementation Plan (~7241 tok)
## .kiro/specs/clusterconfig-schema-split/
@ -351,10 +365,10 @@
## .kiro/specs/config-upgrade-snapshot/
- `brief.md` — Brief: config-upgrade-snapshot (~923 tok)
- `requirements.md` — Requirements Document (~1668 tok)
- `research.md` — Gap Analysis — config-upgrade-snapshot (2026-06-24) (~3178 tok)
- `spec.json` (~139 tok)
- `brief.md` — Brief: config-upgrade-snapshot (~1108 tok)
- `requirements.md` — Requirements Document (~3658 tok)
- `research.md` — Gap Analysis — config-upgrade-snapshot (2026-06-24) (~5335 tok)
- `spec.json` (~269 tok)
## .kiro/specs/controller-status/
@ -720,10 +734,14 @@
- `jul-13-jul-18.md` — Jul 13 → Jul 18 Progress Report (~3919 tok)
- `jun29-jul04-2026.md` — Work Summary: June 30 – July 4, 2026 (~857 tok)
## scripts/
- `gitea-sync.py` — GiteaAPI: die, warn, api_url, request + 12 more (~8407 tok)
## src/
- `flake.nix` (~571 tok)
- `meson.build` (~623 tok)
- `meson.build` (~628 tok)
- `meson.options` (~90 tok)
## src/.claude/
@ -991,17 +1009,30 @@
- `task.c.o` (~1388 tok)
- `worker.c.o` (~4528 tok)
## src/configs/
- `limits.yaml` (~475 tok)
- `resources.yaml` — Declares type (~1185 tok)
- `scaler.yaml` (~102 tok)
- `xce.yaml` (~33 tok)
## src/configs/schema/
- `limits.schema.json` (~454 tok)
- `scaler.schema.json` (~232 tok)
- `xce.schema.json` (~312 tok)
## src/controller/
- `apiserver.c` — include <errno.h> (~5962 tok)
- `CLAUDE.md` — XCE Controller (~3491 tok)
- `cluster.c` — include "config.h" (~19487 tok)
- `cluster.c` — include "config.h" (~19620 tok)
- `commit.c` — Declares is (~12825 tok)
- `config_repl.c` — define _GNU_SOURCE (~32202 tok)
- `config_repl.h` — pragma once (~6155 tok)
- `ha_convergence.c` — Declares char (~7830 tok)
- `ha.c` — define _GNU_SOURCE (~111605 tok)
- `ha.h` — ifndef HA_H; +demotion_convergence_inflight field, ha_set_demotion_offload_for_test/ha_set_catchup_offload_for_test decls (2026-07-18) (~31200 tok)
- `ha.c` — define _GNU_SOURCE (~111827 tok)
- `ha.h` — ifndef HA_H (~29766 tok)
- `job.c` — include <errno.h> (~24947 tok)
- `join.c` — include "config.h" (~2795 tok)
- `main.c` — include <argp.h> (~4682 tok)
@ -1009,7 +1040,7 @@
- `myapp.c` — define _GNU_SOURCE (~5215 tok)
- `myconf.c` — define _GNU_SOURCE (~1088 tok)
- `persist.c` — define _GNU_SOURCE (~72815 tok)
- `sched.c` — include <errno.h> (~6155 tok)
- `sched.c` — include <errno.h> (~5719 tok)
## src/controller/include/
@ -1044,6 +1075,7 @@
- `test_egress_filter.c` — Declares xce_job_t (~5072 tok)
- `test_ha_core_safety.c` — Declares char (~36309 tok)
- `test_ha_elect_ctx_lifecycle.c` — Declares char (~2900 tok)
- `test_ha_election.c` — Declares char (~16377 tok)
- `test_ha_liveness.c` — Declares directly (~24748 tok)
- `test_ha_partition.c` (~5459 tok)
- `test_ha_rdhup_integration.c` — Declares char (~7341 tok)
@ -1169,7 +1201,7 @@
- `kvmgr.c` — include <errno.h> (~3053 tok)
- `meson.build` (~1703 tok)
- `netio.c` — include <arpa/inet.h> (~9456 tok)
- `request.c` — include <errno.h> (~17093 tok)
- `request.c` — include <errno.h> (~17130 tok)
- `vtaskmgr.c` — include <errno.h> (~3822 tok)
- `zarray.c` — include <assert.h> (~5924 tok)
@ -1193,6 +1225,10 @@
- `test_zarray_reserve.c` — Declares instance (~2341 tok)
- `test.c` — include <argp.h> (~1210 tok)
## src/nixSupport/
- `xce.nix` (~573 tok)
## src/scheduler/include/
- `scheduler.h` — if !defined(_SCHEDULER_H_) (~1863 tok)
@ -1212,13 +1248,59 @@
## src/schema/
- `controller.capnp` — Declares OPCode (~9440 tok)
- `controller.capnp` — Declares OPCode (~9442 tok)
## src/tools/
- `test-commit-durability.sh` — test-commit-durability.sh — bug-661 reproduction: committed jobs lost across failover. (~9879 tok)
- `xce-build.sh` (~1400 tok)
- `deploy-ha.sh` (~1054 tok)
- `test-commit-durability.sh` — test-commit-durability.sh — bug-661 reproduction: committed jobs lost across failover. (~9868 tok)
- `test-heartbeat-tolerance.sh` — test-heartbeat-tolerance.sh — Task 4.5: missed-heartbeat tolerance via SIGSTOP/SIGCONT (~2367 tok)
- `xce-build.sh` — Declares of (~1703 tok)
## src/worker/src/
- `main.c` — include "sqlite3.h" (~5454 tok)
## src/xceadmin/
- `.gitignore` — Git ignore rules (~76 tok)
- `meson-build.sh` — Meson-driven xceadmin build: install + test out-of-tree, in the meson (~793 tok)
- `meson-install.sh` — meson install-time script (meson.add_install_script) -- runs after the (~543 tok)
- `meson.build` — xceadmin (admin-config-tool): Python package, no C compilation. (~735 tok)
- `pyproject.toml` — XCE cluster configuration admin CLI (config build / config push) (~362 tok)
## src/xceadmin/src/xceadmin/
- `__init__.py` — xceadmin: CLI for building and deploying XCE cluster configuration. (~22 tok)
- `build.py` — ``config build`` orchestration for xceadmin (design.md, ``xceadmin.build``; (~1524 tok)
- `cli.py` — xceadmin command-line entry point (design.md, ``xceadmin.cli``; (~1127 tok)
- `discovery.py` — Generic, opcode-agnostic redirect-following for xceadmin (design.md, (~1021 tok)
- `push.py` — ``config push`` orchestration for xceadmin (design.md, ``xceadmin.push``; (~1818 tok)
## src/xceadmin/src/xcecommon/
- `__init__.py` — xcecommon: shared library for XCE Python tooling. (~114 tok)
- `errors.py` — Shared exception hierarchy for xcecommon/xceadmin. (~1191 tok)
- `mapping.py` — YAML-section-dict -> ``ClusterConfig`` capnp field mapping for (~5841 tok)
- `schema.py` — Cap'n Proto wire-protocol schema loader for xcecommon/xceadmin (design.md, (~2345 tok)
- `validation.py` — JSON Schema validation plus business-rule checks for operator-authored (~3771 tok)
- `wire.py` — TLS connection and wire framing for xcecommon/xceadmin (design.md, (~1917 tok)
## src/xceadmin/tests/
- `conftest.py` — Shared pytest fixtures for xceadmin's test suite. (~412 tok)
- `test_cli.py` — Tests for the xceadmin CLI (design.md, ``xceadmin.cli``; task 1.1's (~2609 tok)
- `test_config_build.py` — Golden-file-style build tests for ``xceadmin.build`` (design.md, (~3248 tok)
- `test_config_push_mock.py` — Mock-controller tests for ``xceadmin.push`` (design.md, ``xceadmin.push``; (~3564 tok)
- `test_discovery.py` — Unit tests for ``xceadmin.discovery`` (design.md, ``xceadmin.discovery``; (~1259 tok)
- `test_errors.py` — Tests for the xcecommon.errors exception hierarchy (task 1.2). (~2221 tok)
- `test_mapping.py` — Unit tests for ``xcecommon.mapping`` (design.md, ``xcecommon.mapping``; (~6233 tok)
- `test_schema_bundling.py` — Cross-cutting bundling tests for ``xcecommon.schema`` and (~1526 tok)
- `test_schema.py` — Tests for xcecommon.schema (task 2.2). (~3150 tok)
- `test_validation.py` — Tests for xcecommon.validation (task 2.1). (~5022 tok)
- `test_wire.py` — Unit tests for ``xcecommon.wire`` (design.md, ``xcecommon.wire``; (~2968 tok)
## src/xceadmin/tests/fixtures/minimal/configs/
- `hosts.yaml` (~40 tok)
- `queues.yaml` (~12 tok)