chore(wolf): update anatomy index and memory log

OpenWolf hook-maintained project bookkeeping, reflecting this
session's work across three shipped specs
(scheduler-sim-repl-verbosity, scheduler-sim-step-verbosity,
scheduler-sim-reconcile-terminal-guard), the go_build_improve merge,
and the xce-build skill fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YAWMhfRJFnmmnG8h97yUDd
This commit is contained in:
Rongsong Shen 2026-09-03 09:14:08 +00:00
parent 177e9b292a
commit c5b172c7a3
No known key found for this signature in database
GPG key ID: 5BCDAAE0123E9FE2
3 changed files with 2030 additions and 155 deletions

View file

@ -1,7 +1,7 @@
# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-09-01T07:57:10.985Z
> Files: 610 tracked | Anatomy hits: 0 | Misses: 0
> Auto-maintained by OpenWolf. Last scanned: 2026-09-03T08:54:15.735Z
> Files: 678 tracked | Anatomy hits: 0 | Misses: 0
## ./
@ -11,7 +11,7 @@
- `.opencode.json` (~7 tok)
- `CHANGES.md` — XCE Change Log (~8850 tok)
- `CLAUDE.md` — OpenWolf (~1796 tok)
- `README.md` — Project documentation (~612 tok)
- `README.md` — Project documentation (~919 tok)
## .agent-shell/transcripts/
@ -23,6 +23,10 @@
- `2026-08-23-15-56-15.md` — Agent Shell Transcript (~69291 tok)
- `2026-08-26-17-36-06.md` — Agent Shell Transcript (~183 tok)
## .claude/skills/xce-build/
- `SKILL.md` — build xce source code (~3121 tok)
## .claude/skills/xce-changes/
- `SKILL.md` — xce-changes Skill (~2690 tok)
@ -491,6 +495,8 @@
## .kiro/specs/scheduler-sim-diagnostics/
- `brief.md` — Brief: scheduler-sim-diagnostics (~1333 tok)
- `requirements.md` — Requirements Document (~1576 tok)
- `spec.json` (~236 tok)
## .kiro/specs/scheduler-sim-eager-reconciliation/
@ -500,13 +506,29 @@
- `spec.json` (~133 tok)
- `tasks.md` — Implementation Plan (~1748 tok)
## .kiro/specs/scheduler-sim-reconcile-terminal-guard/
- `design.md` — Design Document (~3962 tok)
- `requirements.md` — Requirements Document (~1152 tok)
- `research.md` — Research & Design Decisions (~909 tok)
- `spec.json` (~134 tok)
- `tasks.md` — Implementation Plan (~842 tok)
## .kiro/specs/scheduler-sim-repl-verbosity/
- `design.md` — Design Document: REPL continue-mode output (event echo gate, round rollup + collapse-range flush interface, jobid range compression, sim_print_decision gate) (~6617 tok)
- `requirements.md` — Requirements Document: 5 EARS requirement areas (mode-aware echo, per-round summary, collapsing, jobid ranges, no regression) (~1852 tok)
- `design.md` — Design Document (~18696 tok)
- `requirements.md` — Requirements Document (~3114 tok)
- `research.md` — Research & Design Decisions, incl. the flush-interface gap found/fixed during task-graph sanity review (~3238 tok)
- `spec.json` (~131 tok)
- `tasks.md` — Implementation Plan (~1962 tok)
- `tasks.md` — Implementation Plan (~3718 tok)
## .kiro/specs/scheduler-sim-step-verbosity/
- `design.md` — Design Document (~3934 tok)
- `requirements.md` — Requirements Document (~1058 tok)
- `research.md` — Research & Design Decisions (~1171 tok)
- `spec.json` (~131 tok)
- `tasks.md` — Implementation Plan (~1011 tok)
## .kiro/specs/scheduler-snapshot-job-allocation/
@ -528,11 +550,11 @@
## .kiro/specs/worker-rejoin-resync/
- `brief.md` — Brief: worker-rejoin-resync (~1394 tok)
- `design.md` — Design Document: worker-rejoin-resync (~17405 tok)
- `design.md` — Design Document: worker-rejoin-resync (~19586 tok)
- `requirements.md` — Requirements Document (~3631 tok)
- `research.md` — Research & Design Decisions: worker-rejoin-resync (~5335 tok)
- `spec.json` (~672 tok)
- `tasks.md` — Implementation Plan (~3738 tok)
- `tasks.md` — Implementation Plan (~10465 tok)
## .kiro/specs/xce-test-cli-ux/
@ -821,41 +843,55 @@
- `dataex.c.o` (~255400 tok)
## src/configs/schema/
- `xce.schema.json` (~461 tok)
## src/controller/
- `cluster.c` — include "config.h" (~27168 tok)
- `config_repl.c` — define _GNU_SOURCE (~35341 tok)
- `job.c` — include <assert.h> (~39387 tok)
- `ha.c` — define _GNU_SOURCE (~126576 tok)
- `job.c` — include <assert.h> (~43752 tok)
- `main.c` — include <argp.h> (~5489 tok)
- `meson.build` (~3852 tok)
- `meson.build` (~3882 tok)
- `misc.c` — include <errno.h> (~2257 tok)
- `persist.c` — define _GNU_SOURCE (~109226 tok)
- `persist.c` — define _GNU_SOURCE (~109526 tok)
- `resync.c` — here: construction (~11095 tok)
- `sched.c` — include <errno.h> (~7390 tok)
- `worker.c` — include <errno.h> (~10201 tok)
## src/controller/include/
- `cluster.h` — if !defined(_CLUSTER_H_) (~3417 tok)
- `cluster.h` — if !defined(_CLUSTER_H_) (~4699 tok)
- `resync.h` — if !defined(_RESYNC_H_) (~4484 tok)
## src/controller/testsuite/
- `controller_test.c` — include <argp.h> (~2562 tok)
- `test_apply_committed_entry.c` — Declares directly (~13500 tok)
- `test_apply_pump_integration.c` — Declares hook (~17030 tok)
- `test_apply_pump.c` — Declares of (~21139 tok)
- `test_apply_reapply_idempotency.c` — Declares xce_job_t (~4115 tok)
- `test_commit_barrier_reply.c` — Declares uint8_t (~45642 tok)
- `test_commit_barrier_rollout.c` — Declares explicitly (~28190 tok)
- `test_commit_barrier_rollout.c` — Declares explicitly (~28611 tok)
- `test_commit_durability.c` — define _GNU_SOURCE (~34003 tok)
- `test_commit_engine.c` (~18081 tok)
- `test_config_repl.c` — define _GNU_SOURCE (~87218 tok)
- `test_convergence_verification.c` — define _GNU_SOURCE (~19002 tok)
- `test_demotion_convergence.c` — define _GNU_SOURCE (~15498 tok)
- `test_dispatch_fail_retry.c` — Declares table (~13308 tok)
- `test_egress_filter.c` — Declares of (~5156 tok)
- `test_ha_role_lifecycle.c` — define _GNU_SOURCE (~15235 tok)
- `test_host_runusage.c` — Declares char (~3442 tok)
- `test_job_array_fence.c` — Declares of (~6195 tok)
- `test_job_array_replay_fence.c` — Declares uint64_t (~13778 tok)
- `test_jobstatereport_dispatch.c` (~3663 tok)
- `test_p2_integration.c` — include <errno.h> (~5212 tok)
- `test_wal_job_finish_fact.c` — Declares as (~8980 tok)
- `test_wal_job_start_fact.c` — Declares as (~12368 tok)
- `test_worker_join.c` — include <rtti.h> (~14543 tok)
- `test_worker_resync.c` — Declares that (~55780 tok)
- `test.c` — include <argp.h> (~40634 tok)
## src/frontend/apiserver/backend/
@ -871,28 +907,32 @@
## src/include/
- `typemap.h` — if !defined(_TYPEMAP_H_) (~8034 tok)
- `clusterconfig.h` — if !defined(_CLUSTERCONFIG_H_) (~337 tok)
- `request.h` — if !defined(_REQUEST_H_) (~3239 tok)
- `typemap.h` — if !defined(_TYPEMAP_H_) (~8555 tok)
## src/include/xce/
- `types.h` — < NULL. (~5452 tok)
- `types.h` — < NULL. (~6030 tok)
## src/lib/
- `controller.capnp.c` — include "controller.capnp.h" (~167125 tok)
- `helper.c` — include <errno.h> (~3062 tok)
- `meson.build` (~1757 tok)
- `meson.build` (~1772 tok)
- `request.c` — include <errno.h> (~19604 tok)
- `utils.c` — include <ctype.h> (~7883 tok)
- `vtaskmgr.c` — include <errno.h> (~3978 tok)
## src/lib/testsuite/
- `test_job_state_wire.c` (~4069 tok)
- `test_vtask_enq_race.c` — Declares under (~1430 tok)
- `test.c` — include <argp.h> (~1279 tok)
- `test.c` — include <argp.h> (~1297 tok)
## src/scheduler/
- `meson.build` (~1426 tok)
- `meson.build` (~1521 tok)
- `tools_verify_fixture.c` — include <errno.h> (~1550 tok)
## src/scheduler/include/
@ -902,20 +942,33 @@
## src/scheduler/src/
- `core_events.c` — include <errno.h> (~15473 tok)
- `core_session.c` — include <errno.h> (~4516 tok)
- `driver.c` — include <errno.h> (~9779 tok)
- `handler.c` — include <errno.h> (~7039 tok)
- `main.c` — include <argp.h> (~5330 tok)
- `repl_info.c` — include <stdio.h> (~10557 tok)
- `repl_bp_kind.c` — include <string.h> (~979 tok)
- `repl_break.c` — include <stdio.h> (~9921 tok)
- `repl_fmt.c` — include <stdarg.h> (~3971 tok)
- `repl_info.c` — include <stdio.h> (~14039 tok)
- `repl_internal.h` — if !defined(_REPL_INTERNAL_H_) (~7113 tok)
- `repl_jobid_range.c` — include <stdarg.h> (~2916 tok)
- `repl_params.c` — include <errno.h> (~4864 tok)
- `repl_prompt.c` — include <stdio.h> (~221 tok)
- `repl.c` — include <ctype.h> (~7087 tok)
- `resource.c` — include <errno.h> (~6852 tok)
- `schedobj.c` — include <errno.h> (~5151 tok)
- `scheduler.c` — include <errno.h> (~15901 tok)
- `sim_loop.c` — include <errno.h> (~16155 tok)
- `snapshot_load.c` — include <errno.h> (~5920 tok)
- `snapshot.c` — include <errno.h> (~8498 tok)
## src/scheduler/testsuite/
- `meson.build` — Declares vtask_entry (~24461 tok)
- `test_admin_request.c` — Declares level (~13172 tok)
- `test_core_events.c` — Declares and (~16152 tok)
- `test_core_full_cycle.c` — Declares is (~8075 tok)
- `test_core_session.c` (~5409 tok)
- `test_driver_decision_cb.c` — Declares is (~3835 tok)
- `test_driver_session_ordering.c` — Declares started (~8672 tok)
- `test_driver_translate.c` — Declares field (~9667 tok)
@ -924,17 +977,29 @@
- `test_picker_config_fields.c` — Declares char (~3355 tok)
- `test_picker_wiring.c` — Declares is (~5443 tok)
- `test_record_lifecycle.c` — Declares char (~12885 tok)
- `test_repl_breakpoints_inspection.c` — Declares and (~20801 tok)
- `test_repl_breakpoints_inspection.c` — Declares and (~22516 tok)
- `test_repl_equivalence.c` — Declares char (~7810 tok)
- `test_repl_execution_control.c` — Declares directly (~9054 tok)
- `test_repl_snapshot_params.c` — Declares char (~8332 tok)
- `test_repl_event_echo.c` — Declares char (~7374 tok)
- `test_repl_execution_control.c` — Declares directly (~9278 tok)
- `test_repl_help.c` — Declares error (~6018 tok)
- `test_repl_output_compression.c` — Declares under (~3851 tok)
- `test_repl_prompt_context.c` — Declares char (~6687 tok)
- `test_repl_resource_formatting.c` — Declares design (~4465 tok)
- `test_repl_resource_table.c` — Declares char (~14236 tok)
- `test_repl_round_rollup.c` — Declares char (~10735 tok)
- `test_repl_snapshot_params.c` — Declares char (~10134 tok)
- `test_repl_step_verbosity.c` — Declares unconditionally (~11316 tok)
- `test_resource_accounting.c` — Declares char (~8455 tok)
- `test_resval_ownership.c` — Declares instead (~5631 tok)
- `test_review_fixture_gen.c` — include <errno.h> (~3093 tok)
- `test_sim_alt_events.c` — Declares char (~5141 tok)
- `test_sim_contention_parity.c` — Declares calls (~18713 tok)
- `test_sim_e2e_original_motivation.c` (~17120 tok)
- `test_sim_equivalence.c` — Declares BOTH (~8517 tok)
- `test_sim_event_loop.c` — Declares char (~9504 tok)
- `test_sim_isolation.c` — Declares names (~8548 tok)
- `test_sim_print_decision_gate.c` — Declares char (~7154 tok)
- `test_sim_reconcile_unaccounted.c` — Declares documents (~24803 tok)
- `test_sim_record_output.c` — Declares char (~6041 tok)
- `test_sim_session_ordering.c` (~8267 tok)
- `test_sim_snapshot_reconcile_gap.c` — Declares char (~6308 tok)
@ -944,25 +1009,52 @@
## src/schema/
- `controller.capnp` — Declares OPCode (~15246 tok)
- `controller.capnp` — Declares OPCode (~15956 tok)
## src/tools/
- `xce-build.sh` (~4220 tok)
## src/worker/
- `meson.build` (~746 tok)
## src/worker/include/
- `xcecd_resync.h` — ifndef XCECD_RESYNC_H (~2516 tok)
- `xcecd_worker_utils.h` — ifndef XCED_WORKER_UTILS_H (~2063 tok)
## src/worker/src/
- `controller_connector.c` — include "client.h" (~20090 tok)
- `resource_sync.c` — include "resource_sync.h" (~3991 tok)
- `uv_ipc.c` — include "uv_ipc.h" (~12439 tok)
- `xcecd_resync.c` — include "xcecd_resync.h" (~3402 tok)
- `xcecd_worker_utils.c` — include "xcecd_worker_utils.h" (~6845 tok)
## src/worker/testsuite/
- `meson.build` — Worker unit test suite (component-failover-adoption, task 2.1). White-box (~1380 tok)
- `meson.build` — Worker unit test suite (component-failover-adoption, task 2.1). White-box (~1770 tok)
- `test_controller_connector.c` — Declares char (~16661 tok)
- `test_finished_job_retention.c` — Declares uint64_t (~3274 tok)
- `test_resource_sync.c` (~2719 tok)
- `test_uv_ipc_job_exit_severity.c` — Declares with (~863 tok)
- `test_xcecd_resync.c` (~9890 tok)
## src/xceadmin/
- `meson-build.sh` — Meson-driven xceadmin build: install + test out-of-tree, in the meson (~2445 tok)
## src/xceadmin/src/xcecommon/
- `mapping.py` — YAML-section-dict -> ``ClusterConfig`` capnp field mapping for (~7203 tok)
## src/xceadmin/tests/
- `test_config_build.py` — Golden-file-style build tests for ``xceadmin.build`` (design.md, (~4122 tok)
- `test_e2e_live_ha_push.py` (~8887 tok)
- `test_mapping.py` — Unit tests for ``xcecommon.mapping`` (design.md, ``xcecommon.mapping``; (~7235 tok)
## src/xceadmin/tests/fixtures/full/configs/
- `xce.yaml` (~52 tok)