myxce/.wolf/anatomy.md
Rongsong Shen 028d8f6ac7
chore(build): make xce-build.sh self-wrap into nix develop
meson/ninja/capnp/Go only exist inside the hermetic nix dev shell, but
xce-build.sh never entered it itself -- the /xce-build skill documented
wrapping every invocation in `nix develop ./src --command ...` by hand,
so a bare `bash src/tools/xce-build.sh ...` (run directly instead of
through the skill) failed opaquely with "meson: command not found". This
was a recurring, previously-logged gap that resurfaced again today mid
bug-1789 verification.

The script now checks IN_NIX_SHELL at the top and re-execs itself under
`nix develop` if unset, so every caller -- the skill, a bare invocation,
CI, a human at a terminal -- gets it automatically. A nested call (already
inside the shell) is a no-op past that check. README.md's daily-develop
section updated to match; the old "or use nix develop --command" example
is now redundant and removed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GLfB5uWRdmx2WiZSFC7Fm7
2026-09-07 15:31:06 +00:00

35 KiB
Raw Blame History

anatomy.md

Auto-maintained by OpenWolf. Last scanned: 2026-09-07T15:28:08.691Z Files: 514 tracked | Anatomy hits: 0 | Misses: 0

./

  • .clang-format (~226 tok)
  • .gitignore — Git ignore rules (~413 tok)
  • .mcp.json (~7 tok)
  • .opencode.json (~7 tok)
  • CHANGES.md — XCE Change Log (~14607 tok)
  • CLAUDE.md — OpenWolf (~1806 tok)
  • README.md — Project documentation (~1157 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)
  • 2026-08-30-21-28-19.md — Agent Shell Transcript (~106161 tok)
  • 2026-09-02-10-55-02.md — Agent Shell Transcript (~10751 tok)

.codegraph/

  • .gitignore — Git ignore rules (~61 tok)
  • codegraph.db-shm (~8738 tok)
  • codegraph.db-wal (~0 tok)
  • daemon.log (~28663 tok)
  • daemon.pid (~45 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)
  • design.md — Design Document (~7820 tok)
  • requirements.md — Requirements Document (~1953 tok)
  • research.md — Summary (~3737 tok)
  • spec.json (~1136 tok)
  • tasks.md — Implementation Plan (~3262 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/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/resreq-maxtasks-wiring/

  • design.md — Overview (~8860 tok)
  • requirements.md — Requirements Document (~2381 tok)
  • research.md — Research & Design Decisions (~6129 tok)
  • spec.json (~277 tok)
  • tasks.md — Implementation Plan (~2899 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 (~4230 tok)
  • design.md — Design Document (~10595 tok)
  • requirements.md — Requirements Document (~17107 tok)
  • research.md — Summary (~2972 tok)
  • spec.json (~708 tok)
  • tasks.md — Implementation Plan (~6117 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 (~262 tok)

.kiro/specs/scheduler-primary-lifecycle/

  • design.md — Overview (~9246 tok)
  • requirements.md — Requirements Document (~4256 tok)
  • research.md — Summary (~3750 tok)
  • spec.json — Declares product (~1287 tok)
  • tasks.md — Implementation Plan (~2686 tok)

.kiro/specs/scheduler-sim-decision-parity/

  • brief.md — Brief: scheduler-sim-decision-parity (~2025 tok)
  • design.md — Design Document (~8526 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)
  • requirements.md — Requirements Document (~1576 tok)
  • spec.json (~236 tok)

.kiro/specs/scheduler-sim-eager-reconciliation/

  • design.md — Design Document (~5580 tok)
  • requirements.md — Requirements Document (~2312 tok)
  • research.md — Research & Design Decisions (~4657 tok)
  • spec.json (~135 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 (~136 tok)
  • tasks.md — Implementation Plan (~842 tok)

.kiro/specs/scheduler-sim-repl-verbosity/

  • 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 (~134 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 (~134 tok)
  • tasks.md — Implementation Plan (~1011 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 (~19586 tok)
  • requirements.md — Requirements Document (~3631 tok)
  • research.md — Research & Design Decisions: worker-rejoin-resync (~5335 tok)
  • spec.json (~674 tok)
  • tasks.md — Implementation Plan (~10811 tok)

.kiro/specs/xce-node-manager/

  • design.md — Overview (~12460 tok)
  • requirements.md — Requirements Document (~4421 tok)
  • research.md — Research & Design Decisions (~4199 tok)
  • spec.json (~1261 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 (~130 tok)
  • tasks.md — Implementation Plan (~1896 tok)

.kiro/steering/

  • api-standards.md — API Standards (~1704 tok)
  • build-deployment.md — Build & Deployment (~2943 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 (~1374 tok)
  • tech.md — Technology Stack (~1517 tok)
  • testing.md — Testing Standards (~1006 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)

issues/

  • .simulator-1.md.~undo-tree~ (~21777 tok)
  • #simulator-1.md# (~1371 tok)
  • simulator-1.md (~643 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)
  • aug30-sep05-2026.md — XCE Project Status — Aug 30 – Sep 05, 2026 (~4201 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 (~1432 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/providers/baidu/src/bcctool/vendor/

  • modules.txt — github.com/baidubce/bce-sdk-go v0.9.233 (~309 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/

  • LICENSE — Project license (~2714 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/auth/

  • signer.go — signer.go - implement the specific sign algorithm of BCE V1 protocol (~1616 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/bce/

  • builder.go — builder.go - defines the RequestBuilder structure for BCE servies (~1252 tok)
  • client.go — implements the infrastructure to access BCE services. (~2713 tok)
  • config.go — config.go - define the client configuration for BCE (~770 tok)
  • error.go — error.go - define the error types for BCE (~603 tok)
  • request.go — request.go - defines the BCE servies request (~2212 tok)
  • response.go — response.go - defines the common BCE services response (~928 tok)
  • retry.go — retry.go - define the retry policy when making requests to BCE services (~1031 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/http/

  • client.go — defines the structure of request and response which used to access the BCE services (~1771 tok)
  • constants.go — constants.go - defines constants of the BCE http package including headers and methods (~1095 tok)
  • request.go — request.go - the custom HTTP request for BCE (~1331 tok)
  • response.go — response.go - the custom HTTP response for BCE (~536 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/model/

  • tag.go — TagModel (3 fields) (~31 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/services/bcc/

  • client.go — defines the BCC services of BCE. The supported APIs are all defined in sub-package (~23637 tok)
  • config.json (~12 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/services/bcc/api/

  • autoSnapshotPolicy.go — defines all APIs supported by the BCC service of BCE. (~2256 tok)
  • cds.go — defines all APIs supported by the BCC service of BCE. (~7227 tok)
  • deploySet.go — defines all APIs supported by the BCC service of BCE. (~2378 tok)
  • image.go — defines all APIs supported by the BCC service of BCE. (~4460 tok)
  • instance.go — defines all APIs supported by the BCC service of BCE. (~24137 tok)
  • keypair.go — defines all APIs supported by the BCC service of BCE. (~1948 tok)
  • model.go — model.go - definitions of the request arguments and results data structure model (~35163 tok)
  • other.go — defines all APIs supported by the BCC service of BCE. (~1850 tok)
  • reserved.go — defines all APIs supported by the BCC service of BCE. (~1395 tok)
  • securityGroup.go — defines all APIs supported by the BCC service of BCE. (~2453 tok)
  • snapshot.go — defines all APIs supported by the BCC service of BCE. (~2309 tok)
  • tags.go — BindInstanceToTagsByResourceType, UnbindInstanceToTagsByResourceType (~310 tok)
  • util.go — util.go - define the utilities for api package of BCC service (~5231 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/util/

  • mime.go — LoadMimeMap (~9714 tok)
  • string.go — defines the common utilities including string and time. (~988 tok)
  • time.go — time.go - define the time utility functions for BCE (~400 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/util/crypto/

  • ebc.go — EBCEncrypto (~227 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/baidubce/bce-sdk-go/util/log/

  • logger.go — implements the log facilities for BCE. It supports log to stderr, stdout as well as (~3234 tok)
  • util.go — util.go - define the package-level default logger and functions for easily use. (~1674 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/github.com/google/uuid/

  • CHANGELOG.md — Change log (~412 tok)
  • CONTRIBUTING.md — How to contribute (~239 tok)
  • CONTRIBUTORS (~28 tok)
  • dce.go — Use of this source code is governed by a BSD-style (~592 tok)
  • doc.go — generates and inspects UUIDs. (~117 tok)
  • hash.go — Use of this source code is governed by a BSD-style (~561 tok)
  • LICENSE — Project license (~395 tok)
  • marshal.go — Use of this source code is governed by a BSD-style (~260 tok)
  • node_js.go — Use of this source code is governed by a BSD-style (~143 tok)
  • node_net.go — Use of this source code is governed by a BSD-style (~272 tok)
  • node.go — Use of this source code is governed by a BSD-style (~664 tok)
  • null.go — Use of this source code is governed by a BSD-style (~704 tok)
  • README.md — Project documentation (~210 tok)
  • sql.go — Use of this source code is governed by a BSD-style (~417 tok)
  • time.go — Use of this source code is governed by a BSD-style (~1085 tok)
  • util.go — Use of this source code is governed by a BSD-style (~549 tok)
  • uuid.go — Use of this source code is governed by a BSD-style (~2753 tok)
  • version1.go — Use of this source code is governed by a BSD-style (~360 tok)
  • version4.go — Use of this source code is governed by a BSD-style (~587 tok)
  • version6.go — Use of this source code is governed by a BSD-style (~633 tok)
  • version7.go — Use of this source code is governed by a BSD-style (~964 tok)

src/autoscaler/providers/baidu/src/bcctool/vendor/go.uber.org/multierr/

  • .codecov.yml (~218 tok)
  • .gitignore — Git ignore rules (~10 tok)

src/scheduler/include/

  • scheduler.h — if !defined(SCHEDULER_H) (~4701 tok)

src/scheduler/src/

  • plugin.c — include <errno.h> (~4328 tok)
  • resource.c — include <errno.h> (~8052 tok)

src/scheduler/src/plugins/

  • parjob_allocator.c — include <errno.h> (~7506 tok)
  • seqjob_allocator.c — include <errno.h> (~3274 tok)

src/scheduler/testsuite/

  • test_parjob_combinatorial.c — Declares of (~12038 tok)
  • test_resource_accounting.c — Declares pulled (~12240 tok)
  • test_seqjob_allocator.c — Declares char (~3701 tok)

src/tools/

  • xce-build.sh (~4476 tok)