Skip to content
chrisbanesPublic

About

Resources

Stars

14 stars

Watchers

1 watching

Forks

Repository files navigation

An amber-lit taxi roof sign reading lowercase cab.

cab

cab coordinates coding agents across your projects.

Get your work from A to B.

Give a task to a project lead, let it organise the work, and keep track of the results and decisions that need you. Your instructions shape how the agents work; cab keeps track of who's responsible and what happens next.

In development. The service and operator UI exist, but the complete task-to-delivery journey is still being built and qualified. This isn't a ready-to-install release yet.

Follow the roadmap · Current status · Development

Give it an outcome

The intended experience starts with a task, such as:

“Add keyboard navigation to the settings screen. Follow the project's accessibility conventions and have the changes reviewed.”

The project lead would organise the work, delegate assignments and bring the results together. Independent assignments could run concurrently. A reviewer could ask for revisions. A decision needing your input would appear in the operator interface, alongside the work it belongs to.

The lead stays accountable for the outcome. Planning, implementation and review come from the agents' instructions, so each project can have its own way of working.

Both coding harnesses use the service user's native subscription login, instructions, skills, plugins, MCP connections and hooks. cab keeps explicit execution controls, coordination and conservative Stop/recovery; trusted native extensions can act outside cab tools. Legacy skill selections and token references are retained for history/redaction and do not configure new execution. Native compatibility has been proved; integrated delivery qualification remains pending.

A team with a shared memory of the work

cab's design centres on a few things that become important once several agents are working at once:

  • Projects with their own context. Keep tasks, repositories, agents, instructions and permissions together. Coordinate multiple projects through one service.
  • Assignments that outlast a chat. Retain ownership, follow-ups and results when an agent needs a new conversation. Keep the task's working files with the task.
  • Room for parallel work. Let agents delegate independent assignments while cab manages shared execution capacity and access to task workspaces.
  • A place for your attention. See questions, approval requests, results and recovery state in the operator UI, with the context needed to respond.

Why I'm building this

cab grew out of my run-github-project workflow. I'm building a standalone service to coordinate work across multiple projects, with project leads responsible for outcomes and a durable record of the work between agents.

The development method belongs in the instructions I give those agents. cab's job is to support their coordination and give me somewhere to see what's happening and step in when needed.

Where it stands

cab is a TypeScript, Node.js and SQLite service with Codex App Server executing agent turns. The first release targets macOS and a private web interface, using a separate cab login. Epic #649 owns delivery scope and status.

Implemented

  • Coordination. Durable scheduling with shared writer and capacity limits, supervised turns, best-effort Stop and conservative restart recovery. A planned restart interrupts running task turns and requeues the ones it sees end; after a crash, a held turn keeps its writer and capacity holds until cab sees it end, verifies its process exited or 30 quiet minutes pass, and it continues only through an explicit Start again. Task coordination covers assignments, results, inboxes, questions, approvals, lead-gated completion and assignment routing.
  • Operator UI. An authenticated React interface at / with an attention overview, cross-project and per-project List and Board views, a local task composer, the Inbox, retained search and Settings. The operator listener requires the built web bundle; legacy HTML pages/forms return not-found, and old /app/* addresses permanently redirect to the same path at the root.
  • Draft with lead. In the task composer, a rough idea goes to the project lead, who reads the project's linked repositories in a throwaway copy with network off and proposes a title and outcome. Empty fields are filled; typed text keeps its place until Replace or Keep. It counts against capacity, can be stopped, and nothing is saved until Save draft or Create and start. It is not a read-only sandbox, and the operator CLI does not offer it.
  • Draft turns. On a task that is not Ready, the operator can start one read-only turn of the project lead from the task page or cab task draft-turn. The lead can read, investigate, ask questions and, where granted, comment on or label the issue; delegation, writes, pull request actions, results and completion are refused, and the task stays not Ready. Codex runs it with a read-only sandbox policy and command network access off; cab claims no independent sandbox.
  • Start again and Reset task. A request refused before it ran, at admission or because its submission failed before any turn was sent, shows as Not started, not Uncertain. Start again, from the task page, the Inbox, Home or cab task start-again, queues it again at the current revisions in the same workspace and keeps the refusal in the history. Reset task, from the task header or cab task reset, replaces every assignment's conversation and starts the lead fresh in the same workspace; it cannot be undone. Neither forces an execution that may still be running: those stay with the recovery commands.
  • Improve with lead. On an open imported task, the project lead reads the linked repositories in the same throwaway copy and proposes a better title and body for the source issue. The operator edits the proposal, reviews the full current and proposed text, and sends it as one GitHub issue edit under the repository's issue.edit grant. The edit is refused before any write if the issue changed on GitHub after the draft started. It cannot be undone from cab, and the operator CLI does not offer it.
  • Instruction proposals. In a project's Settings, the operator selects up to 20 recorded operator corrections, picks the project's instructions or one of its agents, and asks the lead for a proposal. The operator sees each item's provenance and use, the generalisation, any conflicts, the exact current and proposed text and, for an agent, every project that uses it. Nothing changes until Accept, which saves the reviewed text as the next revision through the ordinary configure and is unavailable if the instructions changed meanwhile. Existing assignments keep their revision. The operator CLI does not offer proposals.
  • Status mapping. A project can map four of cab's work events (first turn started, PR handed back, stopped or blocked, Done) to options of its linked GitHub Project's Status or to Jira status IDs, both set on the Task source tab. The service writes them through the delivery lifecycle under the saved mapping's own authority, with no delivery grant, only for tasks already Ready (or Done once the issue is closed), and skips a write when the card or issue moved since cab last saw it; on Jira it also skips when the issue is already there or not exactly one transition reaches the status. The operator CLI cannot edit the mapping; the writes show on the task and never hold it (ADR-1017, ADR-1024).
  • Publish to GitHub. The operator can turn a never-started local task into a GitHub issue from task detail or the CLI (delivery publish-review|publish-confirm|publish-send), choosing a linked repository, or an unfiltered GitHub Project, after seeing the destination, the text and that nothing reverses it. The same task becomes the issue's imported task, so the next sync does not import a duplicate. An unknown outcome holds the task and is never resent; the operator can link the issue or abandon the attempt. It needs issue.create, and for a Project target project.item.add and project.field, grants (ADR-1018, ADR-1017).
  • Stacked dependencies. A project can turn on stacking (Delivery tab, CLI or API). A dependent with one blocker in the same repository then starts on the blocker's last pushed commit once the blocker has an open change request at that commit, and its lead is asked to restack with branch.force-push when that head moves. Other shapes wait until Done, with the reason shown. Code-host stack links, merge ordering and Unstack are not implemented (ADR-1023).
  • Inbox and questions. The action Inbox lists cross-project questions, approvals and recorded interventions by urgency and age. Exact own-tool forms support grouped text, single-choice and multiple-choice answers, with preserved drafts and durable submission receipts shared with task detail. Qualified native single-choice and custom requests use their existing runtime delivery path.
  • Task workspace. Exact source and result revisions, scoped supplied evidence, captured context and separate local and GitHub replies. Search covers permitted retained tasks, decisions and results, with historical navigation and preserved return state.
  • Assignment conversation. The task conversation shows captured assistant messages for the exact task, assignment and runtime turn. Only completed, sanitized text is retained; unfinished messages show progress metadata and omitted text is labelled. Known private instructions, credential values and control paths are redacted before storage, with current exclusions reapplied when history is read. Eligible retained reasoning summaries appear once on their exact turn behind a collapsed plain-text disclosure, with a notice for a truncated retained prefix. A successful privacy refresh removes erased summaries from older loaded pages too. This is a bounded diagnostic view, not a complete transcript or ownership-release proof, and missing history does not change admission or completion gates.
  • Browser notifications. Opt-in Web Push, turned on per browser in Settings → Notifications: one minimal encrypted push per new Inbox alert (a question, an approval, an intervention or an exhausted runtime) with a link that opens the exact request after sign-in, a test notification, and revocation. It is qualified on the host's own browser only; phone delivery is not qualified (#1150).
  • Settings. Guided paused-project setup (GitHub discovery of repositories, refs and Projects with a typed fallback, a service folder picker and checkout verification, one create command) and agent setup, explicit private replacements, source observations, installation capacity and curated recovery.
  • GitHub. Local discovery of selected repository issues, searches and Projects, with provider-owned readiness and dependency holds; operators can inspect and refresh source state. Scoped delivery records durable intents, confirmed readback, retained PR feedback and operator settlement controls.
  • Network configuration. cab service configure shows or changes an optional IPv4 LAN listener offline; restarting the service applies it. LAN HTTP carries credentials without TLS. See macOS operations.
  • Operations. cab service install, upgrade and uninstall manage a per-user macOS LaunchAgent bound to an unpacked release; upgrade stops the job, starts the new release and checks readiness, and a failure leaves the job stopped. The service itself takes and verifies a snapshot before it applies pending migrations to existing data, and refuses to start without one. service install --mode daemon is an opt-in LaunchDaemon that starts at boot and prints the sudo steps to install it; its real-host behavior is unproved. cab snapshot create|verify|restore provides offline database backup, verification and restore (standalone operations).
  • Operator CLI (authentication, browsing, configuration, diagnostics, task operation, sources, delivery and recovery). A packaged cab executable logs in to the running service with a revocable read-only or read/write credential issued from Settings, manages named connections and browses projects, agents (through cab profile), tasks, assignments, instruction revisions, conversation history, results and their recorded workspace state with paged, coverage-reporting reads. It prepares reviewable change documents for agent, project, routing and capacity configuration, applies their exact command once with a journalled request key, adopts current instructions for an assignment's next turn and reads receipts back. It lists task-bound executions, shows their captured supplied inputs, observed settings and bounded, redacted runtime, tool and service diagnostics, and follows them with resumable cursors. It creates and configures tasks and dependencies, sends addressed messages and lead follow-ups, lists the attention inbox, answers questions explicitly, decides approvals on exact material and requests receipted task Stop and Resume, reporting whether each write saved, queued or requested cancellation. It inspects and changes a project's GitHub or Jira sources through the same reviewed change documents, activates a selection after a complete provider read, places conflicting imported tasks, inspects and refreshes delivery, and stages issue comments through review, confirmation and one receipted send. It shows each held generation's exact identity, holds and recovery paths, releases a held generation for which cab saved no thread or turn after one confirmation (startup releases them too), and submits the existing recovery and conversation-replacement operations from prepared documents whose assertions the operator states explicitly. A bounded live Codex journey through the packaged CLI on this host is recorded in the CLI8 record; use from a second privately connected machine is unproved because none was available. See development.
  • Claude runtime. Agents may select a Claude Code runtime (ADR-1008). The operator turns each runtime on or off live in Settings → Runtime or with cab runtime, and no runtime is required (ADR-1012); new agents default to the first enabled runtime, Codex first. Bounded live journeys qualified it with limits (evidence): a Claude-only task, a Codex lead with a Claude worker, Stop and a service crash with explicit recovery. Its execution policy and disclosed limits differ from Codex's (see the specification), and untested surfaces remain limits. It runs the claude on the service PATH without gating its version. It uses the operator's own Claude subscription, and Anthropic's terms do not explicitly address a self-hosted single-operator service.
  • Runtime restarts. An enabled runtime that exits or fails to start is restarted automatically after 30 s, 2 min and 10 min, then stops and raises one Inbox item for the operator. Held turns stay held; a restart never relaunches or resumes work.

Automated tests with real SQLite and Chromium, plus bounded live Codex and browser journeys, exercise these surfaces. Dated run records and their limits are in docs/evidence; the release-candidate inventory maps each acceptance scenario to its evidence and disposition.

Not yet qualified

  • Release and cutover. Operational release is not qualified. Physical sleep/wake behaviour (#732) and access from an independent device are unproved. The Haze cutover (#761) is a separate, reviewed step (proposal); the installed Haze prototype stays in place until then.
  • Packaging. scripts/package-release.mjs builds a self-contained darwin-arm64 release tarball with bundled Node, and a tag-triggered workflow attaches it to a GitHub Release (standalone operations); this channel is not yet release-qualified. The primary first-release target is npm install -g @chrisbanes/cab: one package containing the server, web UI and cab commands, with Node installed separately. cab service install and cab service upgrade stage the installed package and bind a Node.js, and a tag-gated workflow job publishes the package; the staging is tested locally and the job's gating is checked structurally, but its publish step has never run, no version is published and the lifecycle is not qualified on a published package (ADR-1011, #1267). The tarball is optional; the desktop app and Homebrew channel are deferred under #1265.
  • Isolation. cab relies on the execution runtime and host for isolation. Broad host-permitted reads remain enabled, command network access (Codex) and local listening for test fixtures (Claude Code) are off, and the sandbox level is strict, unless the operator changes them per project; the unsandboxed level lets host tools such as browsers and emulators run (both harnesses), and the escalate-approval level lets a Codex or Claude Code task turn run one command outside the sandbox once the operator approves it (Claude's classifier can still refuse an approved call); at the escalate-auto-review level the harness's reviewer decides instead: Codex's, with an advisory operator overrule of a denial, or Claude Code's auto-mode classifier, with undecided calls left to the operator. Stop is best-effort: unresolved work can remain held for reconciliation. See the execution policy and acceptance plan for the boundaries and required evidence.

Development

Use the Node and npm versions pinned in .nvmrc and packageManager in package.json; see the development reference for supported runtimes and CI.

npm ci
npm run check

The checks cover types, lint, formatting, compilation and tests, including the operator's browser tests. npm run test:fixture-preflight checks writable temporary storage, real listeners, browser cleanup and evidence from an expected assertion failure. Set CAB_TEST_EVIDENCE_DIR to an absolute, dedicated directory to retain bounded synthetic screenshots, phase manifests and allowlisted diagnostic logs. Test deadlines end waiting; they do not prove execution termination or complete cleanup. Live runtime qualification is a separate, explicit step.

npm run build compiles the service and the self-contained React operator assets into dist/operator. The production operator command serves / and the same-origin /api/operator JSON from its existing listener; no frontend server is needed. The interface uses locally owned shadcn/ui components, Dark / Neutral / Default tokens and self-hosted Geist and Geist Mono. The foundation contract records its projection and receipt boundary.

See the development reference for commands and service contracts, or the macOS operations guide for authentication, service management and backups.

Read further

License

Apache-2.0. Taskboard informs the UI design. Dependencies retain their own licences.

About

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages