Repository navigation
Replies: 15 comments
Research: splitting work across machines (crews + my local PC)What it means to parallelize work across my computers, not just observe them. The goal is to keep every machine busy without collisions. Building blocks we already ship or can adopt
Patterns worth copying
What parallelism would look like
Risks
Suggested order
|
Field notes from one day of parallel agents on the Mac (evidence, then what it implies)I ran the integration side today: 4 sub-agents plus me on one Mac, alongside the Linux and Windows agents. These are the collisions that cost real time, ranked by cost. Each one says something about what the fleet ledger has to carry. 1. The most expensive collision was shared environment drift, not a file conflict
Implication: the ledger needs a known-red record next to claims: 2. Real bugs show up in an unrelated PR's CI#339 (UI detectors) failed 3. Structural conflicts beat semantic ones; claims don't fix them
Implication: shared append-only files are a design smell for parallel agents. Fix the format (fragments, one file per job or check) before building claims for them. 4. The "up to date with main" rule × N parallel PRs means rebase churnEvery merge turns the others 5. Isolation inside one machine still leaks
6. On "is this Claude Cowork?"Not really. Cowork is one user's agent working on their computer with sub-agents in parallel, steerable from anywhere. That's the same shape as a single crewmate with sub-agents. It doesn't coordinate independent agents from different vendors across machines on one git repo, which is what this discussion is about. Closer prior art: merge queues (integration), Bazel REAPI and sccache (remote heavy jobs), leases with heartbeats (claims), and CI "known failures" databases such as flaky-test quarantine (item 1). Suggested tweak to the first slice
|
From "my machines" to "the ship": Atlas for a whole company, run from the phoneMatheus's framing (summarised): CodeAtlas is several people (Matheus, Luan, Fabio, Richard, …) on the same projects, each with agents. The crew becomes the organization. The company registers its computers and servers in it, and the phone logs into the org crew by its domain. From the phone you see the whole company: everyone's agents, the services and apps, each app's backoffice and versions, plus meetings, notes and a knowledge base. Support bots are crewmates with more capabilities. One place manages MCPs and skills (like Executor). Apps get SDKs that report bugs into tasks. Next week we may add Mac minis as remote dev boxes with agents, set up and controlled entirely from the phone. Below is research (sources linked, [unverified] where I didn't open a primary source) and a concrete proposal that keeps Atlas local-first and self-hosted. 1. Should everyone see everyone's agents? Mostly yes, at three levelsThe products that solved this don't choose between "public" and "private"; they separate status from content from control:
Proposal for Atlas (it maps onto the phone's existing read / act / type scopes):
Crewmates on org servers are org resources, visible to their project. Agents on someone's laptop stay personal until shared. Every agent has a human owner, as in Linear. This gives the "parallelize the company" board without turning Atlas into surveillance or leaking prompts and secrets. 2. Identity: the org crew as a small CA, P2P still carries the trafficWhat works for a self-hosted server and a phone client:
Proposal:
3. One place for MCPs, skills and tools: integrate, don't rebuildExecutor (MIT, self-hostable as one container) is one MCP endpoint that keeps accounts and credentials (the agent "never sees the credential"). Apps turn them into tools, each with its own approval rule (always / never / when risky), versions you can roll back, and orgs, groups and OIDC when self-hosted (docs, self-host). Similar products: Docker MCP Gateway profiles, the official MCP Registry, and Claude Code's managed MCP / server-managed settings ( Proposal: three layers.
Atlas imports what each person already configured ( 4. Apps → SDK → task → crewmate → release (and support bots)The loop already exists in pieces:
Proposal:
5. Meetings, notes and knowledge base: through MCP, not a new appLinear exposes issues, projects and documents over MCP (Linear). Notion and Drive are reachable through gateways such as Executor. Atlas should link a task to the meeting, note or decision that produced it, show it on the phone, and give crewmates read access through MCP. Building a notes product is scope creep. 6. The Mac minis: what it takes, concretelyOn the machine (day-1 runbook; inferred from Apple's docs, not yet tested on our hardware):
What Atlas needs to build (none of this exists yet):
7. Phased plan (smallest useful slice first)
8. Risks to design for from day one
The lessons from my earlier comment (known-red records, changelog fragments, one integration owner, worktree isolation) become org-wide features here: one board where the whole company sees that "CI is red on all PRs, cause X, fix #342, owner Y" is exactly the kind of parallel work this is meant to unlock. |
Naming: from "fleet" to Atlas Grand LineWe're dropping "Atlas Fleet" and "Atlas Org". We already have Atlas Crew and crewmates, so the rest follows the same sea: terms of sea and space navigation. The current vocabulary is in the glossary. Why not the obvious wordsI checked them. These are all taken by agent-fleet products in our space:
None of them came up for Grand Line. |
Agent ↔ agent communication: what broke today, and a protocol proposal ("Den Den")Today the Mac agent and the Linux agent worked on the same repo in parallel, and they could only talk through a human copying messages around. What actually happened (#348 has the record): What went wrong, concretely
Prior art worth borrowing
Proposal: Den Den (agent messaging inside the Grand Line)Working name. Built on what we already have: hostd on every ship, iroh between ships, the crew MCP server inside every agent.
Smallest slice that would have saved today
|
Grand Line, part 2: projects run by crews, a chat-first app for everyone, and what to take from T3 CodeThis comment folds in #383 ( 0. Where Atlas comes from, and where it is goingAtlas started as an IDP: one So Grand Line is the IDP with crews attached to each project: almost Lovable, but on our own stack, on our own servers, with the gates we already enforce, and steered from the phone. 1. Projects owned by squadsThe Flagship (org server) gets a project registry. Each project (e.g. # grandline project (sketch)
project: ac
repos: [codeatlasdev/ac]
ships: # where it runs and is worked on
dev: [mac-mini-1] # agents, worktrees
prod: [prod-3-codeatlas] # read-only for crews: logs, health, deploy status
squad:
captains: [luan, fabio] # humans who own the outcome (Linear's delegate-with-owner)
crewmates:
triage: { engine: claude, tools: [issues, logs:read] }
fixer: { engine: codex, tools: [worktree, gates], needs_approval: merge }
qa: { engine: claude, tools: [browser, captures] }
intake: [koatla, sentry, whatsapp]
humans_for: [manual_test, product_decision, prod_access]
2. The loop already exists in
|
| T3 Code [MEASURED in docs] | Atlas today | Take it? |
|---|---|---|
| Any harness (Claude, Codex, Cursor, OpenCode, Kiro, any ACP agent), bring your own subscription | omp / Claude / Codex via atlas hook, crew engines |
Yes: ACP as the generic adapter |
Switch provider mid-thread; Claude hands a task to Codex, with context handoff (provider-switching-and-context.md, portable-handoffs.md) |
one engine per crewmate | Yes: crewmate escalation (cheap model triages, strong one fixes) |
| One server, every client (desktop, web, phone) shows the same threads | desktop + mobile via hostd | Yes: a web client for the chat app |
t3 up: remote machine as a background service; pairing by link/QR/code, or headless approval over SSH (t3 auth connect-device approve K7QM-2XFD); "Require approval for new devices" |
iroh pairing, phone ↔ one computer | Yes: matches the Shipwright plan (atlas host install --system, atlas pair --code); iroh means no account and no Tailscale |
| One button: commit, push, PR with generated title, body, changelog; draft/stacked PRs | crew does PRs; humans use git | Yes: in the chat app, gated by atlas work land |
| Guest links: a teammate follows one thread in the browser without an account and asks questions; their messages wait for the owner | none | Yes: for clients and non-technical staff |
| Outside agents over MCP: start and message threads from Claude/ChatGPT/bots | atlas MCP (services, logs) | Yes: extend with crew/threads |
| Orchestrator MCP: sub-agents on any provider, wait/cancel, link PRs | crew queues | partial: reuse the shape for Den Den |
Managed policy (JSON, t3 policy check, deployed by MDM): locks permission modes and providers |
none | Yes: org policy on the Flagship |
| Secrets from 1Password by reference; agents ask for a secret in a private card | crew secrets per machine |
Yes: the private card |
| Visual replies: the agent answers with a sandboxed HTML page, checked by a headless browser | UI gate captures | Yes, for reports to non-technical people |
| Prompt links (open a draft, never run) | none | cheap, nice for issue comments |
| T3 Connect: hosted relay account, 3 machines free, more on paid T3 Chat | iroh, no account (PRIVACY.md) | No: we keep iroh plus our own relay |
Where we differ on purpose: T3 is a personal control plane. Grand Line is company + IDP: squads per project, prod ships, intake from apps, gates and land queue, captains, the escalation ladder.
5. A minimal app: chat and meet only
Atlas Desktop is a developer cockpit (GPU terminal, services, browser, diffs). Most of the company never needs that. We want a second, tiny client:
- For: non-technical staff reporting and following their requests, clients via guest links, and devs who want to talk to agents without an IDE.
- Only: conversations with agents and humans per project, "needs you" cards, attachments (screenshot, screen recording, voice), meet/call, PR preview links and "it's deployed" notices. No terminal, no editor, no service panel.
- Light: it talks to the Flagship and hostds over the same protocol as the phone; no local agents, no PTYs. [INFERENCE] Tauri with a minimal Svelte UI (shares
@codeatlasdev/ui) in the tens of MB of RAM, idle near 0 % CPU; a web build of the same UI covers guest links. Budget to commit to: cold start < 1 s, idle RSS < 80 MB, one window. - Same permissions as the phone: status / transcript / act, Face ID or OS auth for act.
Name: Atlas Dinghy (a dinghy is the small boat a ship carries to reach the shore).
6. Updated order
- Shipwright: headless hostd + pairing by code (Mac minis, client servers) + machine health on the phone.
- Squad registry +
atlas work(triage/claim/land) for one project:ac, because its intake already exists. - Close the Koatla loop: issue → triage → fixer → gates → land → reporter notified.
ask_humanladder: chat, push, WhatsApp message, then calls and Meet.- Dinghy chat app + web guest links.
- ACP adapter + provider handoff; managed policy; Den Den across ships.
Open questions
- Is one squad per project enough, or do client projects need a separate Flagship (data isolation per client)?
- Does a client's own team get Dinghy access to their project's crew (guest link vs member)?
- Which WhatsApp number calls the captains: the company's WABA (already used by
ac?) or a dedicated one? - What autonomy level per severity: auto-merge for
baixawith green gates, captain approval above?
Grand Line, part 3: answers to the open questions, what the evidence says, and the full structure[MEASURED] = I read the code, doc or issue. [SUMMARY] = from a secondary source, primary not opened. [INFERENCE] = my proposal, untested. 1. What the evidence says the real problem is
Lessons from the T3 Code community (
2. Principles that follow [INFERENCE]These are the ideas I have not seen put together in one product. Each answers a finding above.
3. Answers to the four open questionsQ1. One squad per project, or a Flagship per client?
Q2. Does the client's team get Dinghy access?
Q3. Which WhatsApp number calls the captains?
Q4. How much autonomy per severity?
Three rules on top: a crewmate starts with no auto-merge and earns it per area; the reporter's "fixed" is required to close; any revert returns that crewmate to approval in that area. What "green" has to mean, and what this table does not grant (added after review):
4. The whole discussion in one structure
Order of work:
What would prove this wrong: if, after step 2 on |
Grand Line, part 4: a meta-harness. One Atlas MCP that rigs every agent (skills, MCPs, memory, policy)Matheus's direction: Grand Line should not be one more harness. It sits above the harnesses (omp, Claude Code, Codex, any ACP agent) and configures them. A person or a squad declares skills, MCP servers and a memory system once, and connecting the Atlas MCP sets all of it up in whatever agent they use. Like Executor, but covering everything, not only tools. [MEASURED] = read in the repo or its docs. [INFERENCE] = my proposal, untested. I have not run either project; what I say about them comes from their READMEs and docs. 1. What the two references doai-memory (Rust, MIT, one binary) [MEASURED]:
Executor (MIT, self-hostable) [MEASURED]:
Atlas today [MEASURED]: three embedded skills with install and drift detection ( 2. Proposal: RiggingA ship's rigging is what makes it sail. An agent's rigging is what it is given: skills, MCP servers, memory, permissions. It is declared once and applied to every harness. # in the squad file (sketch)
rigging:
skills: [codeatlas-ui, real-tests, atlas-workflow] # pinned versions
mcp:
- atlas # services, logs, affected, work, den den
- { gateway: executor, apps: [github, sentry, linear] }
memory: { provider: ai-memory, scope: project }
policy: { max_permission: ask, providers: [claude, codex] }
per_role:
triage: { mcp: [atlas:read, sentry:read], skills: [] } # least privilegeThree layers, as in the earlier comment: required by the org, allowed by the org, personal. How it reaches the agent:
Secrets stay where they are today: in the gateway or on the ship. The rigging holds references, never values. 3. Memory: adopt the model, add what a company needsDecision [INFERENCE]: memory is a provider in the rigging, and ai-memory is the first one we support, rather than writing our own store. Its model matches ours (local first, files we own, hooks we already emit, no required LLM spend). The Logbook stays the place for work state (claims, known-red, decisions, evidence); memory is what agents learned. What Atlas adds on top, because it knows the project:
4. Risks
Limits of ai-memory that decide how client data is handled (added after review; all from its
So "a captain reviews client text before it is shared" is not enough: these paths send data automatically, before any review. Rules for any project that holds client data [INFERENCE]:
5. Where it fitsOne row added to the structure in part 3:
Order: Open point for Matheus: run ai-memory on one machine for a week with omp and Claude Code on this repo before we commit to it as the first provider. Its claims above are from its docs, not from our use. |
Grand Line, part 5: the Riggers. One team configures the company's AI, everyone else uses it and contributesMatheus's direction: a company should be able to hire people whose job is to structure its AI. Their configuration reaches the whole company: audit, automations, issue triage, support bots. Developers, non-technical staff and crews use it and connect their own harness (Claude Code and others). Non-technical teams also contribute: simple automations, corrections, the knowledge base. [MEASURED] = read in a repo or doc. [SUMMARY] = from search results, page not read in full. [INFERENCE] = my proposal, untested. 1. Why this is the right shape
2. Roles
3. The Rigging is a product with releases [INFERENCE]
4. How non-technical people contribute [INFERENCE]Nobody outside the Riggers edits configuration files. They talk, in Dinghy, and a crewmate turns what they said into a draft pull request in the rigging repository:
Limits that make this safe:
5. One configuration, every use
6. Risks
7. OrderThis adds to part 3's order; it does not replace it.
|
Grand Line vocabulary (approved by Matheus, 2026-11-15)The naming rule: terms of sea and space navigation. When two names fit, the nautical one wins. This replaces the names used in the earlier comments where they differ.
Notes:
These names are under review before any public use as a product name. Inside Atlas they name parts of the product; none of them is a standalone product name or a CLI command yet. |
Bridge: the web panel for whoever decidesApproved name. The Helm is the phone, Dinghy is chat and meetings, Atlas Desktop is the developer cockpit. Bridge is the web panel where a CEO, a director or a Captain sees the whole company on one map, from any browser, with no install. What it shows
What it does
How it is built
OrderIt comes with step 5 of the plan, after the Logbook and the first Island ( |
|
Issue conventions for every Island are now in #412: kind as org Issue Types, priority as the org |
Luan: work requests from any team, through WhatsApp (wiApi)I like the full proposal. One gap I want to close: as written, work enters Grand Line mostly from systems (app reports, monitoring, GitHub). Most of what a company needs done does not start there. It starts with a person, in any team, at any time, in the channel they already use: finance asking for a reconciliation, sales asking for a proposal after a meeting, support forwarding a customer complaint, a director asking for the week's summary. Parts 4 and 5 already make agents serve the whole company (Rigging, Riggers, agents beyond code). This adds the other half: anyone in the company can ask them for work, from where they already are. Proposal
WhatsApp through wiApiwiApi is our own WhatsApp API, so this needs no third party for the channel. What its docs say it already does:
What it does not do, so we would: it does not detect How a request flows:
What exists and what is missing
Rules
Open questions
|
|
Following up on the structure, after reading what the proposal says about data between Islands. The proposal already assumes a level above the project, but does not name it: memory has three scopes, "personal, project, org" (part 4); the Flagship is one per trust boundary (part 3); and "the Logbook, transcripts and decisions never cross projects". So CodeAtlas itself, and a client like Automação Curitiba with its own teams, have no clear place yet. I'd name that level and keep Island as approved:
Example: "reconcile October" reaches the Finance Port on AC's Home Island, and its crewmate works on the ERP and billing Islands. What this gives:
For the |
|
First piece of the per-project squad (Q1 above) is planned for 1.5.0-alpha.28, from a production crew server's request: several crew groups per server, each with its repositories, instructions, secrets, slots and memory caps, pause and export (#801, tracked in #808). The crew design's open question Q2 ("one server is one organization") is revised in #804's design note. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Why
Atlas began as an internal developer platform: one
atlas.yamlsays how a project runs. Development is becoming agent-first: people say what they want, agents change the code, humans review, test and decide. The center is no longer the IDE. It is a conversation about one application, held by agents that know its services, logs, gates and deploys.What we see today:
What Grand Line is
The whole company on one board: every machine, every crew, every agent, every project, steered from the phone. It is self-hosted and local first: sessions go end to end over iroh, with no account on someone else's server.
It is not one more agent harness. It sits above the harnesses people already use and gives them the same configuration, the same memory of the work, and the same rules.
Layers
atlas.yaml: services, actions, gates, health, deployatlas work, Log Pose, DockingPrinciples
git stashacross worktrees, one Docking queue per repo, evidence attached to every change.Decisions so far
Order of work
atlas work claim/land/status).atlas rig status, which only reads.ac. The squad file, and the closed loop from report to deployed fix, with evidence and the reporter's confirmation. Task records store the Rigging version.atlas rig apply, the MCP proxy and the memory provider; more harnesses and handoff between them; Den Den and Vivre Card across ships; Navigator.What would prove this wrong: if, after step 2 on
ac, the time from report to deployed and the human minutes per fix do not fall, the limit is somewhere else and we stop before steps 3 to 6.Still open
Index
Related: #383 (the work pipeline), #289 (Linux and Windows parity).
All reactions