# anatomy.md > Auto-maintained by OpenWolf. Last scanned: 2026-08-04T05:49:57.570Z > Files: 845 tracked | Anatomy hits: 0 | Misses: 0 ## ../../../../../../tmp/claude-1000/ - `capture_single_job.sh` — Deploys a 3-node cluster from a given repo root's freshly-built binaries, (~544 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-config/c8633ffb-8da0-40a7-9811-48f1830c37b4/scratchpad/ - `cross-spec-gap-analysis.md` — Cross-Spec Gap Analysis: admin-config-tool × config-upgrade-snapshot × clusterconfig-schema-split (2 (~2057 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-config/d3f40b2e-8c73-4820-8ad3-1400be8761ac/scratchpad/ - `update_bug1471.py` (~439 tok) - `update_bug1474.py` (~1227 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-config/d6d1f70d-af0b-465b-9cd6-e719e38692ce/scratchpad/ - `configpush_baddriver.c` — include (~847 tok) - `impostor.py` — serve (~207 tok) - `manual_ha_deploy.sh` (~381 tok) - `verify_decode_reply.py` — Verify the actual decode_reply() implementation (mirrors the planned (~783 tok) - `verify_envelope.py` — Throwaway script to verify the Request/RequestReply envelope wrap+unwrap (~937 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-config/d6d1f70d-af0b-465b-9cd6-e719e38692ce/scratchpad/ha-configpush-replydecode/ - `reject_reply_decode_driver.py` — Throwaway driver for raft-adapter-conformance task 7.3 remediation. (~1375 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-config/d6d1f70d-af0b-465b-9cd6-e719e38692ce/scratchpad/ha-vote-postconnect/ - `impostor_peer.py` — serve, main (~584 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/00c9b3f1-df3c-4ce0-a997-5c6a316be4ec/scratchpad/ - `hammer.sh` — Tight repro loop for bug-1436: hammer verify_no_loss-style REPL sessions (~570 tok) - `hammer2.sh` — Tight repro loop v2 for bug-1436: hammer verify_no_loss-style REPL sessions (~807 tok) - `hammer3.sh` — Tight repro loop v3 for bug-1436: test the LARGE-PAYLOAD hypothesis. (~975 tok) - `run-chaotic-soak.sh` (~61 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/0831eee2-dc09-43af-aa28-cc4603faf604/scratchpad/ - `log_bug1462.py` (~1438 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/1c68567a-5bf5-4a4d-980c-beb4c42e613d/scratchpad/ - `ctrlstatus_delta_check.sh` (~376 tok) - `fix_unity_testfile.py` — line, found, line (~1460 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/59b62b38-005c-45fd-80dd-114847f86d75/scratchpad/ - `mutation_test_driver.sh` — Standalone verification harness for run_array_chaos_retry_round()'s hard-fail (~677 tok) - `smoke_boot.sh` — Minimal single-node smoke boot for job-array-single-wal-record feature-gate validation. (~809 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/5e55cf26-d05d-4a2e-8196-d2c70e0c063c/scratchpad/ - `bench-v3.sh` — bench-v3.sh — robust throughput measurement. Wave-submit N jobs (fresh (~843 tok) - `bench-v4.sh` — bench-v4.sh — throughput measurement, fixed to count DONE only among THIS (~1083 tok) - `factstream-throughput-bench-v2.sh` — factstream-throughput-bench-v2.sh — task 7.4 (raft-apply-decoupling) fix (~1576 tok) - `factstream-throughput-bench.sh` — factstream-throughput-bench.sh — task 7.4 (raft-apply-decoupling) throughput (~1750 tok) - `repro_iomgr.c` (~617 tok) - `run_all_groups.sh` (~301 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/a13f7866-1ea4-4b63-91a6-4de1393543ae/scratchpad/ - `append_bug_1414.py` (~1114 tok) - `append_bugs.py` (~1412 tok) - `run_regression.sh` (~181 tok) ## ../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-raft-tla/c9cdeb23-6930-42d0-adab-2651b711793f/scratchpad/ - `run_full_suite.sh` — Full controller suite, suite-by-suite under ASAN (dodges the 300s aggregate cap). (~450 tok) ## ../../../../../claude/.claude/plans/ - `ancient-beaming-kahn.md` — Bug-1454: Scheduler --peers Minor Issues (Narrowed) (~913 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/ - `MEMORY.md` — Memory Index (~2345 tok) - `project_bug1306_hook_rc_clobber.md` (~693 tok) - `project_bug1417_vote_index_mapping.md` — Bug-1417: Real-vote reply index mapping mismatch (~784 tok) - `project_bug1418_prework_decision.md` (~628 tok) - `project_bug1418_term_desync_apply_divergent.md` — Bug-1418: Term desync + apply-divergence promotion block → chaotic liveness stall (~743 tok) - `project_bug1419_wal_dup_submit_false_divergent.md` — Declares occurrence (~955 tok) - `project_bug1462_config_replication_fixed.md` — Declares client (~620 tok) - `project_bug847_wal_batch_payload_loss.md` (~1213 tok) - `project_raft_election_resonance.md` (~556 tok) - `project_resource_distribution_mapping_scoping.md` (~571 tok) - `project_scheduler_core_design_invariant.md` (~406 tok) - `reference_nix_capnpc_pin_fix.md` (~485 tok) - `reference_nonoverlay_fs_soak.md` (~371 tok) - `reference_xce_build_shared_dir_clobber.md` (~415 tok) ## ../../../../../claude/tmp/gdbwrap/ - `ctrl-dbg.sh` — bug-1283: run the NON-ASAN DEBUG (-O0 -g3) xce_controller under gdb -batch; on (~231 tok) ## ../../../../tmp/ - `frpc_mon.sh` — frpc monitor — sample tunnel health every 15s; snapshot on state transition. (~278 tok) - `frpc_prod.toml` (~95 tok) - `frpc_watchdog.sh` — frpc watchdog + monitor (~488 tok) - `frpc-watchdog.sh` — frpc tunnel watchdog — logging ONLY, no auto-restart. (~338 tok) - `frpcdbg_mon.sh` — frpc debug monitor — logs tunnel health every 20s, dumps snapshot on transition (~250 tok) ## ../../xce/.claude/worktrees/agent-a0dfba18c450e4f5f/src/controller/testsuite/ - `test.c` — include (~28571 tok) ## ./ - `.clang-format` (~226 tok) - `.gitignore` — Git ignore rules (~217 tok) - `.mcp.json` (~7 tok) - `.opencode.json` (~7 tok) - `CLAUDE.md` — OpenWolf (~1400 tok) - `codegraph.html` — CodeGraph - Interactive Visualization (~13864 tok) - `package-lock.json` — npm lock file (~1039 tok) - `package.json` — Node.js package manifest (~1 tok) - `README.md` — Project documentation (~612 tok) - `uninstall-code-review-graph.sh` — Fully uninstall `code-review-graph` (the Python/uv MCP tool). (~672 tok) - `xce-ha-soak.log` (~2232 tok) ## .claude/ - `settings.json` (~706 tok) - `settings.local.json` (~756 tok) - `ucai-formatter-cache.local.json` (~17 tok) ## .claude/rules/ - `openwolf.md` (~313 tok) ## .claude/skills/gitea-sync/ - `SKILL.md` — Gitea Sync Skill (~1875 tok) ## .claude/skills/kiro-debug/ - `SKILL.md` — kiro-debug (~1322 tok) ## .claude/skills/kiro-discovery/ - `SKILL.md` — kiro-discovery Skill (~3387 tok) ## .claude/skills/kiro-impl/ - `SKILL.md` — kiro-impl Skill (~4048 tok) ## .claude/skills/kiro-impl/templates/ - `debugger-prompt.md` — Debug Investigator (~812 tok) - `implementer-prompt.md` — TDD Task Implementer (~1659 tok) - `reviewer-prompt.md` — Task Implementation Reviewer (~1352 tok) ## .claude/skills/kiro-review/ - `SKILL.md` — kiro-review (~1756 tok) ## .claude/skills/kiro-spec-batch/ - `SKILL.md` — kiro-spec-batch Skill (~2293 tok) ## .claude/skills/kiro-spec-design/ - `SKILL.md` — kiro-spec-design Skill (~2881 tok) ## .claude/skills/kiro-spec-design/.claude/ - `ucai-formatter-cache.local.json` (~17 tok) ## .claude/skills/kiro-spec-design/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-synthesis.md` — Design Synthesis (~464 tok) ## .claude/skills/kiro-spec-design/templates/specs/ - `design.md` — Design Document Template (~3303 tok) - `research.md` — Research & Design Decisions Template (~586 tok) ## .claude/skills/kiro-spec-init/ - `SKILL.md` — Spec Initialization (~790 tok) ## .claude/skills/kiro-spec-init/.claude/ - `ucai-formatter-cache.local.json` (~17 tok) ## .claude/skills/kiro-spec-init/templates/specs/ - `init.json` (~125 tok) - `requirements-init.md` — Requirements Document (~40 tok) ## .claude/skills/kiro-spec-init/templates/specs/.claude/ - `ucai-formatter-cache.local.json` (~17 tok) ## .claude/skills/kiro-spec-quick/ - `SKILL.md` — Quick Spec Generator (~1995 tok) ## .claude/skills/kiro-spec-quick/templates/specs/ - `init.json` (~125 tok) - `requirements-init.md` — Requirements Document (~40 tok) ## .claude/skills/kiro-spec-requirements/ - `SKILL.md` — kiro-spec-requirements Skill (~2125 tok) ## .claude/skills/kiro-spec-requirements/.claude/ - `ucai-formatter-cache.local.json` (~17 tok) ## .claude/skills/kiro-spec-requirements/rules/ - `ears-format.md` — EARS Format Guidelines (~739 tok) - `requirements-review-gate.md` — Requirements Review Gate (~924 tok) ## .claude/skills/kiro-spec-requirements/templates/specs/ - `requirements.md` — Requirements Document (~325 tok) ## .claude/skills/kiro-spec-status/ - `SKILL.md` — kiro-spec-status Skill (~746 tok) ## .claude/skills/kiro-spec-tasks/ - `SKILL.md` — kiro-spec-tasks Skill (~2473 tok) ## .claude/skills/kiro-spec-tasks/.claude/ - `ucai-formatter-cache.local.json` (~17 tok) ## .claude/skills/kiro-spec-tasks/rules/ - `tasks-generation.md` — Task Generation Rules (~2773 tok) - `tasks-parallel-analysis.md` — Parallel Task Analysis Rules (~633 tok) ## .claude/skills/kiro-spec-tasks/templates/specs/ - `tasks.md` — Implementation Plan (~318 tok) ## .claude/skills/kiro-steering-custom/ - `SKILL.md` — kiro-steering-custom Skill (~1230 tok) ## .claude/skills/kiro-steering-custom/rules/ - `steering-principles.md` — Steering Principles (~593 tok) ## .claude/skills/kiro-steering-custom/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) ## .claude/skills/kiro-steering/ - `SKILL.md` — kiro-steering Skill (~1191 tok) ## .claude/skills/kiro-steering/rules/ - `steering-principles.md` — Steering Principles (~593 tok) ## .claude/skills/kiro-steering/templates/steering/ - `product.md` — Product Overview (~89 tok) - `structure.md` — Project Structure (~218 tok) - `tech.md` — Technology Stack (~198 tok) ## .claude/skills/kiro-validate-design/ - `SKILL.md` — kiro-validate-design Skill (~1296 tok) ## .claude/skills/kiro-validate-design/rules/ - `design-review.md` — Design Review Process (~1090 tok) ## .claude/skills/kiro-validate-gap/ - `SKILL.md` — kiro-validate-gap Skill (~1385 tok) ## .claude/skills/kiro-validate-gap/rules/ - `gap-analysis.md` — Gap Analysis Process (~1266 tok) ## .claude/skills/kiro-validate-impl/ - `SKILL.md` — kiro-validate-impl Skill (~2826 tok) ## .claude/skills/kiro-verify-completion/ - `SKILL.md` — kiro-verify-completion (~972 tok) ## .claude/skills/xce-audit-invariants/ - `SKILL.md` — XCE Design-Invariant Audit & Fix (~2311 tok) - `SKILL.md` — XCE Design-Invariant Audit & Fix — audit documented invariants, fix confirmed violations, prove with build+unit+live HA soak (~1350 tok) ## .claude/skills/xce-build/ - `SKILL.md` — build xce source code (~1283 tok) ## .claude/skills/xce-deploy-ha/ - `SKILL.md` — XCE HA Cluster Deployment (~1974 tok) ## .claude/skills/xce-test-ha/ - `run-ha-soak.sh` — run-ha-soak.sh — driver for /xce-test-ha: deploy a 3-node XCE HA cluster, then (~41761 tok) - `SKILL.md` — XCE HA Failover Soak Test (~9766 tok) - `soak-verdict-selftest.sh` — soak-verdict-selftest.sh — deterministic unit test for the verdict parser in (~2637 tok) - `soak-verdict.sh` — soak-verdict.sh — pure (side-effect-free) verdict helpers for run-ha-soak.sh. (~2781 tok) ## .codegraph/ - `.gitignore` — Git ignore rules (~61 tok) - `codegraph.db-shm` (~8737 tok) - `daemon.log` (~2066 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 (~13515 tok) - `requirements.md` — Requirements Document (~5992 tok) - `research.md` — Research & Design Decisions: admin-config-tool (~6829 tok) - `spec.json` (~573 tok) - `tasks.md` — Implementation Plan (~9380 tok) ## .kiro/specs/clusterconfig-schema-split/ - `design.md` — Overview (~7008 tok) - `requirements.md` — Requirements Document (~4621 tok) - `research.md` — Research & Design Decisions (~4955 tok) - `spec.json` (~133 tok) - `tasks.md` — Implementation Plan (~2668 tok) ## .kiro/specs/component-failover-adoption/ - `design.md` — Design Document: component-failover-adoption (~10302 tok) - `requirements.md` — Requirements Document (~3325 tok) - `research.md` — Research & Design Decisions (~5526 tok) - `spec.json` (~132 tok) - `tasks.md` — Implementation Plan (~3873 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) (~9323 tok) - `spec.json` (~136 tok) - `tasks.md` — Implementation Plan (~12616 tok) ## .kiro/specs/controller-status/ - `design.md` — Design Document — controller-status (`ctrlstatus`) (~7961 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/election-iomgr-refactor/ - `design.md` — Design Document: election-iomgr-refactor (~6671 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/ha-client-multimaster/ - `requirements.md` — Requirements Document (~621 tok) - `spec.json` (~130 tok) ## .kiro/specs/ha-commit-barrier-rollout/ - `brief.md` — Brief: ha-commit-barrier-rollout (~626 tok) - `design.md` — Design: ha-commit-barrier-rollout (~10372 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 (~15280 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) - `spec.json` — phase implementation-complete, validate_impl GO (2026-07-18) (~2100 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 (~7600 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 (~11439 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` (~293 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 (~8316 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 (~9928 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 (~5128 tok) - `requirements.md` — Requirements Document (~1634 tok) - `research.md` — Research / Gap Analysis — ha-elect-ctx-lifecycle (~2095 tok) - `spec.json` (~130 tok) - `tasks.md` — Implementation Plan: ha-elect-ctx-lifecycle (~1696 tok) ## .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) - `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 (~4689 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 (~5409 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 (~5369 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 (~6905 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 (~5577 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 (~1413 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` (~230 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` (~1977 tok) - `tasks.md` — Implementation Plan (~10270 tok) ## .kiro/specs/raft-ha-core-safety/ - `.gdbwrap-ctrl.sh` — bug-1282 diagnostic: run the release xce_controller under gdb -batch; on SIGSEGV (~222 tok) - `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/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` — Declares is (~226 tok) - `tasks.md` — Implementation Tasks: resval-id-decoupling (~2424 tok) ## .kiro/specs/scheduler-allocation/ - `requirements.md` — Requirements Document (~9034 tok) - `spec.json` (~210 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` (~230 tok) - `tasks.md` — Tasks: scheduler-controller-msg-gap (~4650 tok) ## .kiro/specs/scheduler-core/ - `brief.md` — Brief: scheduler-core (~1988 tok) - `requirements.md` — Requirements Document (~24180 tok) - `spec.json` (~202 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 (~2285 tok) - `spec.json` (~213 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/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/steering/ - `api-standards.md` — API Standards (~1291 tok) - `build-deployment.md` — Build & Deployment (~1451 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) - `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) ## .remember/ - `.gitignore` — Git ignore rules (~1 tok) - `archive.md` — Archive (~6 tok) - `now.md` — 11:21 | raft_tla (~53 tok) - `recent.md` — Recent (~88 tok) - `today-2026-06-26.done.md` — 03:44 | raft_tla (~174 tok) - `today-2026-06-27.md` — 10:15 | raft_tla (~194 tok) ## .remember/logs/ - `hook-errors.log` (~0 tok) - `memory-2026-06-26.log` (~206678 tok) - `memory-2026-06-27.log` (~117086 tok) ## .remember/logs/autonomous/ - `save-112110.log` (~0 tok) ## .remember/tmp/ - `last-ndc.ts` (~4 tok) - `last-save-ts` (~3 tok) - `last-save.json` (~19 tok) - `save-session.pid` (~2 tok) ## cases/ - `.ha-failover.md.~undo-tree~` (~34150 tok) ## 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-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) ## ha/data/ - `xce.crt` — ---BEGIN CERTIFICATE----- (~381 tok) - `xce.key` — ---BEGIN PRIVATE KEY----- (~455 tok) ## raft/ - `#raft.tla#` — ------------------------------- MODULE raft --------------------------------- (~5162 tok) - `raft.tla` — ------------------------------- MODULE raft --------------------------------- (~5350 tok) ## reports/ - `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) - `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 (~8407 tok) ## src/ - `flake.nix` (~571 tok) - `meson.build` (~628 tok) - `meson.options` (~90 tok) ## src/.claude/ - `ucai-formatter-cache.local.json` (~17 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) - `credentials` (~25 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 (~3260 tok) - `plug_mgr.c` — Main functions: (~4412 tok) - `prov_conf.c` — include "prov_conf.h" (~2721 tok) - `scaler_ctx.c` — include (~547 tok) - `scaler_json.c` — include (~3716 tok) - `scaler_misc.c` — include (~1482 tok) - `scaler_obj.c` — include "scaler_obj.h" (~2462 tok) - `scaler.c` — include (~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 (~1794 tok) - `test_scale_misc.c` — include (~1258 tok) - `test.c` — include (~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.release/ - `.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_deps` — ninjadeps (~94574 tok) - `.ninja_log` — ninja log v7 (~7797 tok) - `build.ninja` — This is the build file for project "xce" (~76087 tok) - `compile_commands.json` (~85144 tok) - `xce` (~176 tok) ## src/build.release/autoscaler/ - `libscaler.a` (~28211 tok) ## src/build.release/autoscaler/libscaler.a.p/ - `scaler_obj_mgr.c.o` (~4493 tok) - `scaler_plug_mgr.c.o` (~5263 tok) - `scaler_prov_conf.c.o` (~2951 tok) - `scaler_scaler_ctx.c.o` (~1060 tok) - `scaler_scaler_json.c.o` (~4416 tok) - `scaler_scaler_misc.c.o` (~2408 tok) - `scaler_scaler_obj.c.o` (~2362 tok) - `scaler_scaler.c.o` (~4615 tok) ## src/build.release/controller/ - `xce_controller` (~231672 tok) - `xce_test` (~187302 tok) ## src/build.release/controller/controller_unit_test.p/ - `commit.c.o` (~2380 tok) - `config_repl.c.o` (~15422 tok) - `ctrl_metrics.c.o` (~954 tok) - `ctrlstatus.c.o` (~1055 tok) - `egress.c.o` (~684 tok) - `ha_convergence.c.o` (~1671 tok) - `ha.c.o` (~29278 tok) - `job.c.o` (~7479 tok) - `join.c.o` (~2434 tok) - `opupd.c.o` (~805 tok) - `persist.c.o` (~13480 tok) - `queue.c.o` (~1618 tok) - `repl.c.o` (~4060 tok) - `slowlane.c.o` (~1279 tok) - `startup_validation.c.o` (~1000 tok) - `testsuite_controller_test.c.o` (~4462 tok) - `testsuite_test_cluster_persist.c.o` (~1871 tok) - `testsuite_test_coldstart_lsn0.c.o` (~3991 tok) - `testsuite_test_commit_admission_pool.c.o` (~2507 tok) - `testsuite_test_commit_barrier_reply.c.o` (~20113 tok) - `testsuite_test_commit_barrier_rollout.c.o` (~16643 tok) - `testsuite_test_commit_durability.c.o` (~20992 tok) - `testsuite_test_commit_engine.c.o` (~18365 tok) - `testsuite_test_config_repl.c.o` (~33947 tok) - `testsuite_test_convergence_verification.c.o` (~13548 tok) - `testsuite_test_ctrl_metrics.c.o` (~1390 tok) - `testsuite_test_ctrlstatus.c.o` (~4859 tok) - `testsuite_test_demotion_convergence.c.o` (~9560 tok) - `testsuite_test_drive_async_config.c.o` (~1314 tok) - `testsuite_test_e2e_capnp.c.o` (~2374 tok) - `testsuite_test_e2e_checkpoint.c.o` (~3658 tok) - `testsuite_test_e2e_gc.c.o` (~2267 tok) - `testsuite_test_e2e_hooks.c.o` (~2780 tok) - `testsuite_test_e2e_wal.c.o` (~2611 tok) - `testsuite_test_egress_filter.c.o` (~5332 tok) - `testsuite_test_gc_retention.c.o` (~3928 tok) - `testsuite_test_ha_bootstrap_support.c.o` (~763 tok) - `testsuite_test_ha_bootstrap.c.o` (~3083 tok) - `testsuite_test_ha_cluster.c.o` (~1641 tok) - `testsuite_test_ha_connection_reuse.c.o` (~4725 tok) - `testsuite_test_ha_ctrlhello.c.o` (~1651 tok) - `testsuite_test_ha_dispatch_integration.c.o` (~6316 tok) - `testsuite_test_ha_durability.c.o` (~3514 tok) - `testsuite_test_ha_election.c.o` (~10076 tok) - `testsuite_test_ha_failover_prevote.c.o` (~3303 tok) - `testsuite_test_ha_failover.c.o` (~2953 tok) - `testsuite_test_ha_heartbeat_committed.c.o` (~2861 tok) - `testsuite_test_ha_liveness.c.o` (~18406 tok) - `testsuite_test_ha_prevote.c.o` (~7709 tok) - `testsuite_test_ha_rdhup_integration.c.o` (~4906 tok) - `testsuite_test_ha_redirect.c.o` (~1653 tok) - `testsuite_test_ha_repl_push.c.o` (~3326 tok) - `testsuite_test_ha_role_lifecycle.c.o` — Declares WAL_NOOP (~9714 tok) - `testsuite_test_ha_role.c.o` (~7639 tok) - `testsuite_test_ha_start_election_async.c.o` (~2049 tok) - `testsuite_test_ha_startup.c.o` (~8839 tok) - `testsuite_test_ha_vep_teardown.c.o` (~5627 tok) - `testsuite_test_ha_vote_floor_heartbeat.c.o` (~2418 tok) - `testsuite_test_ha_vote_gate.c.o` (~9850 tok) - `testsuite_test_ha_vote_send.c.o` (~5643 tok) - `testsuite_test_hooks.c.o` — Declares tests (~756 tok) - `testsuite_test_join_redirect.c.o` (~1122 tok) - `testsuite_test_p1_integration.c.o` (~1554 tok) - `testsuite_test_p2_integration.c.o` (~4480 tok) - `testsuite_test_p3_hardening.c.o` (~5212 tok) - `testsuite_test_p3_manual_failover.c.o` (~1255 tok) - `testsuite_test_persist_checkpoint.c.o` (~2306 tok) - `testsuite_test_persist_hooks.c.o` — Declares tests (~5045 tok) - `testsuite_test_persist_recovery.c.o` (~3920 tok) - `testsuite_test_persist_repl.c.o` (~1651 tok) - `testsuite_test_persist_schema.c.o` (~1079 tok) - `testsuite_test_persist_truncate.c.o` (~2555 tok) - `testsuite_test_persist_types.c.o` (~1148 tok) - `testsuite_test_persist_wal.c.o` (~2262 tok) - `testsuite_test_repl_apply.c.o` (~5440 tok) - `testsuite_test_repl_catchup.c.o` (~1961 tok) - `testsuite_test_repl_majority.c.o` (~3823 tok) - `testsuite_test_repl_unit.c.o` (~7043 tok) - `testsuite_test_slowlane.c.o` (~3285 tok) - `testsuite_test_term_safety_adapter.c.o` (~19529 tok) - `testsuite_test_walcompare.c.o` (~6412 tok) - `testsuite_test_waldump.c.o` (~4875 tok) - `testsuite_test_worker_join.c.o` — Declares must (~6479 tok) - `testsuite_walcompare.c.o` (~2442 tok) - `testsuite_waldump.c.o` (~8073 tok) - `worker.c.o` (~4547 tok) ## src/build.release/controller/xce_controller.p/ - `apiserver.c.o` (~3427 tok) - `cluster.c.o` (~11086 tok) - `commit.c.o` (~2048 tok) - `config_repl.c.o` (~15387 tok) - `ctrl_metrics.c.o` (~954 tok) - `ctrlstatus.c.o` (~1055 tok) - `dataex.c.o` (~2410 tok) - `egress.c.o` (~684 tok) - `ha_convergence.c.o` (~1762 tok) - `ha.c.o` (~25817 tok) - `job.c.o` (~7479 tok) - `join.c.o` (~2434 tok) - `main.c.o` (~2912 tok) - `misc.c.o` (~1523 tok) - `myapp.c.o` (~2415 tok) - `myconf.c.o` (~1358 tok) - `opget.c.o` (~1396 tok) - `opupd.c.o` (~805 tok) - `persist.c.o` (~12292 tok) - `queue.c.o` (~1618 tok) - `repl.c.o` (~3916 tok) - `reply.c.o` (~800 tok) - `resources.c.o` (~248 tok) - `sched.c.o` (~2960 tok) - `slowlane.c.o` (~1279 tok) - `startup_validation.c.o` (~1000 tok) - `task.c.o` (~1388 tok) - `worker.c.o` (~4528 tok) ## src/configs/ - `hosts.yaml` (~248 tok) - `limits.yaml` (~475 tok) - `queues.yaml` (~504 tok) - `resources.yaml` — Declares type (~1360 tok) - `scaler.yaml` (~102 tok) - `users.yaml` — define usergroup share (~47 tok) - `xce.yaml` (~33 tok) ## src/configs/schema/ - `limits.schema.json` (~454 tok) - `scaler.schema.json` (~232 tok) - `xce.schema.json` (~312 tok) ## src/controller/ - `apiserver.c` — include (~5962 tok) - `CLAUDE.md` — XCE Controller (~4527 tok) - `cluster.c` — include "config.h" (~20931 tok) - `commit.c` — Declares is (~12825 tok) - `config_repl.c` — define _GNU_SOURCE (~33995 tok) - `config_repl.h` — pragma once (~6467 tok) - `ha_convergence.c` — Declares char (~7830 tok) - `ha.c` — define _GNU_SOURCE (~124295 tok) - `ha.h` — ifndef HA_H (~34070 tok) - `job.c` — include (~24947 tok) - `join.c` — include "config.h" (~2795 tok) - `main.c` — include (~4767 tok) - `meson.build` (~2535 tok) - `myapp.c` — define _GNU_SOURCE (~5868 tok) - `myconf.c` — define _GNU_SOURCE (~1101 tok) - `persist.c` — define _GNU_SOURCE (~85714 tok) - `repl.c` — include (~8624 tok) - `sched.c` — include (~5719 tok) - `worker.c` — include ; worker_from_capnp hook_detail-aware existing-worker apply (bug-1472 fix) (~7228 tok) ## src/controller/include/ - `cluster.h` — if !defined(_CLUSTER_H_) (~3203 tok) - `commit.h` — pragma once (~3635 tok) - `worker.h` — if !defined(_WORKER_H_) (~199 tok) ## src/controller/testsuite/ - `configcompare.c` — define _GNU_SOURCE (~2122 tok) - `configcompare.h` — pragma once (~1107 tok) - `controller_test.c` — include (~2156 tok) - `snapdiff.c` — define _GNU_SOURCE (~833 tok) - `snapdiff.h` — pragma once (~569 tok) - `snapverify.c` — define _GNU_SOURCE (~4034 tok) - `snapverify.h` — pragma once (~1250 tok) - `test_apply_committed_entry.c` — Declares directly; +3 WAL_WORKER_CTRL/UPDATE tests (bug-1472 fix: applies-to-existing, replace-not-or, JOIN-duplicate regression guard) (~12391 tok) - `test_apply_correctness_verification.c` — Declares driving (~16906 tok) - `test_apply_pump_integration.c` — Declares hook (~16913 tok) - `test_apply_pump.c` (~19569 tok) - `test_apply_reapply_idempotency.c` — Declares xce_job_t (~4026 tok) - `test_apply_seam.c` (~2936 tok) - `test_apply_seam.c` — raft-apply-decoupling task 2.1: calls apply_job_start/finish/fail/update_transition() directly on a bare jobmgr+job_t (no cluster_t), bypassing on_job_start/finish/fail, to prove the extracted guard cores work outside the receipt path (~2900 tok) - `test_bug857_regression.c` — Declares void (~6090 tok) - `test_commit_barrier_reply.c` — Declares uint8_t (~43215 tok) - `test_commit_barrier_rollout.c` — Declares explicitly (~27677 tok) - `test_commit_durability.c` — define _GNU_SOURCE (~32879 tok) - `test_commit_resolve.c` (~14018 tok) - `test_config_repl.c` — define _GNU_SOURCE (~87209 tok) - `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 (~3729 tok) - `test_e2e_checkpoint.c` — define _GNU_SOURCE (~3544 tok) - `test_e2e_gc.c` — define _GNU_SOURCE (~1678 tok) - `test_e2e_hooks.c` — define _GNU_SOURCE (~2184 tok) - `test_egress_filter.c` — Declares xce_job_t (~5072 tok) - `test_ha_core_safety.c` — Declares char; HA/raft-adapter core-safety suite; includes task 5.1's test_5_1_wal_catchup_reject_sends_nack_reply (WAL catch-up reject -> ha_send_wal_ack_reply_ex NACK regression-lock) (~41000 tok) - `test_ha_elect_ctx_lifecycle.c` — Declares char (~2900 tok) - `test_ha_election.c` — Declares char (~16377 tok) - `test_ha_liveness.c` — Declares directly (~24748 tok) - `test_ha_partition.c` (~5459 tok) - `test_ha_rdhup_integration.c` — Declares char (~7341 tok) - `test_ha_role.c` — include (~11466 tok) - `test_ha_vep_teardown.c` (~6218 tok) - `test_ha_vote_gate.c` — define _GNU_SOURCE (~14165 tok) - `test_ha_vote_send.c` — define _GNU_SOURCE (~9950 tok) - `test_job_array_apiserver_push.c` — Declares uint8_t (~3366 tok) - `test_job_array_apply.c` — Declares from (~10687 tok) - `test_job_array_fence.c` (~6110 tok) - `test_job_array_replay_fence.c` — Declares uint64_t (~8045 tok) - `test_job_array_sched_push.c` — job-array-single-wal-record task 5.1: standalone Unity binary (own main(), not part of controller_unit_test) proving sched_job_new_fun branches multi-element HOOK_DETAIL_JOB_NEW fires to the new compact xcesched_push_jobarray() (Data.jobArray) while single-element fires stay on unmodified xcesched_push_joblist() (~2690 tok) - `test_persist_checkpoint.c` — define _GNU_SOURCE (~2415 tok) - `test_persist_hooks.c` — define _GNU_SOURCE (~4305 tok) - `test_persist_recovery.c` — define _GNU_SOURCE (~3778 tok) - `test_persist_snapshot_entities.c` — unsigned: queue (~25632 tok) - `test_persist_truncate.c` — define _GNU_SOURCE (~5311 tok) - `test_repl_unit.c` — include ; +2 bug-1474 slot-allocation guard tests (~9760 tok) - `test_replay_apply_seam.c` — Declares through (~3707 tok) - `test_snapdiff.c` — define _GNU_SOURCE (~1033 tok) - `test_snapverify.c` — define _GNU_SOURCE (~4696 tok) - `test_term_safety_adapter.c` — define _GNU_SOURCE (~28939 tok) - `test_upgrade_snapshot_apply.c` — Declares char (~12444 tok) - `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 (~31907 tok) - `walcompare.c` — define _GNU_SOURCE (~5176 tok) - `walcompare.h` — pragma once (~1474 tok) - `waldump.c` — define _GNU_SOURCE (~6488 tok) - `waldump.h` — pragma once (~1150 tok) ## src/docs/ - `deployment.md` — XCE Deployment Guide (~4942 tok) ## src/frontend/apiserver/backend/ - `clib.go` — go:build cgo (~3462 tok) - `convert_pure.go` — Struct: rawStartInfo (~3244 tok) - `convert_test.go` — TestRawJobToModel_BasicFields, TestRawJobToModel_NilSubmit, TestRawJobToModel_Timestamps, TestRawWor (~6939 tok) - `convert.go` — go:build cgo (~3556 tok) - `handler_test.go` — TestOnHostConfigUpdated_UnregisteredHostIgnored, TestOnHostConfigUpdated_DefaultPseudoHostIgnored, T (~3995 tok) - `handler.go` — Struct: DefaultHandler (~1501 tok) - `wire_dispatch_support.go` — go:build cgo (~2254 tok) - `wire_dispatch_test.go` — go:build cgo (~1337 tok) ## src/frontend/apiserver/config/ - `auth.yaml` — Authentication provider: config_file | pam | ldap | oauth2 (~187 tok) ## src/frontend/mcp-server/ ## src/frontend/schedulerclient/ ## src/frontend/xcecli/cmd/auth/ - `logon.go` — NewLogonCmd (~1388 tok) ## src/frontend/xcecli/cmd/clusters/ - `list.go` — NewClustersCmd (~505 tok) ## src/frontend/xcecli/cmd/hosts/ - `controller.go` — Struct: HostController (~1272 tok) - `list.go` — Struct: HostsQuerier (~1502 tok) - `select.go` — Struct: HostSelector (~595 tok) ## src/frontend/xcecli/cmd/jobs/ - `controller.go` — Struct: JobController (~2393 tok) - `list.go` — Struct: JobsQuerier (~3544 tok) - `peek.go` — Struct: PeekQuerier (~892 tok) - `restart.go` — Struct: JobRestart (~501 tok) - `submit.go` — Struct: JobSubmitter (~6452 tok) ## src/frontend/xcecli/cmd/permissions/ - `list.go` — Struct: PermsQuerier (~874 tok) ## src/frontend/xcecli/cmd/queues/ - `controller.go` — Struct: QueueController (~1787 tok) - `list.go` — Struct: QueuesQuerier (~1449 tok) ## src/frontend/xcecli/cmd/resources/ - `list.go` — Struct: ResourcesDistQuerier (~2638 tok) ## src/frontend/xcecli/cmd/roles/ - `addrole.go` — Struct: RoleSubmitter (~2124 tok) - `deleterole.go` — Struct: DeleteRole (~583 tok) - `list.go` — Struct: RolesQuerier (~1633 tok) ## src/frontend/xcecli/cmd/users/ - `assignrole.go` — Struct: UserSubmitter (~862 tok) - `list.go` — Struct: UserRolesQuerier (~1919 tok) - `perm4user.go` — Struct: Perms4User (~1056 tok) - `unassignrole.go` — Struct: UnassignUser (~711 tok) ## src/frontend/xcecli/common/request/ - `request_test.go` — TestAuthHeaderConsistency (~112 tok) - `request.go` — Struct: APIResponse (~2810 tok) ## src/frontend/xcecli/config/ - `config.go` — Struct: APIServerInfo (~1488 tok) ## src/frontend/xcecli/models/ - `logon.go` — Struct: LogonData (~147 tok) ## src/include/ - `client.h` — if !defined(_CLIENT_H_) (~1899 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) - `kvmgr.h` — if !defined(__KVMGR_H__) (~631 tok) - `myconf.h` — if !defined(_MYCONF_H_) (~1055 tok) - `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) - `wal_types.h` — pragma once (~2076 tok) - `xceapi.h` — if !defined(_XCEAPI_H_) (~650 tok) - `zarray.h` — if !defined(_ZARRAY_H_) (~1286 tok) ## src/include/xce/ - `cluster.h` — A single controller candidate. (~1107 tok) ## src/lib/ - `client_internal.h` — if !defined(_CLIENT_INTERNAL_H_) (~4475 tok) - `client.c` — include (~7163 tok) - `cluster.c` — include (~1526 tok) - `delay.c` — include (~1520 tok) - `jobj.c` — include (~6090 tok) - `kvmgr.c` — include (~3053 tok) - `meson.build` (~1703 tok) - `netio.c` — include (~9456 tok) - `request.c` — include (~18036 tok) - `vtaskmgr.c` — include (~3822 tok) - `xceapi.c` — include (~4190 tok) - `zarray.c` — include (~5924 tok) ## src/lib/raft/ - `raft_sim.c` — ifdef XCE_TESTING (~28490 tok) - `raft.c` — include "raft.h" (~9701 tok) - `raft.h` — ifndef RAFT_H (~17836 tok) ## src/lib/testsuite/ - `test_cluster.c` — include (~1725 tok) - `test_ctrlstatus.c` (~4821 tok) - `test_jobj_hardening.c` — include (~4939 tok) - `test_kvmgr_reserve.c` — Declares instance (~1260 tok) - `test_netio_batch_dispatch_uaf.c` (~1854 tok) - `test_netio_on_fini.c` (~1328 tok) - `test_raft.c` — include (~98108 tok) - `test_request.c` — include (~3136 tok) - `test_wal_wire.c` — include (~4204 tok) - `test_zarray_reserve.c` — Declares instance (~2341 tok) - `test.c` — include (~1210 tok) ## src/nixSupport/ - `xce.nix` (~727 tok) ## src/scheduler/include/ - `scheduler.h` — if !defined(_SCHEDULER_H_) (~1863 tok) ## src/scheduler/src/ - `handler.c` — include (~4838 tok) - `main.c` — include (~1546 tok) - `scheduler.c` — include (~10738 tok) ## src/scheduler/testsuite/ - `meson.build` — Declares vtask_entry (~1057 tok) - `test_handlers.c` — define UNIT_TEST 1 (~1869 tok) - `test_job_array_expand.c` — define UNIT_TEST 1 (~3664 tok) - `test_job_array_wire_e2e.c` — Declares vtask_entry (~4408 tok) ## src/schema/ - `controller.capnp` — Declares OPCode (~10085 tok) ## src/tools/ - `deploy-ha.sh` (~1054 tok) - `test-commit-durability.sh` — test-commit-durability.sh — bug-661 reproduction: committed jobs lost across failover. (~9868 tok) - `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/src/ - `main.c` — include "sqlite3.h" (~5454 tok) ## src/xceadmin/ - `.gitignore` — Git ignore rules (~76 tok) - `meson-build.sh` — Meson-driven xceadmin build: install + test out-of-tree, in the meson (~793 tok) - `meson-install.sh` — meson install-time script (meson.add_install_script) -- runs after the (~543 tok) - `meson.build` — xceadmin (admin-config-tool): Python package, no C compilation. (~735 tok) - `pyproject.toml` — XCE cluster configuration admin CLI (config build / config push) (~362 tok) ## src/xceadmin/src/xceadmin/ - `__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) - `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) ## 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) - `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) - `wire.py` — TLS connection and wire framing for xcecommon/xceadmin (design.md, (~1917 tok) ## src/xceadmin/tests/ - `_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_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_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 standby-redirect-gap regression lock; round-2 fixture adds _wait_for_standbys + settle + port recheck (still flaky -- bug-1485, primary crashes post-promotion) (~7600 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_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_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) - `test_wire.py` — Unit tests for ``xcecommon.wire`` (design.md, ``xcecommon.wire``; (~2968 tok) ## src/xceadmin/tests/fixtures/minimal/configs/ - `hosts.yaml` (~40 tok) - `queues.yaml` (~12 tok)