myxce/.wolf/anatomy.md
Rongsong Shen 42f797a328
docs: sync OpenWolf state
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4M5MJM2zK6nU43da267Ku
2026-09-01 08:03:06 +00:00

968 lines
38 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-09-01T07:57:10.985Z
> Files: 610 tracked | Anatomy hits: 0 | Misses: 0
## ./
- `.clang-format` (~226 tok)
- `.gitignore` — Git ignore rules (~402 tok)
- `.mcp.json` (~7 tok)
- `.opencode.json` (~7 tok)
- `CHANGES.md` — XCE Change Log (~8850 tok)
- `CLAUDE.md` — OpenWolf (~1796 tok)
- `README.md` — Project documentation (~612 tok)
## .agent-shell/transcripts/
- `2026-08-11-11-39-59.md` — Agent Shell Transcript (~104 tok)
- `2026-08-11-14-49-05.md` — Agent Shell Transcript (~188 tok)
- `2026-08-11-22-00-54.md` — Agent Shell Transcript (~9623 tok)
- `2026-08-15-22-30-02.md` — Agent Shell Transcript (~438 tok)
- `2026-08-16-06-11-30.md` — Agent Shell Transcript (~60273 tok)
- `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-changes/
- `SKILL.md` — xce-changes Skill (~2690 tok)
## .codegraph/
- `.gitignore` — Git ignore rules (~61 tok)
- `daemon.log` (~23680 tok)
## .kiro/settings/rules/
- `design-discovery-full.md` — Full Discovery Process for Technical Design (~949 tok)
- `design-discovery-light.md` — Light Discovery Process for Extensions (~389 tok)
- `design-principles.md` — Technical Design Rules and Principles (~2982 tok)
- `design-review-gate.md` — Design Review Gate (~1016 tok)
- `design-review.md` — Design Review Process (~1090 tok)
- `design-synthesis.md` — Design Synthesis (~464 tok)
- `ears-format.md` — EARS Format Guidelines (~739 tok)
- `gap-analysis.md` — Gap Analysis Process (~1266 tok)
- `requirements-review-gate.md` — Requirements Review Gate (~924 tok)
- `steering-principles.md` — Steering Principles (~593 tok)
- `tasks-generation.md` — Task Generation Rules (~2773 tok)
- `tasks-parallel-analysis.md` — Parallel Task Analysis Rules (~633 tok)
## .kiro/settings/templates/specs/
- `design.md` — Design Document Template (~3303 tok)
- `init.json` (~125 tok)
- `requirements-init.md` — Requirements Document (~40 tok)
- `requirements.md` — Requirements Document (~325 tok)
- `research.md` — Research & Design Decisions Template (~586 tok)
- `tasks.md` — Implementation Plan (~318 tok)
## .kiro/settings/templates/steering-custom/
- `api-standards.md` — API Standards (~415 tok)
- `authentication.md` — Authentication & Authorization Standards (~523 tok)
- `database.md` — Database Standards (~377 tok)
- `deployment.md` — Deployment Standards (~441 tok)
- `error-handling.md` — Error Handling Standards (~549 tok)
- `security.md` — Security Standards (~523 tok)
- `testing.md` — Testing Standards (~325 tok)
## .kiro/settings/templates/steering/
- `product.md` — Product Overview (~89 tok)
- `structure.md` — Project Structure (~218 tok)
- `tech.md` — Technology Stack (~198 tok)
## .kiro/specs/
- `.gitignore` — Git ignore rules (~3 tok)
## .kiro/specs/admin-config-tool/
- `brief.md` — Brief: admin-config-tool (~10613 tok)
- `design.md` — Technical Design: admin-config-tool (~13800 tok)
- `requirements.md` — Requirements Document (~5992 tok)
- `research.md` — Research & Design Decisions: admin-config-tool (~8886 tok)
- `spec.json` (~1040 tok)
- `tasks.md` — Implementation Plan (~9416 tok)
## .kiro/specs/build-time-versioning/
- `design.md` — Design Document (~5779 tok)
- `requirements.md` — Requirements Document (~1680 tok)
- `research.md` — Research & Design Decisions (~2236 tok)
- `spec.json` (~132 tok)
- `tasks.md` — Implementation Plan (~4349 tok)
## .kiro/specs/clusterconfig-schema-split/
- `design.md` — Overview (~7542 tok)
- `requirements.md` — Requirements Document (~4621 tok)
- `research.md` — Research & Design Decisions (~7013 tok)
- `spec.json` (~133 tok)
- `tasks.md` — Implementation Plan (~2668 tok)
## .kiro/specs/commit-batch-window/
- `requirements.md` — Requirements Document (~1569 tok)
- `spec.json` (~327 tok)
## .kiro/specs/component-failover-adoption/
- `design.md` — Design Document: component-failover-adoption (~17338 tok)
- `requirements.md` — Requirements Document (~4175 tok)
- `research.md` — Research & Design Decisions (~6985 tok)
- `spec.json` (~638 tok)
- `tasks.md` — Implementation Plan (~14898 tok)
## .kiro/specs/component-rejoin-resync/
- `brief.md` — Brief: component-rejoin-resync (~1187 tok)
- `spec.json` (~214 tok)
## .kiro/specs/config-upgrade-snapshot/
- `brief.md` — Brief: config-upgrade-snapshot (~1108 tok)
- `design.md` — Design Document: config-upgrade-snapshot (~13143 tok)
- `requirements.md` — Requirements Document (~7093 tok)
- `research.md` — Gap Analysis — config-upgrade-snapshot (2026-06-24) (~11380 tok)
- `spec.json` (~387 tok)
- `tasks.md` — Implementation Plan (~12616 tok)
## .kiro/specs/controller-status/
- `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)
- `tasks.md` — Implementation Plan (~5073 tok)
## .kiro/specs/dirty-content-fingerprint/
- `design.md` — Design Document (~6899 tok)
- `requirements.md` — Requirements Document (~2326 tok)
- `research.md` — Research & Design Decisions (~5146 tok)
- `spec.json` (~133 tok)
- `tasks.md` — Implementation Plan (~5390 tok)
## .kiro/specs/election-iomgr-refactor/
- `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)
- `tasks.md` — Implementation Plan (~3693 tok)
## .kiro/specs/eliminate-frontend-makefile/
- `brief.md` — Brief: eliminate-frontend-makefile (~2334 tok)
- `spec.json` (~236 tok)
## .kiro/specs/ha-commit-barrier-rollout/
- `brief.md` — Brief: ha-commit-barrier-rollout (~626 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)
- `tasks.md` — Implementation Plan: ha-commit-barrier-rollout (~5658 tok)
## .kiro/specs/ha-commit-durability/
- `brief.md` — Brief: ha-commit-durability (~2855 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) (~6171 tok)
- `requirements.md` — Requirements Document (~2587 tok)
- `research.md` — Gap Analysis — ha-commit-durability (~7773 tok)
- `spec.json` — phase implementation-complete, validate_impl GO (2026-07-18) (~2378 tok)
- `tasks.md` — Implementation Plan (~11353 tok)
## .kiro/specs/ha-commit-durability/repro-851/
- `ctrl-1.log` (~6116 tok)
- `ctrl-2.log` (~3742 tok)
- `ctrl-3.log` (~8148 tok)
- `waldump-ctrl-1.txt` (~1383 tok)
- `waldump-ctrl-2.txt` (~1383 tok)
- `waldump-ctrl-3.txt` (~1395 tok)
## .kiro/specs/ha-commit-engine/
- `brief.md` — Brief: ha-commit-engine (~588 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)
- `tasks.md` — Implementation Plan: ha-commit-engine (~4593 tok)
## .kiro/specs/ha-config-bootstrap/
- `brief.md` — Brief: ha-election-raft-config (~16310 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)
- `research.md` — Cross-Spec Gap Audit (2026-06-03) (~16849 tok)
- `spec.json` (~545 tok)
- `tasks.md` — Implementation Plan: HA Config Bootstrap & Raft-Style Quorum Election (~5780 tok)
## .kiro/specs/ha-consistency-invariants/
- `brief.md` — Brief: ha-consistency-invariants (~2916 tok)
- `design.md` — Design: ha-consistency-invariants (~9196 tok)
- `requirements.md` — Requirements Document (~3772 tok)
- `research.md` — Gap Analysis: ha-consistency-invariants (~10252 tok)
- `spec.json` (~560 tok)
## .kiro/specs/ha-convergence-recovery/
- `brief.md` — Brief: ha-convergence-recovery (~746 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)
- `tasks.md` — Implementation Plan: ha-convergence-recovery (~5999 tok)
## .kiro/specs/ha-elect-ctx-lifecycle/
- `brief.md` — Discovery Brief: ha-elect-ctx-lifecycle (~774 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` (~2554 tok)
- `tasks.md` — Implementation Plan: ha-elect-ctx-lifecycle (~1696 tok)
## .kiro/specs/ha-entity-snapshots/
- `design.md` — Design Document: ha-entity-snapshots (~8948 tok)
- `requirements.md` — Requirements Document (~2216 tok)
- `research.md` — Gap Analysis: ha-entity-snapshots (~4497 tok)
- `spec.json` (~1450 tok)
- `tasks.md` — Implementation Plan (~3997 tok)
## .kiro/specs/ha-heartbeat-committed-propagation/
- `brief.md` — Brief: ha-heartbeat-committed-propagation (~1403 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)
- `tasks.md` — Implementation Plan (~2873 tok)
## .kiro/specs/ha-heartbeat-liveness/
- `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)
- `spec.json` (~171 tok)
- `tasks.md` — Implementation Plan (~2227 tok)
## .kiro/specs/ha-peer-connection-reuse/
- `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)
- `tasks.md` — Implementation Plan: ha-peer-connection-reuse (~2022 tok)
## .kiro/specs/ha-prevote/
- `design.md` — Design Document (~7342 tok)
- `requirements.md` — Requirements Document (~3604 tok)
- `research.md` — Gap Analysis: ha-prevote (~8259 tok)
- `spec.json` (~3803 tok)
- `tasks.md` — Implementation Plan (~3197 tok)
## .kiro/specs/ha-repl-hardening/
- `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)
- `spec.json` (~198 tok)
- `tasks.md` — Implementation Plan: HA Replication Hardening (~4501 tok)
## .kiro/specs/ha-single-leader-role/
- `brief.md` — Brief: ha-single-leader-role (~624 tok)
- `design.md` — Design: ha-single-leader-role (~8611 tok)
- `requirements.md` — Requirements Document (~2177 tok)
- `research.md` — Research & Discovery Log: ha-single-leader-role (~5686 tok)
- `spec.json` (~177 tok)
- `tasks.md` — Implementation Plan: ha-single-leader-role (~5040 tok)
## .kiro/specs/ha-term-safety/
- `design.md` — Design Document (~11209 tok)
- `requirements.md` — Requirements Document (~4240 tok)
- `research.md` — Research & Design Decisions (~5375 tok)
- `spec.json` (~785 tok)
- `tasks.md` — Implementation Plan (~14377 tok)
- `TLA-gap-analysis.md` — Gap Analysis: XCE HA implementation vs `raft/raft.tla` (~2070 tok)
## .kiro/specs/ha-wal-replication/
- `brief.md` — Brief: ha-wal-replication (~829 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)
- `tasks.md` — Implementation Plan: HA WAL Replication (~1913 tok)
## .kiro/specs/job-array-single-wal-record/
- `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` (~444 tok)
- `tasks.md` — Implementation Plan: job-array-single-wal-record (~15580 tok)
## .kiro/specs/job-dispatch-commit-batching/
- `requirements.md` — Requirements Document (~874 tok)
- `spec.json` (~263 tok)
## .kiro/specs/libxce-failover/
- `brief.md` — Brief: libxce-failover (~2238 tok)
- `design.md` — Design Document — libxce-failover (~8279 tok)
- `requirements.md` — Requirements Document (~2933 tok)
- `research.md` — Research Log — libxce-failover (~4638 tok)
- `spec.json` (~787 tok)
- `tasks.md` — Implementation Plan (~4086 tok)
## .kiro/specs/raft-adapter-conformance/
- `design.md` — Design Document: raft-adapter-conformance (~9311 tok)
- `requirements.md` — Requirements Document (~4577 tok)
- `research.md` — Gap Analysis: raft-adapter-conformance (~8747 tok)
- `spec.json` (~578 tok)
- `tasks.md` — Implementation Plan (~4416 tok)
## .kiro/specs/raft-apply-decoupling/
- `brief.md` — Brief: raft-apply-decoupling (~2239 tok)
- `design.md` — Design Document: raft-apply-decoupling (~9566 tok)
- `facts-in-raft.md` — Design Note: Routing Facts Through Raft (apply-after-commit for RETAIN events) (~5569 tok)
- `requirements.md` — Requirements Document (~4752 tok)
- `research.md` — Research & Design Decisions (~4600 tok)
- `spec.json` (~128 tok)
- `tasks.md` — Implementation Plan (~23836 tok)
## .kiro/specs/raft-commit-safety/
- `brief.md` — Brief: raft-commit-safety (~967 tok)
- `design.md` — Design Document (~8677 tok)
- `requirements.md` — Requirements Document (~4523 tok)
- `research.md` — Gap Analysis — raft-commit-safety (2026-06-24) (~1679 tok)
- `spec.json` (~515 tok)
- `tasks.md` — Implementation Plan (~3186 tok)
## .kiro/specs/raft-drive-async/
- `brief.md` — Brief: raft-drive-async (~2465 tok)
- `design.md` — Design Document — raft-drive-async (~9226 tok)
- `requirements.md` — Requirements Document (~3369 tok)
- `research.md` — Gap Analysis — raft-drive-async (2026-06-25) (~3578 tok)
- `spec.json` (~1659 tok)
- `tasks.md` — Implementation Plan (~10270 tok)
## .kiro/specs/raft-ha-core-safety/
- `design.md` — Design Document — raft-ha-core-safety (~10893 tok)
- `requirements.md` — Requirements Document (~2601 tok)
- `research.md` — Gap Analysis — raft-ha-core-safety (~20590 tok)
- `spec.json` (~128 tok)
- `tasks.md` — Implementation Plan: raft-ha-core-safety (~11904 tok)
## .kiro/specs/raft-library/
- `design.md` — Design Document: raft-library (~7756 tok)
- `requirements.md` — Requirements Document (~2115 tok)
- `research.md` — Research & Design Decisions: raft-library (~6052 tok)
- `spec.json` (~215 tok)
- `tasks.md` — Implementation Plan (~4312 tok)
## .kiro/specs/raft-log-replication/
- `brief.md` — Brief: raft-log-replication (~1297 tok)
- `design.md` — Design Document (~7912 tok)
- `requirements.md` — Requirements Document (~4710 tok)
- `research.md` — Research Log: raft-log-replication (~1206 tok)
- `spec.json` (~368 tok)
- `tasks.md` — Implementation Plan (~3864 tok)
## .kiro/specs/raft-sim-conformance/
- `brief.md` — Brief: raft-sim-conformance (~697 tok)
- `design.md` — Design Document (~8280 tok)
- `requirements.md` — Requirements Document (~3776 tok)
- `research.md` — Gap Analysis — raft-sim-conformance (2026-06-24) (~3557 tok)
- `spec.json` — Declares divergence (~1650 tok)
- `tasks.md` — Implementation Plan (~4680 tok)
## .kiro/specs/resource-distribution-mapping/
- `requirements.md` — Requirements Document (~508 tok)
- `research.md` — Research: resourcemap / distributions / hostBased (~1548 tok)
- `spec.json` (~132 tok)
## .kiro/specs/resource-value-verification/
- `design.md` — Design Document (~11716 tok)
- `requirements.md` — Requirements Document (~2797 tok)
- `research.md` — Research & Design Decisions (~5967 tok)
- `spec.json` (~133 tok)
- `tasks.md` — Implementation Plan (~8164 tok)
## .kiro/specs/resval-id-decoupling/
- `design.md` — Design: resval-id-decoupling (~3914 tok)
- `requirements.md` — Requirements: resval-id-decoupling (~2360 tok)
- `research.md` — Gap Analysis: resval-id-decoupling (~7389 tok)
- `spec.json` (~471 tok)
- `tasks.md` — Implementation Tasks: resval-id-decoupling (~2424 tok)
## .kiro/specs/scheduler-allocation/
- `brief.md` — Brief: scheduler-allocation (~3375 tok)
- `requirements.md` — Requirements Document (~9034 tok)
- `spec.json` (~338 tok)
## .kiro/specs/scheduler-config-version-tag/
- `design.md` — Design Document (~6413 tok)
- `requirements.md` — Requirements Document (~2371 tok)
- `research.md` — Research & Design Decisions (~2711 tok)
- `spec.json` (~131 tok)
- `tasks.md` — Implementation Plan (~1764 tok)
## .kiro/specs/scheduler-controller-msg-gap/
- `design.md` — Design: scheduler-controller-msg-gap (~5006 tok)
- `requirements.md` — Requirements: scheduler-controller-msg-gap (~2712 tok)
- `research.md` — Research Log: scheduler-controller-msg-gap (~8281 tok)
- `spec.json` (~388 tok)
- `tasks.md` — Tasks: scheduler-controller-msg-gap (~4650 tok)
## .kiro/specs/scheduler-core/
- `brief.md` — Brief: scheduler-core (~2035 tok)
- `design.md` — Technical Design: scheduler-core (~17232 tok)
- `requirements.md` — Requirements Document (~26526 tok)
- `research.md` — Research & Design Decisions: scheduler-core (~4653 tok)
- `spec.json` (~200 tok)
- `tasks.md` — Implementation Plan (~32966 tok)
## .kiro/specs/scheduler-core/.solomd/
- `session.94ffc737-bfba-49ef-8dcb-f6e6a1bf0915.json` (~327 tok)
## .kiro/specs/scheduler-dispatch-commit/
- `design.md` — Design Document (~11677 tok)
- `requirements.md` — Requirements Document (~3606 tok)
- `research.md` — Research & Design Decisions (~4541 tok)
- `spec.json` (~931 tok)
- `tasks.md` — Implementation Plan (~7090 tok)
## .kiro/specs/scheduler-framework/
- `brief.md` — Brief: scheduler-framework (~6115 tok)
- `requirements.md` — Requirements Document (~17160 tok)
- `spec.json` (~211 tok)
## .kiro/specs/scheduler-preemption/
- `brief.md` — Brief: scheduler-preemption (~2910 tok)
- `requirements.md` — Requirements Document (~2476 tok)
- `spec.json` (~213 tok)
## .kiro/specs/scheduler-sim-decision-parity/
- `brief.md` — Brief: scheduler-sim-decision-parity (~2025 tok)
- `design.md` — Design Document (~8189 tok)
- `requirements.md` — Requirements Document, 5 reqs (accounting parity, capacity awareness, decision visibility, graceful degradation, no regression) (~1652 tok)
- `research.md` — Research & Design Decisions (~2853 tok)
- `spec.json` (~134 tok)
- `tasks.md` — Implementation Plan (~4736 tok)
## .kiro/specs/scheduler-sim-diagnostics/
- `brief.md` — Brief: scheduler-sim-diagnostics (~1333 tok)
## .kiro/specs/scheduler-sim-eager-reconciliation/
- `design.md` — Design Document (~5193 tok)
- `requirements.md` — Requirements Document (~2312 tok)
- `research.md` — Research & Design Decisions (~4657 tok)
- `spec.json` (~133 tok)
- `tasks.md` — Implementation Plan (~1748 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)
- `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)
## .kiro/specs/scheduler-snapshot-job-allocation/
- `brief.md` — Brief: scheduler-snapshot-job-allocation (~4469 tok)
- `design.md` — Design Document: scheduler-snapshot-job-allocation (~7948 tok)
- `requirements.md` — Requirements Document (~2514 tok)
- `research.md` — Summary (~3634 tok)
- `spec.json` (~135 tok)
- `tasks.md` — Implementation Plan (~2835 tok)
## .kiro/specs/worker-join-refactor/
- `design.md` — Design Document: worker-join-refactor (~4709 tok)
- `requirements.md` — Requirements Document (~1401 tok)
- `research.md` — Research Log: worker-join-refactor (~7581 tok)
- `spec.json` (~128 tok)
- `tasks.md` — Implementation Plan (~1638 tok)
## .kiro/specs/worker-rejoin-resync/
- `brief.md` — Brief: worker-rejoin-resync (~1394 tok)
- `design.md` — Design Document: worker-rejoin-resync (~17405 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)
## .kiro/specs/xce-test-cli-ux/
- `requirements.md` — Requirements Document (~3004 tok)
- `spec.json` (~131 tok)
## .kiro/specs/xce-test-e2e-primitives/
- `design.md` — Design Document — xce-test-e2e-primitives (~2913 tok)
- `requirements.md` — Requirements Document (~2163 tok)
- `research.md` — Research / Discovery — xce-test-e2e-primitives (~499 tok)
- `spec.json` (~271 tok)
- `tasks.md` — Implementation Plan (~4188 tok)
## .kiro/specs/xce-test-rc-file/
- `design.md` — Design Document (~4183 tok)
- `requirements.md` — Requirements Document (~1477 tok)
- `research.md` — Summary (~1771 tok)
- `spec.json` (~128 tok)
- `tasks.md` — Implementation Plan (~1896 tok)
## .kiro/steering/
- `api-standards.md` — API Standards (~1704 tok)
- `build-deployment.md` — Build & Deployment (~2917 tok)
- `config-design.md` — Configuration Design: What Belongs in Shared Config (~2053 tok)
- `error-handling.md` — Error Handling Standards (~1367 tok)
- `ha-async-io.md` — HA Protocol & Async I/O (~4721 tok)
- `persistence.md` — WAL & Persistence Durability (~3851 tok)
- `product.md` — Product Overview (~1509 tok)
- `resource-accounting.md` — Resource Accounting: Reservation vs. Actual Usage for Real Resources (~3068 tok)
- `roadmap.md` — Roadmap (~15320 tok)
- `scheduler-driver-equivalence.md` — Scheduler Driver Equivalence (~1520 tok)
- `security.md` — Security Standards (~1960 tok)
- `structure.md` — Project Structure (~1348 tok)
- `tech.md` — Technology Stack (~1500 tok)
- `testing.md` — Testing Standards (~976 tok)
## docs/superpowers/plans/
- `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 (~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)
## raft/
- `raft.tla` — ------------------------------- MODULE raft --------------------------------- (~5350 tok)
## reports/
- `aug03-aug09-2026.md` — XCE Project Status — Aug 03 – Aug 07, 2026 (~1626 tok)
- `aug08-aug15-2026.md` — XCE Project Status — Aug 08 – Aug 15, 2026 (~3603 tok)
- `aug16-aug22-2026.md` — XCE Project Status — Aug 16 – Aug 22, 2026 (~2706 tok)
- `aug23-aug29-2026.md` — XCE Project Status — Aug 23 – Aug 29, 2026 (~3530 tok)
- `jul06-jul11-2026.md` — Jul 6 → Jul 11 Progress Report (~2311 tok)
- `jul13-jul18-2026.md` — Jul 13 → Jul 18 Progress Report (~3919 tok)
- `jul19-jul26-2026.md` — Work Summary: Jul 19 – Jul 26, 2026 (~3482 tok)
- `jul27-aug02-2026.md` — XCE Project Status — Jul 27 – Aug 01, 2026 (~2003 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 (~8433 tok)
## src/
- `flake.nix` (~1301 tok)
- `meson.build` (~672 tok)
- `meson.options` — dirty-content-fingerprint task 1: sibling `dirty_fingerprint` string option (default '') added next to commit_id/build_time (~124 tok)
## src/autoscaler/
- `meson.build` (~163 tok)
## src/autoscaler/providers/
- `meson.build` (~342 tok)
## src/autoscaler/providers/baidu/
- `BccTool.env` (~64 tok)
## src/autoscaler/providers/baidu/lsf/conf/
- `baiduprov_config.json` (~44 tok)
- `baiduprov_templates.json` (~431 tok)
- `logger.yaml` (~196 tok)
## src/autoscaler/providers/baidu/postprovision/lsf/
- `example_user_data.sh` (~486 tok)
## src/autoscaler/providers/baidu/scripts/
- `getAvailableMachines.sh` — This script: (~112 tok)
- `getAvailableTemplates.sh` — This script: (~110 tok)
- `getRequestStatus.sh` — This script: (~110 tok)
- `getReturnRequests.sh` — This script: (~110 tok)
- `requestMachines.sh` — This script: (~110 tok)
- `requestReturnMachines.sh` — This script: (~110 tok)
## src/autoscaler/providers/baidu/src/bcctool/
- `BccTool.env` (~64 tok)
- `go.mod` — Go module definition (~136 tok)
- `go.sum` — Go dependency checksums (~566 tok)
- `main.go` (~355 tok)
## src/autoscaler/providers/baidu/src/bcctool/client/
- `bccClient.go` — ProvCloudClient (63 fields); methods: CreateInstances, ReleaseInstances, ListInstancesByTag, ListAllInstances (~3781 tok)
## src/autoscaler/providers/baidu/src/bcctool/enums/
- `provCode.go` — All error codes used in the Baidu Cloud provider plugin (~1198 tok)
## src/autoscaler/providers/baidu/src/bcctool/model/
- `types.go` — ClientCredential (149 fields); methods: IsBidTemplate, GetNcpus, GetMemory, String (~4213 tok)
## src/autoscaler/providers/baidu/src/bcctool/provconst/
- `bdConst.go` — Declares var (~311 tok)
## src/autoscaler/providers/baidu/src/bcctool/provservices/
- `provService.go` — GetAvailableTemplates, CreateInstancesFromFile, DeleteInstancesFromFile, SyncInstancesStatusFromFile, GetRequestStatusFromFile (~3661 tok)
## src/autoscaler/providers/baidu/src/bcctool/utils/
- `envvars.go` — InitEnvVars (~696 tok)
- `jsonUtils.go` — LoadProvTemplates, LoadProvConfig, LoadNodeCreationInputFile, LoadGetReturnRequestInputFile + 6 more (~2660 tok)
- `logger.go` — Config (50 fields) (~1649 tok)
- `provUtils.go` — InitProv, ExitWithError, Result, CreationTimeout, TerminationTimeout (~718 tok)
## src/autoscaler/scaler/
- `obj_mgr.c` — include <errno.h> (~3260 tok)
- `plug_mgr.c` — Main functions: (~4412 tok)
- `prov_conf.c` — include "prov_conf.h" (~2721 tok)
- `scaler_ctx.c` — include <string.h> (~547 tok)
- `scaler_json.c` — include <stdio.h> (~3716 tok)
- `scaler_misc.c` — include <math.h> (~1482 tok)
- `scaler_obj.c` — include "scaler_obj.h" (~2462 tok)
- `scaler.c` — include <errno.h> (~5076 tok)
## src/autoscaler/scaler/conf/
- `hostProviders.json` (~60 tok)
- `hostProviders.yaml` (~35 tok)
## src/autoscaler/scaler/include/
- `obj_mgr.h` — ifndef _OBJ_MGR_H_ (~492 tok)
- `plug_mgr.h` — ifndef _PLUG_MGR_H_ (~119 tok)
- `prov_conf.h` — ifndef _SCALER_CONF_H_ (~132 tok)
- `scaler_ctx.h` — ifndef _SCALER_CTX_H_ (~73 tok)
- `scaler_json.h` — ifndef __JSON_UTILS_H__ (~267 tok)
- `scaler_misc.h` — ifndef _SCALER_MISC_H_ (~203 tok)
- `scaler_obj.h` — ifndef _SCALER_OBJ_H_ (~273 tok)
- `scaler.h` — ifndef _SCALER_H_ (~384 tok)
## src/autoscaler/scaler/include/scaler/
- `types.h` — ifndef _SCALER_TYPES_H_ (~1091 tok)
## src/autoscaler/scaler/testsuite/
- `test_plug_mgr.c` — include <stdlib.h> (~1794 tok)
- `test_scale_misc.c` — include <stdio.h> (~1258 tok)
- `test.c` — include <stdio.h> (~97 tok)
## src/autoscaler/scaler/testsuite/scripts/
- `getAvailableTemplates.sh` (~242 tok)
- `getRequestStatus.sh` — Parse command line arguments (~644 tok)
- `getReturnRequests.sh` (~44 tok)
- `requestMachines.sh` (~20 tok)
- `requestReturnMachines.sh` (~38 tok)
## src/build-asan/
- `.gitignore` — Git ignore rules (~25 tok)
- `.hgignore` — This file is autogenerated by Meson. If you change or delete it, it won't be recreated. (~29 tok)
- `.ninja_log` — ninja log v7 (~34178 tok)
- `build.ninja` — This is the build file for project "xce" (~238122 tok)
- `compile_commands.json` (~247104 tok)
- `xce` (~176 tok)
## src/build-asan/controller/apiserver_push_unit_test.p/
- `apiserver.c.o` (~269434 tok)
- `dataex.c.o` (~255400 tok)
- `testsuite_test_job_array_apiserver_push.c.o` (~264685 tok)
## src/build-asan/controller/controller_unit_test.p/
- `commit.c.o` (~256615 tok)
- `ctrl_metrics.c.o` (~14066 tok)
- `ctrlstatus.c.o` (~253988 tok)
- `egress.c.o` (~246954 tok)
- `ha_convergence.c.o` (~259978 tok)
- `join.c.o` (~259103 tok)
- `opupd.c.o` (~252253 tok)
- `queue.c.o` (~255055 tok)
- `repl.c.o` (~256263 tok)
- `slowlane.c.o` (~26286 tok)
- `startup_validation.c.o` (~250657 tok)
- `testsuite_configcompare.c.o` (~30589 tok)
- `testsuite_controller_test.c.o` (~52147 tok)
- `testsuite_rcfile.c.o` (~19766 tok)
- `testsuite_snapdiff.c.o` (~30235 tok)
- `testsuite_snapverify.c.o` (~40726 tok)
- `testsuite_test_apply_reapply_idempotency.c.o` (~267824 tok)
- `testsuite_test_apply_seam.c.o` (~259051 tok)
- `testsuite_test_bug857_regression.c.o` (~271414 tok)
- `testsuite_test_cluster_persist.c.o` (~269684 tok)
- `testsuite_test_coldstart_lsn0.c.o` (~269200 tok)
- `testsuite_test_commit_admission_pool.c.o` (~255382 tok)
- `testsuite_test_configcompare.c.o` (~56534 tok)
- `testsuite_test_ctrl_metrics.c.o` (~39039 tok)
- `testsuite_test_dispatch_fail_terminal.c.o` (~265949 tok)
- `testsuite_test_drive_async_config.c.o` (~258287 tok)
- `testsuite_test_e2e_checkpoint.c.o` (~229647 tok)
- `testsuite_test_e2e_gc.c.o` (~223678 tok)
- `testsuite_test_e2e_wal.c.o` (~226506 tok)
- `testsuite_test_egress_filter.c.o` (~272202 tok)
- `testsuite_test_fetchfile_disconnect.c.o` (~261723 tok)
- `testsuite_test_gc_retention.c.o` (~217751 tok)
- `testsuite_test_ha_bootstrap_support.c.o` (~245136 tok)
- `testsuite_test_ha_cluster.c.o` (~259030 tok)
- `testsuite_test_ha_ctrlhello.c.o` (~268038 tok)
- `testsuite_test_ha_elect_ctx_lifecycle.c.o` (~265129 tok)
- `testsuite_test_ha_failover_prevote.c.o` (~274783 tok)
- `testsuite_test_ha_failover.c.o` (~273020 tok)
- `testsuite_test_ha_heartbeat_committed.c.o` (~266799 tok)
- `testsuite_test_ha_redirect.c.o` (~252976 tok)
- `testsuite_test_ha_repl_push.c.o` (~267090 tok)
- `testsuite_test_ha_start_election_async.c.o` (~269563 tok)
- `testsuite_test_ha_vote_floor_heartbeat.c.o` (~270577 tok)
- `testsuite_test_hooks.c.o` (~248860 tok)
- `testsuite_test_job_array_fence.c.o` (~270968 tok)
- `testsuite_test_job_dispatch_fail_count.c.o` (~201471 tok)
- `testsuite_test_job_dispatch.c.o` (~30881 tok)
- `testsuite_test_jobdispatch_no_double_notify.c.o` (~273947 tok)
- `testsuite_test_join_redirect.c.o` (~254908 tok)
- `testsuite_test_p1_integration.c.o` (~254297 tok)
- `testsuite_test_p2_integration.c.o` (~262497 tok)
- `testsuite_test_p3_manual_failover.c.o` (~253028 tok)
- `testsuite_test_persist_checkpoint_offload.c.o` (~274642 tok)
- `testsuite_test_persist_checkpoint.c.o` (~223341 tok)
- `testsuite_test_persist_recovery.c.o` (~274130 tok)
- `testsuite_test_persist_repl.c.o` (~209772 tok)
- `testsuite_test_persist_schema.c.o` (~247187 tok)
- `testsuite_test_persist_types.c.o` (~200420 tok)
- `testsuite_test_persist_wal.c.o` (~222899 tok)
- `testsuite_test_rcfile.c.o` (~61221 tok)
- `testsuite_test_repl_apply.c.o` (~217832 tok)
- `testsuite_test_repl_catchup.c.o` (~42126 tok)
- `testsuite_test_repl_majority.c.o` (~258306 tok)
- `testsuite_test_repl_unit.c.o` (~269036 tok)
- `testsuite_test_replay_apply_seam.c.o` (~269938 tok)
- `testsuite_test_slowlane.c.o` (~51878 tok)
- `testsuite_test_snapdiff.c.o` (~50170 tok)
- `testsuite_test_snapverify.c.o` (~61878 tok)
- `testsuite_test_term_adoption_vectors.c.o` (~273567 tok)
- `testsuite_test_upgrade_snapshot_restore.c.o` (~267366 tok)
- `testsuite_test_walcompare.c.o` (~243026 tok)
- `testsuite_test_waldump.c.o` (~272426 tok)
- `testsuite_walcompare.c.o` (~201332 tok)
- `testsuite_waldump.c.o` (~267791 tok)
- `worker.c.o` (~273718 tok)
## src/build-asan/controller/resval_typeresolve_unit_test.p/
- `testsuite_resval_typeresolve.c.o` (~228167 tok)
- `testsuite_test_resval_typeresolve.c.o` (~245352 tok)
## src/build-asan/controller/sched_push_unit_test.p/
- `dataex.c.o` (~255400 tok)
## src/controller/
- `config_repl.c` — define _GNU_SOURCE (~35341 tok)
- `job.c` — include <assert.h> (~39387 tok)
- `main.c` — include <argp.h> (~5489 tok)
- `meson.build` (~3852 tok)
- `misc.c` — include <errno.h> (~2257 tok)
- `persist.c` — define _GNU_SOURCE (~109226 tok)
- `sched.c` — include <errno.h> (~7390 tok)
## src/controller/include/
- `cluster.h` — if !defined(_CLUSTER_H_) (~3417 tok)
## src/controller/testsuite/
- `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_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_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_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.c` — include <argp.h> (~40634 tok)
## src/frontend/apiserver/backend/
- `handler.go` — Struct: DefaultHandler (~3107 tok)
## src/frontend/apiserver/controllers/
- `host_control_test.go` — TestPreCheckHostControlRequest_AllFlag, TestPreCheckHostControlRequest_NotAll, TestPreCheckHostContr (~1579 tok)
- `hosts.go` — Struct: HostHandler (~5549 tok)
- `jobs_test.go` — TestPreCheckJobRequest_LostAndFound, TestJobsListFieldValidation_UsesJobInfoNotSubmitRequest, TestPr (~2001 tok)
- `jobs.go` — Struct: JobController (~30943 tok)
## src/include/
- `typemap.h` — if !defined(_TYPEMAP_H_) (~8034 tok)
## src/include/xce/
- `types.h` — < NULL. (~5452 tok)
## src/lib/
- `controller.capnp.c` — include "controller.capnp.h" (~167125 tok)
- `helper.c` — include <errno.h> (~3062 tok)
- `meson.build` (~1757 tok)
- `utils.c` — include <ctype.h> (~7883 tok)
- `vtaskmgr.c` — include <errno.h> (~3978 tok)
## src/lib/testsuite/
- `test_vtask_enq_race.c` — Declares under (~1430 tok)
- `test.c` — include <argp.h> (~1279 tok)
## src/scheduler/
- `meson.build` (~1426 tok)
- `tools_verify_fixture.c` — include <errno.h> (~1550 tok)
## src/scheduler/include/
- `core.h` — if !defined(_CORE_H_) (~8819 tok)
## src/scheduler/src/
- `core_events.c` — include <errno.h> (~15473 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)
- `resource.c` — include <errno.h> (~6852 tok)
- `schedobj.c` — include <errno.h> (~5151 tok)
- `snapshot_load.c` — include <errno.h> (~5920 tok)
- `snapshot.c` — include <errno.h> (~8498 tok)
## src/scheduler/testsuite/
- `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_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)
- `test_handlers.c` — define UNIT_TEST 1 (~3218 tok)
- `test_job_update.c` — Declares char (~3307 tok)
- `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_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_resource_accounting.c` — Declares char (~8455 tok)
- `test_resval_ownership.c` — Declares instead (~5631 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_record_output.c` — Declares char (~6041 tok)
- `test_sim_session_ordering.c` (~8267 tok)
- `test_sim_snapshot_reconcile_gap.c` — Declares char (~6308 tok)
- `test_sim_startup.c` — Declares char (~5708 tok)
- `test_sim_verify.c` — Declares mismatch (~15602 tok)
- `test_snapshot_save_load.c` (~28712 tok)
## src/schema/
- `controller.capnp` — Declares OPCode (~15246 tok)
## src/tools/
- `xce-build.sh` (~4220 tok)
## src/worker/src/
- `uv_ipc.c` — include "uv_ipc.h" (~12439 tok)
## src/worker/testsuite/
- `meson.build` — Worker unit test suite (component-failover-adoption, task 2.1). White-box (~1380 tok)
- `test_uv_ipc_job_exit_severity.c` — Declares with (~863 tok)
## src/xceadmin/
- `meson-build.sh` — Meson-driven xceadmin build: install + test out-of-tree, in the meson (~2445 tok)
## src/xceadmin/tests/
- `test_e2e_live_ha_push.py` (~8887 tok)