Repository navigation
Release Notes
cohors 0.9 is about the work coding agents leave where nobody looks: in git worktrees, and on branches that were never pushed. This release covers 0.8.22 through 0.9.2; each version's full notes are under "Also in this release".
One repository, with its worktrees as the rows
Pointed at a single repository (cohors --root .), cohors used to show one row. It now lists that repository's checkouts: the main one and each linked worktree, with its branch, the commits it holds that are on no remote, its uncommitted files and the agent session that ran there. P on a worktree's row pushes its branch, and a asks to reopen its session. A first run typed inside such a repository opens it.
Work left in worktrees counts as work at risk
Commits and files sitting in a linked worktree are read with their repository and get a step of their own under Do next. A commit two worktrees share is counted once. In a fleet, the repository under the cursor lists its worktrees beneath its row.
Fetch, pull and push ask first
In the dashboard each of them now says what it will do and to how many repositories, and waits for y. Pull is p and push is P, one Shift apart, so a stray key could publish a branch. It no longer can.
Smaller answers for a coding agent
The MCP tools answer in brief by default, several times smaller, with detail: "full" for every field. --report prints the plain report to a pipe with nothing cut.
Also
- With the Claude Code plugin, a session that starts in a repository with work left behind gets one short note. One setting turns it off.
- Opening the dashboard installs a newer release first and opens that version, when cohors keeps itself up to date.
- The dashboard repaints its whole screen every ten seconds and on Ctrl+L, and git can no longer prompt across it.
cohors --helpis plain text on a pipe, every failure readscohors: ..., andcohors nextwraps between words.
Install cohors 0.9.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rushirb2001/cohors/releases/download/v0.9.2/cohors-installer.sh | shInstall prebuilt binaries via Homebrew
brew install rushirb2001/tap/cohorsInstall prebuilt binaries into your npm project
npm install @cohors/cli@0.9.2Download cohors 0.9.2
| File | Platform | Checksum |
|---|---|---|
| cohors-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| cohors-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| cohors-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| cohors-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Also in this release
0.9.2
Fixed
- A brief MCP answer left out what a worktree's row holds. When one
repository is the whole fleet, each worktree is a row with alinkedfield
(its repository's main checkout, and its commits on no remote). The brief
form oflist_reposdropped that field, so an agent saw the row without
its count. It is kept now. - The package pages say what is new in 0.9, on npm, PyPI, crates.io, the
container registry, the editor extension's page and the Claude Code
plugin's. The container page listed 0.7 tags and the extension's page still
described 0.7.7. - The README said a step's letter acts on every repository in it, and that
only commit and stash ask first in the dashboard. Fetch, pull and push ask
too, and it says so.
0.9.1
Added
- On a fleet, the repository under the cursor opens in place. In the
repository list (Enter from the Repositories card), the repository the
cursor is on now lists its linked worktrees under its row, in the table's
own columns: each one's branch, the commits it holds that are on no remote,
its uncommitted files, its age and its last commit. Every other repository
stays one line, and moving the cursor closes the one you left. A repository
with many worktrees lists the first few and counts the rest. The lines are
for reading: to push a worktree's branch or resume its agent session, open
that repository by itself withcohors --root <its folder>.
0.9.0
Added
- One repository, with its worktrees as the rows. Pointed at a single
repository (cohors --root .), cohors used to show a dashboard with one
row. Now its checkouts are the rows: the main one and each linked worktree,
with its branch, the commits it holds that are on no remote, its uncommitted
files and its age. Everything the dashboard does for a repository it does
for a worktree's row: its changed files,oto open it, andPto push its
branch, which is how the work in it gets backed up (it asks first, and
publishes a branch that was never pushed). The words follow: "5 checkouts",
"Push 68 commits from 5 checkouts". - A first run inside a repository opens that repository. With no config
yet,cohorstyped inside a repository that has worktrees (from its main
checkout or from inside one of them) shows that repository and says how to
see every repo. Once a config exists, plaincohorsis your fleet as
before. - The agent session behind a worktree. In the one-repository view the
selected worktree's card says which agent session ran there and when, and
aasks to reopen it in that folder. On the main checkoutais the
launchpad setup it always was.
Changed
- When the rows are one repository's checkouts, every surface reads them that
way:cohors overview,cohors scanand the MCP tools list a worktree as a
row with alinkedfield (its repository's main checkout, and its commits
on no remote), and theaheadselector matches a worktree that has commits
to push. A fleet of several repositories is unchanged: there a worktree
stays in its repository's own list. - A worktree's row does not repeat what belongs to its repository: the stash
list is reported once, by the main checkout, and a worktree counts as its
commits only what the main checkout does not already have, in the weekly
chart and in the standup.
Fixed
- A linked worktree listed as a row read "never fetched" beside a main
checkout fetched a minute earlier. Git keeps that stamp per checkout; what a
fetch brings in is shared, so the newer of the two is used. - A session held in a worktree kept outside its repository's folder matched
no repository and was left out ofcohors next. It belongs to that
worktree's repository.
0.8.31
Changed
- In the dashboard, fetch, pull and push ask before they run. Each used to
start on its key.ppulls andPpushes, one Shift apart, andF(fetch
everything) is typed with Shift held, so a pull meant after a fetch could
arrive as a push; and Enter on Do next ran whichever step a fetch had
just moved under the cursor. A branch was pushed that way without anyone
choosing to. Now every one of them opens the same dialog commit and stash
use: what will happen, to how many repositories, their names, andyto go
ahead. Any other key backs out, so a stray keystroke does nothing. This
coversf,p,P,F, a step's own key and Enter on Do next, and
:fetch,:pulland:push. A push says how many commits leave this
machine and how many branches reach their remote for the first time.
Pushing one repository that has several branches still opens the "push
which branch?" picker, which waits for Enter as before. The command line
(cohors pushand the rest) already listed its targets and asked.
0.8.30
Fixed
cohors nextbroke its lines in the middle of words. A reason longer
than the terminal was printed as one line, so the terminal cut it wherever
it ran out ("neither a push nor a fast-forw" / "ard pull will work") and the
rest started at the left edge. A long title or reason is now broken between
words and continues under its title. A command is still left whole, so it
copies as one line. Read by a program (--reporton a pipe), nothing is
wrapped.
0.8.29
Fixed
- A report read through a pipe lost reasons.
--reporton a pipe (how a
coding agent reads cohors) cut each repository's reasons and each step's
title to a 96-column row, so the third reason of a busy repository was an
ellipsis the agent had to ask again for. A program has no screen to fit:
it now gets every reason and every title whole. A terminal still gets them
cut to the row. - Failures did not all look like cohors'. Some said
cohors: no repository matches ...and others Rust's ownError: .... Every failure
now readscohors: what went wrongon one line, with the same exit code
as before. - One long step squeezed every step's reason. In the dashboard's Do
next card the title column was as wide as the longest title, so a single
long one (the worktree step) cut the reason of every other row. A title
much longer than the rest now runs on in its own row and the others keep
their reasons. Titles of similar length are laid out as before. - A repository with several reasons lost its path. The signals card
of the repository view listed the reasons, then the last commit, then the
path, and three reasons pushed the path off the bottom. The card now closes
up first (no blank lines, then label and value on one line), which fits six
reasons with the last commit and the path still showing. cohors doctorhad a line nobody could read. "Set up: not by a first
run" now says "not yet" and points at the section that explains it.
0.8.28
Fixed
- Commits shared by two worktrees were counted twice. When one agent's
branch is cut from another's, both worktrees hold the first one's commits,
and cohors added each worktree's count to the total. On a fleet with nine
worktrees it said 359 commits were on no remote where git has 293. Every
total now counts a commit once: the step in Do next, the reason on a
repository's row, the not backed up figure, the note at the start of a
Claude Code session and the MCP answers. Each worktree still says how many
commits it holds, andcohors showadds "also in a worktree above" where
some are shared, so the list does not seem to add up to more than the total.
A worktree's JSON has a new field for this,unpushed_unique. cohors demodid not show work left in worktrees. Its sample fleet had
none, so the dashboard's newest step never appeared in it.web-appnow has
two worktrees an agent left, with six commits that are on no remote and
three uncommitted files, which puts it under Work at risk.- "pass --root" was the advice to someone who had just passed it. When no
repository is found, every command now says the same thing, which fits both
cases:Pass the folder that holds your repos with --root <dir>, or run cohors init to find them. cohors --helpon a pipe carried colour codes. Read through a pager, a
script or a coding agent, the top-level help had escape sequences around
every heading and flag. It is plain text there now, as every subcommand's
help already was. Its Start here line was also cut mid-word and now
fits an 80-column page.- The step about worktrees said that removing one deletes what was never
pushed. Removing a worktree keeps its branch; it is cleaning up the branch
too that loses commits. It now says cleaning it up can delete them.
0.8.27
Fixed
- The dashboard opened on the old version when a newer one was out. cohors
looked for a release in the background, after the dashboard was already
open, so the run that found the release was still the old version and you
had to press R, or start it again, to get the new one. Now, when
you open the dashboard, cohors first asks whether a newer release is out,
installs it, and opens that version. One line says so while it downloads.
It waits about a second to hear and up to twenty seconds for the download;
on a slow or missing network the dashboard opens at once on the version you
have and the update carries on behind it, as before. Only cohors' own
self-updating copy does this (the one every Homebrew, pip, uv, npm, cargo
and shell-installer copy hands over to), only withupdates = "auto", and
never for a one-off command, the MCP server, a hook, CI or a build from
source. - The notice about a newer cohors was missing from two screens. The start
screen (cohors --root <dir>, and a first run) now says it on the line
where a tip would be, and the list of repositories says it at the right end
of its key bar, where the overview's header is out of sight. Neither screen
is a line taller for it. - An update being installed took up to five minutes to offer the restart.
While an install is under way the dashboard looks again every five seconds,
so Updated to … — restart to use it (R) appears as soon as it lands. - The notice in the header uses plain characters on a plain-text terminal.
0.8.26
Added
- A note when a session starts where work was left behind. With the
Claude Code plugin, opening a session in a repository that has work sitting
in a linked worktree (commits that are on no remote, or files that were
never committed), or commits of its own unpushed for more than two days,
gets one line:cohors: payments has work that exists only on this machine: 5 commits and 1 uncommitted file in 1 worktree, untouched for 9 days. Ask Claude for the details.Claude is given where each piece is, as
information, with the instruction not to commit, push, move or delete it
unless you ask. A repository with nothing left behind gets nothing. A
worktree touched in the last hour is left out, since someone is working in
it. You are shown the same note at most once a day, sooner when what it
says changes. It reads only the repository the session is in, takes about
a tenth of a second, and connects to nothing. - "Session notes" in the plugin's settings turns it off
(claude plugin configure cohors@cohors). Without the plugin, add
cohors hook session-startas aSessionStarthook in your own Claude
Code settings;cohors hook --helpshows how. touchedon each linked worktree in the scan JSON: when its
uncommitted files were last changed.
0.8.25
Fixed
- The dashboard repairs its own screen. It sends the terminal only what
changed since the last frame, so when the screen was wiped or written over
from outside (Cmd+K, a pane closed and reopened onto a dashboard that kept
running, a multiplexer re-attaching, a line printed by another program) it
stayed broken: blank or garbled except for the few characters that happened
to change, most visibly the header, whose clock changes every minute. The
whole screen is now sent again every 10 seconds, with no erase first so
nothing blinks, and Ctrl+L redraws it at once, as in a shell. - Git and ssh can no longer ask a question across the dashboard. A fetch,
pull or push that needed an HTTPS password, a key's passphrase or a new
host confirmed wrote the question into the terminal, usually over the
header, and then took some of the keys typed at the dashboard. Started from
the dashboard, the MCP server or the web page, git now fails at once with
its own message instead (terminal prompts disabled), reported like any
other failure; a credential helper, an ssh agent or an askpass program you
set up keeps working. A command run at a terminal (cohors push api) can
still ask.
0.8.24
Added
- cohors sees the work left in linked worktrees. A coding agent usually
works in a git worktree (Claude Code keeps them under.claude/worktrees/),
and what it leaves there was invisible: a repo with five unpushed commits in
an agent's worktree read "No work is at risk". Each repo's linked worktrees
are now read with it, wherever they are on disk: commits that are on no
remote, and files that were never committed. Either one puts the repo under
Work at risk (unpushed commits older than two days are a RISK), with a
reason that names the worktree,5 commits not pushed in worktree agent-a,
and one Do next step,Back up 5 commits and 3 uncommitted files sitting in 2 worktrees. Those commits count in Not backed up. A worktree whose
folder was deleted is reported too. cohors showlists a repo's worktrees with what each holds and its
folder;cohors scan --select worktree-work(and{"worktree_work": true}
for an agent) picks the repos that have any; the MCPlist_reposreturns
the worktrees that hold work, each with its path. The scan JSON gains
worktreeson every repo.
Changed
- A worktree's folder is no longer counted as an uncommitted file of the
repo around it.git statuslists a worktree checked out inside a repo as
an untracked folder, so every repo with agent worktrees read as dirty; what
the worktree holds is reported as its own state instead. - A worktree stays a part of its repo, not a repo of its own: the count of
repositories does not change, and fetch, pull, push, commit, stash and run
still act on the main checkout only. A worktree kept beside its repo, under
a folder cohors searches, is still its own row, as before, and is then not
listed a second time under its repo.
0.8.23
Added
--reportprints the report a person reads even when the output is
piped, as plain text with no colour codes. A pipe still gets JSON without
it, so scripts are unchanged, and--jsonwins when both are given. It is
for a coding agent calling cohors through a shell: on a fleet of 27
repositoriescohors overviewpiped is 39,700 characters of JSON and
3,200 with--report,cohors scan89,400 and 4,200. It works on every
command that has a report (overview,scan,next,launchpad,prs,
changes,show,search,discover,watch,agent ls), before or
after the command's name.
0.8.22
Changed
- What
cohors mcptells an agent is several times smaller. Measured on
a fleet of 27 repositories:list_reposwent from 102,000 characters to
about 15,000,overviewfrom 40,000 to 11,000,standupfrom 66,000 to
20,000 andnextfrom 12,700 to 5,300. Every answer is compact JSON now
(indentation was a fifth to two fifths of each one), and these four reads
are brief unless asked otherwise:list_reposleaves out per-branch
status, the weekly activity series and anything empty, keeps a repo's
GitHub data to its checks and open pull requests, and returns the first 50
repos (omittedcounts the rest,limitraises it);overviewlists the
20 most urgent repos that have a reason, in words, and counts the clean
ones;standupis the markdown digest without the same commits a second
time as records;nextlists 8 more sessions rather than 20.changes
lists at most 100 files a repo (max_files), and says how many it left
out. detail: "full"onlist_repos,overview,standupandnext
returns everything, field for field whatcohors scan --jsonand
cohors overview --jsonprint, andfieldsonlist_reposnow takes
branches. A test keeps the brief answers inside a size budget.
More ways to install cohors 0.9.2
The installers above (shell, Homebrew, npm) and the downloads all come from this release. The same version is also on:
| Where | Install | How it updates |
|---|---|---|
| PyPI | pip install cohors |
cohors updates itself, as with Homebrew and the shell installer |
| PyPI, with uv | uvx cohors@0.9.2 |
uvx cohors@latest always runs the newest |
| npm, as a command | npm install -g @cohors/cli |
cohors tells you; run npm install -g @cohors/cli@latest |
| crates.io | cargo install cohors --version 0.9.2 |
cohors tells you; run cargo install cohors |
| Docker | docker pull ghcr.io/rushirb2001/cohors:0.9.2 |
Pull :latest or the next version tag |
| VS Code, Cursor, Windsurf, VSCodium | Search "cohors" in Extensions, or install the .vsix attached here |
The editor updates it |
| Claude Code | /plugin marketplace add rushirb2001/cohors, then /plugin install cohors@cohors |
claude plugin update cohors@cohors |
The VS Code extension and the Claude Code plugin both drive the cohors command, so install it one of the ways above first.
As an MCP server, register it with the absolute path (agents start servers with a stripped PATH): claude mcp add cohors -- "$(which cohors)" mcp. It starts read-only; --allow-writes, --allow-run and --allow-launchpad turn on git actions, commands across repos and launchpad writes.