Project 20 of 84
CARS
CARS (Concurrent Agent Runtime Supervisor) is a local CLI/TUI that turns a goal into a PRD of Stories, builds a dependency DAG, and runs each Story on its own Claude agent in parallel, with Critic/Surgeon/Librarian/Sentry observers on a shared Bus. Since November it also runs whole prompt files unattended via `cars batch`.
- Status
- In progress
- Last activity
- 2026
- Stack
- Rust
- TypeScript / Node
- Claude CLI
- Next.js
- Changesets
- Vercel
- macOS codesign
- beads issue tracking
Highlights
- Designed and shipped `cars batch`, an unattended, crash-resumable runner that executes a markdown queue of agent workflows one Run per item on chained git branches, with state outside the repo, a beads issue-tracker mirror, a 4-tab terminal UI and distinct exit codes, documented in four ADRs (PRs #13-#24).
- Validated `cars batch` on a real 21-item prompt file against a production web/API repo: the first pass exposed a Surgeon race and timeout handling, and after the fixes a `--retry-failed` rerun passed 21/21 and produced a combined PR.
- Led an architecture-deepening refactor of the TypeScript orchestrator: replaced a global monkey-patch of the Mozaik agent framework with an explicit Bus module and consolidated duplicated Rust/TypeScript model-routing and PRD logic into single modules with atomic saves and shared fixtures (PR #8).
- Retired a duplicate TypeScript CLI and a 419-line spike script in favour of the Rust engine, and added Conductor tests that drive the real event Bus rather than spawning the Claude CLI (PRs #9, #10, #14).
- Fixed six DAG-scheduling bugs, an orchestrator hang after Run completion, and a race where late Surgeon replans were discarded, by holding the Run open until the recovery agent answers (PRs #19, #21).
- Hardened unattended runs: SIGHUP and double-interrupt escalation (SIGTERM then SIGKILL on the process group), Done-wins-over-late-interrupt semantics, and Critic failures surfaced as flags and tracker labels without changing exit codes (PR #24).
- Built and launched the product marketing site (Next.js 16, React 19, Tailwind 4; about 40 static routes, privacy-first with no third-party requests) at cars-site.catesworks.dev, deployed by a manual GitHub Actions workflow on an isolated self-hosted release runner that scopes the Vercel token to the deploy steps (PRs #4, #7).
- Brought the repo up to org standards: migrated npm to pnpm, moved it to the catesworks org, added Turborepo, a version-only Changesets flow, a Node + Rust pull-request quality gate (fmt, clippy -D warnings, tests, build), and source-derived CODING_STANDARDS and GLOSSARY docs.
- Extended the release pipeline to mirror build assets to a public releases repo and package macOS binaries as pkg installers that install both CLIs to /usr/local/bin.