To tasks
The Spec says what the leaf is. This cuts it into the Tasks /archie-implement runs one at a time, unattended. The cut is the last shape a human gives the whole leaf: from here each run builds whatever one Task file says, and a Task that hides two outcomes is two half-built features nobody demoed.
Requires /archie-interview for the breakdown checkpoint. The session that wrote the Spec has already loaded it; load it if not.
You write task files and nothing else. The Spec is settled — both what it builds and how — and slicing does not reopen either.
1. Open the Epic
Where the tree lives
The folder plans in Archie when its origin remote clearly matches a repo of one Project in the Index, which the get_index operation returns through the Archie MCP server's execute_read. Compare host and path only, so git@github.com:me/app.git matches https://github.com/me/app. No origin, no match or no Archie connection means the tree lives on files, as the steps below describe. Several matches, or an unclear one, means asking the human which Project this is.
In Archie, every reference is a Task key such as ARC-12; refuse a 3.2 or a 3.2#1 with one line saying the folder plans in Archie. The steps below name the tree's files and markers.
A Status, marker, Type or Label a step names is the one whose description fits it; when none clearly fits, or several do, stop and ask the human, naming the step and /archie-setup. The operations the Archie MCP server's discover serves say how each is read and written. Brief any helper you dispatch or invoke with the mode.
The Epic is the one whose Spec the session just wrote, or the reference the user passed — a root's slug, or 3.2, which is child 02 of child 03 of the root, resolved down the numbered directories under .archie/.
Read its spec.md in full, plus any reference the user passed alongside — a research finding, a sibling's code. A Specified Epic is the only thing this skill slices: an Epic with children is Split, and its Spec belongs to one of the leaves, so name the children and ask which one. An Epic that already holds a tasks/ directory is being re-sliced — say what the existing Tasks cover and get the overwrite agreed first.
A Spec still carrying _Not yet designed._ halts the run. That leaf has no settled surface — no contract, no structure, no seam — so every Task cut from it would be sliced against an imagined one, which looks exactly like a Task sliced against a real one until it is built. Name /archie-design and stop.
Done when you hold one Specified Epic, its Spec read end to end, and the user's call to slice it.
2. Cut tracer bullets
A Task is a tracer bullet: a narrow but complete path through every layer, fired end to end so something observable happens at the far end. One Task is exactly one end-to-end demoable outcome — the thing you would show the user when it lands. Two outcomes means two Tasks, and that is what turns "is this Task too big" from taste into a check anyone can run.
Slice against the Spec's User Stories, which is long on purpose: every story lands in some Task, and a story with no Task is work you dropped. Several thin stories can share one bullet when they are one outcome seen from different sides.
Two things shape the sequence:
- Prefactoring first. Where the existing code has to move before the feature can be threaded through it cheaply, that move is its own Task, sequenced ahead of the bullets that need it. Prefactoring earns its Task by making the Tasks after it smaller.
- Blocking edges. A Task blocks another when the second genuinely cannot start until the first lands. Edges are the schedule; anything unblocked can run whenever
/archie-implementreaches it.
Integration is one closing Task
Ordinary Tasks build their units and defer integration: each carries Integration: deferred to #N, so the engineer writes unit tests and no seam test. A Task cannot honestly test itself at the seam anyway — the create Task has no delete to tear down with, so the test it writes either leaks state or asserts less than the story does.
The leaf therefore ends on one closing Task, blocked by every other Task, whose Integration: line reads this Task. It covers the whole leaf at the seam, against a feature that is finished. That same line is the router: /archie-implement opens /archie-verify for it and /archie-tdd for everything else. It is a proposal until step 3, where the user takes it or leaves it.
A leaf whose Spec marked the seam not-applicable gets no closing Task, and its Tasks carry no Integration: line — there is no seam to test, at either end.
Give each Task its label — ready-for-agent when an agent builds it end to end, ready-for-human when it needs a third-party UI, a secret or an account that only the user can supply.
Then write the acceptance criteria: observable outcomes, not instructions, no file paths, no code, so they still read true weeks later. Each one is walked against the running app at the end of its Task's build, so a criterion nobody can watch happen is not one. The criteria are the demoable outcome decomposed, which is why step 3 asks about the outcome and not about them: the user judges the outcome here, and every criterion under it gets walked at the end of that Task's own run.
Then route each Task to the design: its Builds: line names the Implementation Decisions it builds — the contract, the model, the module — in the Spec's own words. That line is the slice of the Spec its engineer reads first; the decisions themselves stay in the Spec, where every Task touching one reads the same text.
Done when every user story is covered by a Task, every Task names one outcome, and every Task carries its edges, its label, its Builds line and its criteria.
3. Quiz the user on the breakdown
Present the whole breakdown as a numbered list, each line the Task's title, its outcome, its blocking edges and its label, so the shape and the sequence are visible at once:
1. **Store a reset token** — a token row survives a request and expires on schedule. Blocked by: none. Label: ready-for-agent.
2. **Request a reset** — a user submits their email and receives a reset link. Blocked by: #1. Label: ready-for-agent.
3. **Verify the leaf at the seam** — the Spec's stories hold end to end. Blocked by: #1, #2. Label: ready-for-agent.
Then ask, through /archie-interview, about the three things the user can judge better than you:
- The closing Task — integration pooled at the end of the leaf, or written inside each Task as it is built. Declined, the closing Task and every
Integration:line go, and/archie-tddwrites one seam test per Task as its outer loop. - Granularity — is any Task hiding a second outcome, and is any pair really one?
- Edges — is anything sequenced that could run free, or free that should be blocked?
Iterate on their answers and show the revised list. This is a checkpoint, not a notification: it does not pass on silence.
Done when the user has approved the numbered list in their words.
4. Write the Tasks
One file per Task at tasks/NN-<slug>.md inside the leaf, the Epic: reference included so the file stays self-describing when a sub-agent is handed it as bare text:
# {NN} — {Task title}
**Epic:** {3.2}
**Status:** todo
**Label:** ready-for-agent
**Blocked by:** {#2, or "None — can start immediately"}
**Integration:** deferred to {#N}
**Builds:** {the Implementation Decisions this Task builds, in the Spec's words}
**Demoable outcome:** {the one end-to-end behaviour this Task makes work, seen from the outside}
- [ ] {An acceptance criterion, stated as an observable outcome.}
- [ ] {…}
The closing Task uses that same file: Integration: this Task, Blocked by every other Task, ready-for-agent, its demoable outcome the leaf's Spec holding at the seam, its Builds: line the seam, and one criterion saying so. It is a Task like any other: same statuses, same review path.
In Archie Blocked by is the Task's blocks edges and the Integration: line is its Type. The Label: and Builds: lines stay in the body, as on files.
Every Task starts at Status: todo. The implementing skills write in-progress and ready-for-review from there. In task mode done is the user's word; in epic mode /archie-implement writes it itself after its criteria check, and stamps the leaf's epic.md with Status: ready-for-review when the last Task lands — the one status an Epic ever carries.
The numbers are the approved list's order at first slice, and thereafter identity. A re-slice never renumbers: a surviving Task keeps the number it has, a new one takes the next unused number in the leaf, and a deleted Task leaves a gap that is never backfilled, because reusing a number would make an old reference resolve to different work. A Task is referenced as 3.2#1 — its Epic, then #, then its number.
The closing Task is identified by its Integration: line, not by its position, so a re-slice adds the new Tasks to its Blocked by and renumbers nothing. It stays last in the schedule wherever its number sits.
Keep file paths and code out of them, so a Task still reads true weeks later when the code around it has moved.
A ready-for-human Task states the outcome and what the user must supply; its steps are derived at guide time, when the third-party UI is whatever it is that day.
Done when every approved Task has a file, each with a Status, a Label, its Blocked by and Builds lines and its criteria checklist.
5. Hand off
In Archie, move the Epic to the Status whose description fits an Epic ready to build. Report the leaf's path, the Task count, and the first Task by reference (3.2#1, or its key in Archie). Name /archie-implement as the next move and stop. The Epic is now sliced, and everything after this runs AFK.
