Skip to content

Latest commit

 

History

281 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClusterYourCodex

Give Codex more computers.

ClusterYourCodex is a Codex-first controller and worker fleet for distributing builds, tests, batch jobs, containers, and GPU work across computers you own. The Controller chooses a compatible worker from current telemetry and reservations, then returns verified logs and artifact hashes to the Codex session.

Stable release Latest prerelease CI License

ClusterYourCodex execution flow

Repository snapshot: main contains the published v0.0.1 stable line; current fixes are delivered as prerelease candidates until their acceptance evidence is complete. The published v0.0.1 tag and assets are immutable.

Start here

Goal Action
Use the published baseline Install v0.0.1
Use the current Codex integration fix Use the source-checkout repair; the published preview predates this fix
Recover a broken native plugin Run the one-command repair below
Verify a checkout Run the native plugin checks

Status at a glance

Clean Windows VM: first application launch

ClusterYourCodex running in a clean Windows VM, with the first-run Windows firewall prompt

On 2026-09-23, a local diagnostic installer containing the v0.0.1 binaries and a bootstrap path-length fix installed successfully in the clean VM (exit 0). The desktop rendered its Chinese empty-fleet home screen, and the controller health endpoint returned HTTP 200 with a healthy database. The screenshot includes the first-run Windows firewall prompt; it does not prove remote worker connectivity. This diagnostic package is not the published installer or a current-source release candidate. See the installation evidence and remaining checks.

Validation status

What the test effect means

The green cards above are backed by repeatable checks, not a decorative claim:

  • Native plugin: the integrity contract, bundled runtime, MCP protocol probe, and 48-test MCP suite pass on the Windows controller host. See the cache verification record.
  • Hosted CI: the current candidate exercises Rust on Windows/Linux/macOS, native Linux/macOS Worker Kits, dependency/security checks, and the Windows controller/bridge path. See GitHub Actions for the run history.
  • Acceptance in progress: the Windows 11 VM now boots to the desktop. A diagnostic installer passed installation, controller/database health, desktop rendering, and the installed plugin's eight-tool MCP protocol probe. Current-source lifecycle and live-job acceptance remain open. This VM uses a guest-only TPM-check exception and modified no-prompt media, so it does not prove Windows 11 hardware compliance. See the VM install evidence. macOS still needs detached-descendant cleanup implementation and native managed-runtime validation before Issue #3 can close.

This distinction keeps the README useful: a passing package test proves the package contract, while a clean-VM or live-worker claim requires the corresponding runtime evidence.

Recorded candidate test results

Current repository audit — 2026-09-23

The authoritative source is the live origin/main ref; resolve its current commit with the audit commands below. The audit record tracks the merged documentation corrections after PR #122 fixed Windows staging failures caused by long temporary paths. Its completed candidate checks passed the Windows Setup acceptance run 35805960001 and the platform/security checks in 35805960000. The post-merge main CI run is tracked separately; an in-progress check is not counted as a completed pass.

There are currently no open pull requests. Issues #2 and #3 remain open because their final runtime gates are still specific and independently unproven: a current-source clean Windows 11 lifecycle for #2, and a native macOS LaunchAgent plus managed controller/worker round trip for #3. Hosted CI and package probes are recorded as evidence, but are not substituted for those runtime gates. See the live audit record.

The stable v0.0.1 tag and assets remain unchanged at e4fbaef04b764268fa038311d85573b18b549f9f. The table below summarizes the current evidence and is not an automatically refreshed dashboard.

Test layer Current result What was observed
Rust controller/workspace PASS Windows, Ubuntu, and macOS jobs completed successfully
Native Worker Kits PASS Linux x64 plus macOS x64/arm64 package checks completed
Security and dependency gates PASS CodeQL, RustSec, Cargo deny, and pnpm audit completed
Windows controller/bridge job PASS Candidate CI completed the Windows controller/worker live round trip
D-drive VMware acceptance PARTIAL Diagnostic Setup exit 0, controller/database healthy, desktop rendered, installed MCP eight-tool probe passed; current-source lifecycle and live-job acceptance remain open. See the VM install record

The diagrams summarize the evidence categories; they are not application screenshots or an automatically refreshed test dashboard. Runtime acceptance remains open until the corresponding evidence is recorded.

Area State Evidence
Native Codex plugin Ready Registration, bundled runtime integrity, and MCP 8-tool smoke pass on Windows
Windows controller/worker Preview-ready Hosted CI controller/worker round-trip is green; clean-VM GA evidence remains open
Linux worker kit Preview-ready Native Linux kit build and contract verification pass
macOS worker kits Package-ready Intel and Apple Silicon kits build and verify; live managed execution remains gated
Stable release v0.0.1 unchanged New work stays prerelease until the real GA gates in Issues #2 and #3 are evidenced

Choose the right channel

You need Use What it means
A published baseline v0.0.1 Immutable stable assets; no native-plugin recovery fixes
A published preview v0.1.0-preview.102 Latest published preview; it predates the fixes currently on main
Source development main or a feature branch Run the checks below before packaging; do not call a preview stable

For installation fixes and their verification, see the native plugin recovery record. For current acceptance gaps, see project status.

What you get

  • One Windows-first desktop flow: add a computer, connect Codex, run a check.
  • Typed scheduling: requirements are filtered against capabilities; current load and reservations decide the best eligible worker.
  • Evidence by default: every run records placement, native exit status, logs, cleanup state, and artifact SHA-256 values.
  • Portable workers: Linux and macOS Worker Kits share the same protocol; managed runtime support remains platform-gated.
  • Credential boundaries: passwords, keys, and bearer tokens stay behind native vault/config references and never enter JobSpec payloads or Codex calls.

The shortest useful mental model

Codex session
    -> native ClusterYourCodex plugin + MCP bridge
    -> local Controller (typed requirements, reservations, receipts)
    -> Windows / Linux / macOS Worker
    -> exit status + logs + SHA-256 artifact evidence

The Controller owns placement. The model supplies requirements and consumes verified results; it does not pick a worker from a stale snapshot or receive worker credentials.

Current release

Stable: v0.0.1

Download Windows Setup and its SHA-256 sidecar. The release includes the Windows desktop/controller, Codex plugin, self-contained ZIP, Linux/macOS Worker Kits, SBOM, checksums, and provenance.

Windows binaries are currently code-unsigned; verify the sidecar before running Setup. The supported execution boundary is trusted, single-user workloads. Hostile-workload isolation is outside the current product scope; see the decision in Issue #5. Closing that proposal does not enable the isolated tier.

Codex plugin integrity

The current Windows installer and integration-preview pipeline ship the native cluster-your-codex@clusteryourcodex plugin with its private Node runtime. The installer validates the manifest, MCP bridge, runtime, marketplace binding, and file hashes before registering the plugin. The recovery fixes are in the repository, not the published v0.0.1 or v0.1.0-preview.102 assets. As of 2026-09-19, installing the latest published preview is not a verified remedy for this error. Use the source-checkout repair below until an installer built from the corrected source is published; do not copy a plugin directory from a different build.

For a source-checkout recovery, use an up-to-date checkout with the documented development dependencies installed and run from its root. This path requires build tools; it is not the dependency-free Setup experience. Use the native Codex CLI registration path. Keep the generated marketplace under a persistent Codex-owned directory; a temporary marketplace can be deleted by cleanup jobs and make an otherwise healthy plugin look missing on the next launch:

$marketplace = Join-Path $env:USERPROFILE '.codex/marketplaces/clusteryourcodex'
powershell -ExecutionPolicy Bypass -File scripts/Install-NativeCodexPlugin.ps1 `
  -MarketplaceRoot $marketplace

If that directory was left empty or partial by an interrupted install, the installer automatically moves it to a timestamped recoverable backup, rebuilds the native payload, and runs the integrity and MCP probes. Pass -Repair when you also want to force-rebuild an otherwise complete directory (for example after an interrupted upgrade):

powershell -ExecutionPolicy Bypass -File scripts/Install-NativeCodexPlugin.ps1 `
  -MarketplaceRoot $marketplace -Repair

The recovery path uses the bundled MCP runtime and does not install or depend on legacy clustor, cluster-orchestrator, or orchestrator skills. Each install also removes exact-name legacy skill directories from the Codex home into a timestamped recoverable backup before registering the native plugin. See the recorded verification in docs/native-plugin-recovery-20260918.md.

Native plugin checks

From a repository checkout, these commands verify both the contract and the exact cached payload used by Codex:

powershell -ExecutionPolicy Bypass -File scripts/Test-NativeCodexPluginContract.ps1
powershell -ExecutionPolicy Bypass -File scripts/Test-NativeCodexPlugin.ps1 `
  -PluginRoot "$env:USERPROFILE/.codex/plugins/cache/clusteryourcodex/cluster-your-codex/0.0.1"
pnpm --filter @clusteryourcodex/codex-mcp test -- --run

The current recovery record is docs/native-plugin-cache-verification-20260919.md; it records the 6-file cache check, the MCP 2025-06-18 / 8-tool probe, and the 48-test MCP suite. A failed cache check should be repaired, not bypassed.

Platform status

Platform Current delivery
Windows x64 Desktop, Controller and Worker; full clean-VM Repair/rollback acceptance remains tracked in #2. The running-Controller repair race from #68 is fixed and closed.
Linux x64 Worker packages; see the Linux setup guide.
macOS x64 / arm64 Worker Kit packages; live managed execution acceptance is still open in #3.

Fast start on Windows

  1. Download Setup and the .sha256 sidecar.

  2. Verify the installer:

    $setup = Resolve-Path .\ClusterYourCodex-Setup.exe
    $actual = (Get-FileHash -Algorithm SHA256 $setup).Hash.ToLowerInvariant()
    $expected = ((Get-Content "$setup.sha256" -Raw).Trim() -split '\s+')[0].ToLowerInvariant()
    if ($actual -cne $expected) { throw 'SHA-256 mismatch' }
  3. Run Setup. It installs per-user files under %LOCALAPPDATA%\Programs\ClusterYourCodex, registers the Codex plugin, and opens the desktop.

  4. In Add Computer, enter the worker host and user, verify the host-key fingerprint, then run install, pair, start, and probe.

  5. Open Advanced verification and run Full Run Check. Then ask Codex to run a real build or test.

How it works

Codex Desktop / CLI
        |
Codex plugin + MCP bridge
        |
Controller <---- Windows desktop
        |
typed requirements -> scheduler -> reservation
        |
Windows / Linux / macOS workers
        |
verified logs + artifacts

The repository is organized around cyc-controller (local API, persistence, scheduling, and run lifecycle), cyc-worker (inventory, pairing, execution), cyc-cli (diagnostics), cyc-protocol (portable contracts), cyc-scheduler (explainable placement), apps/desktop, and plugins/cluster-your-codex.

Development

git clone https://github.com/TypeThe0ry/ClusterYourCodex.git
cd ClusterYourCodex
pnpm install --frozen-lockfile
cargo fmt --all -- --check
cargo test --workspace
pnpm -r lint
pnpm -r test
pnpm -r build

Run the browser renderer with pnpm dev; it is not the installed native app. For the native desktop use pnpm --filter @clusteryourcodex/desktop tauri:dev (Rust and the Tauri Windows build prerequisites are required). Packaging and acceptance details live in docs/packaging.md.

Documentation

Open acceptance work is tracked in #2 and #3. Hosted CI and portable archives do not substitute for the native Windows/macOS runtime gates called out in those issues.

Project boundary

ClusterYourCodex distributes executable work that Codex initiates. It is not a remote desktop, generic cluster administrator, or multi-tenant hostile-code sandbox. See ADR 0001 and CONTRIBUTING.md.

License

See LICENSE.

About

Give Codex more computers: a Windows-first controller and cross-platform worker for distributed builds, tests, GPU jobs, and verified artifacts.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages