save wolf status

This commit is contained in:
Rongsong Shen 2026-08-10 18:01:29 +08:00
parent 90d7dd8241
commit ce96fd6d93
5 changed files with 83530 additions and 213 deletions

View file

@ -1,7 +1,7 @@
# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-08-02T03:19:06.951Z
> Files: 843 tracked | Anatomy hits: 0 | Misses: 0
> Auto-maintained by OpenWolf. Last scanned: 2026-08-10T09:22:28.235Z
> Files: 940 tracked | Anatomy hits: 0 | Misses: 0
## ../../../../../../tmp/claude-1000/
@ -72,9 +72,24 @@
- `run_full_suite.sh` — Full controller suite, suite-by-suite under ASAN (dodges the 300s aggregate cap). (~450 tok)
## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-scheduler-framework/7290cf1c-a10d-42b2-a8ac-0b952ef051eb/scratchpad/
- `apply_fixes.py` — line (~1281 tok)
## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-scheduler-framework/af7e2e71-6a3d-487f-8cd6-2b0ae196cb3a/scratchpad/
- `fix_buglog.py` — struct, name, struct (~367 tok)
- `poc_recording.c` — include <errno.h> (~2829 tok)
- `probe_capnp.py` — Independent reviewer probe -- reproduce two claims from task 10.4: (~1120 tok)
## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-scheduler-framework/af7e2e71-6a3d-487f-8cd6-2b0ae196cb3a/scratchpad/collision_schema/
- `controller.capnp` — Declares OPCode (~13644 tok)
## ../../../../../claude/.claude/plans/
- `ancient-beaming-kahn.md` — Bug-1454: Scheduler --peers Minor Issues (Narrowed) (~913 tok)
- `snappy-spinning-thompson.md` — Plan: Working Default Recording Directory (~701 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/
@ -108,7 +123,7 @@
- `.gitignore` — Git ignore rules (~217 tok)
- `.mcp.json` (~7 tok)
- `.opencode.json` (~7 tok)
- `CLAUDE.md` — OpenWolf (~1400 tok)
- `CLAUDE.md` — OpenWolf (~1484 tok)
- `codegraph.html` — CodeGraph - Interactive Visualization (~13864 tok)
- `package-lock.json` — npm lock file (~1039 tok)
- `package.json` — Node.js package manifest (~1 tok)
@ -378,7 +393,7 @@
## .kiro/specs/clusterconfig-schema-split/
- `design.md` — Overview (~7008 tok)
- `design.md` — Overview (~7542 tok)
- `requirements.md` — Requirements Document (~4621 tok)
- `research.md` — Research & Design Decisions (~4955 tok)
- `spec.json` (~133 tok)
@ -403,7 +418,7 @@
## .kiro/specs/controller-status/
- `design.md` — Design Document — controller-status (`ctrlstatus`) (~7961 tok)
- `design.md` — Design Document — controller-status (`ctrlstatus`) (~8356 tok)
- `requirements.md` — Requirements Document (~3158 tok)
- `research.md` — Gap Analysis — controller-status (ctrlstatus) (~4457 tok)
- `spec.json` (~1011 tok)
@ -411,7 +426,7 @@
## .kiro/specs/election-iomgr-refactor/
- `design.md` — Design Document: election-iomgr-refactor (~6671 tok)
- `design.md` — Design Document: election-iomgr-refactor (~8505 tok)
- `requirements.md` — Requirements Document (~2695 tok)
- `research.md` — Research & Design Decisions (~11773 tok)
- `spec.json` (~129 tok)
@ -425,7 +440,7 @@
## .kiro/specs/ha-commit-barrier-rollout/
- `brief.md` — Brief: ha-commit-barrier-rollout (~626 tok)
- `design.md` — Design: ha-commit-barrier-rollout (~10372 tok)
- `design.md` — Design: ha-commit-barrier-rollout (~12605 tok)
- `requirements.md` — Requirements Document (~3181 tok)
- `research.md` — Research & Design Decisions: ha-commit-barrier-rollout (~6381 tok)
- `spec.json` (~341 tok)
@ -434,7 +449,7 @@
## .kiro/specs/ha-commit-durability/
- `brief.md` — Brief: ha-commit-durability (~2855 tok)
- `design.md` — Design Document — ha-commit-durability (~15280 tok)
- `design.md` — Design Document — ha-commit-durability (~16535 tok)
- `INVESTIGATION-failover-job-loss.md` — Investigation: committed jobs lost across controller failover (bug-795 family) (~5299 tok)
- `requirements.md` — Requirements Document (~2587 tok)
- `research.md` — Gap Analysis — ha-commit-durability (~7773 tok)
@ -453,7 +468,7 @@
## .kiro/specs/ha-commit-engine/
- `brief.md` — Brief: ha-commit-engine (~588 tok)
- `design.md` — Design: ha-commit-engine (~7600 tok)
- `design.md` — Design: ha-commit-engine (~8326 tok)
- `requirements.md` — Requirements Document (~2715 tok)
- `research.md` — Research Log: ha-commit-engine (~3398 tok)
- `spec.json` (~255 tok)
@ -462,7 +477,7 @@
## .kiro/specs/ha-config-bootstrap/
- `brief.md` — Brief: ha-election-raft-config (~16310 tok)
- `design.md` — Design: HA Config Bootstrap & Raft-Style Quorum Election (~11439 tok)
- `design.md` — Design: HA Config Bootstrap & Raft-Style Quorum Election (~12557 tok)
- `election-trace.md` — Election Trace: 3-Node Cold Start (2026-06-04 00:15:58) (~2907 tok)
- `manual-tests.md` — Manual Integration Tests: ha-config-bootstrap (~3748 tok)
- `requirements.md` — Requirements: HA Config Bootstrap & Raft-Style Quorum Election (~3890 tok)
@ -473,7 +488,7 @@
## .kiro/specs/ha-consistency-invariants/
- `brief.md` — Brief: ha-consistency-invariants (~2916 tok)
- `design.md` — Design: ha-consistency-invariants (~8316 tok)
- `design.md` — Design: ha-consistency-invariants (~9168 tok)
- `requirements.md` — Requirements Document (~3772 tok)
- `research.md` — Gap Analysis: ha-consistency-invariants (~10252 tok)
- `spec.json` (~560 tok)
@ -481,7 +496,7 @@
## .kiro/specs/ha-convergence-recovery/
- `brief.md` — Brief: ha-convergence-recovery (~746 tok)
- `design.md` — Design: ha-convergence-recovery (~9928 tok)
- `design.md` — Design: ha-convergence-recovery (~11283 tok)
- `requirements.md` — Requirements Document (~3867 tok)
- `research.md` — Research & Design Decisions: ha-convergence-recovery (~8994 tok)
- `spec.json` (~190 tok)
@ -490,7 +505,7 @@
## .kiro/specs/ha-elect-ctx-lifecycle/
- `brief.md` — Discovery Brief: ha-elect-ctx-lifecycle (~774 tok)
- `design.md` — Design Document: ha-elect-ctx-lifecycle (~5128 tok)
- `design.md` — Design Document: ha-elect-ctx-lifecycle (~5237 tok)
- `requirements.md` — Requirements Document (~1634 tok)
- `research.md` — Research / Gap Analysis — ha-elect-ctx-lifecycle (~2095 tok)
- `spec.json` (~130 tok)
@ -498,7 +513,6 @@
## .kiro/specs/ha-entity-snapshots/
- `design.md` — Design Document: ha-entity-snapshots (~8185 tok)
- `requirements.md` — Requirements Document (~2216 tok)
- `research.md` — Gap Analysis: ha-entity-snapshots (~3038 tok)
- `spec.json` (~1450 tok)
@ -507,7 +521,7 @@
## .kiro/specs/ha-heartbeat-committed-propagation/
- `brief.md` — Brief: ha-heartbeat-committed-propagation (~1403 tok)
- `design.md` — Design Document — ha-heartbeat-committed-propagation (~4689 tok)
- `design.md` — Design Document — ha-heartbeat-committed-propagation (~4865 tok)
- `requirements.md` — Requirements Document (~1763 tok)
- `research.md` — Research / Gap Analysis — ha-heartbeat-committed-propagation (~2474 tok)
- `spec.json` (~2799 tok)
@ -515,7 +529,7 @@
## .kiro/specs/ha-heartbeat-liveness/
- `design.md` — Design Document: ha-heartbeat-liveness (~5409 tok)
- `design.md` — Design Document: ha-heartbeat-liveness (~5926 tok)
- `manual-tests.md` — Manual Integration Tests: ha-heartbeat-liveness — Task 4.5 (~1726 tok)
- `requirements.md` — Requirements Document (~2054 tok)
- `research.md` — Gap Analysis: ha-heartbeat-liveness (~7901 tok)
@ -524,7 +538,7 @@
## .kiro/specs/ha-peer-connection-reuse/
- `design.md` — Design Document: ha-peer-connection-reuse (~5369 tok)
- `design.md` — Design Document: ha-peer-connection-reuse (~6506 tok)
- `requirements.md` — Requirements Document (~1605 tok)
- `research.md` — Research & Design Decisions: ha-peer-connection-reuse (~8740 tok)
- `spec.json` (~169 tok)
@ -532,7 +546,7 @@
## .kiro/specs/ha-prevote/
- `design.md` — Design Document (~6905 tok)
- `design.md` — Design Document (~7342 tok)
- `requirements.md` — Requirements Document (~3604 tok)
- `research.md` — Gap Analysis: ha-prevote (~8259 tok)
- `spec.json` (~3803 tok)
@ -540,7 +554,7 @@
## .kiro/specs/ha-repl-hardening/
- `design.md` — Design: HA Replication Hardening (~5577 tok)
- `design.md` — Design: HA Replication Hardening (~6606 tok)
- `raft-tla-audit.md` — Raft TLA+ Specification Audit (~1591 tok)
- `requirements.md` — Requirements Document (~2850 tok)
- `research.md` — Gap Analysis: HA Replication Hardening (~11568 tok)
@ -568,7 +582,7 @@
## .kiro/specs/ha-wal-replication/
- `brief.md` — Brief: ha-wal-replication (~829 tok)
- `design.md` — Design: HA WAL Replication (~1413 tok)
- `design.md` — Design: HA WAL Replication (~1456 tok)
- `requirements.md` — Requirements Document (~1087 tok)
- `research.md` — Research: HA WAL Replication (~2542 tok)
- `spec.json` (~2214 tok)
@ -692,9 +706,12 @@
## .kiro/specs/scheduler-core/
- `brief.md` — Brief: scheduler-core (~1988 tok)
- `requirements.md` — Requirements Document (~24180 tok)
- `spec.json` (~202 tok)
- `brief.md` — Brief: scheduler-core (~2035 tok)
- `design.md` — Technical Design: scheduler-core (~17063 tok)
- `requirements.md` — Requirements Document (~25234 tok)
- `research.md` — Research & Design Decisions: scheduler-core (~4398 tok)
- `spec.json` (~200 tok)
- `tasks.md` — Implementation Plan (~31690 tok)
## .kiro/specs/scheduler-framework/
@ -726,18 +743,18 @@
## .kiro/steering/
- `api-standards.md` — API Standards (~1291 tok)
- `build-deployment.md` — Build & Deployment (~1451 tok)
- `api-standards.md` — API Standards (~1405 tok)
- `build-deployment.md` — Build & Deployment (~1722 tok)
- `config-design.md` — Configuration Design: What Belongs in Shared Config (~2053 tok)
- `error-handling.md` — Error Handling Standards (~1026 tok)
- `ha-async-io.md` — HA Protocol & Async I/O (~4180 tok)
- `error-handling.md` — Error Handling Standards (~1367 tok)
- `ha-async-io.md` — HA Protocol & Async I/O (~4521 tok)
- `persistence.md` — WAL & Persistence Durability (~2600 tok)
- `product.md` — Product Overview (~1429 tok)
- `roadmap.md` — Roadmap (~11743 tok)
- `security.md` — Security Standards (~1338 tok)
- `structure.md` — Project Structure (~1170 tok)
- `tech.md` — Technology Stack (~1155 tok)
- `testing.md` — Testing Standards (~936 tok)
- `product.md` — Product Overview (~1509 tok)
- `roadmap.md` — Roadmap (~12808 tok)
- `security.md` — Security Standards (~1636 tok)
- `structure.md` — Project Structure (~1348 tok)
- `tech.md` — Technology Stack (~1500 tok)
- `testing.md` — Testing Standards (~976 tok)
## .remember/
@ -771,14 +788,14 @@
## docs/superpowers/plans/
- `2026-05-07-p0-single-controller-persistence.md` — P0: Single-Controller Persistence — Implementation Plan (~13327 tok)
- `2026-05-07-p1-ha-foundation.md` — P1: HA Foundation — Implementation Plan (~13491 tok)
- `2026-05-07-p2-replication.md` — P2: Replication (Fan-Out TCP) — TDD Implementation Plan (~12797 tok)
- `2026-05-07-p0-single-controller-persistence.md` — P0: Single-Controller Persistence — Implementation Plan (~13549 tok)
- `2026-05-07-p1-ha-foundation.md` — P1: HA Foundation — Implementation Plan (~13680 tok)
- `2026-05-07-p2-replication.md` — P2: Replication (Fan-Out TCP) — TDD Implementation Plan (~12942 tok)
- `2026-05-07-p25-discovery.md` — P2.5: libxce Smart Discovery — TDD Implementation Plan (~10344 tok)
- `2026-05-07-p3-hardening.md` — P3: Integration & Hardening — TDD Implementation Plan (~9628 tok)
- `2026-05-07-persistence-ha-overview.md` — XCE Persistence & HA — Implementation Overview (~558 tok)
- `2026-05-13-config-replication.md` — Config Replication Implementation Plan (~21611 tok)
- `2026-05-20-config-repl-wire-protocol.md` — Config Replication — Wire Protocol Completion + Bug Fixes (~5134 tok)
- `2026-05-07-p3-hardening.md` — P3: Integration & Hardening — TDD Implementation Plan (~9841 tok)
- `2026-05-07-persistence-ha-overview.md` — XCE Persistence & HA — Implementation Overview (~732 tok)
- `2026-05-13-config-replication.md` — Config Replication Implementation Plan (~21833 tok)
- `2026-05-20-config-repl-wire-protocol.md` — Config Replication — Wire Protocol Completion + Bug Fixes (~5322 tok)
## ha/data/
@ -792,6 +809,7 @@
## reports/
- `aug03-aug09-2026.md` — XCE Project Status — Aug 03 – Aug 07, 2026 (~1626 tok)
- `jul-06-jul-11.md` — Jul 6 → Jul 11 Progress Report (~2311 tok)
- `jul-13-jul-18.md` — Jul 13 → Jul 18 Progress Report (~3919 tok)
- `jul19-jul26-2026.md` — Work Summary: Jul 19 – Jul 26, 2026 (~3482 tok)
@ -1092,18 +1110,18 @@
## src/controller/
- `apiserver.c` — include <errno.h> (~5962 tok)
- `CLAUDE.md` — XCE Controller (~4527 tok)
- `cluster.c` — include "config.h" (~20931 tok)
- `CLAUDE.md` — XCE Controller (~4776 tok)
- `cluster.c` — include "config.h"; task 10.2 adds XCE_TESTING-only schedadmin_set_timeout_ms_for_test seam (shrinks OPCode_schedAdmin's 5s forward-wait deadline for tests) (~24500 tok)
- `commit.c` — Declares is (~12825 tok)
- `config_repl.c` — define _GNU_SOURCE (~33995 tok)
- `config_repl.h` — pragma once (~6467 tok)
- `config_repl.c` — define _GNU_SOURCE (~34452 tok)
- `config_repl.h` — pragma once (~6488 tok)
- `ha_convergence.c` — Declares char (~7830 tok)
- `ha.c` — define _GNU_SOURCE (~124646 tok)
- `ha.h` — ifndef HA_H (~34070 tok)
- `job.c` — include <errno.h> (~24947 tok)
- `join.c` — include "config.h" (~2795 tok)
- `main.c` — include <argp.h> (~4767 tok)
- `meson.build` (~2547 tok)
- `meson.build` (~2626 tok)
- `myapp.c` — define _GNU_SOURCE (~5868 tok)
- `myconf.c` — define _GNU_SOURCE (~1101 tok)
- `persist.c` — define _GNU_SOURCE (~85714 tok)
@ -1121,7 +1139,7 @@
- `configcompare.c` — define _GNU_SOURCE (~2122 tok)
- `configcompare.h` — pragma once (~1107 tok)
- `controller_test.c` — include <argp.h> (~2178 tok)
- `controller_test.c` — include <argp.h> (~2200 tok)
- `snapdiff.c` — define _GNU_SOURCE (~833 tok)
- `snapdiff.h` — pragma once (~569 tok)
- `snapverify.c` — define _GNU_SOURCE (~4034 tok)
@ -1142,7 +1160,7 @@
- `test_configcompare.c` — define _GNU_SOURCE (~2076 tok)
- `test_convergence_verification.c` — define _GNU_SOURCE (~18893 tok)
- `test_demotion_convergence.c` — define _GNU_SOURCE; dc_setup +slowlane_init, +test_demotion_offload_task_returns_promptly / test_demotion_inline_task_blocks_RED (2026-07-18, bug-1450 RED/GREEN) (~18600 tok)
- `test_e2e_capnp.c` — include <stdint.h> (~3729 tok)
- `test_e2e_capnp.c` — include <stdint.h> (~19110 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)
@ -1170,6 +1188,7 @@
- `test_persist_truncate.c` — define _GNU_SOURCE (~5311 tok)
- `test_repl_unit.c` — include <assert.h>; +2 bug-1474 slot-allocation guard tests (~9760 tok)
- `test_replay_apply_seam.c` — Declares through (~3707 tok)
- `test_sched_admin_dispatch.c` — task 10.1 standby/disconnected/round-trip tests + task 10.2 forward-timeout (via schedadmin_set_timeout_ms_for_test seam) + 2 more round-trip outcome-branch tests (~13400 tok)
- `test_snapdiff.c` — define _GNU_SOURCE (~1033 tok)
- `test_snapverify.c` — define _GNU_SOURCE (~4696 tok)
- `test_term_adoption_vectors.c` (~2455 tok)
@ -1178,7 +1197,7 @@
- `test_upgrade_snapshot_restore.c` — Declares char (~3581 tok)
- `test_walcompare.c` — define _GNU_SOURCE (~6845 tok)
- `test_waldump.c` — define _GNU_SOURCE (~4292 tok)
- `test.c` — include <argp.h> (~31907 tok)
- `test.c` — include <argp.h> (~31948 tok)
- `walcompare.c` — define _GNU_SOURCE (~5176 tok)
- `walcompare.h` — pragma once (~1474 tok)
- `waldump.c` — define _GNU_SOURCE (~6488 tok)
@ -1186,7 +1205,19 @@
## src/docs/
- `deployment.md` — XCE Deployment Guide (~4942 tok)
- `apiserver-backend-tasks.md` — API Server Backend Enhancement — Task Tracker (~2492 tok)
- `config-replication-design.md` — XCE Controller: Configuration Replication Design (~28434 tok)
- `config-replication-impl-status.md` — Config Replication — Implementation Status (~3133 tok)
- `deployment.md` — XCE Deployment Guide (~6480 tok)
- `FUTURE_WORK.md` — XCE Controller: Future Work Items (~105 tok)
- `p1-2-host-select.md` — P1-2: Host Resource Requirement Select — Investigation (~551 tok)
- `resreq-ast-cse-design.md` — XCE Resource Requirement AST & CSE Design (~48687 tok)
- `xce.md` — controller (~431 tok)
## src/docs/archive/
- `cluster-config-split-analysis.md` — ClusterConfig Schema Split Analysis (~3558 tok)
- `job_peek.md` — 项目实施方案:xcecli jobs peek (~3862 tok)
## src/frontend/apiserver/backend/
@ -1266,7 +1297,7 @@
## src/include/
- `client.h` — if !defined(_CLIENT_H_) (~1899 tok)
- `client.h` — if !defined(_CLIENT_H_) (~2202 tok)
- `clusterconfig.h` — if !defined(_CLUSTERCONFIG_H_) (~248 tok)
- `config.h` — if !defined(_CONFIG_H_) (~1257 tok)
- `delay.h` — if !defined(_DELAY_H_) (~414 tok)
@ -1275,8 +1306,8 @@
- `netio.h` — if !defined(_NETIO_H_) (~2608 tok)
- `persist.h` — pragma once (~24145 tok)
- `repl.h` — pragma once (~2331 tok)
- `request.h` — if !defined(_REQUEST_H_) (~2738 tok)
- `typemap.h` — if !defined(_TYPEMAP_H_) (~5497 tok)
- `request.h` — if !defined(_REQUEST_H_) (~2849 tok)
- `typemap.h` — if !defined(_TYPEMAP_H_) (~8000 tok)
- `wal_types.h` — pragma once (~2076 tok)
- `xceapi.h` — if !defined(_XCEAPI_H_) (~650 tok)
- `zarray.h` — if !defined(_ZARRAY_H_) (~1286 tok)
@ -1287,15 +1318,16 @@
## src/lib/
- `CLAUDE.md` — XCE Shared Library (libxce) (~356 tok)
- `client_internal.h` — if !defined(_CLIENT_INTERNAL_H_) (~4475 tok)
- `client.c` — include <errno.h> (~7163 tok)
- `client.c` — include <errno.h> (~7545 tok)
- `cluster.c` — include <errno.h> (~1526 tok)
- `delay.c` — include <errno.h> (~1520 tok)
- `jobj.c` — include <errno.h> (~6090 tok)
- `kvmgr.c` — include <errno.h> (~3053 tok)
- `meson.build` (~1703 tok)
- `netio.c` — include <arpa/inet.h> (~9456 tok)
- `request.c` — include <errno.h> (~18036 tok)
- `request.c` — include <errno.h> (~18394 tok)
- `vtaskmgr.c` — include <errno.h> (~3822 tok)
- `xceapi.c` — include <errno.h> (~4190 tok)
- `zarray.c` — include <assert.h> (~5924 tok)
@ -1322,28 +1354,110 @@
## src/nixSupport/
- `xce.nix` (~727 tok)
- `xce.nix` (~820 tok)
## src/scheduler/
- `CLAUDE.md` — XCE Scheduler (~1164 tok)
- `meson.build` (~1095 tok)
## src/scheduler/include/
- `scheduler.h` — if !defined(_SCHEDULER_H_) (~1863 tok)
- `core.h` — if !defined(_CORE_H_) (~7486 tok)
- `decision.h` — if !defined(_DECISION_H_) (~445 tok)
- `driver.h` — if !defined(_DRIVER_H_) (~2263 tok)
- `plugin.h` — if !defined(_PLUGIN_H_) (~3327 tok)
- `recording.h` — if !defined(_RECORDING_H_) (~5914 tok)
- `repl.h` — if !defined(_REPL_H_) (~1701 tok)
- `scheduler.h` — if !defined(_SCHEDULER_H_) (~4005 tok)
- `sim.h` — if !defined(_SIM_H_) (~3913 tok)
## src/scheduler/include/sched/
- `types.h` — if !defined(_SCHED_TYPES_H_) (~1411 tok)
## src/scheduler/src/
- `handler.c` — include <errno.h> (~4838 tok)
- `main.c` — include <argp.h> (~1546 tok)
- `scheduler.c` — include <errno.h> (~10738 tok)
- `core_clock.c` — task 4.5: xce_core_now() two-anchor+speed formula (the core's ONE sanctioned clock_gettime call, deliberately isolated here so core.c stays wall-clock-free per test_core_isolation.c); xce_core_tlog_format()/xce_core_register_tlog_format()/xce_core_set_active_for_logging() -- module-level active-core pointer resolving the tlog_reg_format_func(fn, core_ptr) spec-vs-real-API mismatch (~2616 tok)
- `core_events.c` — include <errno.h> (~6996 tok)
- `core_session.c` — include <errno.h> (~4285 tok)
- `core.c` — include <errno.h> (~4242 tok)
- `decision.c` — include <stdio.h> (~271 tok)
- `driver.c` — include <errno.h> (~9192 tok)
- `handler.c` — include <errno.h> (~6027 tok)
- `main.c` — include <argp.h> (~3491 tok)
- `plugin.c` — include <errno.h> (~4375 tok)
- `recording_events.c` — include <errno.h> (~2550 tok)
- `recording_session.c` — include <stdint.h> (~2654 tok)
- `recording.c` — include <errno.h> (~7169 tok)
- `repl_break.c` — include <stdio.h> (~6554 tok)
- `repl_info.c` — include <stdio.h> (~7515 tok)
- `repl_internal.h` — if !defined(_REPL_INTERNAL_H_) (~2907 tok)
- `repl_params.c` — include <errno.h> (~4227 tok)
- `repl.c` — include <ctype.h> (~4524 tok)
- `resource.c` — include <errno.h> (~4196 tok)
- `schedobj.c` — include <errno.h> (~4994 tok)
- `scheduler.c` — include <errno.h> (~11555 tok)
- `sim_loop.c` — include <errno.h> (~9576 tok)
- `sim_record.c` — include <stdio.h> (~2491 tok)
- `sim_verify.c` — include <stdio.h> (~4449 tok)
- `sim.c` — include <errno.h> (~4794 tok)
- `snapshot_load.c` — include <errno.h> (~3470 tok)
- `snapshot_wire.c` — dup_val/arr_append/find_resource_name_by_idx helpers + build_wire_job/queue/worker SAVE-direction wire converters (task 8.1) (~2152 tok)
- `snapshot.c` — include <errno.h> (~8022 tok)
## src/scheduler/src/plugins/
- `builtin_fcfs.c` — Declares signature (~10701 tok)
- `fcfs.c` — include <errno.h> (~2309 tok)
- `limit.c` — include <errno.h> (~3380 tok)
- `parjob_allocator.c` — include <errno.h> (~704 tok)
- `seqjob_allocator.c` — include <errno.h> (~1680 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)
- `meson.build` — Declares vtask_entry (~12911 tok)
- `test_admin_request.c` — Declares level (~12706 tok)
- `test_clock.c` — task 4.5 contract test: xce_core_now() formula for all 4 AC-3 modes (deterministic bracket/exact checks, no sleep); xce_core_tlog_format() shows frozen virtual time not info->time; session_start/session_duration_ns across real xce_core_go()/xce_core_end_session() (~4884 tok)
- `test_core_events.c` — contract tests for xce_core_push_events; added test_config_push_decomposes_queues_resources_and_resvals (task 4.3 round-2 fix, proves CONFIG_PUSH materializes embedded queues/resources/resvals into core state) (~7900 tok)
- `test_core_full_cycle.c` — task 4.6 core contract test: full push_events->go->drain->end cycle via a real picker pthread + main-thread stand-in allocator (no sched_allocator()/xce_scheduler_t dependency) driving a minimal stub picker; proves reentrant-go -EINVAL and push_events -EBUSY reject against a genuinely active session, then both succeed again post-end_session; event-log asserts hook firing order (~7658 tok)
- `test_core_isolation.c` — Declares char (~2919 tok)
- `test_core_jbuf_capacity_pin.c` — Declares char (~2726 tok)
- `test_core_session.c` — task 4.4 contract test for xce_core_go/end_session/decision cb; task 4.5 added #include "../src/core_clock.c" (core_session.c now calls xce_core_now() for session timing) (~3524 tok)
- `test_driver_decision_cb.c` — Declares is (~3395 tok)
- `test_driver_session_ordering.c` — Declares started (~8188 tok)
- `test_driver_translate.c` — Declares field (~9041 tok)
- `test_handlers.c` — define UNIT_TEST 1 (~2030 tok)
- `test_job_array_expand.c` — define UNIT_TEST 1 (~3813 tok)
- `test_job_array_wire_e2e.c` — Declares vtask_entry (~4555 tok)
- `test_job_update.c` — Declares char (~3126 tok)
- `test_picker_config_fields.c` — Declares char (~3227 tok)
- `test_picker_core_loop_boundary.c` — Declares body (~2483 tok)
- `test_picker_fcfs_session.c` (~4906 tok)
- `test_picker_fcfs.c` — Declares char (~8987 tok)
- `test_picker_iface.c` — Declares xce_job_picker_iface_t (~2106 tok)
- `test_picker_pendreason_factory_audit.c` — Declares char (~2419 tok)
- `test_picker_wiring.c` — Declares is (~5342 tok)
- `test_plugin_picker_registration.c` — Declares char (~2284 tok)
- `test_record_lifecycle.c` — Declares char (~12710 tok)
- `test_recording_path_validation.c` — Declares had (~5521 tok)
- `test_repl_breakpoints_inspection.c` — Declares and (~10526 tok)
- `test_repl_equivalence.c` — Declares char (~7205 tok)
- `test_repl_execution_control.c` — Declares directly (~6083 tok)
- `test_repl_snapshot_params.c` — Declares char (~8026 tok)
- `test_sim_alt_events.c` — Declares char (~4669 tok)
- `test_sim_equivalence.c` — Declares BOTH (~8307 tok)
- `test_sim_event_loop.c` — Declares char (~6052 tok)
- `test_sim_isolation.c` — Declares names (~7850 tok)
- `test_sim_record_output.c` — Declares char (~5727 tok)
- `test_sim_startup.c` — Declares char (~5019 tok)
- `test_sim_verify.c` — Declares mismatch (~9061 tok)
- `test_snapshot_save_load.c` (~10295 tok)
- `test.c` — define UNIT_TEST 1 (~4354 tok)
## src/schema/
- `controller.capnp` — Declares OPCode (~10085 tok)
- `controller.capnp` — Declares OPCode (~14651 tok)
## src/tools/
@ -1352,6 +1466,10 @@
- `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/
- `CLAUDE.md` — XCE Worker Daemon (xcecd) (~261 tok)
## src/worker/src/
- `main.c` — include "sqlite3.h" (~5454 tok)
@ -1368,14 +1486,15 @@
- `__init__.py` — xceadmin: CLI for building and deploying XCE cluster configuration. (~22 tok)
- `build.py` — ``config build`` orchestration for xceadmin (design.md, ``xceadmin.build``; (~1578 tok)
- `cli.py` — xceadmin command-line entry point (design.md, ``xceadmin.cli``; (~1127 tok)
- `cli.py` — xceadmin command-line entry point (design.md, ``xceadmin.cli``; adds `scheduler record start|stop|status`/`scheduler dump` (task 10.5) delegating to `xceadmin.scheduler`, `SchedAdminError` gets a richer CLI message than bare `.message` (~5150 tok)
- `discovery.py` — Generic, opcode-agnostic redirect-following for xceadmin (design.md, (~1775 tok)
- `push.py` — ``config push`` orchestration for xceadmin (design.md, ``xceadmin.push``; (~1818 tok)
- `push.py` — ``config push`` orchestration for xceadmin (design.md, ``xceadmin.push``; (~2094 tok)
- `scheduler.py` — ``xceadmin scheduler`` client functions (design.md, ``xceadmin.scheduler``; (~7100 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)
- `errors.py` — Shared exception hierarchy for xcecommon/xceadmin. (~1924 tok)
- `mapping.py` — YAML-section-dict -> ``ClusterConfig`` capnp field mapping for (~6156 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)
@ -1385,15 +1504,17 @@
- `_live_e2e_common.py` — Shared helpers for xceadmin's live E2E test suite (task 6.2's (~1206 tok)
- `conftest.py` — Shared pytest fixtures for xceadmin's test suite. (~699 tok)
- `test_cli.py` — Tests for the xceadmin CLI (design.md, ``xceadmin.cli``; task 1.1's (~2616 tok)
- `test_cli_scheduler_mock.py` — Full-stack CLI + mock-TLS-server tests for the ``scheduler`` command (~4258 tok)
- `test_cli.py` — Tests for the xceadmin CLI (design.md, ``xceadmin.cli``; task 1.1's (~6020 tok)
- `test_config_build.py` — Golden-file-style build tests for ``xceadmin.build`` (design.md, (~3661 tok)
- `test_config_push_mock.py` — Mock-controller tests for ``xceadmin.push`` (design.md, ``xceadmin.push``; (~3873 tok)
- `test_config_push_mock.py` — Mock-controller tests for ``xceadmin.push`` (design.md, ``xceadmin.push``; (~3996 tok)
- `test_discovery.py` — Unit tests for ``xceadmin.discovery`` (design.md, ``xceadmin.discovery``; (~2177 tok)
- `test_e2e_live_ha_push.py` — Live 3-node HA E2E coverage for `config push` -- success path + the (~8318 tok)
- `test_e2e_live_push.py` — Live single-node E2E coverage for `config push` (task 6.2; Requirements (~2779 tok)
- `test_errors.py` — Tests for the xcecommon.errors exception hierarchy (task 1.2). (~2221 tok)
- `test_errors.py` — Tests for the xcecommon.errors exception hierarchy (task 1.2). (~2588 tok)
- `test_mapping.py` — Unit tests for ``xcecommon.mapping`` (design.md, ``xcecommon.mapping``; (~6323 tok)
- `test_repro_bug1485.py` — THROWAWAY repro for bug-1485 -- NOT part of the real test suite. (~1910 tok)
- `test_scheduler.py` — Mock-controller tests for ``xceadmin.scheduler``'s record-control client (~7224 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)