A recommendation on form factor, language, hosting and integration, grounded in what the executors expose in 2026 and in what the navigation build needed. Short version: keep the contract, replace the engine with a single-binary service and CLI on your own box, keep every executor a subscription-backed CLI behind a config-driven adapter routed per story by model and effort, and skip the desktop app.
The constraint that shaped this: no lock-in to a vendor SDK, and the existing subscriptions remain the fuel, with each story sent to the right model at the right effort. The good news is that the CLIs already give the engine everything it needs for that, and the usage endpoint your account tooling reads exposes the meters that matter.
claude -p, version 2.1.281 on the devbox) takes --model, --effort <level>, --output-format stream-json for typed events including usage, and --json-schema for structured results. Authenticated with the year-long setup tokens through ccuse, exactly as the nav build ran.codex exec, 0.153.4) takes -m, -c model_reasoning_effort=…, -s for the sandbox and --json for its event stream. Its Rust core behind the app server changes nothing for us; the CLI is the boundary.session (the five-hour window), weekly_all and weekly_scoped, and nothing separate for headless use. The nav build's claude -p calls moved account 2's session meter from one to twenty-six percent, so subscription routing works as it did. The account pool watches those three meters per vendor and picks the freshest account at each story.executor, --executor-map, your CLAUDE.md policy) decides which spec and which effort each story gets.What this removes and what it keeps. It removes the argument for TypeScript that rested on the in-process Claude SDK, and with it the idea of enforcing the fence through SDK hooks. The fence stays where it already is: worktree isolation, local containers, no production credentials in the run, and the vendor CLI's own sandbox flags. It keeps every routing choice in your hands and every token on a subscription. If a vendor SDK ever became worth it, it would be one more adapter spec, never a dependency of the engine.
| Criterion | Bash, hardened | Go | TypeScript on Bun | Rust | Python |
|---|---|---|---|---|---|
| Driving CLIs through JSON event streams (claude, codex, others) | scrape | native | native | native | native |
| Static binary, no runtime to install, cross-compiles for a Mac CLI | yes | yes | yes, bundles the runtime | yes | weak |
| Process control: groups, signals, stall watchdogs, parallel lanes | fragile | excellent | good | excellent | good |
| Durable runs (SQLite event log, resume, timers) | files | yes | yes, DBOS available | yes | yes, DBOS available |
| Web command centre, Slack socket mode, MCP server in the same code | no | yes, official MCP SDK | yes, most natural | yes, slower | yes |
| How well the agents write, test and review it | poorly at 2k+ lines | very well, simple to review | very well | well, slower | very well |
| Time to parity with the current loop | n/a | weeks | weeks | longer | weeks |
With the SDK question gone, the choice is between Go and TypeScript and it is close. Go wins on the axis that a factory is judged by: a long-running daemon that spawns and supervises processes, restarts cleanly, ships as one static file and reads plainly in review. That is what gh, docker and k9s are made of. TypeScript on Bun wins if one language for the web UI, the Slack bot and the engine matters more, and it would not be a mistake. Python is what OpenHands chose and would work, but packaging a service and a second stack for web and Slack count against it. Rust would be chosen for performance or memory safety, and the engine needs neither; it orchestrates processes and waits.
otto talks to the daemon over a local socket, prints JSON when asked, and is what skills, cron and other tools call. The same operations are exposed as an MCP server so a Claude Code session, including the future teammate front door, drives otto through tools rather than shell strings.The contract is the asset the nav build proved, and it is untouched: the PRD JSON with its story anatomy and the new fields already proposed, the evidence-quoting acceptance criteria, the progress log, the spec index, worktree isolation, the two gates, and the CLI surface. The existing smoke suite is black-box, fake executor binaries and a PRD file, so the new engine has to pass the same 44 tests before it replaces the old one, and the nav PRD can be replayed through both.
The factory's runs are long, wait on people, need timers and must survive interruption. That is the domain of durable-workflow engines, and the 2026 market has moved to "durable by default": Temporal, Restate, DBOS, and hosted options from the cloud vendors. Two of them are not for us. Temporal is an external server and a rearchitecture; Cloudflare Workflows and similar run in the cloud, and our steps run on a box with repos and Docker. DBOS is the interesting one: a library, not a server, with SQLite or Postgres behind it, in TypeScript and Python.
The recommendation is an own event-sourced state machine on SQLite for the first version, because the scale is one box and a handful of concurrent runs, and adopting DBOS later if the timers and retries grow beyond what a few hundred lines handle cleanly. The design rule that keeps that door open: every step is idempotent and every wait is a recorded event with a deadline.
A desktop app answers a question nobody here asks. The operator works over SSH from wherever they are, the driver is on a phone, and the state lives on the box. A web page served by the daemon gives both of them the same screen and needs no installation. If a native window were ever wanted, Tauri 2 wraps the same web UI in a few megabytes with a Rust shell, and that is the one place Rust would appear. Electron would be the wrong trade for a JavaScript-only wrapper this small.
otto resolve, approvals, the account pool on the session and weekly meters, profiles, environment claims.otto symlink moves to the new binary; the tag from today is the way back.stream-json and --json, with model and effort per story from the routing table. Usage per story becomes a number in the event log.One change to the brief. P2 should be built in the new engine, not in bash. The brief's P1 list stands as the bash work; its P2 list becomes the first milestone of ottod. The dogfooding plan holds either way: otto builds it, in a worktree, with the smoke suite as the loop.
Parity plus P2 in Go is on the order of six to ten thousand lines with tests, which otto can build in a worktree over a few days of runs, with review between milestones; call it two to three weeks of calendar time. The risk is not the code, it is scope creep into a platform. The guard against that is the factory metric list: first-pass yield, blocks and time to resolve, escaped defects, cost, resumability. Anything that does not move one of those waits.