tissue tract
Which agent has it, and did it ship?
Tract tells you what your coding agents did with the work you gave them: who has it, whether it merged, and whether it shipped. It gets that from git and from the agents' own sessions, so nobody has to keep a board up to date. It also stops a release from the wrong branch, and finds the work a finished session left behind.
Tract isn't out yet. We're building it for ourselves first. It will be free and open source, and the first version works with Claude Code only.
the problem
One person can keep ten coding agents busy at once. Each of them works in its own branch, in its own folder, and nothing writes down who has which job.
So two agents do the same job. A session closes and its finished branch is never merged. Someone runs the release in whichever folder is open, and it ships a branch that isn't main.
None of that shows up in an issue tracker, which only knows what somebody typed into it.
what tract does about it
An agent claims an item before it starts, and a second agent can't. Git reports when the branch is pushed, when it reaches main and when it's tagged, so "is it merged?" has an answer you can look up. A release command is checked before it runs, and one that would ship from the wrong branch is refused.
Why we're building it
We make four products. A large part of the code is written by coding agents. A while ago we read back through seven weeks of our own session logs to see how that had gone.
These are things we typed, each of them more than once:
"status of other agents"
"are all the PRs merged?"
"hold on, I asked another agent to do this as well"
- 266agent sessions, which started another 312 agents of their own
- 19sessions open at once, on the busiest afternoon
- 1,900or so shell commands that only asked git where things stood
- 127worktrees made, and every one is a place for finished work to sit and be forgotten
- 6 of 9App Store uploads built with a feature or release branch checked out
- 72notes the agents left for themselves that say "uncommitted". They were keeping the tracker in their notes, because we hadn't given them one.
What goes wrong, and what Tract does
- Two agents do the same job, and you pay for both.Only one of them can claim an item. The other is told who has it before it starts.
- You don't know which agents are running.Every session is listed with its item, its branch, its worktree and when it last did anything. That includes sessions with no item at all.
- A session dies with work in it.Its claim goes stale. The board keeps the worktree path and how many files were never committed.
- Finished work sits in a worktree.A branch that was pushed and never merged gets flagged, with how long it has been there. Work you paid an agent for doesn't get lost in a folder.
- "Is it merged?"Tract reads git history to answer. It works in repos that don't use pull requests.
- It's merged and nobody released it."On main, not released" is a state of its own, and it names the release the work is waiting for.
- A release goes out from a feature branch.The gate stops the command and lists the work that isn't merged yet. It also says no when files are edited and not committed.
- Someone asks whether the fix is live.The item names the release the fix went into and says whether that release is out. Anyone can look it up without asking the person who wrote it.
- Nobody wrote the release notes.Tract knows which items went into a release, so the list of what shipped exists as soon as the tag does.
- Something has to wait for the next release.Each item can name the release it's meant for. Moving it to a later one is one command, and the plan for each release is a list you can read.
- One change spans an engine and two apps.It's one item with a line for each part, and each line is at its own stage.
It won't review your code, run your tests or run your agents. If you run one agent at a time and CI cuts every release, you don't need this.
Why you need it next to the tools you have
Your issue tracker knows what somebody asked for. Some go further: Linear follows an issue to production when your CI reports the deploy, and GitHub shows an agent's session on the issue when the agent was assigned there. Neither sees a session you opened in your own terminal, or a release that didn't go through CI.
An orchestrator knows the agents it started, until they hand back a pull request. Branch protection looks at the merge. A deploy tracker looks at what CI shipped. None of them follows one piece of work the whole way.
- toolgood atdoesn't do
- LinearTickets and projects. It follows an issue to production when CI reports the deploy.It doesn't see an agent session in your terminal, or a release run from a laptop.
- GitHubIssues, pull requests, rulesets and a merge queue. It shows an agent's session on the issue it was assigned from.Its checks start at the pull request. A branch with no pull request, or a release that never touches GitHub, goes past them.
- JiraTickets, boards and workflows for a whole company.It doesn't know which agent session has a ticket, or which branch a release was built from.
- BeadsTickets kept in the repo, which an agent reads from the command line.It can't tell whether the agent holding a ticket is still running, and it doesn't follow the work to a release.
- Claude SquadStarting agents in worktrees and showing them side by side.It only sees the agents it started, and it's done when a pull request comes back.
Tract watches the two things every agent and every release goes through: the agent tool's hooks, and git. It doesn't replace any of the tools above. You keep whichever of them you use, even if that's only GitHub, which is all we use ourselves.
The release gate
Some commands you can't take back: a tag, a deploy, a published package, an upload to an app store. We call these gate commands, and you list them for each part of your product.
Just before one runs, the gate checks that you're on a branch you release from, that the remote has the commit, and that no files are edited and uncommitted. If not, the command is refused and you're shown what isn't merged. You can still push it through by giving a reason, and the reason stays with the release.
It's all local git, so it works with no connection. It doesn't run tests, and you still need CI.
# tract.toml
[component.ios]
release_refs = ["main", "release/*"]
gate = ["xcrun altool --upload-app*", "git tag ios-*"]
[component.www]
release_refs = ["main"]
gate = ["ribo deploy*"]
[component.api]
release_refs = ["main"]
gate = ["fly deploy*"]
ungated = ["fly deploy --app api-staging*"]
- version tagsgit tag, git push --tags, gh release create
- packagesnpm publish, cargo publish, twine upload
- hostingribo deploy, vercel --prod, fly deploy
- infrastructureterraform apply, kubectl apply, helm upgrade
- containersdocker push
- app storesxcrun altool, fastlane, gradlew publishBundle
what it says
Usually it's an agent that runs these commands. The check is the same whether it comes from the agent's hook, from tract gate inside your release script, or from you typing at a terminal.
www $ ribo deploy # on a feature branch tract: refused. You're on ios-1.3.1, 4 commits ahead of main. GMK-34 Android strings match iOS not merged GMK-36 Weekly counts endpoint not merged Merge to main first, or set TRACT_ALLOW_BRANCH="why". www $ ribo deploy # on main, two files edited tract: refused. 2 files changed and not committed. api $ git tag v2.4.0 # on main, not pushed tract: refused. 2 commits on main aren't on origin. Push first. ios $ xcrun altool --upload-app ... # on release/1.3 tract: ok. release/1.3 is a release branch for ios. contains GMK-29, GMK-31, GMK-33 left out GMK-35, on main but not on release/1.3 api $ TRACT_ALLOW_BRANCH="login hotfix, 2 a.m." fly deploy tract: allowed from hotfix-login. Reason saved. marked "from a branch" until this commit is on main
Three things you can ask it
who has it
"I asked another agent to do this as well."
A second claim is turned down, and you're told who holds the item and when they were last seen. A session that stops checking in shows up as quiet, with the folder its work is in.
An agent runs tract claim itself, as the first thing it does in a session. You run tract who when you want to look.
$ tract claim API-90 held by api-9b since 14:02, last seen 12 s ago branch api-90-rate-limit, 3 commits, pushed worktree .worktrees/api-90 $ tract who this repo api-9b API-90 12 s ago this repo morning-4e no item on main, 2 files not committed this repo api-2b API-87 quiet for 41 min
where it is
"Is it merged, or still in a branch?"
One item, and a line for each part of the product it touches. "Merged" means the commits can be reached from main.
An agent runs this before it merges or releases, and so can you.
$ tract where GMK-31 engine on main a41c9e2 not released ios released 1.3.2 in App Store review android in a branch gmk-31-android, 1 commit not pushed last touched by android-d9, 2 days ago
what's in the next release
"Can that wait for 2.0?"
An item can name the release it's meant for: a version, or just next or later. There are no dates and no estimates. When a release is tagged, anything meant for it that didn't make it is listed, and items marked next roll over to the one after.
An agent sets the target when it files an item, and runs tract defer when you tell it something can wait.
$ tract new "fix draw bug" --for 1.4.0 APP-41 $ tract defer APP-47 2.0 APP-47 is for 2.0 (was 1.4.0) $ tract plan ios 1.4.0 APP-41 fix draw bug on main APP-44 new onboarding in a branch, 3 commits 2.0 APP-39 account sync not started APP-47 haptics not started later APP-12 iPad layout no target 4 items
What it reports
Tract knows which session worked on which item, and git knows what happened to the code. Between them they can answer five questions we couldn't find another tool answering.
It also saves you tokens. In our own logs, one model call in twenty did nothing but ask git where things stood, and those calls were about 6% of what we spent. One short answer from Tract replaces several of those calls. And when two agents don't do the same job, you save a whole session.
An agent can run any of these, and usually will. The handover note is written by a hook when a session ends, and the next agent gets it when it claims the item.
- left behindSessions that ended with files not committed or commits not pushed, with the item and the folder.
tract left-behind - waiting on youWork that's finished and not merged, or merged and not released, and how long it has waited.
tract waiting - in the releaseWhat a release contains, and what was meant for it and missed.
tract release 1.4.0 - what it costTokens per item and per release, read from the session logs on your machine. It counts work that never got a pull request.
tract cost - handoverA short note from the session that stopped: the branch, what's committed, what isn't, and what was next.
what it says
Made-up output for one morning and one release.
$ tract left-behind API-87 session ended 41 min ago .worktrees/api-87 2 commits not pushed, 12 files not committed WEB-12 session ended 3 days ago web-12-signup 4 commits, pushed, never merged $ tract waiting APP-44 finished, not merged 2 days APP-41 on main, not released 5 days meant for 1.4.0 $ tract release 1.4.0 contains APP-41, APP-43, APP-45 missed APP-44, still in a branch cost 3 items, 7 sessions, 41M tokens
Getting started
You can't download Tract yet. This is what setting it up will look like: one binary, and one command in each repo.
After that you start Claude Code the way you do today. Each session reports through the hooks, and tract gate goes in front of the release command in your script.
# macOS, Apple silicon $ curl -L tissue.systems/download/latest/tract-macos-arm64 -o tract $ chmod +x tract && sudo mv tract /usr/local/bin/ # in your repo $ tract init wrote tract.toml added hooks to .claude/settings.json $ tract new "fix draw bug" APP-41
How you'll run it
Tract will be free and open source, under the MIT or Apache 2.0 licence, whichever you prefer. It stores branch names, commit ids, file counts and item titles. Your code is never sent anywhere.
- just the gateThe command-line tool and a
tract.toml. No server, no account. - with claimsAdd one block of hooks to your agent tool. The record stays on your machine.
- on a teamThe record is shared through a small server you run yourself. On Tissue Cloud that's one Cell and one SQLite database, in your own account.
the name
A tract is a bundle of nerve fibres that carries signals from one part of the body to another. In the mark, three dots have joined into one line. The amber one is still on a branch.
Questions
- Which agent tools does it work with?Claude Code only, for now. The gate works with anything, because it only reads git.
- Does it need GitHub?No. It reads plain git, so it works with any remote, or with none.
- Does my code leave my machine?No. Tract stores branch names, commit ids, file counts and item titles, and by default they stay on your machine too.
- Can an agent get around the gate?Yes. The gate is there to catch mistakes. Going around it takes a reason, and the reason is kept with the release.
- What happens when Claude Code changes its hooks?The claim record stops updating until we ship a fix. The gate inside your release script doesn't use hooks, so it keeps working.
- Do I need Tissue Cloud?No. Only a team that wants one shared record needs a server, and you can run that anywhere.
- What does it cost?Nothing.