Repository navigation
Agents in their own copy, a queue for local models, a project map for small models, a plan board, session export, and a public leaderboard.
isolation: "worktree": in a git project, a task can work in its own copy of the project, a git worktree under.bridge/worktrees/<task>on a brancharcwright/<task>, made from the project as it is when the task starts (uncommitted changes included). Agents running at the same time never touch each other's files, and the project stays unchanged until Claude approves. Checks, checkpoints and line diffs work in the copy; installednode_modulesare linked in so builds and checks run.- Approval merges: approving such a task brings its changes into the project file by file. A file the project did not change meanwhile is updated; one changed on both sides is merged three-way; when both sides changed the same lines, the approval stops and lists the files, and
arcwright_mergedecides: conflict markers to resolve, or the agent's version. The copy and its branch are then removed. Merging writes only inside the project, never in.gitor.bridge, never through a link. - Rollback before merging discards the copy; after merging, it puts the project's files back as before.
- Results tell Claude where the copy is (read and check files there); the console marks such tasks "Own copy" and shows merges in the transcript.
- The task's spec and follow-ups are copied into the worktree for the agent, and its report comes back to the project.
- Checkpoints never include
node_modules, even when it is not ignored. - One agent at a time per local server: a local model server runs one model on one GPU, so a run now takes a slot for its server first (
server/slots.js, a lock file claimed with an exclusive create) and waits while it is taken. The wait shows live ("Waiting for Ollama") in the console, the map and the IDE extension; a stop while waiting is honored, and a slot held by a dead process is taken back.AGB_LOCAL_CONCURRENCYraises the limit (a custom OpenAI-compatible endpoint takes 4 by default). Antigravity agents are not limited. - Project map for local agents: a fresh conversation starts with a map of the project, built under the sandbox's rules: the files, the functions and classes each source file defines (JavaScript, TypeScript, Python, Go, Rust and more), and the test command from
package.json, marked as data, within 5000 characters (AGB_PROJECT_MAP_CHARS, off withAGB_NO_PROJECT_MAP). - Leaderboard:
bench/LEADERBOARD.mdranks every full benchmark run by first-try passes, then passes within follow-ups, then speed. Results are now kept per model and machine (results/<model>__<hardware>.json), runs with--onlygo to a.partialfile and stay off the board, andnpm run bench -- --model <id> --submitprints a link that proposes the result on GitHub (a fork and a pull request); nothing is sent unless the user opens it. - Plan board: a third view in the console (next to Transcript and Live map) puts every task in a column, Waiting, Working, In review, Done or Stopped, with its agent, model, "own copy" and the tasks it waits for (green once approved). Clicking a card opens the task.
- Session export:
arcwright_exportand an Export button on each task in the console save one self-contained HTML file: the spec, every run and step with timings, the agent's replies, checks, Claude's follow-ups and reviews, merges and reverts. File contents are never included and absolute paths are cut to project-relative ones, so it can be attached to a pull request. - Windows: no more lost runs from file locking: task files are replaced with a rename, and on Windows that fails while another process (the console, Claude waiting, the IDE extension) has the file open for a moment. Measured: thousands of failures in three seconds under steady reads. A worker hitting it crashed before it could record anything, and the task showed "The worker process did not start" (found by the benchmark). Reads and replaces now retry briefly on these errors, and a worker that stops on an unexpected error writes it to its run log and marks the run failed with the reason.
- Benchmark with the project map and these fixes:
ollama:qwen3.5:9bpassed 12 of 12 tasks on the first try, median 62 s per task, 16 minutes for all twelve (2.4.0: 11 of 12, median 69 s, and one task needed a follow-up). - Gemini CLI as a backend was dropped from the roadmap: Google no longer lets personal accounts use Gemini CLI and points to Antigravity; with an API key, Gemini's OpenAI-compatible endpoint already works through
AGB_OPENAI_BASE_URL. - Tests: the copy, a three-way merge, a conflict resolved with markers, discard, and a project outside git.