Repository navigation
team 0.5.0
The first release since 0.3.5, and the first on npm since it. The file in the clone is the
record: team approve is no longer a command, the commands read the file itself, and a seat
that is already running is written into this machine's registry so the rest can reach it by
name. A send says which channel it took; a team names the project
it sits in; each seat's state and the two sidebar lines beside it say what it is doing and where
that reading came from; and grants, delegates and holds put the owner's decisions where the
commands read them.
Added
-
One output contract, and
team --about. Every command prints under one contract across its
plain text,--jsondocuments,--helpusage and exit codes: a reading opens with
team <project>, session "<session>"(or the project line), prints an uppercase-headered
table, notes and anydifference:/repair:/who:blocks, and closes with one summary line; an
action prints its plan steps under--dry-runand one summary line.--jsonprints one
document per command, itsschemafirst (team.<command>, format 1) and a refusal as a
team.errordocument carrying the contract's exit id and repair; the schemas are published
underschema/. Output is quiet by default: stopped seats wait for--all, repeated notes
collapse to one line with(x<n>), thewhat 0.5.0 must not pretendblock prints only in
team doctorandteam --about, and a deprecation warning only inteam checkand
team doctor, with its repair. Colour reaches a terminal only — never--json, never under
NO_COLOR.team --aboutprints the version, the licence, the docs link and the block;watch
andbrokerkeep their foreground loops and take no--json. -
The registry, and
team register. The machine keeps records of the agents it has seen, the
teams and the projects they sit in, under~/.config/team/.team register <seat>writes the
record for one seat that is already running — a pane herdr places under that name, holding a
CLI at the seat's prompt — soteam send,team seats,team watchandteam downcan
address it. It types nothing into the pane, and a pane change re-records the same agent rather
than a second one: a record's identity is the file's seat under its team, never the pane.
Records are appended, never deleted — a removed seat is marked ended and its history stays
readable — and a record confers no right. The record also carries the seat's pane, which binds
the sender: only a caller standing on the pane its own record names acts as that seat. A send
reads its delivery pane live, by the seat's name, so a pane that closed or was reused since the
record was written is never typed into; a claude-code seat's cross-session socket address is
recorded forteam route. -
team send, and the channels a seat is reached on. One message to one seat, ending in one
confirmed outcome:delivered,answered,held,not-submitted,timeout,unreachable
orrefused. A send walks the receiving seat's delivery order —native,mcp-inbox, then
typedwhen no level of the seat's chain changes it: the entity, the project's registry
record, the team file'sdelivery_orderand the seat's own each may drop a leg or reorder the
ones it keeps, never add one — and this build carries nomcp-inboxleg and opens no socket,
so every delivery it makes goes by the typed leg, and each leg the walk could not take is
recordedunavailableon the history line. A plain send gives the seat the body whole in a
mode-0600 drop file and types one short trigger line naming it — the body is never typed, and
never split — for every seat, Claude Code's included: a socket write to a busy session can land
at its held-message dialog, where the box is blocked, so no path opens a cross-session socket
at all.--wait, which would ride one, is refused for every seat — a Claude Code seat's
refusal names the native leg
(team routeand the caller's ownSendMessage) that will carry a waited send, and any other
seat gets its own reason — and nothing is written. A seat the receiving team file marks
stopped: trueis not addressed at all: the send, its dry run andteam routerefuse it as
stopped, with its own exit id, before a drop file exists, a leg is walked or a history line is
written.
--json,--file,--dry-runand--listround it out. The native channel is the sender's
own half:team route <seat>answers the address a delivery from the sender's cross-session
tool uses — the recipient's agent id, session, CLI and pane, and its socket — and
team send --record <seat> --channel native --ms <n>writes that delivery down, one
via nativehistory line, the body not passing through the CLI. A message's body is written
down in the project's history, whichteam feedreads, with the send-to-outcome milliseconds
and the path it took; the refusal for a seat no record covers names the command that writes
one (team up,team register <seat>).
A seat its file marksassistant: true— one per file, never a seat withcount— is its
entity's assistant, and the routing admits it to the entity's main coordinator: the first mark
found walking the entity's teams in chain order, the entity's own team first and then its other
teams by team id, never a role's name. Send is denied by default: the owner may send to any
agent; an orchestrator to an orchestrator of its own team or of a team in its entity, never
across entities; a team's orchestrator or operator to any seat of its own team; an assistant
to its entity's main coordinator; any seat to its own team's orchestrator; and an owner-signed
sendgrant to what it names. -
The send grammar:
@<nickname>,<seat>@<team>,lead@<team>. One grammar answers
team sendandteam route: an agent id (agt_and twelve hex),@<nickname>,
<seat>@<team>,<nickname>@<team>,lead@<team>, or a bare seat or nickname of the caller's
own team.<team>is a team's registry id, its project or its session, as the record spells
it.lead@<team>reaches the seat its file marksleads: true— never a seat merely named
lead, and never a role's name — and a team with no lead is refused, because there is no one
to deliver to; a roster marking two leads refuses the address, naming both. A nickname is the
file'snickname:line, unique inside its team and free to repeat across teams:
@<nickname>asks the caller's own team first, then the other teams of its entity, and from a
folder that is no team every team the registry holds. Exactly one match sends; several are
refused, each named by the<nickname>@<team>spelling that picks it; none points at
team send --list. A spec two roster entries answer — one seat's name and another seat's
nickname of the same team — is refused naming both, before anything is typed. Every form
resolves to one seat's registry record before admission runs, and admission judges that
record's seat: a nickname added or removed never changes who may reach whom. A full address
reaches another team from any folder — and from a folder that holds no team file, where that
send is the owner's — the receiving team's file judges it, and the drop lands under that
team's.agents; a bare name from a folder that is no team is refused with the forms that
need none.leadis reserved from this release on: no new seat and no nickname takes the
word, and a file written before it that declares a seat namedleadstill loads and answers
its bare name,team checknoting the repairteam rename lead <new-name>. A history line
keeps the address as written: where the caller wrote a form rather than the seat's name, it
carriesspecandresolved(agt_…), andteam send --listprints each seat'sNICKNAME
—-, an@<nickname>in the file's own roster, a<nickname>@<team>in another's. -
A lead from a 0.3.5 or 0.4 file is still the lead. A team whose lead seat still carries the
old role wordcoordinatoris judged by its file, never the word: an orchestrator of the same
entity reaches it bylead@<team>or its seat address, exactly as for a file written for this
release, andteam checknotes the 0.5 word,role: orchestrator, without a difference or an
exit change. -
A held send is retried, not abandoned. When a typed send leaves its drop because the
seat's composer held text, the seat did not take the trigger, or a dialog was up —held,
not-submitted, or anunreachablethat is a dialog — send writes a pending record beside
the drop, and a running watch delivers it on a later pass: only when the pane readsidleor
done, its box is free or holds nothing but that send's own trigger line, and under the
seat's lock, so a retry cannot interleave with a new send. A trigger line the failed send left
unsent is submitted with the Enter and never typed over. The retry is bounded to three tries
within thirty minutes; a delivered retry is written into the history, and a give-up names the
sender and the recipient seat, says why, points at the drop while it is still there and asks
the sender to send it again. A record whose drop file was moved or removed is given up on
rather than typed, and the age bound is applied before the pane is looked for, so a vanished
seat's record still ages out. The send's held, not-submitted and dialog lines name the drop
and the retry — a dialog's readsunreachable now (the screen reads <kind>); a running watch retries it when the seat is idle; the drop file is at <path>— while a send through the
daemon keeps no record a watch reads, so its not-submitted line promises no retry. -
Projects. Entity, then project, then team, then seat. A team names its project in its team
file, a team that names none is its own project, and a team two projects name is refused by
team check, naming both.team projectslists the registry's projects — immutable id,
display name, entity, lead and teams;team status --project <name>covers every team of one
project;team send --listshows each addressable seat's project. Settings inherit through
the four levels — a lower level may tighten, and loosen only where the level above allows it —
and the first project-level setting,seats_cross_teams, decides whether a seat may cross
teams within its project. Within a project the project lead and its teams' leads are admitted
to each other, by capability, never by a role's name. -
The lobby, recorded per session. A team's seats work in its lobby: the file's explicit
lobby:, else the lobby the registry recorded for the session, else
~/.config/team/lobbies/<entity>for a team that names an entity, else
~/.config/team/lobby. The record keeps one entry per session —up --session altrecords
its own, and neither replaces another's — and once a session is recorded, editing the file's
entity:never moves it; a record written before the map reads as one entry. -
Seat state, and the words beside it.
team seatsprints the seat registry: one row per
seat with its stable handle (seat_<12 hex>), role, CLI, model, effort, status, state, source,
last active time and pane;--alladds the stopped rows, and--watchrefreshes the table
every two seconds. STATE is the word —working,idle,blocked,done,held,
unreachable,unknown— and SOURCE is where it was read: the pane's screen, the CLI's own
hook files (cli-hook, valid 24 hours; a working reading carries the 120-second window),
herdr's word, the seat's newest trace (a commit, an ack or a message) or its process; a seat
no source has heard from past the blind threshold readsunknown (blind), and counts as not
working.
team status's rows end in the word a send would use —socketortyped— and
team status --allprints the expanded columns. The pane's two sidebar lines — its workspace
label and the display line under it — are the file's own text, re-applied from the file by
team registerwithout a relaunch, andteam checkreports one that reads as neither. -
team rename, and the seat numbering.team rename <seat> <new-seat>renames a seat in
the live team file and carries what the old name held: the file's references to it — the
coordinator:andoperator:lines, agrant:'sseat:— the registry record under its
agent id, the herdr agent's name, its task leases, pending send-drops, mailbox messages (a
signature this machine can check is remade under the new name), its rules, queue and notes
files, the state's records and the message history, so nothing is left addressed to a name no
seat holds. Comments, order and every other seat stay as written: the edit is by the line,
never a rewrite of the file.team rename --renumber [--dry-run]rewrites every numbered seat
to the width and separator theseat-numberingsetting in force asks for (builder-1→
builder-01), leaves a name with no number plain and skips a seat written withcount; a dry
run prints eachfrom -> to (dry run)and writes nothing. A seat number is read as a number,
so a roster naming the same role and number twice —builder-1besidebuilder-01— is
refused at load rather than left for an address to pick between. The owner orleadsrenames;
a target already declared, a target another seat's nickname holds, a counted seat renamed
partially and a name outside the seat grammar are each refused with the reason. A verified copy
of the file this machine still holds is carried across the rename where the renamed digests
match it, so a rename alone reports no drift. -
Three more launch profiles.
grok,geminiandmusejoinclaude-code,codex,
cursorandantigravity, each with its own screen reading, unattended flags, login check
where the CLI offers one, and tested range. The Claude Code profile is tested with CLI
2.1.288 to 2.1.302. The Antigravity profile is tested with CLI 1.2.16 to 1.4.1.
The Codex profile is tested with CLI 0.157.0 to 0.161.0. -
Jules as a pane seat.
julesjoins the profiles with its 0.1.42 CLI: a send to a jules seat
still writes its drop file, and the body is typed through the CLI's own screens, so a new
remote session on the seat's own repo is the delivery. A seat sends only to the repo of its own
folder; when the account's repo list does not hold that repo, the send is refused with nothing
typed rather than sent elsewhere. The profile never deletes a session: a turn is ended with
ctrl+calone, and every jules seat's rules carryNever delete a Jules session.herdr cannot
report a jules pane's agent, so the profile declaresherdr_status: unreliableand the screen
is the reading — an idle session table is a free seat, a running card a working one — across
status,check,watch,listanddown. -
Grants, and delegates, the owner's alone.
team grant <seat> --scope <acts>sets the team
file's one grant — the seat the file's orchestrator marks, and the complete scope it may run; a
later run replaces it exactly — andteam revoke grantremoves it.team grant <seat|@team> --capabilities <cap,...>writes a standing grant record in the shared grants folder — a seat
resolved to its registered agent's id,@teamto the project's team id — out of the closed
vocabularywrite,read,review,gate,merge,deploy,act-asanduse-broker,
with--expires,--nameand an optional--scopeof paths; a team grant never carries
grant,create,agreeorleads, and naming one is refused with the rule. The records
are signed and read fresh at every use: a revoked or expired grant admits nothing, and
revocation is its own appended record, never an edit of the grant —team revoke <name>
appends it.team delegate <session/pane> --commands <acts>records one pane outside the
team, up to eight, andteam revoke delegateremoves one. A create-grant — a record in
~/.config/team/grants/naming its holder by registry identity,agent:an agent id (agt_
…) orteam:a registry team id, with the paths or entity it covers and its expiry — admits
its holder toinit,up,addandremoveunder those paths until the record expires.
The holder is the caller's own registry record while it is running, placed by the session,
pane and seat it stands as, and a team record admits an agent registered to that team; the
owner, an agentless pane and an unplaced process have no registry record, so no record admits
them. A record spelling a name, a seat, a pane, a session or a runner grants nothing, and one
naming bothagentandteam, or no holder, is skipped with the rule. Every one of these is
the owner's, from a terminal outside herdr, with a--dry-run, and none can widen its own
entry. -
The work queue.
team issueslists the typed records in the one file the team file names;
team nextclaims one, held by a lease in this clone (--mine,--release, and--waitat
the file'stasks.cadence);team planprints the queue a claim would consider and claims
nothing, a passed deadline marked(overdue)and never dropped or reordered; andteam broker
— the owner's foreground process, one per clone — holds the tracker credential and answers
team nextover a local socket, with the
file'stasks.policyfiltering every record before it crosses. A broker runs as the same OS
principal as the seats: that is integrity, not authenticity, and it isolates nothing. -
The rebuilt
team usage.team usagereads the machine rather than one project: every
team it keeps a store for, the caller's own project among them whether or not it holds one, in
one report — each account and window with what is left and used, when it was last read and from
which source, its reserve and its state, under the account table and a closing line that counts
the machine's teams, labs and accounts. Anyone may run it from any folder, and it changes
nothing: no check runs, nothing is written, no credential, key or CLI session file is opened. It
does read the seat panes herdr records and may run a CLI's own usage command where a seat runs
one, bounded by a fifteen-second timeout. The owner at a terminal reads the machine's
subscriptions and the caller's team, and--alladds every team's seat-to-account rows; every
other caller reads the restricted view, a closed list built before anything prints.--tree
adds the quota view between the account lines and the team tables — one block per lab and per
account, each window with its margin and state — while the oneadvice:line, printed either
way, names the accounts with headroom or where a walled seat should move. Shared machine
subscriptions live once in~/.config/team/accounts.yaml, and--jsoncarries the same report
as one document, format 1. -
Around the seats.
team listshows the herdr sessions on this machine — the running ones
unless--all,--seatsfor the active breakdown,--watchto refresh every two seconds;
team feedreads and follows the project's message history,--allmerging every project on
the machine;team messagesverifies a waiting message, prints its body and writes the
receipt;team prockeeps the processes the seats started as a register in the team's state;
team hold <reason>places a note on the team's work (--releaseclears it) thatstatusand
doctorshow;team tempo
sets the watch's pace;team lockandteam unlocktake and release a named machine lock, so
one heavy run holds it at a time;team mcp statusandteam mcp doctorread the MCP bridge's
legs;team ask-showprints one signed ask;team reloadandteam restartbring a later
model or effort edit to a seat already running; andteam worktree listjoins the worktree
set. -
team checkis integrity, not authority. It reads the file, the state, herdr, the
registries and the agents' records, and reports the differences alone, each with its repair: a
reading of whether the records agree, never a grant. No approval, no launch and no right
follows from a clean answer. The owner's--repairis its one write: it drops the state's
leftovers — a record for a seat the file no longer declares, with the pane it claims, and a
session the state holds with no seat of the team in it — re-checks each against the state on
disk, prints onerepaired:line per drop and logs it. Herdr is not asked which records are
leftovers: the state's own claims are the subject. The repair still waits on the live read, so a
check whose herdr cannot answer drops nothing; a temporary seat is never a leftover, and neither
is the file's own session or the one the run checks.
Changed
-
The file in the clone is the record: the commands read it, and
add,removeanddownkeep
going when no approval record exists.team upadmits the owner or the team's lead seat; where
that refuses, adelegatesentry whose commands includeupor a seat the file's verified
grantnames forup. Anyone else is tolddenyand exits 1, and a dry run says what the
real one would (! up would refuse:with the reason,! to unblock:with the owner's run of
this folder, then the plan). -
team upgains--serial, launching and waiting on one seat at a time, and a fresh
orchestrator or operator seat starts in the project folder and every other seat in the team's
lobby. -
The watch runs in a herdr workspace of its own, labelled
Watch · <project>:upends its
plan by creating it and running the watch in its pane, and a bareteam watchfrom the owner's
terminal hands itself there and returns — a--no-nudgeor--no-notifyrun stays in the
caller's terminal. The state records the pane, the pid and the heartbeat;team statusshows
them, andteam checkflags a heartbeat older than two in-force cycles. -
team down --waitgives a working seat up to 120 seconds to come free and leaves one that
never does running; an agent still in the session keeps it up, and a pane is closed only where
the state records it for one seat. -
team statusis gated like the other commands (team status: this team is not yours to read),
prints a hold as its first note, and marks a rate-limited row(rate limit on <account>, resets at <time>); its drift line reports the effort on its own when the model matches and only the
effort differs (<seat>: effort <seen>, file says <effort>), and an effort the file never
declares is never a drift.team doctorprints a hold line and cleans every line it prints of
escape sequences and invisible characters. -
team watchnudges any idle seat, not the operator's alone, and announces a waiting message
withTeam: run team messages; it reports a seat stopped on its provider's connection error or
at a rate limit, naming the account and the reset time, and types into neither screen; a
temporary seat is left as it is for the owner to remove. -
A report meant for the operator stays out of the panes.
team watchwrites it to
.agents/team.logand the desktop notification, never typing it into a free seat; the only
lines it types are a work drop's line naming its file and the message ring, and an attention
report a flickering screen shows is said once, not every other pass. -
team addtakes--modeland--effort(the owner's, on a declared seat) and starts a
temporary seat from--temporary --like <seat> --until <end>;team remove <lead> --keepthen
team add <lead>replaces the agent on a lead's seat without stopping the team, and a removal
by a caller other than the owner leaves the pane running, renamed<name>-left. -
team listshows the registry beside discovery: a registered team and its seats join the rows. -
team worktreegainslistandremove --branch <name>, and reads the live file's workspace
values.team release checkwarns when npm'snextdist-tag points belowlatestand prints
the exactnpm dist-tag addcommand, without running it. -
team check --repairsettles every finding the file alone can settle, in one owner-signed
run: besides the state's leftovers, it re-records each seat an agent registered under dev
mode, clearing the mark the way an owner'steam register <seat>does, and sets herdr's
drifted workspace label and display line back from the file through the same two writes
team registermakes. Each written line is printed asrepaired:and logged as its phase
finishes, and a sidebar write the session refuses prints the line it could not report. A
model drift keeps its relaunch advice: the repair never starts, stops or relaunches a seat,
and it stays owner-only. Under a governing dev-mode policy the check's rows still collapse to
one quiet count, and--repairclears the marks behind it.
Removed
team approveis no longer a command:team upadmits from the live file, andadd,remove
anddownkeep going when no approval record exists.