Skip to main content
Watchfire
Back to blog

Hearth 11.0: many agents, one fire

By Nuno Coração9 min read
On this page

Every version of Watchfire so far has had the same rule, so basic we rarely said it out loud: one agent per project. Start a task while chat is open and chat gets replaced. Want to try something on the side while Run All works through the queue? Wait. Want two tasks done at once? Run them one after the other.

That rule kept things simple. One agent meant one PTY, one worktree and one merge at a time, with nothing to coordinate. But it also meant the orchestrator was mostly waiting. Your machine could run four agents and Watchfire ran one.

A hearth is the fire everyone gathers around, and that's what this release is about. Hearth 11.0 replaces "one agent per project" with sessions. Several agents can now work in the same project at the same time, each in its own place, and the work only lands where you said it should.

Everything here is opt-in. A project that sets none of the new workflow options behaves exactly as it did in v10.

What a session is

A session is an agent at work in a project. That covers everything Watchfire already did, now under one name, in two groups:

  • Interactive sessions are the ones you talk to: the project's chat, plus any session you start by hand with a prompt.
  • Automated sessions run without you: single task runs, Run All, Wildfire, Generate and Plan.

The new part is the session you start by hand. It runs next to whatever the project is already doing and never replaces it. Wildfire can work through the queue while you chat with one agent about a refactor and another investigates a flaky test. Each running agent gets its own slot number, up to 16 per project. The slot is exported as WATCHFIRE_SESSION_SLOT, so agents that start dev servers can offset their ports and not collide.

watchfire session new "Investigate why the auth test flakes on CI"
watchfire session list
watchfire session attach <id>

Where it works: a worktree, or your checkout

When you start a session, you choose where it works.

A new worktree gives it its own branch and folder, the same isolation task runs have always had. When you stop it, the work isn't merged by itself. It waits for you to say what should happen to it.

The main checkout puts the agent straight into your project folder, on whatever branch you have checked out. There's no branch, no worktree and nothing to finish: its edits are just there when it's done, like chat's. This is the "fix this typo while I watch" mode.

watchfire session new --main "Rename the config loader and update callers"
watchfire session new --from release/2.4 "Backport the retry fix"

--from starts the session's new branch from any local or remote branch, and a pull request opened when it finishes targets that branch. That makes backports and fixes on a release branch a one-liner.

Finish actions: deciding where the work lands

This is the part that changes how Watchfire fits into a team. Until now, finished work had one destination: merge into your checkout, or, with auto-PR, open a pull request. v11 makes the destination explicit and lets you set it per project or per task:

ActionWhat happens
askNothing yet. The work waits for you to choose.
prCommit, push, open a pull request (optionally as a draft).
pushCommit and push the branch.
mergeMerge into the branch checked out in your project.
keep_branchCommit, remove the worktree, keep the branch.
keep_worktreeCommit and leave everything where it is.
discardThrow it away (only when you explicitly choose it).

A session you start by hand defaults to ask. Everything else follows the project's setting, which you set with watchfire workflow or the Workflow section of project settings.

One rule we were strict about: if a pull request or push can't be completed, nothing falls back to a local merge. The work stays exactly where it is, the task waits with the reason, and you get a notification. An orchestrator that quietly merges into main because gh wasn't logged in is worse than one that stops and tells you.

Around that, the workspace itself is now configurable:

# .watchfire/project.yaml — all optional
finish_action: pr
pr_draft: true
base_ref: upstream/main          # new branches start here
branch_template: fix/{issue}-{slug}
worktree_root: ~/.watchfire/worktrees
setup_command: npm ci            # runs once per new worktree, before the agent
max_parallel: 3                  # default Run All lanes

A task's branch and worktree are chosen the first time it runs and stored on the task. They're never worked out again, so renaming a task can't point it at a different branch. If a branch name is already taken, Watchfire adds -2 rather than taking over a branch it didn't create.

Parallel Run All

With sessions in place, Run All gets lanes:

watchfire run all --parallel 3

Three agents work through the ready queue at once. Each lane picks the next ready task nobody else is working on and keeps going in its own slot. Picking the next task is locked per project, so two lanes never grab the same one. The GUI has a lanes control next to the Run All button.

Wildfire stays single-lane on purpose. Its refine and generate phases read what has already been merged, and running them in parallel would mean planning against a codebase that's about to change under them.

Pull requests that Watchfire keeps an eye on

Opening a pull request is easy; the hard part is what comes after. For every pull request a finish action opened, the daemon now follows it: every few minutes it reads the PR's state, checks and review verdict through gh. That's read-only, so it needs no webhook and no admin rights, and it works on repositories you don't own.

When checks fail or a reviewer requests changes, the task moves to Needs attention and you get a notification. When the PR is merged, the local branch Watchfire kept for it is cleaned up.

Then there's Follow up. Click it in the GUI or TUI, or run:

watchfire pr fix 42

Watchfire opens a session on the pull request's own branch, with the failing checks and the review comments as its prompt. Review text is marked as written by other people, so the agent knows it's input, not instructions. Finish it with push and the pull request updates. Follow-ups are always started by a person, never automatically: a reviewer's comment should never quietly kick off an agent.

The loop now closes the other way too. watchfire task import (or Import in the Tasks tab, or g in the TUI) turns GitHub issues into draft tasks, and a pull request opened for one of them closes the issue when it merges.

Working in someone else's repository

watchfire init --work-repo sets Watchfire up in a repository you contribute to but don't own. Nothing is committed: .watchfire/ is hidden through the local git exclude file rather than .gitignore. Combined with push_remote, pr_base_repo and base_ref, that's a full fork workflow. Branches start from upstream, get pushed to your fork, and open pull requests against upstream, and the project never learns Watchfire was there.

History, and picking up where you left off

Sessions that have ended now stay around. The Sessions tab has a History list: one row per conversation, newest first, with when it ended, how long it ran, which agent, and how many tokens it used. Pick one and you get its transcript drawn as a conversation rather than a terminal dump. Your messages are set apart, replies are formatted with code blocks, and runs of tool calls fold into one line like "Bash ×3 · Read".

Every past conversation also has a Resume button. It starts a live session that continues that conversation, in the folder it ran in. For Claude Code sessions, Watchfire keeps its own copy of the transcript, so a conversation Claude has already pruned can still be resumed. Resumed sessions join the conversation they continue, so a chat you've picked up three times shows as one row ("resumed 3×"), not three.

A new layout to hold it all

The GUI project view is now one row of tabs: Sessions, Tasks, Definition, Insights, Worktrees. A project opens on Sessions: a toolbar to start either kind of session, the session list grouped Interactive / Automated, and the selected session's terminal beside it. The tab shows a count of what's running or waiting, and turns amber when something needs you. This replaces the v8–v10 split view, the chat on the left with a reference panel on the right, which didn't scale to more than one agent.

Worktrees replaces Branches. It lists every worktree Watchfire made, shows which ones a running session is using (and won't let you merge or remove those), and still lists branches whose worktree is gone so they can be merged or deleted.

The TUI got the same treatment: tabs across the top (1–4), Sessions first, n for a new session, r to resume a past one, Enter to attach.

Insights count sessions, not just tasks

Insights used to lead with "tasks done", which undercounted badly once chat and hand-started sessions became real work. They now lead with sessions run, lines changed, tokens spent and agent time. Tokens are added up from each session's transcript (input, output, cache reads and writes) when it ends. Only Claude Code transcripts carry usage today, so every surface says how many sessions a total is built from when that's not all of them. The always-empty Cost figure is gone.

Sessions per day is now a calendar grid, one square per day, and Insights open on all time by default.

Sessions everywhere else

  • MCP: three new tools, list_sessions, start_session and stop_session, which bring the catalog to 25. start_session is the first MCP tool that never refuses because an agent is already running. An outer agent can now fan work out across parallel sessions instead of queueing behind run_task.
  • Telegram: /sessions lists them in the same two groups, and /session [main|worktree] <prompt> starts one from your phone. The live relay and approval prompts still follow the project's main agent.
  • Stop means stop the run. Stopping from Telegram, the tray or stop_agent stops the main agent and every parallel lane, and leaves sessions you started by hand alone.

Fixes worth knowing about

  • The CLI no longer dies with "Killed" after the GUI updates it on macOS. The GUI used to copy the new binaries over the old ones in place. If watchfired or watchfire mcp serve was running at the time, macOS killed every later run of that file. It now writes the new binary next to the old one and renames it into place, and repairs a CLI that's already in that state.
  • git works inside the Linux Landlock sandbox again. Every sandboxed git command had been failing because /dev/null wasn't writable.
  • An agent that rewrites its task file no longer loses the daemon's bookkeeping. Branch, worktree and source are snapshotted when the agent starts and put back before the finish action runs.
  • A merge is refused while the checkout has uncommitted tracked changes, instead of resetting them away.
  • Two main-checkout sessions no longer swap transcripts. Each now has its own session name.

Upgrading

Run watchfire update, then restart the daemon, because the new surfaces need it:

watchfire daemon stop && watchfire daemon start

The GUI, TUI and CLI detect an older daemon, say so, and hide the session features until it has restarted.

This post was written in a hand-started worktree session, next to whatever else was running in the project that afternoon. It's waiting for a finish action now. Full details are in the changelog.

More posts

Firestorm 9.4: the tofu and the bell

3 min

Two GUI issues had been sitting open: every Nerd Font icon in the embedded terminals rendered as a missing-glyph box, and the notification bell was a read-only list with a count that only ever went up. 9.4 closes both. The font fix is a small lesson in how Chromium resolves glyphs; the notification fix is a small lesson in never shipping a badge without a way to clear it.

Torch 10.2: the agent that was waiting for you

7 min

An agent parked on an approval prompt used to be invisible — no banner, no status, no message, just a session that had quietly stopped. Torch 10.2 teaches the daemon to see Claude Code's approval dialogs, shows them on every surface, and lets you answer them from Telegram with a tap. Along the way: 10.1's four-bug story of why /login said "Login successful" and wasn't, the Telegram bridge over MCP, and a watch relay that stops cutting commands short.

Torch 10.0: Watchfire in your pocket

7 min

Torch pairs a Telegram bot with the daemon so you can supervise every project from your phone — and not just with commands: just type in a paired chat and you're talking to a chat agent, with the replies streaming back. It works with no public endpoint, no tunnel, and no port forward, because the daemon dials out. Around the tentpole: a definition-retrofit mode, batch quick-add, and a burn-down of long-standing friction.