Once the plan is agreed, hand the building to a Skill that tests, reviews and saves the work: one task at a time with /implement, or a whole written plan in one run with /implement-spec.
Your goals
By the end of this Lesson
- You'll be able to say what one
/implementrun does, in order, and what it leaves for you to do. - You'll be able to choose between
/implementin the same window,/implementonce per ticket with/clearbetween, and/implement-spec. - You'll be able to explain how
/implement-specbuilds a spec: task graph, frontier, worktrees, one integration branch and one review at the end. - You'll be able to decide which work stays human-in-the-loop and which can run AFK, and pick between Matt's three ways to loop over tickets.
Why it matters
Claude Code is Anthropic's coding agent: an AI that reads your files, runs commands and writes code from your terminal. Matt Pocock, a developer and teacher, publishes a popular set of Skills for it. A Skill is a short instruction file the agent loads when you type its name, like /implement, or when a task matches its description (see Skills; Start here covers installing them).
Say the agent has just grilled you about a comment box for this site (asked question after question until the plan was settled; see Grilling), and you agreed: anonymous comments, an optional name, newest first. Type "OK, build it" and three things go wrong:
- The plan gets reopened. A fresh agent told "build this" often redesigns as it goes, deciding names should be required after all.
- Nobody checks the work. It may write tests (small programs that run your code and check its answers) afterwards, or none, and never review the result.
- The session loses its sharpness. Everything in a session (one Claude Code conversation) lives in the agent's context window, its working memory, measured in tokens (small chunks of text; see The context window). As it fills, the agent reasons less sharply. Matt calls the part where it still thinks clearly the Smart zone: about 150k tokens on today's best models, as a rule of thumb. Build a big feature in one go and you finish far past it, in what he calls the dumb zone.
Matt's answer is two Skills that build work that has already been decided. /implement builds one piece: tests first, checks along the way, a fresh review, then a commit (a saved snapshot of your changes in Git, the tool that tracks every version of a project). /implement-spec builds a whole spec (a written description of what to build and why) split into tickets (small tasks that each fit one session), giving each ticket its own helper agent.
The idea: one run of /implement
/implement takes a ticket, a spec, or a plan you just agreed in the conversation, and turns it into a commit. It never reopens the plan: no interview, no clarifying round, no alternative approach.
It's a user-invoked Skill: only you can start it, by typing its name at the start of your message. The agent won't reach for it, and no other Skill can call it. So when /to-tickets (which splits a spec into tickets) finishes, nothing starts building by itself: typing /implement is your move.
One run goes in this order:
- Read the work. If you pass a ticket, it fetches it from your issue tracker (wherever your tickets live; on this site, Markdown files in a
.scratchfolder) and states its title. If the reference is ambiguous, it asks. - Drive tdd at the agreed seams. It loads the tdd Skill (test-driven development: a failing test first, then just enough code to pass it; see TDD) and builds one slice at a time. A seam is the public boundary where tests watch behaviour without reaching inside, like the comments module's "save" and "list" functions.
- Check often. Typechecks (quick automatic checks that the code fits together) and single test files run as it goes.
- Run the full test suite once, every test in the project, at the end.
- Call code-review. Matt's review Skill checks two axes: Standards (does it follow the rules written in your repo, the project folder Git tracks, plus a short list of code smells, classic signs of code that's hard to change?) and Spec (does it match what was asked?). Each runs in its own sub-agent, a helper with a fresh, empty memory, so it doesn't share the bias of the agent that just wrote the code. See Code review.
- Commit to the current branch. A branch is a separate line of commits, and
/implementuses whichever one you're on.
Steps 2 and 5 load model-invoked Skills (ones the agent may also pick up itself). A user-invoked Skill can call those, never another user-invoked one.
Notice what's missing. It ends at the commit. It doesn't create a branch, open a pull request (a proposal, usually on GitHub, to merge, or combine, a branch into main, the project's primary branch), act on the review's findings, or close the ticket (on a local tracker, change its status from "ready-for-agent" and tick its checklist boxes). Those jobs are yours.
Checkpoint 1 of 4
Show the answer
Answer: Check the work, then close the ticket and tick its boxes yourself.
- Run
/implementon the same ticket again, so that this time it marks the ticket as done. Running it again just builds the same work again. Closing tickets isn't part of a run. - Check the work, then close the ticket and tick its boxes yourself. Right.
/implementends at the commit. Closing the ticket is your job, and it's what lets the tickets waiting on it start. - Report a bug: the Skill skipped its last step. Nothing was skipped. The Skill has no step that touches the ticket.
- Leave it: the next ticket's run closes this one before it starts. No run touches the ticket, before or after. Until you close it, the tickets waiting on it never start.
Where the plan lives decides how you start
Tickets can wait on each other: a ticket's blocking edges name the tickets that must be finished before it starts. By hand, finished means built, committed and closed; inside /implement-spec, a ticket is finished once it has landed (merged into the run's shared branch). The right way in depends on where the decided work is written down:
| The work is⦠| Type |
|---|---|
| Only in the conversation you just had, and small | /implement right here, saying the plan is in the conversation |
| A small spec | /implement pointed at the spec |
| A ticket on your tracker | /implement plus the ticket, one ticket per session, /clear between |
| A spec split into tickets with blocking edges, landed in one run | /implement-spec |
| Not written down anywhere yet | /grill-with-docs first (see Grilling) |
| One behaviour you want test-first, with no spec | /tdd on its own |
The first row has a catch. The Skill's text talks about "the spec or tickets", so it may hunt for a file that doesn't exist. Add one sentence: "The plan is in this conversation, not a file."
The third row is the rhythm for a multi-session build, after /to-spec (which writes the spec from your conversation) and /to-tickets (see Spec + tickets). Each ticket fits one fresh context window and carries what it needs. Implement one ticket, check it, close it, then type /clear, a Built-in command (it comes with Claude Code; it isn't a Skill) that empties the working context. Work blockers-first.
Don't hand it several tickets at once: one run, one ticket. And don't run two /implement sessions in one checkout (one copy of the project's files on your disk). In one user's report, sessions sharing a folder rewrote each other's commits and put work on the wrong branch.
Checkpoint 2 of 4
Show the answer
Answer: Both sessions edit and commit in one folder, so their work gets tangled.
- Nothing: each session has its own context window, so the two can't affect each other. Separate memories don't mean separate files. Both sessions edit and commit in the same place.
- The second
/implementrefuses to start until the first one has committed. It doesn't check for other sessions, which is why the clash happens silently. - Both sessions edit and commit in one folder, so their work gets tangled. Right. One checkout means one set of files and one current branch. To build tickets in parallel,
/implement-specgives each its own copy of the project, called a worktree. - Ticket 03 waits, because
/implementbuilds tickets blockers-first. Blockers-first is the order you pick by hand./implementnever looks at other tickets, and 03 has no blocker anyway.
A session, step by step
Here's /implement working one ticket from this site's first build, the comments API (the web addresses the comment box calls to save and list comments). That ticket was really built with /tdd, without /implement, so this is a replay.
You:
/implement .scratch/lesson-site/issues/05-comments-api.mdAgent: Ticket 05, Comments API: the comments module, plus the web addresses that save and list comments.
Agent: Loading tdd. Seams under test: the comments module and its API, against a test database, as the spec says. OK?
You: Yes.
Agent: π΄ "rejects an empty body" fails. π’ Now it passes. Typecheck clean. Next slice: a body that's too long.
Agent: Full suite passes. Loading code-review. Which fixed point should I review against?
You: main
Agent: The diff since
mainis empty, so there's nothing to review. Committed toticket-05-comments-api. The ticket file is unchanged.You:
/mattpocock-skills:code-review mainAgent: Standards: nothing to fix. Spec: every "Done when" item is met except the
curlcheck, which needs you.
You're on a new branch made for this ticket. You type the Skill and point it at one ticket file.
It fetches the ticket and states its title first. There's no interview about what to build.
It loads tdd, which won't write a test until you confirm the seams. The spec named them, so this is a quick yes.
Red, then green, one slice at a time, with a typecheck and the single test file after each.
Every slice is green, so the full suite runs once. Then code-review asks for a fixed point: the branch or commit to compare against.
The review reads only what's been committed since the fixed point. This new branch has no commits yet, so it finds nothing. Then it commits and stops. The ticket stays open.
Now the commit exists. You type
/clearfirst, so the agent briefing the reviewers isn't the one that built the code, then run the review yourself by its full name. The ticket's "Done when" checklist includes a hand check withcurl, a terminal program that calls a web address.
Four moments needed you: confirming the seams, naming the fixed point, clearing and rerunning the review after the commit, and the curl check.
That empty review is a known rough edge, still open on GitHub in October 2026. So is another: the Skill calls code-review by its short name, which can reach Claude Code's Built-in command /code-review (a bug hunt where you pick how hard it looks). The last step above cures both: after the commit and a /clear, type the Skill's full name, /mattpocock-skills:code-review: the plugin's name (the bundle Matt's Skills were installed as), a colon, then the Skill's.
Building a whole spec: /implement-spec
Working ten tickets by hand makes you the dispatcher. /implement-spec hands that job to one orchestrating agent (your session), which gives each ticket to an implementer sub-agent. It's user-invoked too. Start it in a cleared session, pointing at the spec's file or its number on your tracker.
Four ideas make it work:
- Task graph. The tickets aren't a list of steps; their blocking edges make a graph, a map of which tickets wait on which.
- Frontier. The frontier is every ticket whose blockers have all landed, and every frontier ticket runs at once.
- Worktrees. Each implementer works in its own git worktree: a second checkout of the repo in its own folder, on its own branch, so parallel agents never edit the same files at once.
- One integration branch. Each built ticket is merged (its commits combined) into one shared branch.
After reading the spec and tickets (and perhaps sending an exploration sub-agent to save notes outside the repo), it creates the integration branch and starts implementers on the frontier, in the background. Each builds its ticket with tdd and merges in the branch's latest work before reporting done. A merger sub-agent lands it, and as the frontier changes, more implementers start.
Only when every ticket has landed does it call code-review, once, over the whole branch, and hand every finding to one fix-up implementer. If your tracker closes tickets when a pull request merges (GitHub Issues can), or you asked for one, it marks ready the draft pull request it opened after the first merge. Otherwise it resolves the tickets and stops on the integration branch. Last, it removes the worktrees.
- 01 Design foundation
- 02 Lesson pages with photos
- 04 Main flow Lesson
- 03 Home page
- 05 Scroll motion
- Final review of the whole branch
The frontier starts as ticket 01, the only one with no blockers. One implementer builds it in its own worktree.
01 merges into the integration branch. Now ticket 02 is the whole frontier.
02 lands, and the frontier holds two tickets: 03 and 04 build at the same time, each in its own worktree.
04 lands first. Before reporting done, 03 pulls in the integration branch, which now holds 04, and the two clash in the shared photo-credits file.
With 02 and 03 merged, 05 is unblocked.
All five tickets are in. This is where the Skill runs its one review, over the whole branch, then hands every finding to one fix-up agent. On this run an early review had also run while 05 was building.
Prerequisites and trade-offs:
- It needs setup. A configured tracker (otherwise it tells you to run
/setup-matt-pocock-skills), tickets with blocking edges, and a harness (the program around the model, here Claude Code) that runs sub-agents in the background, each in its own worktree. One at a time, it's just a slower/implement. - Worktrees move collisions; they don't remove them. Two tickets touching one shared file still clash at merge time, or name the same thing differently. Add a blocking edge, or have the exploration notes fix the names.
- Nobody asks you about seams, so name them in the spec.
- The review belongs at the end. Run it mid-run and every ticket not yet built shows up as a failure, so the agent builds it and reviews again. Even the final review can repeat itself: if a second full review starts after the fix-up, tell it to stop.
- You review one big branch, not each ticket as it lands.
Checkpoint 3 of 4
Show the answer
Answer: Make one wait for the other, or agree the label names before either starts.
- Nothing: each implementer works in its own worktree on its own branch, so the two can never collide. Worktrees keep them apart only while they work. The clash arrives when both branches are merged.
- Ask for both tickets to be built in the same worktree. That defeats the point of worktrees and puts two agents in one folder at once.
- Leave it to the final review, which runs once every ticket has landed. The review reports problems after both have merged. It doesn't stop the clash, and two different names can each look fine on their own.
- Make one wait for the other, or agree the label names before either starts. Right. A blocking edge runs them one after the other; agreed names, in the tickets or the run's exploration notes, mean both start from the same words.
Human-in-the-loop or AFK
- Human-in-the-loop: you're present, steering in real time, catching a wrong turn while it's cheap. It suits work that's ambiguous, irreversible or hard to review afterwards.
- AFK (away from keyboard): you start a session and leave. It usually needs a permissive permission mode (the setting for when the agent must stop and ask before it edits a file or runs a command), plus a sandbox: an isolated environment, like a Docker container, where it can't harm your machine. The typical failure is tidy work built on a wrong early guess. So settle the ambiguity before, let tests and review stand in during, and end with something reviewable: a branch or pull request, not merged changes.
Matt's split, from his April 2026 workshop: implementation can be AFK, but "planning, this alignment phase, has to be human in the loop." He calls it a day shift and a night shift: humans plan and queue up the tickets by day; agents work through them at night.
In his October 2026 video he named three ways to loop over tickets:
- The manual loop. You're the loop: implement ticket 1, clear, implement ticket 2. Fine for a few tickets, but he calls it not really workable.
- A deterministic loop. A script runs the implementer on each ticket: his Sandcastle tool, or a shell script. He recommends it for most people: once set up, it runs the same way every time and it's cheap, because no human or agent runs the loop. But tuning one takes patience, so he puts it out of range for beginners.
- The agent loop,
/implement-spec: "an agent does the babysitting instead of a human." He calls it worse than a script, because it isn't deterministic, but a good first step into AFK work. Its docs add that it needs no infrastructure and you can watch and steer it.
Whichever loop you build, run one pass by hand first. In the workshop, Matt ran a single pass of his loop and watched it, to see what to tune in the prompt; only the looping version runs AFK, in a Docker sandbox.
Checkpoint 4 of 4
Show the answer
Answer: Start it on just one ticket, and stay at the keyboard to watch that run.
- Start it on just one ticket, and stay at the keyboard to watch that run. Right. That's how Matt starts: one watched pass shows what to tune in the prompt before nobody is watching.
- Tell each run to skip code-review, since nobody reads it until morning. Tests and review are what stand in for you while you're away. Keep them, and watch one pass first.
- Add a step that merges every finished ticket straight into
main. AFK runs should end in something reviewable, like a branch or pull request, not changes already merged. - Raise the effort level (how hard the model thinks), so each ticket gets more care. More effort doesn't show you whether the prompt does what you want. One watched pass does.
How Matt and others use it
Matt Pocock, from his videos:
- Small job, same window. In his July 2026 walkthrough, after grilling a small cleanup, he said he'd usually just type
/implementthere and let it run. He put his own Smart zone at about 140k tokens then, leaving roughly 100k of room for the job (10:08β11:03). - One ticket at a time. In the same video he cleared the context before implementing and said he usually clears between every ticket (13:53β14:41). There,
/implementran code-review's two axes in sub-agents, then committed (14:50β16:23). - Review in a fresh context. In his April 2026 workshop he explained that an implementer finishes deep in its window, so a review in the same session happens in the dumb zone (1:05:28β1:06:24), so review after a
/clear. He builds with Sonnet, a cheaper Claude model, and reviews with Opus, a stronger one (1:32:33; see Models, effort & ultracode). /implement-specwhere there's no script. In October 2026 he said he reaches for/implement-specmore than he expected in repos without a tuned script, calling it a basic version to build your own on (4:23β4:54).
Other developers:
- Colin Eberhardt of Scott Logic rebuilt an app with the Skills in October 2026. Both review axes caught a few real bugs, though many tests checked the fake back end they'd set up (mocks) more than the real code.
- A GitHub user, Warshoow, shared a script in September 2026 that runs
/implementonce per ready ticket, each in a fresh session and worktree: 10 tickets in 62 minutes for $20.40. Across 173 sessions on their machine, tdd never loaded (an October fix makes/implementload it), and Claude Code's Built-in command/code-reviewanswered twice as often as Matt's Skill, so the script now names each Skill in full.
Try it yourself
Your turn
You need Claude Code installed and signed in (see Start here), Git, and Node.js or Python. If git --version says it isn't found, install Git first. If neither node --version nor python --version (python3 --version on a Mac) prints a version, install Node.js (the LTS installer from nodejs.org), then open a new terminal.
- Make an empty folder, turn it into a Git repo whose first branch is
main, and start Claude Code in it. If it asks whether you trust this folder, choose Yes.
mkdir word-tools
cd word-tools
git init -b main
claude
- Type
/implementbut don't press Enter. Check it shows in the list that pops up, then delete what you typed. If it wasn't there, type/exit, install Matt's Skills, then runclaudeagain:
claude plugin install mattpocock-skills@claude-plugins-official
- Give it something to build on (choose Yes when it asks to run setup commands):
Set up a tiny TypeScript project here with Vitest and a typecheck script, with one function readingTime(text) that returns whole minutes at 200 words per minute, and one test for it. If Node.js isn't installed, use Python with pytest and mypy instead; if neither is installed, stop and tell me. If Git has no name and email yet, set placeholder ones for this folder only. Commit it on main.
- Make a branch, because
/implementcommits to whatever branch you're on:
Create a git branch called try-implement and switch to it.
- Now type the Skill, and say where the plan lives:
/implement The plan is in this message, not a file: add wordCount(text) next to readingTime. It counts words separated by any whitespace (spaces, tabs, new lines), and readingTime must use it. Only write tests at the public functions wordCount and readingTime.
- Answer as it goes. Seams: reply "yes" (your message named them). A fixed point: "main". Where the spec is: "It's my /implement message." Told to run
/setup-matt-pocock-skills: "There's no tracker; the plan is in my message. Carry on." A permission prompt to edit a file, run tests or commit: choose Yes. Press Esc to stop it at any point. - If no review with Standards and Spec sections appeared, type
/clear, then/mattpocock-skills:code-review mainto review everything sincemain. - Type: "Show me the commits on main and on try-implement." Then type
/exit.
It's working if:
- It restated what it would build instead of asking you what to build.
- You saw a line naming the tdd Skill as it loaded, and a failing test appeared before the code.
- Typechecks and single test files ran during the work, and the full suite ran once near the end.
- A review with two parts, Standards and Spec, ran inside the run or when you typed it in step 7.
- The new commit is on
try-implement, andmainstill holds only the setup work.
Then ask yourself: which moments needed you, and which could have run with you away?
Common mistakes
- Waiting for the agent to start it. Both Skills are user-invoked: type the name yourself.
- Building on
mainby accident. Make the branch first;/implementnever asks. - Expecting
/implementto close tickets. Close them yourself, or the tickets waiting on them never start. - Tests quietly skipped in a worktree. A worktree holds only what Git tracks, so a test needing an untracked file, like database credentials, can skip and still pass. This site's spec told its builders to copy those files in.
- And from above: several tickets per run, two sessions per checkout, no
/clearbetween tickets, unnamed seams, reviewing mid-run.
Cheat sheet
| Moment | What to type or do |
|---|---|
| Small job, plan in the conversation | /implement + "the plan is in this conversation" |
| Tickets, by hand | Branch β /implement one ticket β close it β /clear β next |
| Whole spec, parallel harness | /clear, then /implement-spec + the spec's path |
| No Standards and Spec review appeared | After the run's commit, /clear, then /mattpocock-skills:code-review main |
| Going AFK | Sandbox, one pass by hand first, end on a branch |
Final test
10 questions on everything above. Pick your answer, then open the box under it to check.
Show the answer
Answer: That the plan is in this conversation, not a file.
- The spec's path: run
/to-specfirst, then pass it. For a change this small, a spec is overhead. The plan already exists; the agent just doesn't know where it is. - A request to grill again, so the plan is fresh.
/implementnever reopens the plan, and this one is already made. The agent only needs to know where it lives. - That the plan is in this conversation, not a file. Right. The Skill's text talks about "the spec or tickets", so one sentence saying where the plan lives stops the hunt.
- The words "use
/implement-spec", so helpers find it./implement-specneeds a spec split into tickets with blocking edges. There's nothing on disk for it either.
- The spec's path: run
Show the answer
Answer: B and C together, each in its own worktree on its own branch.
- B only, because tickets are built in the order they're listed. The tickets form a graph, not a list. Blockers set the pace, not the order on the tracker.
- B and C together, each in its own worktree on its own branch. Right. Their only blocker has landed, so both join the frontier, and every frontier ticket runs at once.
- B, C, D and E, now that the first ticket has landed. D still waits for B, and E for C and D. Only tickets whose blockers have all landed are on the frontier.
- Nothing yet: code-review has to check ticket A before anything else starts. The run's one review comes after every ticket has landed, not between merges.
Show the answer
Answer:
/implementonce per ticket, with a/clearbefore each new one/implement-specanyway, after splitting the spec into more tickets More tickets don't help when only one sub-agent runs at a time. Running tickets side by side is the whole point of/implement-spec; without that it's just a slower/implement.- One long session that builds all four tickets back to back That's the road into the dumb zone. Each ticket deserves a fresh window.
- Combine the four tickets into one big ticket and implement that Tickets are sized to fit one window each. One big ticket undoes that.
/implementonce per ticket, with a/clearbefore each new one Right. Without sub-agents running side by side,/implement-spechas nothing to make up for being slower, so drive each ticket yourself in a fresh window.
Show the answer
Answer:
/implement-spec, pointing it at the spec's file/implement-spec, pointing it at the spec's file Right. It reads the blocking edges as a graph, builds the first ticket, then the four it unblocks at once in their own worktrees, and lands everything on one integration branch for one review./implementwith all eight tickets at once One run takes one ticket. Eight in one window head straight for the dumb zone./implementon ticket 01, then/clearand the next That's the by-hand rhythm, and it makes you the dispatcher: the job you said you'd rather hand off./tddper ticket, then/mattpocock-skills:code-review/tddbuilds one behaviour test-first. It doesn't read tickets or their blocking edges, so you'd still be the dispatcher.
Show the answer
Answer: A CSV export, in a sandbox, with its columns and its seams settled in the spec.
- A CSV export, in a sandbox, though nobody has settled the column order yet. That's an open question. Left alone, the agent fills it with a guess and builds tidy work on top of it.
- A CSV export, in a sandbox, with its columns and its seams settled in the spec. Right. The questions are settled before you leave, tests and review stand in for you, and the sandbox keeps your machine safe. It ends on a branch you check in the morning.
- A CSV export with its columns and seams settled, on your laptop with permission prompts off. With no sandbox, one wrong command overnight can harm your own machine. Permissive modes belong inside one.
- A clean-out of last year's rows in the live database, in a sandbox, spec settled. Irreversible work that touches production is exactly what to keep human-in-the-loop.
Show the answer
Answer: A deterministic script loop, such as Sandcastle or a shell script.
- The manual loop: one person types
/implementand/clearfor every ticket. Matt calls being the loop yourself not really workable, and here it's thirty times a week. /implement-spec, because an agent makes smarter choices than a script. An agent making the orchestration decisions is less reliable than a script when nobody is watching. Matt calls it a good first step, not the end state for a team with time to build a loop.- A deterministic script loop, such as Sandcastle or a shell script. Right. Once tuned, it runs the same way every time and costs less, because no human or agent runs the loop.
- One long session per repo for the whole week's tickets. That ends far past the Smart zone, the opposite of a fresh window per ticket.
- The manual loop: one person types
Show the answer
Answer: Sam didn't create and switch to a branch before typing
/implement.- Sam didn't create and switch to a branch before typing
/implement. Right. It commits to whichever branch you're on. It doesn't create one, and it doesn't ask. - Sam didn't run
/mattpocock-skills:code-reviewbefore typing/implement. There's nothing to review before the code exists, and a review doesn't choose branches. - Sam didn't type
/clearbefore/implement, so no clean branch was made./clearempties the agent's working memory. It doesn't touch Git, so the project stays onmain. - The ticket wasn't ready-for-agent, so the branch step was skipped. There's no branch step to skip.
/implementcommits to whichever branch you're on, whatever the ticket's status says.
- Sam didn't create and switch to a branch before typing
Show the answer
Answer: The review ran while two tickets still hadn't landed.
- Jo asked in plain words instead of typing the Skill's name. Plain words can start a model-invoked Skill like code-review. The timing was the problem.
- The review ran while two tickets still hadn't landed. Right. The review compares the code with the whole spec, so tickets still in their worktrees read as failures.
/implement-specruns it once, at the end. - Jo reviewed everything at once instead of one worktree at a time. Reviewing half-built work in pieces has the same problem. The run's one review belongs after the last merge.
- A code review can't run on an integration branch. It can: that's exactly where
/implement-specruns it, once every ticket is in.
Show the answer
Answer: Fetch the ticket β tdd slices β full suite β code-review β commit
- Commit β fetch the ticket β tdd slices β full suite β code-review Committing comes last. At the start, nothing is built yet.
- Fetch the ticket β full suite β tdd slices β commit β code-review The full suite runs once, at the end, after the slices. And the review comes before the commit.
- Fetch the ticket β code-review β tdd slices β full suite β commit The review checks finished work, so it comes after the build.
- Fetch the ticket β tdd slices β full suite β code-review β commit Right. Read the work, build it test-first with checks along the way, run everything once, review, then commit to the current branch.
Show the answer
Answer: One integration branch with every ticket merged and resolved.
- A pull request on GitHub, marked ready for review. A pull request appears only if the tracker closes tickets when a pull request merges, or you ask for one. A folder of Markdown files does neither.
- Every ticket's work committed straight to
main. Nothing lands onmain. Everything goes to the integration branch. - One integration branch with every ticket merged and resolved. Right. On a local tracker the run ends on the integration branch, with each ticket resolved and nothing merged into
main. - A separate branch for each ticket, all left for you to merge into
mainby hand. A merger sub-agent lands each ticket on the integration branch as it finishes, and the worktrees get cleaned up.
