myxce/.wolf/anatomy.md

43 KiB

anatomy.md

Auto-maintained by OpenWolf. Last scanned: 2026-06-09T08:36:14.668Z Files: 590 tracked | Anatomy hits: 0 | Misses: 0

../../../../../claude/.claude/plans/

  • functional-tumbling-squirrel.md — Plan: Address ha-repl-hardening Design Review Issues (~924 tok)
  • hazy-exploring-swan.md — Plan: HA Replication Hardening (~1100 tok)
  • prancy-herding-nest.md — Plan: HA Election + Config Bootstrap Enhancement (~13241 tok)

../../../../../claude/.claude/projects/-home-rshen-projects-xce-xce/memory/

  • MEMORY.md — Memory Index (~41 tok)
  • project_ha_bootstrap_progress.md (~363 tok)

./

  • .clang-format (~226 tok)
  • .gitignore — Git ignore rules (~88 tok)
  • CLAUDE.md — OpenWolf (~2900 tok)
  • README.md — Project documentation (~612 tok)

.claude/

  • settings.json (~441 tok)
  • settings.local.json (~30 tok)

.claude/rules/

  • openwolf.md (~313 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/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/templates/specs/

  • init.json (~125 tok)
  • requirements-init.md — Requirements Document (~40 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/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/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-build/

  • SKILL.md — build xce source code (~112 tok)

.claude/skills/xce-deploy-ha/

  • SKILL.md — XCE HA Cluster Deployment (~1286 tok)

.kiro/settings/

  • mcp.json (~8 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/election-iomgr-refactor/

  • design.md — Design Document: election-iomgr-refactor (~6671 tok)
  • requirements.md — Requirements Document (~2695 tok)
  • research.md — Research & Design Decisions (~5189 tok)
  • spec.json (~129 tok)
  • tasks.md — Implementation Plan (~3693 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 (~3677 tok)
  • requirements.md — Requirements: HA Config Bootstrap & Raft-Style Quorum Election (~3890 tok)
  • research.md — Cross-Spec Gap Audit (2026-06-03) (~8392 tok)
  • spec.json (~198 tok)
  • tasks.md — Implementation Plan: HA Config Bootstrap & Raft-Style Quorum Election (~5619 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 (~2290 tok)
  • spec.json (~129 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 (~3801 tok)
  • spec.json (~130 tok)
  • tasks.md — Implementation Plan: ha-peer-connection-reuse (~2022 tok)

.kiro/specs/ha-repl-hardening/

  • design.md — Design: HA Replication Hardening (~5514 tok)
  • raft-tla-audit.md — Raft TLA+ Specification Audit (~1591 tok)
  • requirements.md — Requirements Document (~2817 tok)
  • research.md — Gap Analysis: HA Replication Hardening (~2756 tok)
  • spec.json (~128 tok)
  • tasks.md — Implementation Plan: HA Replication Hardening (~3816 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 (~949 tok)
  • spec.json (~127 tok)
  • tasks.md — Implementation Plan (~4312 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 (~3505 tok)
  • spec.json — Declares is (~229 tok)
  • tasks.md — Implementation Tasks: resval-id-decoupling (~2424 tok)

.kiro/specs/scheduler-controller-msg-gap/

  • design.md — Design: scheduler-controller-msg-gap (~4756 tok)
  • requirements.md — Requirements: scheduler-controller-msg-gap (~2712 tok)
  • research.md — Research Log: scheduler-controller-msg-gap (~1854 tok)
  • spec.json (~184 tok)
  • tasks.md — Tasks: scheduler-controller-msg-gap (~2324 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 (~3357 tok)
  • spec.json (~129 tok)
  • tasks.md — Implementation Plan (~1658 tok)

.kiro/steering/

  • error-handling.md — Error Handling Standards (~782 tok)
  • product.md — Product Overview (~836 tok)
  • security.md — Security Standards (~804 tok)
  • structure.md — Project Structure (~1139 tok)
  • tech.md — Technology Stack (~1041 tok)
  • testing.md — Testing Standards (~741 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)

src/

  • flake.nix (~571 tok)
  • meson.build (~623 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 <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/lib/

  • controller.capnp.c — include "controller.capnp.h" (~134780 tok)

src/controller/

  • apiserver.c — include <errno.h> (~5303 tok)
  • CLAUDE.md — XCE Controller (~2625 tok)
  • cluster.c — include "config.h" (~12219 tok)
  • config_repl.c — define _GNU_SOURCE (~14728 tok)
  • config_repl.h — pragma once (~2481 tok)
  • ctrl_metrics.c — include "ctrl_metrics.h" (~767 tok)
  • dataex.c — include <errno.h> (~2466 tok)
  • ha.c — define _GNU_SOURCE (~39651 tok)
  • ha.h — ifndef HA_H (~9764 tok)
  • job.c — include <errno.h> (~8259 tok)
  • join.c — include "config.h" (~2347 tok)
  • main.c — include <argp.h> (~1996 tok)
  • meson.build (~1080 tok)
  • misc.c — include <errno.h> (~1359 tok)
  • myapp.c — define _GNU_SOURCE (~3209 tok)
  • myconf.c — define _GNU_SOURCE (~1100 tok)
  • opget.c — include "config.h" (~1725 tok)
  • opupd.c — include "config.h" (~714 tok)
  • persist.c — define _GNU_SOURCE (~13088 tok)
  • queue.c — include <errno.h> (~1260 tok)
  • repl.c — include <assert.h> (~3964 tok)
  • reply.c — include "config.h" (~590 tok)
  • resources.c — include <errno.h> (~50 tok)
  • sched.c — include <errno.h> (~5230 tok)
  • startup_validation.c — define _GNU_SOURCE (~1423 tok)
  • task.c — include <errno.h> (~1376 tok)
  • worker.c — include <errno.h> (~5201 tok)

src/controller/include/

  • cluster.h — if !defined(CLUSTER_H) (~1669 tok)
  • worker.h — if !defined(WORKER_H) (~190 tok)

src/controller/testsuite/

  • controller_test.c — include <argp.h> (~1305 tok)
  • test_cluster_persist.c — define _GNU_SOURCE (~1062 tok)
  • test_config_repl.c — define _GNU_SOURCE (~22128 tok)
  • test_ctrl_metrics.c — define _GNU_SOURCE (~940 tok)
  • test_e2e_capnp.c — include <stdint.h> (~1690 tok)
  • test_e2e_checkpoint.c — define _GNU_SOURCE (~1793 tok)
  • test_e2e_gc.c — define _GNU_SOURCE (~1665 tok)
  • test_e2e_hooks.c — define _GNU_SOURCE (~2346 tok)
  • test_e2e_wal.c — define _GNU_SOURCE (~2546 tok)
  • test_gc_retention.c — define _GNU_SOURCE (~2447 tok)
  • test_ha_bootstrap_support.c — ifdef XCE_TESTING (~1008 tok)
  • test_ha_bootstrap.c — does: defer_config_fetch (~5828 tok)
  • test_ha_cluster.c — include <stdatomic.h> (~1351 tok)
  • test_ha_connect.c — define _GNU_SOURCE (~1882 tok)
  • test_ha_connection_reuse.c — define _GNU_SOURCE (~6304 tok)
  • test_ha_ctrlhello.c (~1322 tok)
  • test_ha_durability.c — Declares char (~4075 tok)
  • test_ha_election.c — Declares char (~11144 tok)
  • test_ha_evaluate_committing.c — Declares checks (~7656 tok)
  • test_ha_failover.c — define _GNU_SOURCE (~3781 tok)
  • test_ha_liveness_sigstop.sh — test_ha_liveness_sigstop.sh — Task 4.5 integration test: missed-heartbeat (~2606 tok)
  • test_ha_liveness.c — Declares directly (~6006 tok)
  • test_ha_rdhup_integration.c — Declares char (~4347 tok)
  • test_ha_redirect.c — include <stdatomic.h> (~905 tok)
  • test_ha_repl_ack.c (~3093 tok)
  • test_ha_repl_push.c — Declares is (~2818 tok)
  • test_ha_role.c — include <signal.h> (~9651 tok)
  • test_ha_start_election_async.c — Declares returns (~1957 tok)
  • test_ha_startup.c — Declares char (~8594 tok)
  • test_ha_vote_gate.c — define _GNU_SOURCE (~2679 tok)
  • test_ha_vote_send.c — define _GNU_SOURCE (~5635 tok)
  • test_ha_vote_send.c — define _GNU_SOURCE (~3212 tok)
  • test_hooks.c — include <stdio.h> (~365 tok)
  • test_p1_integration.c — include <stdatomic.h> (~1496 tok)
  • test_p2_integration.c — include <errno.h> (~2096 tok)
  • test_p3_hardening.c — define _GNU_SOURCE (~5279 tok)
  • test_p3_manual_failover.c — include <stdatomic.h> (~984 tok)
  • test_persist_checkpoint.c — define _GNU_SOURCE (~1815 tok)
  • test_persist_hooks.c — define _GNU_SOURCE (~4222 tok)
  • test_persist_recovery.c — define _GNU_SOURCE (~2290 tok)
  • test_persist_repl.c — include <errno.h> (~1396 tok)
  • test_persist_schema.c — include <stdint.h> (~1190 tok)
  • test_persist_truncate.c — define _GNU_SOURCE (~1973 tok)
  • test_persist_types.c — include <stddef.h> (~697 tok)
  • test_persist_wal.c — define _GNU_SOURCE (~1708 tok)
  • test_repl_apply.c — include <stdio.h> (~1862 tok)
  • test_repl_catchup.c — include <errno.h> (~1183 tok)
  • test_repl_majority.c — include <errno.h> (~2108 tok)
  • test_repl_unit.c — include <assert.h> (~1662 tok)
  • test_worker_join.c — include <rtti.h> (~4851 tok)
  • test.c — include <argp.h> (~18744 tok)

src/docs/

  • apiserver-backend-enhancement-plan.md — API Server Backend Enhancement Plan (~18355 tok)
  • apiserver-backend-gaps.md — API Server Backend Gap Analysis (~3048 tok)
  • apiserver-backend-integration-test-plan.md — Integration Test Plan — P0 + P1 Features (~5693 tok)
  • apiserver-backend-reviews.md — Final Cross-Perspective Review — API Server Backend Enhancement Plan (~6046 tok)
  • apiserver-backend-tasks.md — API Server Backend Enhancement — Task Tracker (~2318 tok)
  • cluster-config-split-analysis.md — ClusterConfig Schema Split Analysis (~3448 tok)
  • config-replication-design.md — XCE Controller: Configuration Replication Design (~31261 tok)
  • config-replication-gap-analysis.md — Config Replication — Gap Analysis: Design vs Implementation (~2674 tok)
  • config-replication-impl-status.md — Config Replication — Implementation Status (~2258 tok)
  • FUTURE_WORK.md — XCE Controller: Future Work Items (~1087 tok)
  • p1-2-host-select.md — P1-2: Host Resource Requirement Select — Investigation (~848 tok)
  • persistence-and-ha-design.md — XCE Controller: State Persistence & High Availability Design (~98184 tok)
  • phase6-audit.md — Phase 6 Pre-Audit: Single-Threaded Invariant and Stub Locations (~263 tok)
  • phase6-scheduler-integration-plan.md — Phase 6 — Scheduler Integration Implementation Plan (~10358 tok)
  • resreq-ast-cse-design.md — XCE Resource Requirement AST & CSE Design (~47536 tok)
  • resreq-ast-cse-impl-plan.md — Resreq AST + CSE Implementation Plan (~5843 tok)
  • xce.md — controller (~192 tok)

src/frontend/

  • CLAUDE.md — XCE Frontend (API Server + CLI) (~790 tok)
  • Makefile — Make build targets (~408 tok)
  • meson.build (~10 tok)

src/frontend/apiserver/

  • go.mod — Go module definition (~844 tok)
  • go.sum — Go dependency checksums (~5760 tok)
  • meson.build — frontend/apiserver — Go REST API server with CGO backend integration. (~563 tok)
  • README.md — Project documentation (~42 tok)

src/frontend/apiserver/backend/

  • clib.go — go:build cgo (~3465 tok)
  • config.go — BackendConfig holds connection parameters for the XCE controller. (~200 tok)
  • control_host_test.go — go:build !cgo (~211 tok)
  • convert_pure.go — rawStartInfo (93 fields) (~3096 tok)
  • convert_test.go — TestRawJobToModel_BasicFields, TestRawJobToModel_NilSubmit, TestRawJobToModel_Timestamps, TestRawWorkerToModel_BasicFields + 14 more (~6770 tok)
  • convert.go — go:build cgo (~3126 tok)
  • handler_test.go — TestOnHostConfigUpdated_UnregisteredHostIgnored, TestOnHostConfigUpdated_DefaultPseudoHostIgnored, TestOnHostConfigUpdated_PartialMerge, TestOnClus... (~2994 tok)
  • handler.go — DefaultHandler (8 fields); methods: OnJobCreated, OnJobUpdated, OnJobDeleted, OnJobFinished (~1054 tok)
  • heartbeat_test.go — TestSetHeartbeatInterval_ValidValue, TestSetHeartbeatInterval_ZeroIgnored, TestSetHeartbeatInterval_NegativeIgnored, TestRunHeartbeat_CallsFunction... (~593 tok)
  • heartbeat.go — SetHeartbeatInterval (~289 tok)
  • integration_test.go — go:build !cgo (~4808 tok)
  • notification.go — NotificationHandler defines callbacks for backend push events. (~241 tok)
  • peers_test.go — TestParsePeer (~525 tok)
  • peers.go (~180 tok)
  • stub_funcs_test.go — go:build !cgo (~513 tok)
  • stub.go — go:build !cgo (~455 tok)
  • val_helpers.h — ifndef VAL_HELPERS_H (~260 tok)

src/frontend/apiserver/backend/auth/

  • config_file_test.go — TestConfigFileProvider_Authenticate, TestConfigFileProvider_GetUserRoles, TestConfigFileProvider_Name, TestNewConfigFileProvider_Errors + 3 more (~935 tok)
  • config_file.go — AuthFileConfig (21 fields); methods: Authenticate, GetUserRoles, Name, AllUsers (~650 tok)
  • init.go — InitAuthProvider (~280 tok)
  • ldap.go — LDAPProvider is a stub for future LDAP authentication. (~156 tok)
  • oauth2.go — OAuth2Provider is a stub for future OAuth2/OIDC authentication. (~162 tok)
  • pam_linux.go — go:build linux && cgo (~973 tok)
  • pam_stub.go — go:build !linux || !cgo (~100 tok)
  • pam.go — PAMProvider authenticates users via the system PAM stack. (~106 tok)
  • provider.go — UserRoleSeeder is an optional interface for providers that can enumerate all users. (~126 tok)

src/frontend/apiserver/cmd/

  • main.go (~973 tok)

src/frontend/apiserver/common/

  • common.go (~798 tok)

src/frontend/apiserver/config/

  • app.yaml (~519 tok)
  • auth.yaml — Authentication provider: config_file | pam | ldap | oauth2 (~183 tok)
  • auth.yaml.example — Authentication provider: config_file | pam | ldap | oauth2 (~151 tok)
  • logger.yaml (~198 tok)
  • nginx.http.conf — Declares application (~495 tok)
  • nginx.https.conf — Declares application (~564 tok)
  • rbac_template.yaml (~1339 tok)
  • rbac.yaml (~1087 tok)

src/frontend/apiserver/config/schema/

  • app_schema.json (~1044 tok)
  • logger_schema.json (~905 tok)

src/frontend/apiserver/config/ssl/

  • openssl.cnf (~99 tok)
  • server.crt — ---BEGIN CERTIFICATE----- (~330 tok)
  • server.key — ---BEGIN PRIVATE KEY----- (~455 tok)

src/frontend/apiserver/controllers/

  • apikey.go — APIKeyController (9 fields); methods: GenerateAPIKey (~382 tok)
  • auth.go — AuthController (43 fields); methods: Logon, Logout (~1898 tok)
  • clusters.go — ClusterController (31 fields); methods: GetClustersInfo (~1995 tok)
  • files.go — FilesController (48 fields); methods: UploadFiles, DeleteFiles, GetFileLists (~4864 tok)
  • host_control_test.go — TestPreCheckHostControlRequest_AllFlag, TestPreCheckHostControlRequest_NotAll, TestPreCheckHostControlRequest_NoRace, TestPreCheckHostControlReques... (~974 tok)
  • hosts.go — HostHandler (54 fields); methods: GetHostsInfo, GetHostByHostname, FilterHostByResReqSelect, ControlHost (~5390 tok)
  • integration_test.go — go:build !cgo (~5676 tok)
  • jobs_test.go — TestPreCheckJobRequest_LostAndFound, TestPreCheckJobRequest_NormalQueue, TestPreCheckJobRequest_EmptyQueue (~640 tok)
  • jobs.go — JobController (49 fields); methods: GetJobsInfo (~32939 tok)
  • permissions.go — PermController (2 fields); methods: GetPermsInfo (~167 tok)
  • queue_control_test.go — TestPreCheckQueueControlRequest_AllFlag, TestPreCheckQueueControlRequest_NotAll, TestPreCheckQueueControlRequest_NoRace, TestPreCheckQueueControlRe... (~984 tok)
  • queue_filter_test.go — TestQueueFilter_AddedOnce, TestQueueFilter_NotAddedWhenUserSpecified, TestQueueFilter_NoQueues, TestQueueFilter_SingleFilter (~601 tok)
  • queues.go — QueueController (51 fields); methods: GetQueuesInfo, GetQueueByName (~5525 tok)
  • rbac_check_test.go — TestLoadRBACConfig_RolesPopulated, TestLoadRBACConfig_UserRoleMappings, TestLoadRBACConfig_RoleIncludes, TestLoadRBACConfig_EmptyRoles + 5 more (~2482 tok)
  • rbac_check.go — RBACConfig (95 fields) (~3448 tok)
  • rbac_convention_test.go — TestGetRequireResourcePermission_GoConvention, TestGetRequireResourcePermission_FoundPermission, TestDomainTypeConstants, TestGetAccessQueues_AllDo... (~945 tok)
  • resources.go — ResourceController (59 fields); methods: GetResourcesDistributionInfo, GetResourcesDefinitionInfo (~3386 tok)
  • response.go — JsonStruct (13 fields) (~610 tok)
  • roles.go — RoleController (59 fields); methods: GetRolesInfo, GetRoleByRolename (~6979 tok)
  • users.go — UserController (57 fields); methods: GetUserPermInfo, GetCurrentUserInfo, GetUserRolesInfo, DeleteRolesForUser (~4662 tok)

src/frontend/apiserver/docs/

  • docs.go — Code generated by swaggo/swag. DO NOT EDIT (~2852 tok)
  • swagger.json (~2652 tok)
  • swagger.yaml — Declares required (~1177 tok)

src/frontend/apiserver/middleware/

  • cors_test.go — TestCORSMiddleware_SetsHeaders, TestCORSMiddleware_Preflight, TestCORSMiddleware_Disabled (~458 tok)
  • cors.go — CORSMiddleware, CORSOriginsFromConfig (~405 tok)
  • load_test.go — AuthResponse (28 fields) (~728 tok)
  • rate_limit.go — RateLimiter (22 fields); methods: Limit (~1044 tok)
  • README (~7 tok)
  • startserver.go — StartServer, GetIPAddresses (~813 tok)
  • test_rate_limit.bat (~59 tok)
  • validatehandler.go — ValidateHandler (~1013 tok)
  • whitelist_test.go — TestPathMatchesPattern (~277 tok)
  • whitelist.go — WhitelistURLMiddleware, WhitelistIPMiddleware (~1369 tok)

src/frontend/apiserver/models/

  • apikey.go — APIKeyController (10 fields) (~129 tok)
  • auth.go — LogonRequest (19 fields) (~224 tok)
  • clusters_test.go — TestClusterInfo_NewFields, TestClusterInfo_ExistingFieldsUnchanged (~1008 tok)
  • clusters.go — ClusterInfo (18 fields) (~345 tok)
  • common.go — ActionControl (6 fields) (~107 tok)
  • files.go — FileUploadRequest (3 fields) (~42 tok)
  • hosts_test.go — TestHostStateStr (~424 tok)
  • hosts.go — HostInfo (39 fields) (~996 tok)
  • jobs_test.go — TestJobStateStr, TestJobStatMapValues (~623 tok)
  • jobs.go — JobArrayID (124 fields); methods: IsZero, MarshalJSON, Tm, String (~7102 tok)
  • queues.go — QueueInfo (21 fields) (~523 tok)
  • resources.go — ResourceInfo (45 fields); methods: String, String, ToJSON (~801 tok)
  • roles.go — RoleFields (21 fields) (~652 tok)
  • users.go — AddRoleForUserRequest (12 fields) (~178 tok)

src/frontend/apiserver/router/

  • routers.go — Router (~1891 tok)

src/frontend/apiserver/services/

  • data_service.go — QueryData, InsertEntity, DeleteEntity (~1002 tok)
  • job_service.go — SubmitJob (~73 tok)
  • rbac_service.go — GetUserPermissions (~225 tok)

src/frontend/apiserver/store/

  • audit_test.go — TestNoDanglingReferences, TestNoDBImportsInProductionCode (~1182 tok)
  • concurrency_test.go — TestIntegration_ConcurrentConfigPushes, TestIntegration_ConcurrentHostControlAndConfigPush, TestIntegration_ConcurrentResourceValuePushes (~832 tok)
  • convert.go — StructToOrderMap, StructsToOrderMaps, StoreToOrderMaps (~344 tok)
  • query.go — ExecuteQuery, MatchesCondition, MatchesBitmaskCondition, IsBitmaskField + 4 more (~2568 tok)
  • store_test.go — TestDataStore_BasicOperations, TestDataStore_ListKeysCount, TestDataStore_Filter, TestDataStore_Range, TestDataStore_ConcurrentAccess (~731 tok)
  • store.go — DataStore is a generic thread-safe in-memory key-value store. (~572 tok)
  • stores.go — Global store instances. (~1277 tok)

src/frontend/apiserver/tools/encrypt/

  • crypter.go — Encrypt, Decrypt (~792 tok)

src/frontend/apiserver/utils/

  • cgo_stub.go — This file is reserved for future CGo bindings to the backend C library. (~70 tok)
  • config_test.go — TestResolveJWTSecret_EnvOverridesConfig, TestResolveJWTSecret_FallsBackToConfig, TestResolveJWTSecret_EmptyEnvUsesConfig (~224 tok)
  • config.go — BackendConfig (79 fields) (~2434 tok)
  • crypto.go — Encrypt, Decrypt (~425 tok)
  • logger.go — Config (50 fields) (~1608 tok)
  • types.go — Value (140 fields) (~4160 tok)
  • utils_test.go — TestIntOrInt64 (~256 tok)
  • utils.go — FilterCondition (142 fields) (~4853 tok)

src/frontend/docs/

  • analysis.md — API Server & Client Analysis (~2870 tok)
  • improvement_suggestions.md — Code Improvement Suggestions (~1408 tok)
  • improvement_tasks.md — Code Improvement Tasks (~370 tok)
  • integration_test.md — Integration Test Report: xcecli ↔ apiserver (~3767 tok)
  • plan_t9_f1_f4.md — Implementation Plan: T9, F1, F4 (~1039 tok)
  • status.md — Project Status (~1169 tok)

src/frontend/tests/regression/

  • run.sh — Regression test suite: xcecli ↔ apiserver (~1787 tok)

src/frontend/xcecli/

  • go.mod — Go module definition (~316 tok)
  • go.sum — Go dependency checksums (~1783 tok)
  • meson.build — frontend/xcecli — Go CLI tool (~145 tok)

src/frontend/xcecli/cmd/

  • main.go (~561 tok)

src/frontend/xcecli/cmd/auth/

  • list.go — NewListCmd (~310 tok)
  • logon.go — NewLogonCmd (~1692 tok)
  • logout_test.go — TestRunLogout_WithURL, TestRunLogout_DefaultsToActiveServer, TestRunLogout_NotFound (~435 tok)
  • logout.go — NewLogoutCmd (~512 tok)

src/frontend/xcecli/cmd/auth/cert/

  • cert.go — GeneratorCert, GetCertPath (~639 tok)
  • parser.go (~221 tok)

src/frontend/xcecli/cmd/clusters/

  • list.go — NewClustersCmd (~558 tok)

src/frontend/xcecli/cmd/hosts/

  • controller.go — HostController (41 fields); methods: RunHostsControl, ParseCmdArgs (~1382 tok)
  • hosts.go — NewHostsCmd (~233 tok)
  • list.go — HostsQuerier (43 fields); methods: ParseCmdArgs, RunHostsList (~1627 tok)
  • select_test.go — TestParseSelectArgs_RequiresResReq, TestParseSelectArgs_MaxLength, TestParseSelectArgs_Valid (~172 tok)
  • select.go — HostSelector (24 fields) (~654 tok)

src/frontend/xcecli/cmd/jobs/

  • controller.go — JobController (75 fields); methods: RunJobsControl, ParseCmdArgs (~2610 tok)
  • files_test.go — TestParseFileTransfer_ExplicitOperator, TestParseFileTransfer_PlainPath, TestParseFileTransfer_PlainFilename (~318 tok)
  • files.go — fileTransfer (28 fields) (~1050 tok)
  • jobs.go — NewJobsCmd (~307 tok)
  • list.go — JobsQuerier (99 fields); methods: ParseCmdArgs, RunJobsList (~3826 tok)
  • restart.go — JobRestart (18 fields); methods: ParseCmdArgs, RunJobsRestart (~570 tok)
  • submit.go — JobSubmitter (135 fields); methods: ParseCmdArgs, BuildJobRequest, RunJobsSubmit (~6928 tok)

src/frontend/xcecli/cmd/permissions/

  • list.go — PermsQuerier (29 fields); methods: ParseCmdArgs, RunPermsList (~954 tok)
  • permissions.go — NewPermsCmd (~168 tok)

src/frontend/xcecli/cmd/queues/

  • controller.go — QueueController (58 fields); methods: RunQueuesControl, ParseCmdArgs (~1933 tok)
  • list.go — QueuesQuerier (45 fields); methods: ParseCmdArgs, RunQueuesList (~1570 tok)
  • queues.go — NewQueuesCmd (~247 tok)

src/frontend/xcecli/cmd/resources/

  • list.go — ResourcesDistQuerier (79 fields); methods: ParseCmdArgs, ParseCmdArgs, RunResourcesDefList, RunResourcesDistList (~2860 tok)
  • resources.go — NewResourcesCmd (~478 tok)

src/frontend/xcecli/cmd/roles/

  • addrole.go — RoleSubmitter (72 fields); methods: ParseCmdArgs, RunRolesAdd, RunPermsAdd, BuildRoleRequest (~2311 tok)
  • deleterole.go — DeleteRole (20 fields); methods: ParseCmdArgs, RunDeleteRoleInfo (~642 tok)
  • list_test.go — TestUniqueRoleNames_NoDuplicates, TestUniqueRoleNames_WithDuplicates, TestUniqueRoleNames_Empty, TestUniqueRoleNames_CrossPage, TestUserRoleNameCol... (~673 tok)
  • list.go — RolesQuerier (53 fields); methods: ParseCmdArgs, RunRolesInfo (~1767 tok)
  • roles.go — NewRolesCmd (~234 tok)
  • view.go — NewViewRolesCmd (~434 tok)

src/frontend/xcecli/cmd/users/

  • assignrole.go — UserSubmitter (28 fields); methods: ParseCmdArgs, RunUserAssignRole, BuildUserRequest (~941 tok)
  • list_test.go — TestUniqueUserNames_NoDuplicates, TestUniqueUserNames_WithDuplicates, TestUniqueUserNames_Empty, TestUniqueUserNames_CrossPage, TestUserRoleNameCol... (~668 tok)
  • list.go — UserRolesQuerier (62 fields); methods: ParseCmdArgs, RunCurrentUserInfo, RunUserRolesInfo (~2090 tok)
  • perm4user.go — Perms4User (35 fields); methods: ParseCmdArgs, RunUserPermsInfo (~1149 tok)
  • unassignrole.go — UnassignUser (25 fields); methods: ParseCmdArgs, RunDeleteUserRoleInfo (~780 tok)
  • users.go — NewUsersCmd (~305 tok)
  • view.go — NewViewUserRolesCmd (~435 tok)

src/frontend/xcecli/common/format/

  • jobid_test.go — TestFormatJobIDRegular, TestFormatJobIDArray, TestParseJobIDRegular, TestParseJobIDArray + 5 more (~832 tok)
  • jobid.go — FormatJobID, IsArrayJob, DecomposeJobID, MakeJobID + 4 more (~1758 tok)

src/frontend/xcecli/common/output/

  • output_clusters.go — Output (9 fields); methods: SetVerbose, SetNoHeader, SetWideFormat, ClusterPrintData (~317 tok)
  • page_print_array_elements_jobs.go — ArrayElementsPagePrinter (44 fields); methods: PrepareForPrinting, PrintPage (~1818 tok)
  • page_print_array_jobs.go — ArrayJobsPagePrinter (42 fields); methods: PrepareForPrinting, PrintPage (~1735 tok)
  • page_print_hosts_test.go — TestFormatRows_UnavailShowsDashes, TestFormatRows_AvailableShowsValues (~670 tok)
  • page_print_hosts.go — HostsPagePrinter (75 fields); methods: PrepareForPrinting, PrintPage (~2819 tok)
  • page_print_jobs.go — JobsPagePrinter (89 fields); methods: PrepareForPrinting, PrintPage (~4288 tok)
  • page_print_queues.go — QueuesPagePrinter (59 fields); methods: PrepareForPrinting, PrintPage (~2208 tok)
  • page_print_resources.go — ResourcesPagePrinter (87 fields); methods: PrepareForPrinting, PrintPage (~3232 tok)
  • page_print_roles.go — RolesPagePrinter (34 fields); methods: PrepareForPrinting, PrintPage (~1440 tok)
  • page_print_users.go — UserRolesPagePrinter (26 fields); methods: PrepareForPrinting, PrintPage (~1038 tok)
  • page_print.go — Interface: PagePrinter (12 methods) (~2439 tok)
  • time_test.go — TestParseJobTime_RFC3339, TestParseJobTime_SpaceFormat, TestParseJobTime_Empty, TestFormatJobTime (~244 tok)
  • time.go (~334 tok)

src/frontend/xcecli/common/request/

  • request_test.go — TestSetRootCAs_HTTPNoOp verifies HTTP clients are not affected. (~429 tok)
  • request.go — APIResponse (97 fields); methods: SetRootCAs, Logon, GetRequestFromAPIServer, SubmitJob (~2977 tok)

src/frontend/xcecli/common/utils/

  • utils.go — SystemLimits (57 fields); methods: GetCPULimit, GetFileLimit, GetDataLimit, GetStackLimit (~2057 tok)

src/frontend/xcecli/config/

  • config.go — APIServerInfo (64 fields); methods: Len, Swap, Less, GetConfig (~1607 tok)
  • logger.go — LoggerConfig (48 fields) (~1877 tok)
  • logger.yaml (~205 tok)
  • schema.go — ValidateYamlFormat, ValidateYAML (~753 tok)

src/frontend/xcecli/config/schema/

  • logger_schema.json (~930 tok)

src/frontend/xcecli/filters/

  • host_filter.go — HostsFilter (7 fields); methods: HandleHostFilter (~166 tok)
  • job_filter.go — JobsFilter (61 fields); methods: HandleJobFilter (~1511 tok)
  • queue_filter.go — QueuesFilter (7 fields); methods: HandleQueueFilter (~119 tok)
  • resource_filter.go — ResourceDistFilter (13 fields); methods: HandleResourceDistFilter, HandleResourceDefFilter (~271 tok)
  • role_filter.go — RolesFilter (9 fields); methods: HandleRoleFilter (~149 tok)
  • user_filter.go — UserRolesFilter (8 fields); methods: HandleUserRoleFilter (~149 tok)

src/frontend/xcecli/models/

  • cluster.go — ClusterResponse (15 fields) (~201 tok)
  • exitstatus_test.go — TestQueryJob_ExitStatus_Null, TestQueryJob_ExitStatus_String, TestQueryJob_ExitStatus_Zero (~292 tok)
  • hosts.go — HostsResponse (56 fields); methods: UnmarshalJSON (~1288 tok)
  • jobs.go — JobsResponse (149 fields); methods: UnmarshalJSON, String, UnmarshalJSON (~5415 tok)
  • logon.go — LogonData define the data structure in the logon response (~168 tok)
  • ordermap.go — UnmarshalOrderMapRow extracts the Data sub-object from the server's OrderMap wire format (~166 tok)
  • permissions.go — PermsResponse (6 fields) (~98 tok)
  • queues.go — QueuesResponse (33 fields); methods: UnmarshalJSON (~1072 tok)
  • resource.go — ResourceValue (66 fields); methods: UnmarshalJSON, String, UnmarshalJSON, String (~1674 tok)
  • response_test.go — TestHostsResponse_FullUnmarshal, TestQueuesResponse_FullUnmarshal, TestJobsResponse_FullUnmarshal, TestRolesResponse_FullUnmarshal + 3 more (~1644 tok)
  • roles.go — CreateRoleRequest (25 fields); methods: UnmarshalJSON (~361 tok)
  • users.go — AddRoleForUserRequest (26 fields); methods: UnmarshalJSON (~343 tok)

src/frontend/xcecli/router/

  • router.go — Execute (~919 tok)

src/frontend/xcecli/test/

  • t.sh (~118 tok)

src/include/

  • attrs.h — if !defined(ATTRS_H) (~26 tok)
  • bitset.h — if !defined(BITSET_H) (~71 tok)
  • byteorder.h — pragma once (~247 tok)
  • client.h — if !defined(CLIENT_H) (~1023 tok)
  • clusterconfig.h — if !defined(CLUSTERCONFIG_H) (~474 tok)
  • config.h — if !defined(CONFIG_H) (~993 tok)
  • configobj.h — if !defined(CONFIGOBJ_H) (~46 tok)
  • ctrl_metrics.h — pragma once (~539 tok)
  • dataq.h — if !defined(DATAQ_H) (~190 tok)
  • delay.h — public delay API; adds delay_task_ms() and nextrun_ts field to delay_task_t (~320 tok)
  • group.h — if !defined(GROUP_H) (~227 tok)
  • helper.h — if !defined(HELPER_H) (~207 tok)
  • hook.h — if !defined(HOOK_H) (~195 tok)
  • htab.h — if !defined(HTAB_H) (~268 tok)
  • idgen.h — if !defined(IDGEN_H) (~117 tok)
  • jobj.h — if !defined(JOBJ_H) (~103 tok)
  • kv.h — if !defined(KV_H) (~407 tok)
  • kvmgr.h — if !defined(KVMGR_H) (~306 tok)
  • misc.h — if !defined(MISC_H) (~88 tok)
  • myconf.h — if !defined(MYCONF_H) (~458 tok)
  • mylock.h — if !defined(MYLOCK_H) (~281 tok)
  • netio.h — if !defined(NETIO_H) (~1293 tok)
  • objs.h — if !defined(OBJS_H) (~36 tok)
  • ordq.h — if !defined(ORDQ_H) (~266 tok)
  • persist.h — pragma once (~1914 tok)
  • preason.h — if !defined(PREASON_H) (~108 tok)
  • qobj.h — if !defined(QOBJ_H) (~41 tok)
  • repl.h — pragma once (~979 tok)
  • request.h — if !defined(REQUEST_H) (~2108 tok)
  • resobj.h — if !defined(RESOBH_H) (~46 tok)
  • resreq.h — if !defined(RESREQ_H) (~3223 tok)
  • typemap.h — if !defined(TYPEMAP_H) (~3593 tok)
  • utils.h — if !defined(UTILS_H) (~1574 tok)
  • vtaskmgr.h — if !defined(VTASKMGR_H) (~442 tok)
  • wal_types.h — pragma once (~679 tok)
  • wobj.h — if !defined(WOBBJ_H) (~42 tok)
  • xcealloc.h — if !defined(XCEALLOC_H) (~146 tok)
  • xceapi.h — if !defined(XCEAPI_H) (~436 tok)
  • xcectx.h — if !defined(XCECTX_H) (~388 tok)
  • xcelimit.h — if !defined(XCELIMIT_H) (~281 tok)
  • xcelog.h — ifndef XCELOG_H (~819 tok)
  • xlist.h — if !defined(XLIST_H) (~193 tok)
  • xstring.h — if !defined(XSTRING_H) (~54 tok)
  • xvec.h — if !defined(XVEC_H) (~293 tok)
  • zarray.h — if !defined(ZARRAY_H) (~384 tok)

src/include/xce/

  • cluster_def.h — ifndef XCE_CLUSTER_DEF_H (~1178 tok)
  • cluster.h — A single controller candidate. (~1211 tok)
  • errnox.h — if !defined(XCE_ERRNOX_H) (~262 tok)
  • types.h — < NULL. (~5454 tok)

src/lib/

  • delay.c — include <errno.h> (~1798 tok)
  • helper.c — include <errno.h> (~2956 tok)
  • meson.build (~1513 tok)
  • netio.c — include <arpa/inet.h> (~5716 tok)
  • request.c — include <errno.h> (~12892 tok)

src/lib/raft/

  • raft_sim.c — ifdef XCE_TESTING (~1627 tok)
  • raft.c — include "raft.h" (~2452 tok)
  • raft.h — ifndef RAFT_H (~3049 tok)

src/lib/testsuite/

  • test_delay.c — delay unit tests; adds test_delay_task_ms_fires_within_tolerance and test_delay_task_ms_invalid_args (~1600 tok)
  • test_libxce_retry.c — define _GNU_SOURCE (~2741 tok)
  • test_netio_on_connected.c — define _GNU_SOURCE (~1431 tok)
  • test_raft.c — include <errno.h> (~25610 tok)
  • test.c — include <argp.h> (~971 tok)

src/scheduler/testsuite/

  • test.c — define UNIT_TEST 1 (~4290 tok)

src/schema/

  • controller.capnp — Declares OPCode (~8223 tok)

src/tools/

  • deploy-ha.sh (~505 tok)
  • test-heartbeat-tolerance.sh — test-heartbeat-tolerance.sh — Task 4.5: missed-heartbeat tolerance via SIGSTOP/SIGCONT (~2377 tok)

src/xce.build/

  • build.ninja — This is the build file for project "xce" (~75089 tok)

src/xce.build/lib/

  • controller.capnp.c — include "controller.capnp.h" (~134780 tok)