helix_cluster

module
v0.0.0-...-e43023e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2026 License: Apache-2.0

README

Helix Cluster OS

Helix Cluster OS is a next-generation distributed operating system for orchestrating compute workloads across heterogeneous nodes — from datacenter GPUs down to edge SBCs and handhelds. It unifies HPC scheduling, container orchestration, AI/ML inference, federated multi-cluster operation, and secure multi-tenant session management under a single control plane.

Engineering guarantee (CLAUDE-1 / CLAUDE-2): every feature ships with tests that prove real end-user behaviour — never green tests over stubs — and every OS-specific capability uses a real native facility per platform (no Linux-only mocks). See CLAUDE.md and Constitution.md.

Features

  • Heterogeneous Node Management — Register, monitor, and schedule across tiers T1–T8 (datacenter → microcontroller) with structured health scoring and capability negotiation.
  • Omega-model Scheduler — Pluggable placement with optimistic concurrency, ClassAd matching, gang scheduling, value-multiplier preemption, multifactor (age/fairshare/size/QoS) priority queues, and constraint-based (location/colocation/order/stickiness) placement.
  • Distributed-Systems Foundation — A large pure-Go library (pkg/) of consensus, membership (SWIM gossip), replication (CRDT, MVCC, anti-entropy), and federation primitives. See Foundation Packages.
  • Federation & Multi-cluster — Cross-cell trust, topology patterns, CRDT config sync, data-residency admission, split-brain detection, and quorum-based failure confirmation.
  • GPU & Cost Orchestration — GPU pool management, TCO-aware local cost modelling, cost/latency-aware schedulers, burst-to-cloud autoscaling, N+K failover capacity reserve, and global budget caps.
  • Security & Attestation — SPIFFE identity, JWT auth, ML-KEM-768 post-quantum E2EE, device attestation (challenge/response, proof-of-GPU-work, device sealing), and attestation-gated admission.
  • Deterministic Simulation Testing (DST) — FoundationDB-style seeded simulation, BUGGIFY fault injection, Turmoil network simulation, and clock-fault injectors for reproducible distributed-systems testing.
  • Observability — Built-in metrics, W3C distributed tracing, structured logging, and Grafana dashboard generation.
  • Multi-Protocol APIs — gRPC services with Protocol Buffer definitions for all subsystems.

Architecture

Helix is organised as a seven-layer stack (L0–L7) with 14 control-plane microservices, coordinated via SWIM gossip for membership and Raft consensus for strongly-consistent state. The scheduler is an Omega-model two-level design with optimistic concurrency.

The repository is a Go workspace combining a core module with git submodules for the larger services.

.
├── api/v1/            # Protocol Buffer definitions (NodeService, SessionService, SchedulerService, ...)
├── cmd/               # Service binaries and CLIs
├── internal/          # Private application packages (console, gateway, scheduler, node, health, policy, trust, ...)
├── pkg/               # Shared pure-Go foundation library (see "Foundation Packages")
├── web/               # React + TypeScript + Vite dashboard
├── docs/              # Documentation (see "Documentation")
├── data/              # HXC registry (SQLite) and runtime data
├── scripts/           # Build, test, and utility scripts
│
├── HelixConstitution/ # Governance & constitution (submodule)
├── security/          # Security service: identity, E2EE, attestation (submodule)
├── helixqa/           # HelixQA challenge/validation framework (submodule)
├── EventBus/          # Event bus (submodule)
├── Messaging/         # Messaging service (submodule)
├── discovery/         # Service discovery (submodule; pkg/discovery is the editable root)
├── containers/        # Container runtime (submodule)
├── recovery/          # Recovery service (submodule)
├── config/            # Configuration service (submodule)
├── challenges/        # Challenge platform (submodule)
├── DocProcessor/      # Document processing (submodule)
├── LLMOrchestrator/   # LLM orchestration (submodule)
├── Herald/            # Notification service (submodule)
└── docs_chain/        # Documentation-chain engine (submodule)

Foundation Packages

The pkg/ library provides the pure-Go, deterministic, well-tested primitives the control plane is built from. Highlights by domain:

Domain Packages
Consensus & coordination voting (largest-subcluster quorum), failconfirm (SWIM two-phase PFAIL→FAIL), leader, lock, splitbrain / splitbrainalert, heartbeatcoalescer (Multi-Raft), multiraft (per-shard etcd-raft groups + LeaseTracker leaseholder local reads, throughput scales with shard count), stonith (STONITH fencing: IPMI/EC2/Azure/SBD + multi-level fallback), kraft (KRaft-style self-managed Raft metadata quorum, no ZooKeeper)
Membership & discovery swim (+ phi-accrual, hierarchical), discovery (+ federated, + mDNS/DNS-SD _helix-cluster._tcp advertiser/browser: TXT cellid/nodeid/wgpubkey, reject-invalid; discovery-only, trust via SPIFFE), nattraversal (STUN), ice, cellmesh, scan (Oracle-SCAN stable virtual endpoint)
Replication & state crdt (+ merkle, LWW/ORSet/G/PN-counters/vector-clock), deltacrdt (delta-state G/PN/OR-set/LWW-map), mvcc (B-tree time-travel store), antientropy (hinted-handoff + read-repair + Merkle diff), watchmanager (synced/unsynced/victim), hlc, offlinesync, checkpoint_merge
Scheduling & placement scheduler (Omega/ClassAd/gang/preempt), constraints (Pacemaker 4-type), preempt (value-multiplier), priorityqueue (multifactor aging), backfill (SLURM), admissioncontrol (N+K reserve), budgetcap, qos, suitability, ewmarank, workclaim (SKIP LOCKED), providerchain (multi-tier fallback cascade), modelrouter (strategy→default model), gepetto (local-vs-Chutes arbitration), llmfailover (error-classified failover taxonomy), carbonsched (carbon-aware placement + per-job kWh/gCO2 metering), workloadrouter (UnifiedManager concurrent-pricing weighted composite routing + TEE multiplier)
GPU & resource mgmt pool, local (TCO), costsched, latencysched, healthmonitor, gpuattest (attestation crypto), capability, deviceprofile, device, devicecatalog (machine-readable device taxonomy → tier/trust/compute-class lookup), tierdef, tiersec, quantization, gpucatalog (compute-multiplier catalog + attested scoring), gputopo (NUMA/NVLink topology-aware placement), balancemonitor (USD balance floor warning), deviceplugin (gRPC device-plugin / GRES fingerprinting + oversubscription rejection), gpu (ProviderAdapter registration hooks → pool-facing provider listing), benchmark (real repeatable on-host CPU score + GPU TFLOPS / NPU TOPS seams), tierdetect (cross-platform host-capability pre-provision gate → typed MissingCapabilityError), internal/gpu dual-workload reservation (Helix-PoW reserve + >0.80 starvation guard)
Federation & multi-cluster federation (+ suspicion), internal/federation (Karmada PropagationPolicy/OverridePolicy engine: constraint-aware two-level cell selection + <60s failover reselect), gitops (ArgoCD ApplicationSet client: matrix per-cell generation + prune/self-heal + canary→tier-2→tier-1 rolling sync + drift/prune), fedtopology, fedtrust, configsync, residency, raftprofile, spiffefed, doublecrypt
Messaging & flow flowcontrol (K8s APF), workqueue (rate-limited), ratelimit, backoff, retry, idempotent (exactly-once), rebalance (cooperative-sticky), fiber, fallbackchain, pubsub, events
Routing & sessions hashslot (CRC16 + MOVED/ASK), session, slotmigration (atomic live migration), edge, edgeregistry, edgeverify, edgefusion
Security & verification crypto, jwt, hybridkex (X25519 + ML-KEM-768 hybrid post-quantum key exchange), e2eebench (hybridkex handshake-latency benchmark, median <1ms), modelintegrity (SHA-256 gate), redundantexec (BOINC trust), attestadmit, doublecrypt, spiffefed, gravaladmit (HMAC GraVal admission), gravalverify (VRAM-ratio attestation + BatchVerify KPI), gpuattest (challenge/response + seal + multi-GPU node enumeration), fsresidency (per-range ReadAt + SHA-256 file-residency challenge), exportcontrol (country-tier KYC gate on controlled-GPU node onboarding), compliancedoc (EU AI Act model-card / provenance doc-gen from attestation logs)
Burst & economics burst (hysteresis autoscaler), bursthysteresis (MONITOR→SPILL→RECOVER dead-band), cloudspot (AWS IMDSv2 / Azure scheduled-events / GCP preemption interruption pollers → drain/checkpoint/upload, httptest-proven), marketplace, marketplaceadapter (MarketplaceAdapter interface + Name()-dispatch registry + Chutes HTTP + Akash/AKT adapters), revenueopt (greedy GPU→marketplace revenue maximiser, TEE→Chutes bias), economics (multi-token RewardDistributor with treasury/reinvest conservation + participant ROI/break-even), chutesaccount (Chutes API model-list + balance client), chutes (inference client + attestation + E2EE envelope + ChutesMinerConfig/ValidatorConfig validation), provider/chutes (OpenAI-compatible /v1 provider + 429 retry/backoff + Retry-After), provider/runpod (serverless warm-pool GPUProvider), provider/aws (EC2 Spot GPUProvider, injectable client), provider/ionet (io.net REST Ray-cluster GPUProvider: DeployCluster/HealthCheck + capacity gate, httptest-proven), llmadapter (Claude/OpenAI request/response shape adapters)
Testing & simulation testing/dst (+ BUGGIFY, chaos, turmoil), dst (standalone seeded-RNG deterministic sim harness + byte-for-byte replay), porcupine (WGL linearizability checker + recorder), internal/chaos (PodKill/partition/disk-stall/clock-skew injectors + canary rollback), timefault, chaosexp, fmea, phasegate, qualitygate, phase7matrix, stats, covgate, sandbox
Observability metrics (+ tier/cost/provider-health series, + TAO-earnings/GraVal-status/token-throughput/gpu-utilization series), tracing (W3C), health (+ miner-api/GraVal DaemonSet dependency checks named in the rollup), grafanadash, log

Each package is standard-library-only where possible, deterministic (injected clocks, seeded PRNGs), and proven by tests that fail under mutation of the logic they cover.

Quick Start

Prerequisites
  • Go 1.26+ (workspace uses go.work)
  • Node.js 20+ (for the web UI)
  • SQLite 3 (the HXC registry lives at data/hxc_registry.db)
  • Docker & Docker Compose (for integration services)
  • Protocol Buffer compiler + protoc-gen-go (optional, for API regeneration)
Setup / Build / Test
./scripts/setup.sh     # initialise submodules and toolchains
./scripts/build.sh     # go build ./...
./scripts/test.sh      # go test ./...
./scripts/lint.sh      # go vet + linters
./scripts/format.sh    # gofmt

To run the full race suite for a package:

go test -race -count=1 ./pkg/<package>/...

API

Protocol Buffer definitions live in api/v1/. Core services:

  • NodeService — Node lifecycle management
  • SessionService — Session CRUD operations
  • SchedulerService — Job scheduling and monitoring
  • HealthService — Health checks and reporting
  • AdvisoryService — Distributed locks and advisory events
  • SecurityService — Authentication and authorization
  • BuildService — Build pipeline management

Web UI

The web dashboard is built with React, TypeScript, and Vite.

cd web && npm install && npm run dev

Documentation

  • CLAUDE.md — AI-agent engineering rules (end-user usability & cross-platform parity guarantees)
  • Constitution.md / HelixConstitution/ — project governance
  • docs/ARCHITECTURE.md — hardened L0–L7 architecture diagram + component map (lint-enforced by pkg/archlint)
  • docs/MVP_ARCHITECTURE.md — living MVP seven-layer overview + service-communication Mermaid grounded in real packages, with a Go drift-validator that fails the build on doc/codebase drift (HXC-1145)
  • docs/consensus.md — Raft consensus subsystem (pkg/raft + helix-raftd): the KVFSM/Node/Cluster contract and the transport/storage ladder (in-mem → real TCP → on-disk BoltDB → combined persistent+networked → fixed-address multi-process daemon), with the multi-process kill+restart-from-disk E2E and the TLC-verified snapshot/log-compaction safety spec (HXC-974/976/978/979/982)
  • docs/FOUNDATION_PACKAGES.md — full catalogue of pkg/ packages
  • docs/HXC_REGISTRY.md — the work-item registry model
  • docs/NODE_PROVISIONING_BOUNDARY.md — node-provisioning boundary: Helix provisions operator-controlled nodes; it does not jailbreak/root/unlock or bypass any device security (HXC-1146)
  • docs/guides/phase_02_architecture.md — Phase 02 architecture guide: operator console → WireGuard/SWIM mesh → discovery/scheduler → Linux node, with a traced job path and the no-jailbreak boundary (HXC-1164)
  • docs/architecture/PHASE_8C_INTEGRATION.md — code-grounded Phase 8C integration map: attestation→scheduler, e2ee→orchestrator, marketplace seams (implemented vs PLANNED) (HXC-1614)
  • docs/PHASE_8C_EXIT_GATE_EVIDENCE.md — Phase 8C CLAUDE-1 exit-gate evidence matrix (PROVEN / PARTIAL / NOT-YET, each row tied to a real test or a Queued ticket) (HXC-1613)
User documentation
Reference & quality
  • docs/DATABASE_SCHEMA.md — SQL schema reference: every table/column/index/trigger from migrations/postgresql/, a Mermaid ER diagram, and the migrate-chain-vs-primary-schema reconciliation note
  • docs/ARCHITECTURE_DIAGRAMS.md — consolidated Mermaid diagrams: L0–L7 stack, control-plane services, request/data flow (with E2EE/attestation seams), tier matrix
  • docs/TEST_COVERAGE_REPORT.md — test coverage report: real measured statement coverage (main 82.4% / security 87.8%) + per-test-type inventory (unit/integration/E2E/stress/chaos/benchmark/fuzz/race/security/challenges)
  • docs/PRODUCTION_READINESS_REVIEW.md — honest 80-item production-readiness review (HXC-1286)
Security
Standards & process
Documentation Synchronization (CLAUDE-3 / §11.4.106)

Every change to code, services, components, architecture, or schema MUST update all affected materials — README, docs, user guides, manuals, websites, diagrams, and SQL/schema definitions — together with all of their exports. This is mechanically enforced out-of-the-box by the docs_chain engine via .docs_chain/contexts/*.yaml (Markdown → HTML/PDF/DOCX) and gated by docs_chain verify, with no escape hatch. The mandate restates and cites Constitution §11.4.106 and the project rules CLAUDE-3 / AGENT-2 / QWEN-2.

Development Model

Work is tracked in an SQLite registry (data/hxc_registry.db) of HXC-#### items across 11 phases (0–10). Items move Queued → In progress → Completed and are implemented in parallel "waves": disjoint new packages built via an implement → adversarial-review → fix pipeline, then gated with whole-tree build/vet, -race tests, and an independent mutation bite per item that must fail the item's named guard test. No item is marked Completed without that proof.

Contributing

  1. Create a feature branch
  2. Implement with tests that prove real behaviour (and fail under mutation)
  3. Run go build ./... && go vet ./... && go test -race ./...
  4. Commit and open a Pull Request

License

See LICENSE for details.

Directories

Path Synopsis
cmd
burst-controller command
Package main implements a utilization-driven burst-controller binary that drives the bursthysteresis.BurstController and emits structured log lines for every SPILL and RECOVER transition.
Package main implements a utilization-driven burst-controller binary that drives the bursthysteresis.BurstController and emits structured log lines for every SPILL and RECOVER transition.
dst-sim command
Command dst-sim is the deterministic-simulation CI GATE (HXC-915).
Command dst-sim is the deterministic-simulation CI GATE (HXC-915).
e2ee-proxy command
Command e2ee-proxy is a transparent post-quantum encrypting proxy (HXC-1532).
Command e2ee-proxy is a transparent post-quantum encrypting proxy (HXC-1532).
gpu-pool-manager command
Command gpu-pool-manager is a self-contained HTTP front-end for a GPU provider pool (HXC-1530).
Command gpu-pool-manager is a self-contained HTTP front-end for a GPU provider pool (HXC-1530).
helix-advisory command
Package main is the CLI entry point for the helix-advisory gRPC service.
Package main is the CLI entry point for the helix-advisory gRPC service.
helix-agent command
Package main is the CLI entry point for the helix-agent node agent binary.
Package main is the CLI entry point for the helix-agent node agent binary.
helix-build command
Command helix-build is the CLI entry point for the Helix Cluster OS build orchestration gRPC service.
Command helix-build is the CLI entry point for the Helix Cluster OS build orchestration gRPC service.
helix-gate command
Command helix-gate runs the Helix Cluster OS orphan-prevention gate suite and makes the five gate packages (covgate, archlint, etcdlint, qualitygate, phasegate) actually enforce against the real repository tree (HXC-940).
Command helix-gate runs the Helix Cluster OS orphan-prevention gate suite and makes the five gate packages (covgate, archlint, etcdlint, qualitygate, phasegate) actually enforce against the real repository tree (HXC-940).
helix-gateway command
Command helix-gateway is the CLI entry point for the Helix Cluster OS HTTP reverse proxy.
Command helix-gateway is the CLI entry point for the Helix Cluster OS HTTP reverse proxy.
helix-health command
Command helix-health is the health aggregation daemon for Helix Cluster OS.
Command helix-health is the health aggregation daemon for Helix Cluster OS.
helix-llm command
Command helix-llm is the CLI entry point for the Helix Cluster OS LLM brain service.
Command helix-llm is the CLI entry point for the Helix Cluster OS LLM brain service.
helix-node command
Command helix-node is the Node Service gRPC server for Helix Cluster OS.
Command helix-node is the Node Service gRPC server for Helix Cluster OS.
helix-policy command
Command helix-policy is the policy engine service for Helix Cluster OS.
Command helix-policy is the policy engine service for Helix Cluster OS.
helix-raftctl command
Command helix-raftctl is a real CLI client for the helix-raftd daemon's admin HTTP API (see cmd/helix-raftd/admin.go).
Command helix-raftctl is a real CLI client for the helix-raftd daemon's admin HTTP API (see cmd/helix-raftd/admin.go).
helix-raftd command
Command helix-raftd is a single-process daemon hosting ONE persistent + networked Raft node (real loopback TCP transport + real on-disk BoltDB), the capstone composition of the pkg/raft building blocks.
Command helix-raftd is a single-process daemon hosting ONE persistent + networked Raft node (real loopback TCP transport + real on-disk BoltDB), the capstone composition of the pkg/raft building blocks.
helix-scheduler command
Command helix-scheduler is the CLI entry point for the Helix Cluster OS scheduler gRPC service.
Command helix-scheduler is the CLI entry point for the Helix Cluster OS scheduler gRPC service.
helix-security command
Command helix-security is the CLI entry point for the Helix Cluster OS security manager gRPC service.
Command helix-security is the CLI entry point for the Helix Cluster OS security manager gRPC service.
helix-session command
Package main is the CLI entry point for the helix-session gRPC service.
Package main is the CLI entry point for the helix-session gRPC service.
helix-setup command
Package main — lifecycle.go implements the ephemeral node onboarding lifecycle state machine for HXC-1125.
Package main — lifecycle.go implements the ephemeral node onboarding lifecycle state machine for HXC-1125.
helix-snapshot command
Command helix-snapshot is a standalone CLI for managing golden snapshots.
Command helix-snapshot is a standalone CLI for managing golden snapshots.
helix-test command
Challenge runner for HXC-1108: HelixQA live-service Challenge runner.
Challenge runner for HXC-1108: HelixQA live-service Challenge runner.
helix_infra command
helixctl command
Command helixctl is the operator-facing CLI for the Helix Cluster OS build orchestration service.
Command helixctl is the operator-facing CLI for the Helix Cluster OS build orchestration service.
helixd command
Command helixd is the umbrella control-plane daemon for Helix Cluster OS.
Command helixd is the umbrella control-plane daemon for Helix Cluster OS.
htmux command
Package main provides the htmux CLI.
Package main provides the htmux CLI.
raftkv-demo command
Command raftkv-demo is a small, runnable distributed key/value service built on top of the proven embedded-Raft building blocks (pkg/raft + pkg/raftleader).
Command raftkv-demo is a small, runnable distributed key/value service built on top of the proven embedded-Raft building blocks (pkg/raft + pkg/raftleader).
internal
advisory
Package advisory implements the Advisory Lock gRPC service.
Package advisory implements the Advisory Lock gRPC service.
backup
Package backup implements the Helix Cluster OS backup service.
Package backup implements the Helix Cluster OS backup service.
build
Package build provides the build orchestration service for Helix Cluster OS.
Package build provides the build orchestration service for Helix Cluster OS.
chaos
Package chaos provides a roachtest/Chaos-Mesh-style fault-injection library with a canary-guarded runner for Helix Cluster OS.
Package chaos provides a roachtest/Chaos-Mesh-style fault-injection library with a canary-guarded runner for Helix Cluster OS.
console
Package console provides console hardware detection and adaptation for Helix Cluster OS.
Package console provides console hardware detection and adaptation for Helix Cluster OS.
costbroker
Package costbroker provides a ComputeBroker that selects the best compute offer under a budget while meeting a job's capacity requirement, and tracks cumulative spend across selections.
Package costbroker provides a ComputeBroker that selects the best compute offer under a budget while meeting a job's capacity requirement, and tracks cumulative spend across selections.
federation
Package federation implements a Karmada PropagationPolicy engine for two-level scheduling in Helix Cluster OS.
Package federation implements a Karmada PropagationPolicy engine for two-level scheduling in Helix Cluster OS.
gateway
Package gateway – REST API surface (HXC-1118).
Package gateway – REST API surface (HXC-1118).
gpu
Package gpu provides detection, allocation, and health monitoring of GPU devices for the Helix cluster.
Package gpu provides detection, allocation, and health monitoring of GPU devices for the Helix cluster.
health
Package health provides the health check aggregation service for Helix Cluster OS.
Package health provides the health check aggregation service for Helix Cluster OS.
llm
Package llm provides LLM model management for Helix Cluster OS.
Package llm provides LLM model management for Helix Cluster OS.
node
Package node provides the gRPC NodeService implementation.
Package node provides the gRPC NodeService implementation.
policy
Package policy — decision_log.go Provides the DecisionLogEntry type, the Engine constructor options for enabling an in-memory ring / external sink, and the DecisionLog accessor.
Package policy — decision_log.go Provides the DecisionLogEntry type, the Engine constructor options for enabling an in-memory ring / external sink, and the DecisionLog accessor.
scheduler
Package scheduler provides a gRPC server implementing the SchedulerService API.
Package scheduler provides a gRPC server implementing the SchedulerService API.
schema
Package schema provides a thin applier and structural verifier for the Helix Cluster OS authoritative Postgres 16+ primary schema.
Package schema provides a thin applier and structural verifier for the Helix Cluster OS authoritative Postgres 16+ primary schema.
security
Package security provides the security orchestration service for Helix Cluster OS.
Package security provides the security orchestration service for Helix Cluster OS.
session
Package session provides a gRPC server implementing the SessionService API.
Package session provides a gRPC server implementing the SessionService API.
trust
Package trust implements a BOINC-style trust and reliability scorer for volunteer / untrusted compute nodes.
Package trust implements a BOINC-style trust and reliability scorer for volunteer / untrusted compute nodes.
verifier
Package verifier implements result verification for SEMI-trust nodes.
Package verifier implements result verification for SEMI-trust nodes.
pkg
admissioncontrol
Package admissioncontrol implements N+K capacity-reserve admission control.
Package admissioncontrol implements N+K capacity-reserve admission control.
agentprovision
Package agentprovision implements admission control and context sharing for interactive-agent workloads in Helix Cluster OS (HXC-1141).
Package agentprovision implements admission control and context sharing for interactive-agent workloads in Helix Cluster OS (HXC-1141).
anonymize
Package anonymize provides deterministic, keyed-hash anonymization of text.
Package anonymize provides deterministic, keyed-hash anonymization of text.
anticheat
Package anticheat provides a model/revision anti-cheat verification token (V2, HMAC).
Package anticheat provides a model/revision anti-cheat verification token (V2, HMAC).
antientropy
Package antientropy implements a Cassandra-style three-layer anti-entropy repair system over IN-MEMORY simulated replicas.
Package antientropy implements a Cassandra-style three-layer anti-entropy repair system over IN-MEMORY simulated replicas.
archlint
Package archlint mechanically enforces the architecture component map in docs/ARCHITECTURE.md (HXC-1424).
Package archlint mechanically enforces the architecture component map in docs/ARCHITECTURE.md (HXC-1424).
attestadmit
Package attestadmit implements an attestation-gated scheduler admission predicate for Helix Cluster OS GPU nodes (registry item HXC-1586).
Package attestadmit implements an attestation-gated scheduler admission predicate for Helix Cluster OS GPU nodes (registry item HXC-1586).
auctionplace
Package auctionplace implements a bounty/auction-based economic placement mechanism with a single-writer claim lock.
Package auctionplace implements a bounty/auction-based economic placement mechanism with a single-writer claim lock.
auditproof
Package auditproof implements a commit-then-prove reproducible audit.
Package auditproof implements a commit-then-prove reproducible audit.
backfill
Package backfill implements SLURM-style conservative backfill scheduling over a discrete resource timeline.
Package backfill implements SLURM-style conservative backfill scheduling over a discrete resource timeline.
backoff
Package backoff provides exponential backoff for Helix Cluster OS.
Package backoff provides exponential backoff for Helix Cluster OS.
balancemonitor
Package balancemonitor polls an OpenAI-style billing API for the USD account balance and records each reading together with a caller-supplied RunID.
Package balancemonitor polls an OpenAI-style billing API for the USD account balance and records each reading together with a caller-supplied RunID.
benchmark
Package benchmark implements HXC-1308: an on-host micro-benchmark harness that produces NORMALIZED per-compute-class scores suitable for tier-assignment and scheduling hints.
Package benchmark implements HXC-1308: an on-host micro-benchmark harness that produces NORMALIZED per-compute-class scores suitable for tier-assignment and scheduling hints.
billingfsm
Package billingfsm implements a scale-to-zero metered hot/cold billing state machine.
Package billingfsm implements a scale-to-zero metered hot/cold billing state machine.
bootstrap
Package bootstrap provides rendezvous / bootstrap strategies for Helix Cluster OS.
Package bootstrap provides rendezvous / bootstrap strategies for Helix Cluster OS.
budgetcap
Package budgetcap implements a global MaxCostPerHour budget cap enforcer over allocations.
Package budgetcap implements a global MaxCostPerHour budget cap enforcer over allocations.
burst
Package burst implements a hysteresis-based burst autoscaler state machine for Helix Cluster OS.
Package burst implements a hysteresis-based burst autoscaler state machine for Helix Cluster OS.
burstcapacity
Package burstcapacity provides deterministic, pure-Go burst capacity estimation and activation for the Helix Cluster scheduler.
Package burstcapacity provides deterministic, pure-Go burst capacity estimation and activation for the Helix Cluster scheduler.
bursthysteresis
Package bursthysteresis implements a two-threshold hysteresis controller that consumes a stream of utilization samples (float64 in [0,1]) and emits typed state-transition events.
Package bursthysteresis implements a two-threshold hysteresis controller that consumes a stream of utilization samples (float64 in [0,1]) and emits typed state-transition events.
capability
Package capability implements node capability manifest generation and control-plane negotiation for the Helix Cluster OS (HXC-1309).
Package capability implements node capability manifest generation and control-plane negotiation for the Helix Cluster OS (HXC-1309).
carbonsched
Package carbonsched implements a carbon-aware scheduler with per-job energy metering (HXC-1480).
Package carbonsched implements a carbon-aware scheduler with per-job energy metering (HXC-1480).
cellmesh
Package cellmesh manages WireGuard inter-cell mesh configuration for Helix Cluster OS.
Package cellmesh manages WireGuard inter-cell mesh configuration for Helix Cluster OS.
chaosexp
Package chaosexp defines the CE-01..CE-12 internal chaos experiment suite for HelixCluster.
Package chaosexp defines the CE-01..CE-12 internal chaos experiment suite for HelixCluster.
checkpoint_merge
Package checkpointmerge implements the container-checkpoint migration orchestration layer for Helix Cluster OS (HXC-1152).
Package checkpointmerge implements the container-checkpoint migration orchestration layer for Helix Cluster OS (HXC-1152).
chutes
Package chutes provides a clean-room, stdlib-only client for a Chutes-style decentralized-inference network.
Package chutes provides a clean-room, stdlib-only client for a Chutes-style decentralized-inference network.
chutesaccount
Package chutesaccount provides a client for the Chutes API, covering model-list and user-account/balance queries against an OpenAI-style HTTP API.
Package chutesaccount provides a client for the Chutes API, covering model-list and user-account/balance queries against an OpenAI-style HTTP API.
classads
Package classads provides ClassAd (classified advertisement) handling for Helix Cluster OS.
Package classads provides ClassAd (classified advertisement) handling for Helix Cluster OS.
cloudspot
Package cloudspot implements a graceful-drain preemption handler for cloud spot / preemptible instances in Helix Cluster OS.
Package cloudspot implements a graceful-drain preemption handler for cloud spot / preemptible instances in Helix Cluster OS.
compliancedoc
Package compliancedoc implements the EU AI Act compliance documentation pipeline (HXC-1481).
Package compliancedoc implements the EU AI Act compliance documentation pipeline (HXC-1481).
computeproto
Package computeproto provides FlatBuffers serialization for GPU compute payloads in Helix Cluster OS.
Package computeproto provides FlatBuffers serialization for GPU compute payloads in Helix Cluster OS.
config
Package config provides configuration loading and validation for Helix Cluster OS.
Package config provides configuration loading and validation for Helix Cluster OS.
configsync
Package configsync provides conflict-free, coordinator-less synchronisation of cell-local configuration overrides across Helix Cluster replicas.
Package configsync provides conflict-free, coordinator-less synchronisation of cell-local configuration overrides across Helix Cluster replicas.
constraints
Package constraints implements a Pacemaker-style placement constraint engine.
Package constraints implements a Pacemaker-style placement constraint engine.
context
Package context provides context utilities for Helix Cluster OS.
Package context provides context utilities for Helix Cluster OS.
correlation
Package correlation provides deterministic correlation-ID assignment and a backend audit log with JSONL export/parse round-trip.
Package correlation provides deterministic correlation-ID assignment and a backend audit log with JSONL export/parse round-trip.
costrouter
Package costrouter implements per-workload-type provider routing over a shared provider table.
Package costrouter implements per-workload-type provider routing over a shared provider table.
costsched
Package costsched implements a deterministic, cost-aware GPU scheduler.
Package costsched implements a deterministic, cost-aware GPU scheduler.
costtracker
Package costtracker computes a deterministic monthly cost report for GPU allocations: blended cost-per-hour and the percentage reduction versus an AWS on-demand baseline rate.
Package costtracker computes a deterministic monthly cost report for GPU allocations: blended cost-per-hour and the percentage reduction versus an AWS on-demand baseline rate.
covgate
Package covgate provides coverage-profile parsing and mutation-pairing audit tools that back the HXC-1138 Constitution §1.1 exit gate.
Package covgate provides coverage-profile parsing and mutation-pairing audit tools that back the HXC-1138 Constitution §1.1 exit gate.
crdt
Package crdt provides state-based convergent replicated data types (CvRDTs) for Helix Cluster OS.
Package crdt provides state-based convergent replicated data types (CvRDTs) for Helix Cluster OS.
crdt/merkle
Package merkle provides a merkle-tree summary over a key/value set to drive anti-entropy between CRDT replicas.
Package merkle provides a merkle-tree summary over a key/value set to drive anti-entropy between CRDT replicas.
crypto
Package crypto provides cryptographic utilities for Helix Cluster OS.
Package crypto provides cryptographic utilities for Helix Cluster OS.
dataplane
Package dataplane provides ZeroMQ-based message patterns for internal Helix Cluster data planes.
Package dataplane provides ZeroMQ-based message patterns for internal Helix Cluster data planes.
deltacrdt
Package deltacrdt implements four delta-state CRDTs: GCounter, PNCounter, ORSet (observed-remove set), and LWWMap (last-writer-wins map).
Package deltacrdt implements four delta-state CRDTs: GCounter, PNCounter, ORSet (observed-remove set), and LWWMap (last-writer-wins map).
device
Package device — probe.go
Package device — probe.go
devicecatalog
Package devicecatalog provides a machine-readable device taxonomy catalog with lookup by CPU model string (HXC-1331).
Package devicecatalog provides a machine-readable device taxonomy catalog with lookup by CPU model string (HXC-1331).
devicemap
Package devicemap provides conversion helpers between device.DeviceDescriptor and helixv1.Node (the protobuf wire type used by the Helix control plane).
Package devicemap provides conversion helpers between device.DeviceDescriptor and helixv1.Node (the protobuf wire type used by the Helix control plane).
deviceplugin
Package deviceplugin implements a Nomad/Kubernetes-style gRPC device-plugin framework for the Helix scheduler.
Package deviceplugin implements a Nomad/Kubernetes-style gRPC device-plugin framework for the Helix scheduler.
deviceprofile
Package deviceprofile provides a versioned-YAML device profile registry for T1-T8 tiers.
Package deviceprofile provides a versioned-YAML device profile registry for T1-T8 tiers.
discovery
Package discovery provides service discovery for Helix Cluster OS.
Package discovery provides service discovery for Helix Cluster OS.
doublecrypt
Package doublecrypt implements the HXC-1361 double-encryption data path for Helix Cluster OS: WireGuard L3 (injected dependency) + mTLS L7 (real, in this package via crypto/tls and crypto/x509 from the Go standard library only).
Package doublecrypt implements the HXC-1361 double-encryption data path for Helix Cluster OS: WireGuard L3 (injected dependency) + mTLS L7 (real, in this package via crypto/tls and crypto/x509 from the Go standard library only).
dst
Package dst implements HXC-1419: a FoundationDB-style DETERMINISTIC SIMULATION harness in pure Go.
Package dst implements HXC-1419: a FoundationDB-style DETERMINISTIC SIMULATION harness in pure Go.
e2eebench
Package e2eebench implements HXC-1556: a benchmark harness for the ML-KEM-768 / hybrid end-to-end-encryption handshake latency (target median < 1ms).
Package e2eebench implements HXC-1556: a benchmark harness for the ML-KEM-768 / hybrid end-to-end-encryption handshake latency (target median < 1ms).
economics
Package economics implements participant reward distribution and ROI reporting for the Helix Cluster OS economic layer.
Package economics implements participant reward distribution and ROI reporting for the Helix Cluster OS economic layer.
edge
Package edge provides edge-device admission control for Helix Cluster OS.
Package edge provides edge-device admission control for Helix Cluster OS.
edgefusion
Package edgefusion provides an in-process stream-processing framework that merges sensor readings from multiple edge devices into fused outputs using tumbling windows.
Package edgefusion provides an in-process stream-processing framework that merges sensor readings from multiple edge devices into fused outputs using tumbling windows.
edgeheartbeat
Package edgeheartbeat implements an edge heartbeat protocol carrying battery %, charging state, thermal/CPU temperature and network type, so a power/thermal-aware scheduler can make placement decisions and tolerate device churn via a configurable offline timeout.
Package edgeheartbeat implements an edge heartbeat protocol carrying battery %, charging state, thermal/CPU temperature and network type, so a power/thermal-aware scheduler can make placement decisions and tolerate device churn via a configurable offline timeout.
edgeregistry
Package edgeregistry implements a deterministic, pure-Go multi-tier edge node REGISTRATION registry for registry item HXC-1184.
Package edgeregistry implements a deterministic, pure-Go multi-tier edge node REGISTRATION registry for registry item HXC-1184.
edgeverify
Package edgeverify implements redundant edge-output verification against a single TRUSTED anchor (pure Go, deterministic).
Package edgeverify implements redundant edge-output verification against a single TRUSTED anchor (pure Go, deterministic).
epochresolve
Package epochresolve implements config-epoch conflict resolution for simultaneous failovers.
Package epochresolve implements config-epoch conflict resolution for simultaneous failovers.
errors
Package errors provides structured error handling for Helix Cluster OS.
Package errors provides structured error handling for Helix Cluster OS.
etcd
Package etcd provides a client wrapper for etcd in Helix Cluster OS.
Package etcd provides a client wrapper for etcd in Helix Cluster OS.
etcdlint
Package etcdlint implements a static-analysis lint gate that enforces the Helix Cluster OS architectural rule: only cell-local packages are permitted to import etcd ("go.etcd.io/etcd…").
Package etcdlint implements a static-analysis lint gate that enforces the Helix Cluster OS architectural rule: only cell-local packages are permitted to import etcd ("go.etcd.io/etcd…").
events
Package events provides event handling for Helix Cluster OS.
Package events provides event handling for Helix Cluster OS.
ewmarank
Package ewmarank provides utilization-aware EWMA candidate ranking with sticky-client routing.
Package ewmarank provides utilization-aware EWMA candidate ranking with sticky-client routing.
exportcontrol
Package exportcontrol implements export-control tier verification and country-code KYC checks applied at node onboarding (HXC-1482).
Package exportcontrol implements export-control tier verification and country-code KYC checks applied at node onboarding (HXC-1482).
failconfirm
Package failconfirm implements a Redis-cluster-style two-phase failure confirmation protocol: a peer is first marked PFAIL (possible failure / Suspect) when a single node times it out locally, and is promoted to FAIL (Dead) only once a MAJORITY (quorum = floor(N/2)+1) of DISTINCT cluster members independently report PFAIL for it.
Package failconfirm implements a Redis-cluster-style two-phase failure confirmation protocol: a peer is first marked PFAIL (possible failure / Suspect) when a single node times it out locally, and is promoted to FAIL (Dead) only once a MAJORITY (quorum = floor(N/2)+1) of DISTINCT cluster members independently report PFAIL for it.
fallbackchain
Package fallbackchain implements per-task ordered fallback chains with deduplication, an attempt cap, and empty-result handling.
Package fallbackchain implements per-task ordered fallback chains with deduplication, an attempt cap, and empty-result handling.
federation
Package federation provides the multi-cell (multi-cluster) federation core for Helix Cluster OS.
Package federation provides the multi-cell (multi-cluster) federation core for Helix Cluster OS.
fedtopology
Package fedtopology models the five canonical federation topology patterns for Helix Cluster inter-cell adjacency and validates their structural invariants.
Package fedtopology models the five canonical federation topology patterns for Helix Cluster inter-cell adjacency and validates their structural invariants.
fedtrust
Package fedtrust implements a pure-Go cross-cluster federated-trust admission-policy evaluator (HXC-1358).
Package fedtrust implements a pure-Go cross-cluster federated-trust admission-policy evaluator (HXC-1358).
fiber
admission.go adds an OPTIONAL signed-identity + stake-based admission gate to the fiber transport.
admission.go adds an OPTIONAL signed-identity + stake-based admission gate to the fiber transport.
flowcontrol
Package flowcontrol implements Kubernetes API Priority and Fairness style fair queuing in pure Go, fully deterministic and free of any wall-clock, network, or host dependency.
Package flowcontrol implements Kubernetes API Priority and Fairness style fair queuing in pure Go, fully deterministic and free of any wall-clock, network, or host dependency.
fmea
Package fmea implements a codified FMEA (Failure Mode & Effects Analysis) catalog for Phase-6 federation failure modes in Helix Cluster OS.
Package fmea implements a codified FMEA (Failure Mode & Effects Analysis) catalog for Phase-6 federation failure modes in Helix Cluster OS.
forecast
Package forecast implements a deterministic, pure-Go predictive scaling forecaster.
Package forecast implements a deterministic, pure-Go predictive scaling forecaster.
fsresidency
Package fsresidency proves that a model file is really present on disk by reading byte ranges and verifying their SHA-256 hashes.
Package fsresidency proves that a model file is really present on disk by reading byte ranges and verifying their SHA-256 hashes.
gepetto
Package gepetto implements the HelixGepetto dual-resource arbitration strategy that decides how much overflow capacity to reserve on the Chutes marketplace as local GPU load rises, with an anti-starvation high-water cut-off.
Package gepetto implements the HelixGepetto dual-resource arbitration strategy that decides how much overflow capacity to reserve on the Chutes marketplace as local GPU load rises, with an anti-starvation high-water cut-off.
gitops
Package gitops implements HXC-1367: an ArgoCD ApplicationSet federation client.
Package gitops implements HXC-1367: an ArgoCD ApplicationSet federation client.
gpu
Package gpu provides registration hooks through which external provider adapters plug into the GPU layer.
Package gpu provides registration hooks through which external provider adapters plug into the GPU layer.
gpuattest
Package gpuattest implements a device attestation crypto suite for Helix Cluster OS GPU nodes.
Package gpuattest implements a device attestation crypto suite for Helix Cluster OS GPU nodes.
gpucatalog
Package gpucatalog provides a supported-GPU compute-multiplier catalog, a LookupMultiplier function, and an attestation-aware Score function.
Package gpucatalog provides a supported-GPU compute-multiplier catalog, a LookupMultiplier function, and an attestation-aware Score function.
gpupool
Package gpupool implements a GPU-provider-tier pool abstraction.
Package gpupool implements a GPU-provider-tier pool abstraction.
gputopo
Package gputopo implements topology-aware NUMA/NVLink GPU placement scoring for Helix Cluster OS.
Package gputopo implements topology-aware NUMA/NVLink GPU placement scoring for Helix Cluster OS.
grafanadash
Package grafanadash generates and validates Grafana dashboard JSON for the Helix Cluster OS global federation health view.
Package grafanadash generates and validates Grafana dashboard JSON for the Helix Cluster OS global federation health view.
gravaladmit
Package gravaladmit implements a GraVal (GPU matrix-multiplication challenge-response) provider-admission gate for the Helix Cluster OS scheduler.
Package gravaladmit implements a GraVal (GPU matrix-multiplication challenge-response) provider-admission gate for the Helix Cluster OS scheduler.
gravalverify
Package gravalverify implements the GraVal GPU attestation verifier with a VRAM-threshold gate and a concurrent batch verifier with a pass-rate KPI.
Package gravalverify implements the GraVal GPU attestation verifier with a VRAM-threshold gate and a concurrent batch verifier with a pass-rate KPI.
grpcutil
Package grpcutil provides gRPC utilities for Helix Cluster OS.
Package grpcutil provides gRPC utilities for Helix Cluster OS.
hashslot
Package hashslot provides Redis-Cluster-compatible hash slot assignment and MOVED/ASK redirection for Helix Cluster OS.
Package hashslot provides Redis-Cluster-compatible hash slot assignment and MOVED/ASK redirection for Helix Cluster OS.
headersanitize
Package headersanitize provides spoof-proof managed-header sanitization.
Package headersanitize provides spoof-proof managed-header sanitization.
health
Package health — gRPC bridge for the standard grpc.health.v1 protocol.
Package health — gRPC bridge for the standard grpc.health.v1 protocol.
healthmonitor
Package healthmonitor provides a deterministic, pure-Go HealthMonitor that periodically checks a set of providers, detects healthy<->unhealthy transitions on an edge-triggered basis, fires auto-failover / recovery callbacks, and records a transition-event log.
Package healthmonitor provides a deterministic, pure-Go HealthMonitor that periodically checks a set of providers, detects healthy<->unhealthy transitions on an edge-triggered basis, fires auto-failover / recovery callbacks, and records a transition-event log.
healthprobe
Package healthprobe implements a Kubernetes-style three-tier health probe (startup / readiness / liveness) with a startup GRACE PERIOD, in pure, deterministic Go.
Package healthprobe implements a Kubernetes-style three-tier health probe (startup / readiness / liveness) with a startup GRACE PERIOD, in pure, deterministic Go.
heartbeatcoalescer
Package heartbeatcoalescer implements a deterministic, pure-Go heartbeat coalescer for Multi-Raft.
Package heartbeatcoalescer implements a deterministic, pure-Go heartbeat coalescer for Multi-Raft.
helixnet
Package helixnet defines the HelixNetwork interface — a transport abstraction used across Helix Cluster OS.
Package helixnet defines the HelixNetwork interface — a transport abstraction used across Helix Cluster OS.
helixtask
Package helixtask provides a task SDK that wraps a function with lifecycle hooks and options, then submits the decorated unit of work to an injected pool (Submitter).
Package helixtask provides a task SDK that wraps a function with lifecycle hooks and options, then submits the decorated unit of work to an injected pool (Submitter).
hlc
Package hlc provides a Hybrid Logical Clock (Kulkarni et al., 2014) for Helix Cluster OS.
Package hlc provides a Hybrid Logical Clock (Kulkarni et al., 2014) for Helix Cluster OS.
hybridkex
Package hybridkex implements HXC-1476: a hybrid X25519 + ML-KEM-768 authenticated-less key exchange — the post-quantum half of Helix node-to-node transport.
Package hybridkex implements HXC-1476: a hybrid X25519 + ML-KEM-768 authenticated-less key exchange — the post-quantum half of Helix node-to-node transport.
hybridtco
Package hybridtco implements a Total-Cost-of-Ownership (TCO) calculator for a HYBRID own+burst economic model used by Helix Cluster OS capacity planning.
Package hybridtco implements a Total-Cost-of-Ownership (TCO) calculator for a HYBRID own+burst economic model used by Helix Cluster OS capacity planning.
ice
Package ice implements RFC 8445 ICE candidate gathering, prioritization, and connectivity-check scaffolding for the HelixCluster NAT-traversal subsystem.
Package ice implements RFC 8445 ICE candidate gathering, prioritization, and connectivity-check scaffolding for the HelixCluster NAT-traversal subsystem.
idempotent
Package idempotent implements an idempotent producer/broker that achieves exactly-once delivery using a (ProducerID, Seq) pair, modeled entirely in-memory and deterministically (no clock, no network, no host access).
Package idempotent implements an idempotent producer/broker that achieves exactly-once delivery using a (ProducerID, Seq) pair, modeled entirely in-memory and deterministically (no clock, no network, no host access).
imagepolicy
Package imagepolicy implements an OPA-style workload admission policy for container images, performing signed-image, allowed-registry, and privilege checks.
Package imagepolicy implements an OPA-style workload admission policy for container images, performing signed-image, allowed-registry, and privilege checks.
inference
Package inference provides a pluggable inference Backend abstraction and a capability-aware Router with a fallback chain for Helix Cluster OS.
Package inference provides a pluggable inference Backend abstraction and a capability-aware Router with a fallback chain for Helix Cluster OS.
inferenceproxy
Package inferenceproxy implements a guarded inference proxy for Helix Cluster OS.
Package inferenceproxy implements a guarded inference proxy for Helix Cluster OS.
informer
Package informer provides an Informer-style list-watch local cache with indexers and resync, modeled after the Kubernetes informer/Store/Indexer pattern but kept pure-Go, deterministic, and self-contained.
Package informer provides an Informer-style list-watch local cache with indexers and resync, modeled after the Kubernetes informer/Store/Indexer pattern but kept pure-Go, deterministic, and self-contained.
jobadmit
Package jobadmit implements a Kueue-style suspend-then-admit tiered job admission controller as a pure-Go, deterministic, self-contained unit.
Package jobadmit implements a Kueue-style suspend-then-admit tiered job admission controller as a pure-Go, deterministic, self-contained unit.
jwt
Package jwt provides JWT utilities for Helix Cluster OS.
Package jwt provides JWT utilities for Helix Cluster OS.
kraft
Package kraft implements a KRaft-style, SELF-MANAGED Raft metadata quorum for the messaging layer.
Package kraft implements a KRaft-style, SELF-MANAGED Raft metadata quorum for the messaging layer.
latencysched
Package latencysched implements a deterministic, latency-aware scheduler for inference request routing.
Package latencysched implements a deterministic, latency-aware scheduler for inference request routing.
leader
Package leader – etcd-backed leader election with fencing tokens.
Package leader – etcd-backed leader election with fencing tokens.
llmadapter
Package llmadapter provides request/response shape adapters that translate a Claude Messages request and an OpenAI Responses-API request into a common OpenAI chat-completions request, and translate the OpenAI response back into the client-native shape, preserving tool-call ordering.
Package llmadapter provides request/response shape adapters that translate a Claude Messages request and an OpenAI Responses-API request into a common OpenAI chat-completions request, and translate the OpenAI response back into the client-native shape, preserving tool-call ordering.
llmfailover
Package llmfailover provides an error-classified LLM failover taxonomy and a sandbox scheduling-hint contract for Helix Cluster OS.
Package llmfailover provides an error-classified LLM failover taxonomy and a sandbox scheduling-hint contract for Helix Cluster OS.
local
Package local implements a registry of locally-owned GPUs with a Total-Cost-of-Ownership (TCO) model for Helix Cluster OS.
Package local implements a registry of locally-owned GPUs with a Total-Cost-of-Ownership (TCO) model for Helix Cluster OS.
lock
Package lock provides distributed locking primitives for Helix Cluster OS.
Package lock provides distributed locking primitives for Helix Cluster OS.
log
Package log provides structured logging for Helix Cluster OS.
Package log provides structured logging for Helix Cluster OS.
lru
Package lru provides a simple LRU cache for Helix Cluster OS.
Package lru provides a simple LRU cache for Helix Cluster OS.
marketplace
Package marketplace implements a GPU/inference marketplace adapter layer and a composite scorer for Helix Cluster OS.
Package marketplace implements a GPU/inference marketplace adapter layer and a composite scorer for Helix Cluster OS.
marketplaceadapter
Package marketplaceadapter implements HXC-1454: a MarketplaceAdapter interface plus a Chutes adapter and a Name()-based dispatch Registry.
Package marketplaceadapter implements HXC-1454: a MarketplaceAdapter interface plus a Chutes adapter and a Name()-based dispatch Registry.
metering
Package metering implements a deterministic, pure-Go marketplace metering lifecycle: a provider Registers (proving a capability via a supplied predicate), Claims a single Bounty, serves METERED invocations (each recording compute units), and is then Paid out.
Package metering implements a deterministic, pure-Go marketplace metering lifecycle: a provider Registers (proving a capability via a supplied predicate), Claims a single Bounty, serves METERED invocations (each recording compute units), and is then Paid out.
metrics
Package metrics provides metrics collection for Helix Cluster OS.
Package metrics provides metrics collection for Helix Cluster OS.
middleware
Package middleware provides HTTP middleware for Helix Cluster OS.
Package middleware provides HTTP middleware for Helix Cluster OS.
modelintegrity
Package modelintegrity implements a model-integrity verification gate, in the style of a HuggingFace cache integrity check, before a model is served.
Package modelintegrity implements a model-integrity verification gate, in the style of a HuggingFace cache integrity check, before a model is served.
modelretry
Package modelretry provides status-code-driven retry-with-fallback across an ordered list of models.
Package modelretry provides status-code-driven retry-with-fallback across an ordered list of models.
modelrouter
Package modelrouter resolves the sentinel model name "default" to a concrete model id based on a routing strategy, and produces outbound JSON request bodies that carry sink-side evidence (the resolved model id and the runID).
Package modelrouter resolves the sentinel model name "default" to a concrete model id based on a routing strategy, and produces outbound JSON request bodies that carry sink-side evidence (the resolved model id and the runID).
multiraft
Package multiraft implements a MultiRaftManager that partitions cluster state into independent shards, each running its own etcd raft group (RawNode) with its own elected leader.
Package multiraft implements a MultiRaftManager that partitions cluster state into independent shards, each running its own etcd raft group (RawNode) with its own elected leader.
mvcc
Package mvcc implements a multi-version concurrency control (MVCC) revision store with a real in-memory B-tree key index and time-travel reads.
Package mvcc implements a multi-version concurrency control (MVCC) revision store with a real in-memory B-tree key index and time-travel reads.
nattraversal
Package nattraversal provides a STUN message codec (RFC 5389) and a NAT-type classifier (RFC 3489 §10.2) for use within the HelixCluster NAT-traversal subsystem.
Package nattraversal provides a STUN message codec (RFC 5389) and a NAT-type classifier (RFC 3489 §10.2) for use within the HelixCluster NAT-traversal subsystem.
netutil
Package netutil provides network utilities for Helix Cluster OS.
Package netutil provides network utilities for Helix Cluster OS.
nodeselector
Package nodeselector provides a deterministic, self-contained placement constraint schema and matcher for selecting cluster nodes.
Package nodeselector provides a deterministic, self-contained placement constraint schema and matcher for selecting cluster nodes.
offlinesync
Package offlinesync implements a pure-Go offline-sync PROTOCOL with delta compression.
Package offlinesync implements a pure-Go offline-sync PROTOCOL with delta compression.
openapivalidate
Package openapivalidate implements a deterministic, self-contained OpenAPI-style request-validation admission middleware.
Package openapivalidate implements a deterministic, self-contained OpenAPI-style request-validation admission middleware.
passthrough
Package passthrough implements a disconnect-aware streaming passthrough.
Package passthrough implements a disconnect-aware streaming passthrough.
phase7matrix
Package phase7matrix implements a Phase-7 gap-matrix deliverable ledger with a verifier that recomputes each gap status directly from the repo (pure Go, deterministic, no network/host access).
Package phase7matrix implements a Phase-7 gap-matrix deliverable ledger with a verifier that recomputes each gap status directly from the repo (pure Go, deterministic, no network/host access).
phasegate
Package phasegate implements the Helix Cluster OS sub-phase dependency-gate model and soak-condition validator (HXC-1386).
Package phasegate implements the Helix Cluster OS sub-phase dependency-gate model and soak-condition validator (HXC-1386).
pool
Package pool implements a GPU pool manager for Helix Cluster OS.
Package pool implements a GPU pool manager for Helix Cluster OS.
porcupine
Package porcupine is a self-contained linearizability checker for Helix Cluster OS.
Package porcupine is a self-contained linearizability checker for Helix Cluster OS.
powergater
Package powergater implements a charging-gated scheduling guard (HXC-1175).
Package powergater implements a charging-gated scheduling guard (HXC-1175).
preempt
Package preempt implements value-multiplier (Gepetto-model) preemption for GPU scheduling.
Package preempt implements value-multiplier (Gepetto-model) preemption for GPU scheduling.
priorityqueue
Package priorityqueue implements a multifactor scheduler priority queue whose ordering is a COMPOSITE of age + fairshare + size + QoS.
Package priorityqueue implements a multifactor scheduler priority queue whose ordering is a COMPOSITE of age + fairshare + size + QoS.
provider
Package provider defines a GPU-rental Provider abstraction for Helix Cluster OS and ships a Chutes reference adapter that talks an HTTP control API over net/http.
Package provider defines a GPU-rental Provider abstraction for Helix Cluster OS and ships a Chutes reference adapter that talks an HTTP control API over net/http.
provider/aws
Package aws ships an AWSProvider: an EC2 Spot GPU adapter that satisfies the pkg/pool.GPUProvider interface.
Package aws ships an AWSProvider: an EC2 Spot GPU adapter that satisfies the pkg/pool.GPUProvider interface.
provider/chutes
Package chutes is an inference-provider client over an OpenAI-compatible /v1/chat/completions endpoint (default base https://llm.chutes.ai/v1).
Package chutes is an inference-provider client over an OpenAI-compatible /v1/chat/completions endpoint (default base https://llm.chutes.ai/v1).
provider/ionet
Package ionet ships an IONetProvider: an adapter over the io.net (IO Cloud) REST API that rents decentralized GPU clusters.
Package ionet ships an IONetProvider: an adapter over the io.net (IO Cloud) REST API that rents decentralized GPU clusters.
provider/runpod
Package runpod implements a RunPod serverless-GPU adapter that satisfies the pkg/pool.GPUProvider contract, adding a warm pool for FlashBoot-style fast provisioning of inference overflow.
Package runpod implements a RunPod serverless-GPU adapter that satisfies the pkg/pool.GPUProvider contract, adding a warm pool for FlashBoot-style fast provisioning of inference overflow.
providerchain
Package providerchain implements an ordered provider-tier fallback chain with SLA-bounded elapsed-time tracking, retriable-vs-terminal error classification, and a caller-supplied RunID recorded on every cascade.
Package providerchain implements an ordered provider-tier fallback chain with SLA-bounded elapsed-time tracking, retriable-vs-terminal error classification, and a caller-supplied RunID recorded on every cascade.
pubsub
Package pubsub provides publish/subscribe abstractions for Helix Cluster OS.
Package pubsub provides publish/subscribe abstractions for Helix Cluster OS.
qos
Package qos implements QoS-tier classification and routing for HelixCluster.
Package qos implements QoS-tier classification and routing for HelixCluster.
qualitygate
Package qualitygate implements the Helix Cluster OS KPI baseline validation and CI quality gate.
Package qualitygate implements the Helix Cluster OS KPI baseline validation and CI quality gate.
quantization
Package quantization — PodFormatAdvisor: the concrete serving-format decision point that GPU inference pods consult at startup (and on reschedule) to pick their operating format.
Package quantization — PodFormatAdvisor: the concrete serving-format decision point that GPU inference pods consult at startup (and on reschedule) to pick their operating format.
raft
Package raft provides a TRUE embedded Raft consensus implementation for Helix Cluster OS, built on top of the battle-tested github.com/hashicorp/raft library.
Package raft provides a TRUE embedded Raft consensus implementation for Helix Cluster OS, built on top of the battle-tested github.com/hashicorp/raft library.
raftleader
Package raftleader adapts the proven embedded-Raft package (pkg/raft, built on github.com/hashicorp/raft) to the leader-election contract that the rest of Helix Cluster OS expects from pkg/leader.
Package raftleader adapts the proven embedded-Raft package (pkg/raft, built on github.com/hashicorp/raft) to the leader-election contract that the rest of Helix Cluster OS expects from pkg/leader.
raftprofile
Package raftprofile codifies per-cell etcd Raft WAN-safe tuning profiles for the Helix Cluster OS.
Package raftprofile codifies per-cell etcd Raft WAN-safe tuning profiles for the Helix Cluster OS.
ratelimit
Package ratelimit provides token bucket, sliding window, and per-key rate limiting for Helix Cluster OS.
Package ratelimit provides token bucket, sliding window, and per-key rate limiting for Helix Cluster OS.
rebalance
Package rebalance implements Kafka-style cooperative-sticky incremental partition rebalancing in pure, deterministic Go.
Package rebalance implements Kafka-style cooperative-sticky incremental partition rebalancing in pure, deterministic Go.
redundantexec
Package redundantexec implements a BOINC-style redundant-execution trust scorer.
Package redundantexec implements a BOINC-style redundant-execution trust scorer.
rescorer
Package rescorer implements a periodic provider re-scoring loop with a price-spike guard.
Package rescorer implements a periodic provider re-scoring loop with a price-spike guard.
residency
Package residency implements a pure-Go data-sovereignty / data-residency admission-policy evaluator (HXC-1359).
Package residency implements a pure-Go data-sovereignty / data-residency admission-policy evaluator (HXC-1359).
retry
Package retry provides retry logic with configurable backoff strategies for Helix Cluster OS.
Package retry provides retry logic with configurable backoff strategies for Helix Cluster OS.
revenueopt
Package revenueopt implements HXC-1456: a RevenueOptimizer that performs a greedy GPU-to-marketplace assignment, maximizing expected hourly revenue per GPU.
Package revenueopt implements HXC-1456: a RevenueOptimizer that performs a greedy GPU-to-marketplace assignment, maximizing expected hourly revenue per GPU.
ringavg
Package ringavg provides a fixed-window ring-buffer moving average that smooths a noisy utilization stream so a single transient spike does not trip a threshold.
Package ringavg provides a fixed-window ring-buffer moving average that smooths a noisy utilization stream so a single transient spike does not trip a threshold.
sandbox
Package sandbox provides a general-purpose capability-based guard with resource-limit enforcement and structured audit logging.
Package sandbox provides a general-purpose capability-based guard with resource-limit enforcement and structured audit logging.
scan
Package scan implements an Oracle-SCAN-style stable virtual client endpoint that load-balances connections across a dynamic set of backend nodes.
Package scan implements an Oracle-SCAN-style stable virtual client endpoint that load-balances connections across a dynamic set of backend nodes.
security
Package security provides TLS, SPIFFE, and Vault security primitives for Helix Cluster OS.
Package security provides TLS, SPIFFE, and Vault security primitives for Helix Cluster OS.
semaphore
Package semaphore provides a counting semaphore for Helix Cluster OS.
Package semaphore provides a counting semaphore for Helix Cluster OS.
serde
Package serde — Cap'n Proto zero-copy serialization for control-plane Node.
Package serde — Cap'n Proto zero-copy serialization for control-plane Node.
session
Package session provides distributed terminal session lifecycle, CRDT-based state synchronization, and cross-node migration.
Package session provides distributed terminal session lifecycle, CRDT-based state synchronization, and cross-node migration.
session/backends
Package backends provides terminal multiplexer backend implementations for the Helix Cluster session manager.
Package backends provides terminal multiplexer backend implementations for the Helix Cluster session manager.
slotmigration
Package slotmigration implements an atomic slot/session migration controller for live session migration in Helix Cluster OS.
Package slotmigration implements an atomic slot/session migration controller for live session migration in Helix Cluster OS.
smartrouter
Package smartrouter implements an intelligent ModelRouter that selects the best-fit model for a workload based on one of five routing strategies: Latency, Throughput, Cost, TEE, or Balanced.
Package smartrouter implements an intelligent ModelRouter that selects the best-fit model for a workload based on one of five routing strategies: Latency, Throughput, Cost, TEE, or Balanced.
spiffefed
Package spiffefed implements SPIFFE federation trust-bundle exchange across Helix Cluster cells.
Package spiffefed implements SPIFFE federation trust-bundle exchange across Helix Cluster cells.
splitbrain
Package splitbrain implements split-brain prevention and partition classification for distributed consensus clusters (HXC-1373).
Package splitbrain implements split-brain prevention and partition classification for distributed consensus clusters (HXC-1373).
splitbrainalert
Package splitbrainalert codifies Prometheus alerting rules for split-brain and quorum-loss conditions in a Helix Cluster OS deployment (HXC-1380).
Package splitbrainalert codifies Prometheus alerting rules for split-brain and quorum-loss conditions in a Helix Cluster OS deployment (HXC-1380).
stats
Package stats provides statistical utilities for HelixCluster OS.
Package stats provides statistical utilities for HelixCluster OS.
stonith
Package stonith implements STONITH (Shoot-The-Other-Node-In-The-Head) node fencing for Helix Cluster OS.
Package stonith implements STONITH (Shoot-The-Other-Node-In-The-Head) node fencing for Helix Cluster OS.
storage
Package storage — Redis-backed store for Helix Cluster OS.
Package storage — Redis-backed store for Helix Cluster OS.
streamfailover
Package streamfailover implements streaming-safe failover that retries ONLY before the first byte is emitted.
Package streamfailover implements streaming-safe failover that retries ONLY before the first byte is emitted.
suitability
Package suitability provides a pure-Go, deterministic workload-suitability classifier that routes HPC-style workloads versus inference-style workloads.
Package suitability provides a pure-Go, deterministic workload-suitability classifier that routes HPC-style workloads versus inference-style workloads.
swim
Package swim provides the SWIM (Scalable Weakly-consistent Infection-style Membership) gossip protocol implementation.
Package swim provides the SWIM (Scalable Weakly-consistent Infection-style Membership) gossip protocol implementation.
testing/chaos
Package chaos provides fault injection primitives for deterministic cluster testing.
Package chaos provides fault injection primitives for deterministic cluster testing.
testing/device
Package device provides device simulation profiles for virtual cluster testing.
Package device provides device simulation profiles for virtual cluster testing.
testing/dst
Package dst provides a Deterministic Simulation Testing engine for Helix Cluster OS.
Package dst provides a Deterministic Simulation Testing engine for Helix Cluster OS.
testing/dstcompress
Package dstcompress measures and proves the virtual-time compression ratio of a dst.Engine and provides a batch scheduling helper for independent same-timestamp events.
Package dstcompress measures and proves the virtual-time compression ratio of a dst.Engine and provides a batch scheduling helper for independent same-timestamp events.
testing/dstscale
Package dstscale exercises the DST engine at 1000+ node scale in a single process, measuring throughput, memory, and virtual-clock behaviour.
Package dstscale exercises the DST engine at 1000+ node scale in a single process, measuring throughput, memory, and virtual-clock behaviour.
testing/dstworkload
Package dstworkload implements a 4-phase FoundationDB-style task-assignment workload for Deterministic Simulation Testing (DST).
Package dstworkload implements a 4-phase FoundationDB-style task-assignment workload for Deterministic Simulation Testing (DST).
testing/evidence
Package evidence implements the Constitution §7.1 positive-evidence contract as a reusable, project-agnostic Go testing helper.
Package evidence implements the Constitution §7.1 positive-evidence contract as a reusable, project-agnostic Go testing helper.
testing/instance
Package instance provides a Provisioner/Instance lifecycle FSM for virtual cluster testing (HXC-1231).
Package instance provides a Provisioner/Instance lifecycle FSM for virtual cluster testing (HXC-1231).
testing/regression
Package regression provides a statistical performance-regression detector for HelixQA benchmark results.
Package regression provides a statistical performance-regression detector for HelixQA benchmark results.
testing/runner
Package runner provides a parallel test-suite runner with bounded concurrency and deterministic result collection.
Package runner provides a parallel test-suite runner with bounded concurrency and deterministic result collection.
testing/scenario
Package scenario provides a YAML-driven chaos scenario engine that composes named fault phases with blast-radius controls and abort conditions.
Package scenario provides a YAML-driven chaos scenario engine that composes named fault phases with blast-radius controls and abort conditions.
testing/sessionfsm
Package sessionfsm provides a finite-state machine for tracking the lifecycle of a test session: Idle -> Setup -> Running -> ChaosInject -> Verify -> Done (happy path), with a ->Failed escape from any non-terminal state.
Package sessionfsm provides a finite-state machine for tracking the lifecycle of a test session: Idle -> Setup -> Running -> ChaosInject -> Verify -> Done (happy path), with a ->Failed escape from any non-terminal state.
testing/snapshot
Package snapshot provides golden snapshot management for deterministic test output validation.
Package snapshot provides golden snapshot management for deterministic test output validation.
testing/turmoil
Package turmoil provides a deterministic multi-cluster network simulation built on top of the pkg/testing/dst virtual clock and seeded RNG.
Package turmoil provides a deterministic multi-cluster network simulation built on top of the pkg/testing/dst virtual clock and seeded RNG.
thermalwarm
Package thermalwarm implements a deterministic thermal pre-warm / scale-from-zero state machine for backends.
Package thermalwarm implements a deterministic thermal pre-warm / scale-from-zero state machine for backends.
tierdef
Package tierdef provides the authoritative T1-T15 tier-definition registry for the Helix Cluster OS.
Package tierdef provides the authoritative T1-T15 tier-definition registry for the Helix Cluster OS.
tierdetect
Package tierdetect performs automated host-capability detection used to validate a requested provisioning tier BEFORE any resources are allocated.
Package tierdetect performs automated host-capability detection used to validate a requested provisioning tier BEFORE any resources are allocated.
tieredcache
Package tieredcache implements a three-tier cache: Hot (in-memory), Warm (NVMe-class backend), and Cold (SSD-class backend).
Package tieredcache implements a three-tier cache: Hot (in-memory), Warm (NVMe-class backend), and Cold (SSD-class backend).
tiersec
Package tiersec implements the per-tier security model for Helix Cluster OS.
Package tiersec implements the per-tier security model for Helix Cluster OS.
timefault
Package timefault provides deterministic time-fault injectors and a clock-skew detector for testing distributed-clock robustness in HelixCluster.
Package timefault provides deterministic time-fault injectors and a clock-skew detector for testing distributed-clock robustness in HelixCluster.
tofu
Package tofu implements trust-on-first-use (TOFU) node identity verification with verify-then-pin semantics.
Package tofu implements trust-on-first-use (TOFU) node identity verification with verify-then-pin semantics.
tracing
Package tracing provides distributed tracing utilities for Helix Cluster OS.
Package tracing provides distributed tracing utilities for Helix Cluster OS.
validator
Package validator provides struct tag validation and custom rule registration for Helix Cluster OS.
Package validator provides struct tag validation and custom rule registration for Helix Cluster OS.
voting
Package voting provides split-brain-safe quorum decisions for Helix Cluster OS via largest-subcluster (majority) voting.
Package voting provides split-brain-safe quorum decisions for Helix Cluster OS via largest-subcluster (majority) voting.
wasm
Package wasm — HXC-1264 Component-Model layer (Go-side realization).
Package wasm — HXC-1264 Component-Model layer (Go-side realization).
watchmanager
Package watchmanager implements an etcd-style persistent watch manager with synced / unsynced / victim watcher groups.
Package watchmanager implements an etcd-style persistent watch manager with synced / unsynced / victim watcher groups.
watchtower
Package watchtower implements a deterministic watchtower-style liveness + integrity prober for cluster instances.
Package watchtower implements a deterministic watchtower-style liveness + integrity prober for cluster instances.
websocket
Package websocket provides WebSocket utilities for Helix Cluster OS.
Package websocket provides WebSocket utilities for Helix Cluster OS.
wireguard
Package wireguard, on linux, drives the in-kernel WireGuard device through wgctrl — the native, kernel-accelerated data path.
Package wireguard, on linux, drives the in-kernel WireGuard device through wgctrl — the native, kernel-accelerated data path.
workclaim
Package workclaim implements SKIP LOCKED-style optimistic work-claiming.
Package workclaim implements SKIP LOCKED-style optimistic work-claiming.
workerpool
Package workerpool provides a worker pool for Helix Cluster OS.
Package workerpool provides a worker pool for Helix Cluster OS.
workloadrouter
Package workloadrouter implements HXC-1455: UnifiedManager.RouteWorkload.
Package workloadrouter implements HXC-1455: UnifiedManager.RouteWorkload.
workqueue
Package workqueue provides a controller-runtime-style, rate-limited work queue for Helix Cluster OS.
Package workqueue provides a controller-runtime-style, rate-limited work queue for Helix Cluster OS.
x25519session
Package x25519session implements an X25519 ephemeral session-key handshake.
Package x25519session implements an X25519 ephemeral session-key handshake.
build module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL