How should I split bug fixes into milestones for a Node/TypeScript app?
Tares plans bug fixes as milestones, each with acceptance checks, so you split them by the behavior each group of fixes must prove. A milestone is done when its tickets are merged and its checks pass, and the orchestrator then starts the next one. At the end of each milestone you get one question to keep or reject the assumptions the crew made along the way.
How it works
When you run tares factory spec, Tares records a spec, a plan, an AGENTS.md for the project and a set of milestones. Every milestone carries acceptance checks. The Tickets fold on the project page shows each milestone with its checks, and under them each ticket with the builder that held it, its pull request and its review rounds.
The example project in A project, end to end was a Node app with no tests and a few bugs in how it paid shifts. It was split into three milestones:
- M1, tests and CI on the branch. Vitest, unit tests for the logic, and a CI check on every pull request.
- M2, payout history stays as it was. Deactivating a sitter or changing a rate leaves past weeks as they were, and “today” is the household’s date.
- M3, merged and live. The pull request documented, merged into main and running in production.
Each milestone is named for an outcome you can check, not for a list of files. A builder works through the tickets of a milestone one at a time. For each ticket it makes a branch, does the work and opens a pull request. The reviewer posts a verdict on every pull request, and the builder merges once the verdict passes and CI is green.
Where a milestone ends:
- The orchestrator starts the next milestone once the milestone’s tickets are merged and its checks pass.
- The orchestrator also brings you the assumptions of that milestone in one desk question. You keep or reject them there. The question does not gate the next milestone.
- After the last milestone, the orchestrator asks whether the project is finished. Tares marks the project Done with your words.
Set it up
- Check that Claude Code is signed in,
ghis signed in with write access to the repos the crew works in, and git, jq and curl are installed. - Write down the bugs, then group them by the behavior a check can prove. Put a test and CI milestone first, so every later fix has a check to pass. Then give each group of related bugs its own milestone, and finish with a milestone for merged and live.
- Give each milestone acceptance checks written as observable results, for example “past weeks are unchanged after a rate change”. Keep each milestone small enough that its tickets can merge in sequence.
- Install the CLI.
- On a local Tares, start Tares, then start the MCP endpoint every crew session shares in a second terminal. On Tares Cloud, run
tares logininstead and skip both local commands. - Give Tares access to GitHub, in Settings > GitHub for a local Tares or Connect GitHub on Tares Cloud.
- Bring up the crew, then plan the project from your repo. Describe the bugs and the milestone split in your answers to Claude Code’s questions.
uv tool install tares # or: brew install glassflow/tap/tares
tares up
tares mcp --transport streamable-http
tares factory crew up
tares factory spec "what you want to build"- Review the milestones and checks the spec produced, then say yes to hand the project to the crew. The orchestrator picks it up and starts a builder for the first milestone. New to the factory? Start with Get started.
In a Node/TypeScript app, expect version details to surface as assumptions. In the example, the working doc named vitest.config.ts, which fails to load on the repo’s Node version, so the builder used vitest.config.mts and wrote it down as an assumption.
What you get
- A plan where each milestone has acceptance checks, so you can tell from the Tickets fold when a milestone is met.
- A test and CI milestone first, so the later bug fix milestones run against checks on every pull request.
- A reviewer verdict on every pull request. In the example, most tickets passed on the first round and two needed a second.
- Room for the plan to grow. The reviewer found smaller issues outside the ticket it was reviewing, and the orchestrator turned them into a new ticket in M2, before the integration tests.
- Assumptions recorded as they happen. Each names the tickets it touches and the builder that made it, and you see them together in one question at the end of the milestone. Each answer is stored in the Decisions fold in your own words.
- A clear finish. After the last milestone you say whether the project is done, and Tares marks it Done with those words.
When something else fits
- For one small bug, a single ticket with a spec of its own is enough. Milestones pay off when several fixes share a behavior you want to check.
- If the bugs are unrelated, give each group its own project rather than forcing them into one milestone ladder.
- If you want to approve every merge yourself, say so when you start the crew. The walkthrough’s second project waited for the person’s yes before every merge.
- If you want to steer a build already in progress, talk to the orchestrator, which holds the plan and the questions.