multi-agent coding terms
short definitions of the words that come up when several developers’ coding agents share one repository: agentmash’s own, from room and advisory to claim, strict mode and the crew, then the git, merge and coordination terms around them, from git worktree and semantic merge conflict to advisory lock and shared-state coordination. each ends at the page that says more.
- room
-
one live room per repository. every prompt, edit and claim its developers’ agents report goes there, and the live view shows it. a repository connected on the website opens its room to everyone who can push to it.
- advisory
-
the paragraph a hook puts into an agent’s context before it edits a file a teammate’s agent changed: what happened, then what to do about it, worded by how serious it is. where a tool drops what a hook adds, as Cursor does, it is the reason the agent’s first edit of that file is refused, and the retry goes through.
- the five levels
-
how loud an advisory is, loudest first:
ACTIVE COLLISION,STALE READ,PARALLEL EDIT,RECENT EDITandNEARBY EDIT. only the loudest says someone is in the file with you. ACTIVE COLLISION-
the same file, their change already in your working tree, written five minutes ago or less, and they’re still around; or a confirmed symbol overlap with a change in your working tree, whoever is around (from another branch or clone, a confirmed overlap is
PARALLEL EDIT). the agent re-reads the file and rebuilds its edit. STALE READ-
the same file in your tree, five minutes or less, but the teammate is gone: silent, or their session ended. the same re-read, with no claim that anyone is editing alongside you.
PARALLEL EDIT-
the same file, their change on another branch or in a clone of their own. nothing to re-read: the agent keeps the edit additive, doesn’t reformat or reorder, and names any divergence in its reply.
RECENT EDIT-
the same file, their change in your working tree and older than five minutes. the agent re-reads only if its edit depends on lines they may have moved.
NEARBY EDIT-
a different file in the same directory, on a server that runs with
AGENTMASH_SCOPE=dir. one sentence, for awareness. - claim
-
an agent saying which paths it’s about to change, through the
claim_worktool, before it writes, and learning whether someone already has part of them. advisory, never a lock. on a branch of its own it stands until that branch merges, a week at most; on the default branch it expires on its own (two hours by default, eight at most), ends with its session, and can be released early. in Cursor and Zed, where no agentmash hooks look at branches, a claim on a branch lasts like that too. - overlap notice
-
what the person at the keyboard is told, once, when a session finishes having changed a file a teammate also changed: whose change it meets, and that a person decides how the two come together. it only ever advises: it never stops the agent finishing, and never tells it to fetch, branch, push or open a pull request.
- symbol overlap
-
a collision found by name, not by path: the hooks send the exported names an edit changed and what a file imports or exports, so a change to
createUserreaches an agent about to edit a file that imports it, within the conflict window (30 minutes by default) and when the edit reported its names (Claude Code’s edits usually do; a Codex patch and Cursor’s edits don’t). it reads the JavaScript and TypeScript family, and each match carries a confidence: high, medium or low. - presence
-
whether a teammate is actually there: working, idle, silent (nothing for longer than the idle window, and the session never said goodbye) or session ended. only silent and session ended make an advisory quieter.
- task hint
-
the first 500 characters of a developer’s prompt, sent with their events so teammates know what they’re doing, not only which files.
AGENTMASH_HINTS=0keeps yours on your machine, except what a lobby session you share is on. - strict mode
-
AGENTMASH_STRICT=1: the advisory becomes a block. the edit is canceled until the agent acknowledges that one collision with a reason that names something from it. - hot zone
-
in the weekly digest, a file that drew two or more developers and four or more edits in the period, two of them by different people 48 hours apart or less. a directory is hot when it clears the same bars and no single file in it does.
- work block
-
in history, one session working on one task without a break: twenty edits to one file under one prompt is one block. it ends when the session goes quiet past the idle window, or a new prompt asks for something else.
- digest
-
a weekly summary of the room, to your terminal, slack or telegram: who worked on what, where work concentrated, the hot zones, and what stalled. prompt text is left out unless you ask for it. run it in your repo:
npx agentmash digest. - crew
-
22 ready-made Claude Code agents, one for each job, with mash conducting.
- mash
-
the crew’s conductor, on every team.
- team
-
some of the crew under a name you choose, written into your repository as agent files, with mash on every one.
git, merge and coordination terms
the words people look up when several agents share a repository, each with where agentmash sits beside it. the definitions that cite another source were read there on .
- git worktree
-
a second working directory of one repository, with its own files and branch, sharing the repository’s history:
git worktree addmakes one, and by default git checks a branch out in only one worktree at a time. Claude Code (--worktree) and Cursor (its Agents Window,/worktree) can give each session one, so that agents running side by side on one machine stop editing the same files on disk. agentmash works across them for a team: every worktree of a repository reports to its one room, on its own branch, and a teammate’s change to the same file on another branch reaches your agent before it edits, within the conflict window or, while their branch isn’t merged, once a session for up to a week, in the agents that hear the advisory before an edit. your own agents in two worktrees both report as you, so by default neither is warned about the other. - semantic merge conflict
-
two changes that merge without a textual conflict and still break the program together, as Martin Fowler describes them: one branch renames a function or changes what it does, another adds calls that expect the old one. git merges by text, so it reports nothing, and the break turns up later, in a typed build, or in a test if one covers it. agentmash warns about one kind before the edit, in JavaScript and TypeScript: a teammate’s change to an exported name your file imports, made inside the conflict window (30 minutes by default) by an edit that reported its names, reaches your agent as a symbol overlap, in the agents that hear the advisory before an edit.
- merge skew
-
the number of commits on the trunk ahead of a change’s merge base, as Graphite’s guide defines it. the guide’s point is that CI which passed on a pull request checked it against an older trunk, so two changes that each passed can still break the trunk together, and rebasing a change onto the latest trunk brings its skew to zero. agentmash doesn’t measure skew or merge anything; in the agents that hear the advisory before an edit, it tells your agent about a teammate’s change to the same file inside the conflict window or on their unmerged branch, or, in JavaScript and TypeScript and inside the window, to an exported name your file imports.
- merge queue
-
a queue a pull request is added to, by someone with write access, once it has passed the branch’s required checks, which checks it again against the latest target branch and the pull requests ahead of it before merging, so changes that only break together don’t land on a busy branch. GitHub’s merge queue works this way, at the end, on finished pull requests. agentmash works earlier, before an agent edits a file a teammate’s agent changed, and never merges anything, so the two cover different moments, and a team whose plan offers a merge queue can run both.
- advisory lock
-
a lock nothing enforces: it means something only to the programs that agree to check it, and a write goes through whether or not anyone asked. in PostgreSQL, for one, the application gives each advisory lock its meaning, and one taken for a session is held until it’s released or the session ends. agentmash’s claims are advisory in that sense, and they end on their own. an agent that claims paths, through agentmash’s MCP tools (which Claude Code has where the repository registers the server), learns whether a teammate already has part of them, and an agent that hears the advisory before an edit is told whose claim a file is under, in Cursor as a refused first edit that its retry gets past. the edit still goes ahead in strict mode too, which blocks an edit into a teammate’s recent change, never on a claim or on older branch work.
- intent conflict
-
two agents’ plans for the same code colliding before either writes it. Foremerge’s homepage uses the term: its agents share what they intend, their claims and their planned changes through one store, so plans collide there instead of in a merge, and the store is one database under the repository’s
.giton one machine, shared by its worktrees there. agentmash’s nearest equivalent is a claim: paths and a one-line task, which the room holds for every developer in it, on any machine. most of what agentmash tells an agent comes from edits already made. -
agents coordinating through a store they can all read and write, with no central coordinator handing out work. Anthropic’s post on multi-agent coordination counts it among five patterns, with generator-verifier, orchestrator-subagent, agent teams and message bus. without explicit coordination, the post says, agents on shared state can duplicate work or take contradictory approaches. agentmash’s room is shared state for a team: each agent the login gives hooks to reports its edits there and, where those hooks allow, is told about a teammate’s change before it edits the same file, and claims, where an agent has agentmash’s MCP tools, are the explicit part, dividing the work before anyone writes.