For developers

Your Claude Code session builds on what shipped, not on what was planned

Trellisly holds the plan of your workspace, which is your team with its repositories: the tickets, each of them one agent session and one pull request, and which ticket blocks which. A Claude Code session of your own reads that plan and claims a ticket that can start now: while the claim holds, nobody else works that ticket. The session receives a work order: the ticket, the spec, which is the document of its feature, and what each ticket before it delivered.

You start the session, and it works as you. Tickets that are worked with no human starting each session are on the page For team leads.

On this page

  1. OnceConnect Claude CodeAn access token, with which a session acts as you, and one command.
  2. For each featurePlan a feature from a specA session of your own drafts the tickets, and a human approves them.
  3. For each ticketWork a ticketA session claims a ticket that can start now and opens its pull request.
  4. With every claimThe contract and the work orderWhat your session receives: what the tickets before it shipped.

Once

Connect Claude Code

Your session reaches the plan through the MCP server of Trellisly. You build no integration, and nothing about the plan is stored in your repository.

Before that, you sign in with your GitHub account, and the Trellisly GitHub App is installed on the repository you work in. The App is how Trellisly sees a merge.

Connect Claude Code, step by step

What you set up

  • An access token. You create it in the web app, for one workspace. With it a session acts as you, in that workspace only, until the token expires, you revoke it or you leave the workspace.
  • The MCP server in Claude Code. One command adds it, with your token. A session then has the tools of Trellisly and its planning prompt.
  • A way to push and to open a pull request. A session pushes its branch and opens its pull request as you, with the git of your machine and a tool that opens a pull request from the terminal, such as the GitHub CLI, signed in as you.

For each feature

Plan a feature from a spec

A spec is the one document of a feature: its goal, the why and its scope. A human writes it. A planning agent then drafts the tickets of the feature from it, and the planning agent is a Claude Code session of your own: the planning prompt of the MCP server makes it one. It reads the spec and your repository, asks you where the spec is unclear, and writes no code.

  • A ticket is one session and one pull request

    A ticket is the unit of work: one agent session and one change in one repository. The planning agent gives each ticket a contract, which is what it produces for the tickets that build on it, such as a route, a schema or a file. It also names its touches: the paths the change is expected to modify.

  • A blocker comes from a contract

    A blocker is a ticket that must be done before another ticket may start, and a ticket is done when its pull request is merged. The planning agent declares one only where a ticket builds on a contract item of another. An order of work is no blocker, so tickets that do not build on each other can be worked at the same time.

  • Trellisly checks the plan as a whole

    It rejects a plan in which tickets block each other in a circle, and the session then changes the plan. It warns about a plan in which every ticket waits for the one before it: that one is yours to judge when you approve.

  • No draft is worked before a human approves

    The planning agent creates the tickets as drafts, and a draft cannot be claimed. A human approves the drafts of a feature in one action. From then on a ticket whose blockers are all done can be worked.

Write a specPlan a featureApprove the drafts

For each ticket

Work a ticket

The frontier is every ticket that is not done and whose blockers are all done: the work a session can start right now. You tell your session to take a ticket from it, in your own words. From there the answers of the MCP server say what the session calls next.

What the session does

  1. It claims the ticket. A claim is the exclusive right to work a ticket: nobody else can claim it while yours holds. It is leased: the session renews it while it works, and when a session dies the lease runs out and the ticket can be claimed again.
  2. It reads its work order and does the work. The work order is composed for this ticket, and the work happens on the branch of the claim.
  3. It runs the verify commands. They are the commands of the ticket whose exit code says whether the change holds. The session goes on only when each of them exits with code 0.
  4. It opens the pull request and submits the result. The result says of each contract item whether it was delivered, deviated or dropped. It also holds the judgement of the session on each check, an acceptance criterion in plain language.

When the pull request is merged

A ticket is done when Trellisly sees its pull request merged into the main branch of its repository. Nobody sets done by hand. The tickets it blocked join the frontier once all their blockers are done.

When the ticket is not what was planned

A ticket that proves too big is split: new tickets are inserted before it as its blockers, and it keeps the work that remains. A session may change its own ticket and create tickets. Any other change to the plan it leaves as a proposal, for a human to apply or reject.

Work a ticket, step by stepThe MCP tools

The Plan page of the web app, for an example workspace. Under the heading Frontier stand two open tickets, each with its blocker and its repository. Under the heading Layers the plan goes on, layer by layer.
The Plan page of the web app. The two tickets under "Frontier" can be claimed now: the one blocker they share is done.

With every claim

The contract and the work order

What a ticket hands to the tickets that build on it is written down twice: before the work as a contract, and after it as a result. The work order brings both to the session that needs them.

The contract
What a ticket declares it produces for the tickets that build on it. It is written on the ticket that produces, and a ticket that builds on it names that ticket as a blocker.
The result
The contract set against what was shipped: each item is delivered, deviated with a note, or dropped. A dropped item becomes a new ticket that blocks every ticket that waited for it.
The work order
The document Trellisly composes for one ticket when a session claims it. It is never stored: it is composed from the plan as it is at that moment.

What your session receives

  • The ticket: its goal, its constraints, its checks, its verify commands, its contract and its touches.
  • The spec of the feature.
  • The result of each blocker, with its deviations first.
  • The deviations and the dropped items of the tickets it reaches only through its blockers.
  • The pointers: the paths and the links the session must read before it starts, those of the ticket and those of the workspace.

A deviation travels as far as the plan does

It is highlighted in the work order of every ticket that reaches the ticket that deviated. So a session builds on what shipped, not on what the contract declared.

The rules of your repository stay where they are

The standing rules of a repository are not in the work order. They stay in its own agent docs, where every session finds them.

A ticket that changes under the session

When a member edits a ticket that is claimed, the submit of the session is refused, with the ticket as it is now and the fields that changed. The session brings its work in line and submits again.

The contract, the result and the work order

The work order of a ticket in the web app, from the heading Blockers on. The one blocker is done and merged. Under the heading Deviations stands one route, which answers 200 with a position of null and not 404. Under it stand the three items that were delivered as declared, the notes for the tickets that build on it and the changed paths.
The work order of the first ticket on the frontier above, as the web app shows it. Its blocker shipped one route differently from its contract, and the session reads that before it writes a line.

Connect a session of your own

Your first sign-in gives you a workspace. The documentation takes it from there, from the spec to the merged pull request.

The whole loop, from a spec to a merged pull request, is on How it works.