PR
One PR, its title and body written from the branch's diff and the evidence behind it. The body is what a reviewer reads first, so it always describes the diff as it stands: a refresh rewrites the title and body whole.
You own the title and the body. Draft or ready is the caller's word — /archie-implement asks for a draft and marks it ready from its review's grade; anyone else gets a ready PR.
1. Resolve
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.
Read off the repo and the caller:
- The PR. The branch's open PR means a refresh; none means an open, against
mainunless the caller names a base. - The reference, when the caller names a Task or Epic. Epics are numbered directories under
.archie/, so3.2is child02of child03of the root, and its Tasks aretasks/NN-<slug>.mdinside it. No reference makes this an ad-hoc PR. - The language. The terms in
CONTEXT.md— in Archie, the Project's term Notes. Name things the way the glossary does.
Done when you know open or refresh, the reference or ad-hoc, and the base.
2. Gather the evidence
Evidence is a before and after, collected before any is produced:
- Proof — each Task's
## Proofsection names the test behind every criterion, and the app walk behind the rest. - The session — test runs, gate output and screenshots already in this conversation.
For what is missing, run the repo's test gate for the after, and the new or changed tests against the base for the before. A test that passes on the base proved nothing, so leave it out of Evidence.
Screenshots prove a visual change best. With any to link, read references/screenshots.md for where each one lives.
Done when every change in the diff that can carry evidence has a before and an after, or a line saying why it has none.
3. Write the title and body
The title follows the repo's PR conventions: the ## Project facts line in AGENTS.md, else the shape of the last merged titles.
The body is this template:
## Summary
{diagram, diff-sketch, or tree}
## Evidence
- **Before:** {screenshot, output, or failing test run}
**After:** {screenshot, output, or passing test run}
## Merge Danger
**Door:** {one-way | two-way}
{optional: why}
**Blast Radius:** {one word}
{optional: what could break once merged}
Prose stays brief: a line of text beside each visual, and no preamble.
Summary
Read references/summary-views.md before drawing it: it says which view fits which change.
Evidence
One Before/After pair per outcome, from step 2. A test run is written as the test in pseudocode plus its result — saving unchanged content returns the cached result — fails then — passes. A screenshot is its link, with one line saying what it shows.
Merge Danger
Door — two-way when reverting the merge undoes it completely, one-way when something outlives a revert: a migration, deleted data, a published contract, a message already sent. A one-way door says what outlives the revert.
Blast Radius — one word for how far a failure reaches: none, local, module, app, consumers. Then, when it is wider than local, the concrete ways it shows: layout shift, a breaking change for consumers, mobile responsiveness, a slower query. A criterion no test reached and nobody walked in the app is named here as the risk it is.
Done when every section is filled from the diff and the evidence, and nothing in the body describes code the diff no longer has.
4. Publish
Push the branch, then open the PR — a draft when the caller asked for one — or rewrite the open one's title and body.
Done when the PR shows the new title and body, and you have given the caller its link.
