A Team

This page is for the person who sends work to agents and wants to know what a team will do with it. After reading it you can answer, for any team, what it is for, who is in it, what happens to a card, when it asks, how far it goes and how to send it work.

A team is whoever does a card's work: one agent, or several working together. You do not build teams in Tack. An agent keeps its own teams and tells Tack what they are, and Tack shows you exactly that.

The Agents page, under Teams, has a sheet for each team an agent reports, with one heading for each of the six questions; each section below says what that part of the sheet holds. Two of the answers depend on a project (how far a team goes in it, and which of its roles send it work), so choose the project at the top of Teams to read them.

Teams of several members come from docket. Claude Code, Codex and opencode are single agents, and Tack counts each as a team of one: it has a sheet of its own, marked A team of one, that reads "One agent, claude-code" with the model it runs on. Such a team delivers a branch, has one way of working (the agent's own loop), and needs only that the agent is signed in and, where it will not choose one, that a model is named. Profiles that name no agent are listed under Profiles with no team.

How a profile chooses its agent and team is in Automating a Project; how docket is installed is in Installing and Operating Runners.


What is it for?

The top of a team's sheet says which agent runs it ("Run by Docket"). Under What is it for? are a badge with the team's shape, as the agent names it, where it works, and what it hands back when a task ends:

  • Works in this repository. It writes a branch of your project, and the run ends with changes you can review and merge.
  • Works in a folder. It writes a report, keeps a list or researches. There is no branch to give back, so the run ends with what the team's last step said it did, and nothing to merge. See Teams and docket.

A team that keeps record sets lists them with how many rows each holds. A team that names no profile has Make a profile for this team at the foot of its sheet.

Who is in it?

The members are rows; a team of one reads "One agent" and the agent's name instead. Each member shows the job the agent gives it, the model it runs on, and up to two icons: Reads only or Changes the project, and Can propose items. The job named on a member is the team's own word for what that member does. It is not a role of your project: your roles say which area of the board a card belongs to, a member's job says who inside the team does a step.

What happens to a card?

The sheet lists the methods the team offers, the ones a task can name first. It marks the one a card goes through when it names none, which is the team's own pipeline once a recipe has been applied to it; a team made from a shape and given none has no method marked. A method with no member for one of its steps reads "Cannot run: no member plays reviewer", and so does a method whose file does not load ("Does not load"), because docket refuses a task that names either one. The steps of the team's pipeline are drawn in order, each with who does it and what checks it. A step that waits for a set time is a dashed box of its own. Where a failed check sends the work back, and how many times, is on the step: "sent back to write up to 2 times". So you can read from the card what a task goes through before anyone calls it done: written, reviewed by another member, checked by a command.

A profile can also name a different way of working for each kind of card, for example one for bugs and one for features. The sheet reads them back ("A bug goes through tdd (Implementer)"). They are set in the profile's editor, under Method for each kind of card: when the team says which ways of working it has, each kind gets a choice among them, and otherwise you type the name and nothing checks it until a run. Saving a profile that names a way of working the team does not have is refused, naming the ones it has; a way of working whose steps the team has no member for is saved with a warning that stays on the form, and a run of it is refused until the team has the member. A profile that runs a single agent has one way of working, its own loop, and the field is there, greyed, saying so. The same names can be written in the project file.

What the team did with a particular task is on the task's Execution tab: each step, who did it, what it was given, and how long it took. See Reviewing a Run.

When does it ask?

The sheet gives the team's Supervision. It says Runs to the end by itself or Stops to ask a person, with what to change in docket so that it runs to the end, and says whether the team reaches the network and whether it proposes items. A team that stops to ask limits how far Tack may merge by itself: see The ceiling.

Three more lines say what the team has to read and what it still needs:

  • Web says how the team reads the web, in docket's own words, and the change that gives it the web when it reads none.
  • Search says which web search the team has (SearXNG, Brave Search, your own service or none) and whether it is ready. When it is not, the line gives the one docket command that makes it ready, and for a team with none, the other way to set one up. A team without a search still runs, only with less to go on. The search is set up on docket's computer with those commands, and the Brave key stays there: Tack never sees it.
  • What the team's work still needs reads "The operator still has to…" with what to do, for example signing an agent in on the runner's computer; a need already met reads "Ready". A need the team says only makes its work poorer, such as a research team that cannot read PDFs, reads "Runs without it, with less…" and does not stop a run: Run with agent says what the run will lack and still starts.

What the team has learnt

A docket team also learns about its work. After a task it may note a fact about the repository: a file that is generated, a tool that works, a pitfall, a convention. docket accepts by itself what it can check (a path that is there, a command whose exit status it saw), refuses what it can see is wrong, and holds back the rest until you decide.

The sheet shows both under What it has learnt (newest first, an entry whose file has since gone marked Stale) and What it waits to learn. Each waiting entry gives the two commands that decide it, with a Copy button: docket pod memory approve <id> --pod <team> and docket pod memory refuse <id> --pod <team> --reason "<why>".

When your docket can decide an entry from the board, Approve and Refuse on the sheet do it: Approve makes the team use the entry from its next task, Refuse asks you why first (the team keeps your reason with the entry), and the entry leaves What it waits to learn at once. With an older docket the two buttons are greyed and say that docket decides this with its own command for now. If the entry was decided elsewhere meanwhile, the sheet says it is no longer waiting.

A waiting entry is also in your Inbox, as Needs you: pressing it opens the team's sheet, and it closes once the entry is decided, however you decided it. A team's memory asks you in the projects that use that team: a project uses it when one of its roles, or its default profile, runs a profile that names the team, and the inbox then has one line for that project. A team no project uses asks nobody, and the sheet still shows its memory. Changing the role away from the team closes the line. The board hears of a change when the computer next reports its teams, which takes a few minutes. A team whose docket does not offer this shows no memory.

Questions during a run

When a team asks, the question waits in the Now panel and on the task's Execution tab, under Needs you. Answer it there, or in docket's own command, and the question closes either way. A team about to do something that leaves it, such as sending an email or posting somewhere, shows the whole action before you answer, and Tack never asks you to approve one it cannot show. See Asking before acting.

How far does it go?

Three limits apply at three levels, and each says who applies it:

  • The run. A token limit on the run, from the profile, the dialog or the project's provisional limit. Tack applies it to a single agent; docket applies it to the whole task for a team. See Token limits.
  • A step. The rounds, tool calls and time one step may take are docket's own guards. A step that runs out says which limit stopped it and where to raise it, and you choose Continue or Start over. See Reviewing a Run.
  • The team. A team may have a budget of its own in docket: the tokens it may spend, what it has spent and the span they are counted over. When it is spent the team is Paused: budget spent: it starts nothing, and a task sent to it waits. Resume team on the team's sheet lets it start again, and the waiting tasks go on. It works when your docket can resume a team from the board; with an older one the button is disabled and says so, and the sheet shows docket's own command instead. Resuming does not change the budget: while it is still spent in the span it counts over (all time, each day or each week), the team is paused again at its next step. The sheet says so, and gives docket's command that raises the limit, which also resumes the team. When a day or a week has begun again nothing is counted yet, and Resume team is all it takes. If docket refuses, the sheet shows its sentence.

A task's Limits section lists the levels that apply to that run, each with who applies it: the run's tokens ("applied by Tack's runner" for a single agent, "applied by docket" for a team), the step's own bounds when a step ran out of one, and the team's budget. A level the agent did not report is not listed, so a run on a single agent shows one.

For the project you chose, the sheet also says whether the team's tasks stay at a level where a person merges, and what to change if you want otherwise, and the most the project can reach with the teams it uses. It names the folders the team's sandbox may read besides its own. A line the agent did not report reads "Not reported by Docket", so "no network" and "the agent did not say" are never mixed up.

How do I send it work?

The sheet lists the roles of the chosen project that send work to the team, and the profiles that use it; press a profile to edit it. A card goes to a team through a profile, and a profile through a role:

  1. Create or choose a profile whose Team field names the team. What this profile does says whether a run of it changes the repository. Custom (the choice for a new profile), Implementer and Reviewer work in it; Researcher and Planner do not. A team that delivers a report, with no repository, takes only a profile that does not work in it: the built-in Planner and Researcher, or one of your own set to either.
  2. Under Settings → Automation → Who, point a role of your project at that profile.
  3. A card with that role goes to that team: when you press Run with agent, which says "Chosen by the role" and the role's name, or by itself, if When starts tasks by itself.

If the team cannot do what the run needs, Tack says so before sending anything, with the reason and the change that fixes it: for example, "The team saas-research cannot reach the web and this run needs it", "The team saas-plan cannot propose items and a Planner delivers nothing else", "The team saas-research delivers a report and this run changes the repository", "The method secure-build cannot run on the team saas-build: no member plays security-vetter, and docket refuses a task that names it", or "codex is not signed in on the runner". The run reads Not started, not Failed: nothing was sent and nothing was used. Tack checks only what the team reported. A fact it did not report is never a reason to refuse.

To split a large piece of work across teams, make it a parent card with sub-items, each with the role of the team that should do it (see Working with Items). Items an agent proposes for a plan are always yours to accept: see When an agent proposes changes.