Skip to content

Workstreams

Real tasks do not stay in one repository. A new field in the API needs the app to send it and the docs to mention it. A workstream is how Kestrel keeps a task like that in one piece: a named set of the sessions working on it, wherever each one is.

Workstreams are the best way to keep your work organized in Kestrel. You ask for the whole task once, in one conversation, and you can see every part of it in one place.

A session in a project is the expert on that project (see Projects). It has that codebase’s instructions, tools and environment. It does not have another project’s.

So when a task reaches into another project, a session does not open that project’s files and start editing code it knows nothing about. It defers to the expert:

  1. It writes a brief for the part that belongs elsewhere.
  2. Kestrel starts a session in that project, with that project’s context, to do it. Within one project it can also start a specialist: a session for the design, say, or for the build, on the model you chose for that kind of work.
  3. That session does the work in its own working copy and reports back.
  4. The session you asked tells you the outcome, in the conversation you asked in.

Kestrel holds agents to this. An edit to a file in another project is refused, with the reason, and the agent is told to hand that part to a session there. (You can turn the rule off in Settings → Workflow; it is on by default.)

The result is that every change is made by a session that knows the code it is changing, and you still have one conversation to follow.

Kestrel makes a workstream when delegated work reaches another project. If the session that delegates is already in a workstream, the new sessions join it. Work split up inside a single project does not make one; those sessions are simply drawn under the session that started them.

A workstream only points at sessions. Making, changing or deleting one never moves, stops or deletes a session: each stays listed in its own project.

Workstreams have their own section in the sidebar, above your sessions and projects.

A workstream is drawn as its lead session, the one you asked in, with the others folded under it:

  • The row is the lead session’s own row. Click it to open the conversation.
  • The workstream’s name is the row’s second line.
  • The two buttons at the end of the row open the workstream’s page and its menu. A right-click on the row opens the same menu.

A new workstream is given a colour, which marks its icon and the line down the side of its sessions. Change it, or turn colours off, in Settings → Colours.

To take a session out of a workstream, choose Remove from name in the session’s menu. The session itself is untouched, and the note that appears has Undo. The lead session cannot be removed.

The page is the whole task at a glance:

  • The objective, in a sentence or two.
  • The ticket the work is for, if it was started from one, with its status. See Tickets.
  • Every session as one tree under the lead, with whatever needs you or is still working first.
  • Who is waiting on whom, and why. A session can record that it is waiting for another to finish, and is told when it does.
ActionWhat it does
Mark completeRecords that the task is finished. The lead session can do this itself when everything is done. Nothing is stopped or archived
Archive workstreamTakes it out of the sidebar. Its sessions stay where they are. Available once none of its sessions is working or waiting on you
Archive workstream and sessionsArchives the workstream and every session in it, in one step. Undo brings them all back
Delete workstreamRemoves the grouping. Its sessions stay where they are
Delete workstream and sessionsDeletes the workstream and every session in it. Kestrel asks first, and nothing comes back

Complete is the state of the work. Archive is only whether it is still in your sidebar.

How an agent hands work on, how you choose which agent does which kind of work, and the limits on how far a task can fan out are in Delegation and roles.