chore: update OpenWolf session state (anatomy, cerebrum, memory, token ledger)
This commit is contained in:
parent
b469b174a2
commit
9176164f4d
5 changed files with 32276 additions and 49 deletions
115
.wolf/anatomy.md
115
.wolf/anatomy.md
|
|
@ -1,7 +1,11 @@
|
|||
# anatomy.md
|
||||
|
||||
> Auto-maintained by OpenWolf. Last scanned: 2026-07-12T16:47:48.239Z
|
||||
> Files: 643 tracked | Anatomy hits: 0 | Misses: 0
|
||||
> Auto-maintained by OpenWolf. Last scanned: 2026-07-17T07:12:59.585Z
|
||||
> Files: 679 tracked | Anatomy hits: 0 | Misses: 0
|
||||
|
||||
## ../../../../../../tmp/claude-1000/
|
||||
|
||||
- `capture_single_job.sh` — Deploys a 3-node cluster from a given repo root's freshly-built binaries, (~544 tok)
|
||||
|
||||
## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/00c9b3f1-df3c-4ce0-a997-5c6a316be4ec/scratchpad/
|
||||
|
||||
|
|
@ -10,6 +14,11 @@
|
|||
- `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/59b62b38-005c-45fd-80dd-114847f86d75/scratchpad/
|
||||
|
||||
- `mutation_test_driver.sh` — Standalone verification harness for run_array_chaos_retry_round()'s hard-fail (~677 tok)
|
||||
- `smoke_boot.sh` — Minimal single-node smoke boot for job-array-single-wal-record feature-gate validation. (~809 tok)
|
||||
|
||||
## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/5e55cf26-d05d-4a2e-8196-d2c70e0c063c/scratchpad/
|
||||
|
||||
- `bench-v3.sh` — bench-v3.sh — robust throughput measurement. Wave-submit N jobs (fresh (~843 tok)
|
||||
|
|
@ -254,10 +263,10 @@
|
|||
|
||||
## .claude/skills/xce-test-ha/
|
||||
|
||||
- `run-ha-soak.sh` — driver for /xce-test-ha: deploy a 3-node XCE HA cluster, then repeatedly kill/restart/verify. bug-1436 fix (2026-07-12): all pgrep/pkill process-matching scoped to this run's own --workdir via node_pattern()/run_pattern(), so one invocation can never kill a different invocation's cluster (~21600 tok)
|
||||
- `SKILL.md` — XCE HA Failover Soak Test (~5002 tok)
|
||||
- `soak-verdict-selftest.sh` — soak-verdict-selftest.sh — deterministic unit test for the verdict parser in (~1857 tok)
|
||||
- `soak-verdict.sh` — soak-verdict.sh — pure (side-effect-free) verdict helpers for run-ha-soak.sh. (~1383 tok)
|
||||
- `run-ha-soak.sh` — run-ha-soak.sh — driver for /xce-test-ha: deploy a 3-node XCE HA cluster, then (~29044 tok)
|
||||
- `SKILL.md` — XCE HA Failover Soak Test (~6845 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)
|
||||
|
||||
## .codegraph/
|
||||
|
||||
|
|
@ -392,7 +401,7 @@
|
|||
- `design.md` — Design: ha-consistency-invariants (~8316 tok)
|
||||
- `requirements.md` — Requirements Document (~3772 tok)
|
||||
- `research.md` — Gap Analysis: ha-consistency-invariants (~10252 tok)
|
||||
- `spec.json` (~462 tok)
|
||||
- `spec.json` (~560 tok)
|
||||
|
||||
## .kiro/specs/ha-convergence-recovery/
|
||||
|
||||
|
|
@ -492,9 +501,12 @@
|
|||
|
||||
## .kiro/specs/job-array-single-wal-record/
|
||||
|
||||
- `brief.md` — Brief: job-array-single-wal-record (~1247 tok)
|
||||
- `requirements.md` — Requirements Document (~2474 tok)
|
||||
- `spec.json` (~140 tok)
|
||||
- `brief.md` — Brief: job-array-single-wal-record (~1277 tok)
|
||||
- `design.md` — Design Document: job-array-single-wal-record (~14117 tok)
|
||||
- `requirements.md` — Requirements Document (~5216 tok)
|
||||
- `research.md` — Research & Design Decisions: job-array-single-wal-record (~7857 tok)
|
||||
- `spec.json` (~343 tok)
|
||||
- `tasks.md` — Implementation Plan: job-array-single-wal-record (~15474 tok)
|
||||
|
||||
## .kiro/specs/libxce-failover/
|
||||
|
||||
|
|
@ -614,7 +626,7 @@
|
|||
- `ha-async-io.md` — HA Protocol & Async I/O (~3864 tok)
|
||||
- `persistence.md` — WAL & Persistence Durability (~2600 tok)
|
||||
- `product.md` — Product Overview (~1246 tok)
|
||||
- `roadmap.md` — Roadmap (~10221 tok)
|
||||
- `roadmap.md` — Roadmap (~10840 tok)
|
||||
- `security.md` — Security Standards (~804 tok)
|
||||
- `structure.md` — Project Structure (~1170 tok)
|
||||
- `tech.md` — Technology Stack (~1155 tok)
|
||||
|
|
@ -949,46 +961,50 @@
|
|||
|
||||
## src/controller/
|
||||
|
||||
- `apiserver.c` — include <errno.h> (~5962 tok)
|
||||
- `CLAUDE.md` — XCE Controller (~3373 tok)
|
||||
- `cluster.c` — include "config.h" (~18669 tok)
|
||||
- `commit.c` — Declares is (~12825 tok)
|
||||
- `config_repl.c` — define _GNU_SOURCE (~30643 tok)
|
||||
- `config_repl.h` — pragma once (~6155 tok)
|
||||
- `ha_convergence.c` — Declares char (~5779 tok)
|
||||
- `ha.c` — define _GNU_SOURCE (~110421 tok)
|
||||
- `ha.c` — define _GNU_SOURCE (~110978 tok)
|
||||
- `ha.h` — ifndef HA_H (~27638 tok)
|
||||
- `job.c` — include <errno.h> (~18619 tok)
|
||||
- `job.c` — include <errno.h> (~24947 tok)
|
||||
- `join.c` — include "config.h" (~2795 tok)
|
||||
- `main.c` — include <argp.h> (~3035 tok)
|
||||
- `meson.build` (~1592 tok)
|
||||
- `meson.build` (~2391 tok)
|
||||
- `myapp.c` — define _GNU_SOURCE (~5215 tok)
|
||||
- `persist.c` — define _GNU_SOURCE (~65371 tok)
|
||||
- `persist.c` — define _GNU_SOURCE (~72815 tok)
|
||||
- `sched.c` — include <errno.h> (~6155 tok)
|
||||
|
||||
## src/controller/include/
|
||||
|
||||
- `cluster.h` — if !defined(_CLUSTER_H_) (~2740 tok)
|
||||
- `cluster.h` — if !defined(_CLUSTER_H_) (~3203 tok)
|
||||
- `commit.h` — pragma once (~3635 tok)
|
||||
|
||||
## src/controller/testsuite/
|
||||
|
||||
- `controller_test.c` — include <argp.h> (~2009 tok)
|
||||
- `controller_test.c` — include <argp.h> (~2071 tok)
|
||||
- `snapdiff.c` — define _GNU_SOURCE (~833 tok)
|
||||
- `snapdiff.h` — pragma once (~569 tok)
|
||||
- `snapverify.c` — define _GNU_SOURCE (~2505 tok)
|
||||
- `snapverify.h` — pragma once (~645 tok)
|
||||
- `test_apply_committed_entry.c` — Declares directly (~4253 tok)
|
||||
- `test_apply_correctness_verification.c` — Declares driving (~14297 tok)
|
||||
- `test_apply_committed_entry.c` — Declares directly (~7622 tok)
|
||||
- `test_apply_correctness_verification.c` — Declares driving (~16906 tok)
|
||||
- `test_apply_pump_integration.c` — Declares hook (~16913 tok)
|
||||
- `test_apply_pump.c` (~15647 tok)
|
||||
- `test_apply_pump.c` (~19569 tok)
|
||||
- `test_apply_reapply_idempotency.c` — Declares xce_job_t (~4026 tok)
|
||||
- `test_apply_seam.c` (~2936 tok)
|
||||
- `test_apply_seam.c` — raft-apply-decoupling task 2.1: calls apply_job_start/finish/fail/update_transition() directly on a bare jobmgr+job_t (no cluster_t), bypassing on_job_start/finish/fail, to prove the extracted guard cores work outside the receipt path (~2900 tok)
|
||||
- `test_commit_barrier_reply.c` — Declares uint8_t (~41183 tok)
|
||||
- `test_commit_durability.c` — define _GNU_SOURCE (~31376 tok)
|
||||
- `test_commit_barrier_reply.c` — Declares uint8_t (~41011 tok)
|
||||
- `test_commit_barrier_rollout.c` — Declares explicitly (~26498 tok)
|
||||
- `test_commit_durability.c` — define _GNU_SOURCE (~32879 tok)
|
||||
- `test_commit_resolve.c` (~14018 tok)
|
||||
- `test_config_repl.c` — define _GNU_SOURCE (~42756 tok)
|
||||
- `test_convergence_verification.c` — define _GNU_SOURCE (~16987 tok)
|
||||
- `test_convergence_verification.c` — define _GNU_SOURCE (~18715 tok)
|
||||
- `test_demotion_convergence.c` — define _GNU_SOURCE (~12767 tok)
|
||||
- `test_e2e_capnp.c` — include <stdint.h> (~3729 tok)
|
||||
- `test_e2e_checkpoint.c` — define _GNU_SOURCE (~3544 tok)
|
||||
- `test_e2e_gc.c` — define _GNU_SOURCE (~1678 tok)
|
||||
- `test_e2e_hooks.c` — define _GNU_SOURCE (~2184 tok)
|
||||
|
|
@ -1001,6 +1017,11 @@
|
|||
- `test_ha_vep_teardown.c` (~6218 tok)
|
||||
- `test_ha_vote_gate.c` — define _GNU_SOURCE (~14165 tok)
|
||||
- `test_ha_vote_send.c` — define _GNU_SOURCE (~6961 tok)
|
||||
- `test_job_array_apiserver_push.c` — Declares uint8_t (~3366 tok)
|
||||
- `test_job_array_apply.c` — Declares from (~10687 tok)
|
||||
- `test_job_array_fence.c` (~6110 tok)
|
||||
- `test_job_array_replay_fence.c` — Declares uint64_t (~5882 tok)
|
||||
- `test_job_array_sched_push.c` — job-array-single-wal-record task 5.1: standalone Unity binary (own main(), not part of controller_unit_test) proving sched_job_new_fun branches multi-element HOOK_DETAIL_JOB_NEW fires to the new compact xcesched_push_jobarray() (Data.jobArray) while single-element fires stay on unmodified xcesched_push_joblist() (~2690 tok)
|
||||
- `test_persist_checkpoint.c` — define _GNU_SOURCE (~2415 tok)
|
||||
- `test_persist_hooks.c` — define _GNU_SOURCE (~4305 tok)
|
||||
- `test_persist_recovery.c` — define _GNU_SOURCE (~3778 tok)
|
||||
|
|
@ -1013,29 +1034,44 @@
|
|||
- `test.c` — include <argp.h> (~30294 tok)
|
||||
- `walcompare.c` — define _GNU_SOURCE (~5176 tok)
|
||||
- `walcompare.h` — pragma once (~1474 tok)
|
||||
- `waldump.c` — define _GNU_SOURCE (~5404 tok)
|
||||
- `waldump.c` — define _GNU_SOURCE (~5516 tok)
|
||||
|
||||
## src/frontend/apiserver/backend/
|
||||
|
||||
- `clib.go` — go:build cgo (~3462 tok)
|
||||
- `convert_pure.go` — Struct: rawStartInfo (~3244 tok)
|
||||
- `convert_test.go` — TestRawJobToModel_BasicFields, TestRawJobToModel_NilSubmit, TestRawJobToModel_Timestamps, TestRawWor (~6939 tok)
|
||||
- `convert.go` — go:build cgo (~3556 tok)
|
||||
- `handler_test.go` — TestOnHostConfigUpdated_UnregisteredHostIgnored, TestOnHostConfigUpdated_DefaultPseudoHostIgnored, T (~3995 tok)
|
||||
- `handler.go` — Struct: DefaultHandler (~1501 tok)
|
||||
- `wire_dispatch_support.go` — go:build cgo (~2254 tok)
|
||||
- `wire_dispatch_test.go` — go:build cgo (~1337 tok)
|
||||
|
||||
## src/include/
|
||||
|
||||
- `client.h` — if !defined(_CLIENT_H_) (~1707 tok)
|
||||
- `config.h` — if !defined(_CONFIG_H_) (~1257 tok)
|
||||
- `delay.h` — if !defined(_DELAY_H_) (~414 tok)
|
||||
- `kvmgr.h` — if !defined(__KVMGR_H__) (~631 tok)
|
||||
- `myconf.h` — if !defined(_MYCONF_H_) (~560 tok)
|
||||
- `netio.h` — if !defined(_NETIO_H_) (~2469 tok)
|
||||
- `persist.h` — pragma once (~22084 tok)
|
||||
- `typemap.h` — if !defined(_TYPEMAP_H_) (~5116 tok)
|
||||
- `wal_types.h` — pragma once (~1996 tok)
|
||||
- `persist.h` — pragma once (~24030 tok)
|
||||
- `typemap.h` — if !defined(_TYPEMAP_H_) (~5207 tok)
|
||||
- `wal_types.h` — pragma once (~2076 tok)
|
||||
- `zarray.h` — if !defined(_ZARRAY_H_) (~1286 tok)
|
||||
|
||||
## src/lib/
|
||||
|
||||
- `client_internal.h` — if !defined(_CLIENT_INTERNAL_H_) (~4475 tok)
|
||||
- `client.c` — include <errno.h> (~6767 tok)
|
||||
- `delay.c` — include <errno.h> (~1520 tok)
|
||||
- `jobj.c` — include <errno.h> (~4867 tok)
|
||||
- `meson.build` (~1643 tok)
|
||||
- `jobj.c` — include <errno.h> (~6090 tok)
|
||||
- `kvmgr.c` — include <errno.h> (~3053 tok)
|
||||
- `meson.build` (~1686 tok)
|
||||
- `netio.c` — include <arpa/inet.h> (~8709 tok)
|
||||
- `request.c` — include <errno.h> (~16804 tok)
|
||||
- `request.c` — include <errno.h> (~17093 tok)
|
||||
- `vtaskmgr.c` — include <errno.h> (~3822 tok)
|
||||
- `zarray.c` — include <assert.h> (~5924 tok)
|
||||
|
||||
## src/lib/raft/
|
||||
|
||||
|
|
@ -1046,14 +1082,29 @@
|
|||
## src/lib/testsuite/
|
||||
|
||||
- `test_ctrlstatus.c` (~4821 tok)
|
||||
- `test_jobj_hardening.c` — include <errno.h> (~4939 tok)
|
||||
- `test_kvmgr_reserve.c` — Declares instance (~1260 tok)
|
||||
- `test_netio_on_fini.c` (~1328 tok)
|
||||
- `test_raft.c` — include <errno.h> (~98108 tok)
|
||||
- `test_request.c` — include <errno.h> (~3136 tok)
|
||||
- `test_wal_wire.c` — include <errno.h> (~4204 tok)
|
||||
- `test.c` — include <argp.h> (~1130 tok)
|
||||
- `test_zarray_reserve.c` — Declares instance (~2341 tok)
|
||||
- `test.c` — include <argp.h> (~1186 tok)
|
||||
|
||||
## src/scheduler/src/
|
||||
|
||||
- `handler.c` — include <errno.h> (~4838 tok)
|
||||
|
||||
## src/scheduler/testsuite/
|
||||
|
||||
- `meson.build` — Declares vtask_entry (~1057 tok)
|
||||
- `test_handlers.c` — define UNIT_TEST 1 (~1869 tok)
|
||||
- `test_job_array_expand.c` — define UNIT_TEST 1 (~3664 tok)
|
||||
- `test_job_array_wire_e2e.c` — Declares vtask_entry (~4408 tok)
|
||||
|
||||
## src/schema/
|
||||
|
||||
- `controller.capnp` — Declares OPCode (~9720 tok)
|
||||
- `controller.capnp` — Declares OPCode (~9735 tok)
|
||||
|
||||
## src/tools/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue