Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions .agents/skills/feature-close/tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ phase finished — and so is everything about pushing.
| the reference sweep | **nothing to sweep.** No path changed, so no link broke |
| the plan's §9, read out of the document | **unchanged** — §9 is a section of the body, and the body is the plan |
| answered or waived, written into the item | a body edit like any other |
| the why names the filed issue | the closing comment names it, by number — both issues are in one tracker, so it is a reference rather than a path |
| the why names the filed issue | the closing comment names it, by its reference — both issues are in one tracker, so it is a reference rather than a path |
| delete `context/notes.md` | **unchanged** — it is a file in a working tree under either answer, and it is deleted the same way |

**The archive is the closed issue**, and it is more than the file it replaces: the plan, the discussion
Expand All @@ -29,15 +29,26 @@ ported.

### Who closes it

**Where [`context/git.md`](../../../context/git.md) says the agent pushes and opens a pull request**, put
`Closes #<issue>` in the pull request body and let the merge close it. The close then rides the same change
as the work — which is exactly what appending the `history.md` row does under the other answer.
**What closes it is [`context/tracking.md`](../../../context/tracking.md)'s *how a change closes one*;
when is this section's.** Where that row is absent, the answer is GitHub's keyword, `Closes #<n>`: say so
once and name `/onboard`. Name the issue in the form *how an issue is referenced* gives, wherever this
command writes it.

**Where it says anything else, close the issue here**, with the closing comment, and say that is what
happened. Nothing else will: the trailer fires only when the commit reaches the default branch, and under
**Where the close is a command, run it here, once what this command writes is committed** — the one for
*completed*, or for *not planned* under `--dropped` — whatever `git.md` says, and put no keyword in the
pull request. Nothing else will run it. Every phase is already committed, which is what the refusal
checked; **where the user commits, hand the command over with the change** rather than closing ahead of
their commit.

**Where it is a keyword and [`context/git.md`](../../../context/git.md) says the agent pushes and opens a
pull request**, put it in the pull request body and let the merge close it. The close then rides the same
change as the work — which is exactly what appending the `history.md` row does under the other answer.

**Where `git.md` says anything else, close the issue here**, with the closing comment, and say that is what
happened. Nothing else will: the keyword fires only when the commit reaches the default branch, and under
those answers it never gets there.

**`--dropped` always closes here, whatever `git.md` says.** A trailer closes an issue as *completed*, and
**`--dropped` always closes here, whatever `git.md` says.** A keyword closes an issue as *completed*, and
that is the wrong outcome for an idea that will not be built — the two close reasons are how this answer
records what `history.md`'s Outcome column used to.

Expand Down Expand Up @@ -71,4 +82,4 @@ Name them in the closing comment and in the report, and **leave the relationship
and its reason are the only explanation a person will find when they open one of those issues next month.

**Then push, if `git.md` says so.** Unchanged, except that the pull request body links the issue rather
than an archived path, and carries the trailer described above.
than an archived path, and carries the keyword only where *Who closes it* puts one there.
15 changes: 12 additions & 3 deletions .agents/skills/feature-implement/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,20 @@ Require concrete evidence — file paths, command output — for every verdict,
**one bit: does it block this phase or not.** There is no severity scale to assign — see *What happens to a
defect the gate found* in [`context/workflow.md`](../../../context/workflow.md).

**Before reading the verdict, sort each note by where its defect came from**, per *A defect this work put
there is never filed* in [`context/workflow.md`](../../../context/workflow.md) — an earlier phase's defect
included. **A `PASS WITH NOTES` carrying one that blocks is a `FAIL`**, and step 10 fixes it. Nothing this
feature wrote is ever filed as a bug.

- `PASS` or `PASS WITH NOTES` → the phase's work is done; go to step 11.
- `FAIL` → go to step 10.

**Every non-blocking observation gets one of two ends, and kind decides which** — not size. The full
argument is *What happens to a defect the gate found* in
**Every other non-blocking observation gets one of two ends, and kind decides which** — not size. The
full argument is *What happens to a defect the gate found* in
[`context/workflow.md`](../../../context/workflow.md):

- **A real defect, and it is user-visible or a regression would land green** → it is a **bug**. File it
- **A real defect that was there before this feature, and it is user-visible or a regression would land
green** → it is a **bug**. File it
wherever this project already files bugs, with this project's own labels, and say in the report that you
did. **Do not apply the backlog label** — see *A bug is not a backlog entry* in
[`context/workflow.md`](../../../context/workflow.md). The backlog is a list of features and this is not
Expand All @@ -260,6 +266,9 @@ Under the cap: re-brief with the prior implementation and the validator's feedba
summarise or paraphrase it** — plus the instruction to address only the failing items, refactor nothing
that passes, and expand no scope. Then re-run the same gate.

**An old defect step 9's sort promoted never reaches the cap.** If one loop does not settle it, back its
edit out and give it its kind's end, and the verdict stands on the rest.

At the cap: **close the row to `blocked` with the reason in its Note — before you escalate**, not after.
A phase whose verification cannot pass is blocked by definition. Then hand back to the user with the
current state and the last feedback verbatim.
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/feature-plan/tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ research, write, report — and only where the plan lands changes.

| Above | Becomes |
|---|---|
| `/feature-plan "<name>"` | `/feature-plan #<issue>` — the number is the name under this answer |
| `/feature-plan "<name>"` | `/feature-plan <issue>`, in a form *how an issue is referenced* accepts — GitHub's `#<n>` where that row is absent, said once with `/onboard` named. The issue is the name under this answer |
| pick from `context/roadmap.md` | pick from the open issues carrying the backlog label |
| the ranking's first key | **the issue's `Priority:` line**, above everything below it |
| ranking's *has a draft* | the issue body already holds researched material rather than one or two lines |
Expand Down
8 changes: 7 additions & 1 deletion .agents/skills/onboard/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,13 @@ answer's vocabulary. Under the working-tree answer that subsection is deleted in
that the workflow **sets a type and never reads one** — no refusal, ranking or report branches on it.
Warn about the collision if the set includes `Task`: that word means work too small for this loop in
[`workflow.md`](../../../context/workflow.md), and an issue typed `Task` is still a workflow feature.
4. **Create either label if it is absent**, and say so before doing it. This is the first thing this
4. **How an issue is referenced, and how a change closes one** — two rows of that subsection's table,
shipped with GitHub's answer. On GitHub, confirm them and move on. **Where the tracker is not the
forge, ask for both**: the reference a commit writes and the forms a command accepts, and whether the
close is a keyword the forge acts on or a command — one for *completed* and one for *not planned*. The
alternatives are in [`context/tracking.notes.md`](../../../context/tracking.notes.md). **Where the rows
are absent**, an install from before they shipped, write them from that file and say you did.
5. **Create either label if it is absent**, and say so before doing it. This is the first thing this
command does that is visible to anyone else with access to the repository — which is why the check
above runs first: a refusal that fires after the label exists is a refusal that already wrote.

Expand Down
67 changes: 47 additions & 20 deletions .agents/skills/orchestrate/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ Read [`context/workflow.md`](../../../context/workflow.md) for the gate contract

```
/orchestrate "<what to do>"
/orchestrate #<issue> # the issue is the brief
/orchestrate <issue> # the issue is the brief
/orchestrate <issue> <issue> … # several issues one change settles, closing each
/orchestrate --pr "<what to do>" # end at a pull request and answer its review (steps 7-8)
/orchestrate --pr #<issue>
/orchestrate --pr <issue> [<issue> …]
```

**The second form is how a bug reaches this loop.** A defect too small to plan has no backlog entry and
Expand All @@ -31,6 +32,15 @@ somebody remembers. Read the issue per [`context/tracking.md`](../../../context/
answer and use its title and body as the brief; **quote nothing back into a new description.** Where that
file names no tracker, this form has nothing to read: say so and ask for the work as a sentence.

**An argument is an issue when it has a form that file's *how an issue is referenced* accepts**, and the
quoted form is prose. Write the issue in that form wherever this run names it. Where the row is absent,
GitHub's `#<n>` is the answer: say so once and name `/onboard`.

**Several issues are one brief when one change settles them all** — one defect filed twice, or small
defects in the same code that one commit fixes, each still checkable on its own. Step 1 judges the set as
one change: issues sharing only an area, a label or a feature are a category, and the refusal names which
to run alone. Read each, close each, and **do not mix prose with issues**.

## 1. Refuse, before anything else

Two guards, or this becomes the way to skip planning:
Expand All @@ -40,9 +50,9 @@ Two guards, or this becomes the way to skip planning:
scope would need to be split into, and name `/roadmap`.
2. **Refuse anything an existing roadmap entry already covers.** Read `context/roadmap.md` and check. If
one covers it, say which, and name `/feature-plan` and `/feature-implement`.
3. **Refuse an issue that carries the backlog label.** That label says the backlog owns it, and a labelled
issue is a feature whether or not it looks small from here. Name `/feature-plan`. This guard replaces
guard 2 under the tracker answer, where the backlog is not a file.
3. **Refuse an issue that carries the backlog label**, or a set where any one does. That label says the
backlog owns it, and a labelled issue is a feature whether or not it looks small from here. Name
`/feature-plan`. This guard replaces guard 2 under the tracker answer, where the backlog is not a file.

Apply the standing test from [`context/workflow.md`](../../../context/workflow.md): *if you would want a
`history.md` row for it, it is a feature.* Ask that question out loud and answer it before proceeding.
Expand Down Expand Up @@ -104,14 +114,19 @@ Require concrete evidence — file paths, command output — for every verdict,
bit: does it block this change or not.** There is no severity scale — see *What happens to a defect the gate
found* in [`context/workflow.md`](../../../context/workflow.md).

**Before reading the verdict, sort each note by where its defect came from**, per *A defect this work put
there is never filed* in that same file. **A `PASS WITH NOTES` carrying one that blocks is a `FAIL`**, and
step 5 fixes it. Nothing this change wrote is ever filed as a bug.

- `PASS` or `PASS WITH NOTES` → done.
- `FAIL` → loop back.

**Every non-blocking observation gets one of the ends in *What happens to a defect the gate found* in
[`context/workflow.md`](../../../context/workflow.md), and kind decides which** — not size, and **not
**Every other non-blocking observation gets one of the ends in *What happens to a defect the gate found*
in [`context/workflow.md`](../../../context/workflow.md), and kind decides which** — not size, and **not
whether it needs code changes**, which every true observation about code does.

- **A real defect, and it is user-visible or a regression would land green** → a **bug**, wherever this
- **A real defect that was there before this change, and it is user-visible or a regression would land
green** → a **bug**, wherever this
project already files bugs, carrying this project's own labels. **Never the backlog label** — see *A bug
is not a backlog entry* in that same file. The backlog is a list of features and this is not one.
- **Not a defect, but work you would want a `history.md` row for** → that is a backlog entry, and adding
Expand All @@ -129,12 +144,15 @@ Cap: **two loops per gate.** Re-brief with the prior implementation and the vali
**verbatim**, plus the instruction to address only the failing items, refactor nothing that passes, and
expand no scope.

**An old defect step 4's sort promoted never reaches the cap.** If one loop does not settle it, back its
edit out and give it its kind's end, and the verdict stands on the rest.

At the cap: **stop and hand back.** This command has no ledger to write a `blocked` row into, so the record
is the working tree plus the report: leave the change exactly where it is, uncommitted, and say what failed,
what was tried, and what the last feedback was. **If the work is still worth doing, it is a bug** — file it
wherever this project files bugs and name it. **Never the backlog label**, for the reason in
[`context/workflow.md`](../../../context/workflow.md). Run from `#<issue>`, the issue is already that
record: say what is left in it rather than opening a second one.
[`context/workflow.md`](../../../context/workflow.md). Run from an issue, the issue is already that
record: say what is left in it rather than opening a second one, in each issue it is about.

**A commit-sized change that cannot pass its gates is handed back, not filed away.** Nothing here writes a
record that outlives the session, because nothing here is half-finished in a way the next session could
Expand Down Expand Up @@ -164,12 +182,20 @@ pushes a branch and creates no tree.
committed to it is not a smaller version of this flag, it is nothing.
- **The agent commits** → one commit, at the granularity that file names.

**Run from `#<issue>`, the commit is what closes it.** Put `Closes #<issue>` in the commit message, the
same way `/feature-close` puts it in a pull request body — the close then rides the change instead of being
a step somebody has to remember, which is the whole reason this command takes an issue at all. **Where the
user commits, say the line rather than writing it**: it is their commit, and a close is not yours to make
on their behalf. Never close the issue by hand as a separate act — a closed issue whose fix is sitting
unstaged in somebody's tree is worse than an open one.
**Run from an issue, the change is what closes it**, by *how a change closes one* in
[`context/tracking.md`](../../../context/tracking.md) — the close then rides the change instead of being a
step somebody has to remember, which is the whole reason this command takes an issue at all.

- **A keyword** → put it in the commit message, the same way `/feature-close` puts it in a pull request
body. Where the row is absent, it is GitHub's `Closes #<n>`.
- **A command** → run it once the commit exists, and write no keyword.

**From several issues, close each one**: a whole keyword per issue, or the command once per issue.

**Where the user commits, say the line or the command rather than writing or running it**: it is their
commit, and a close is not yours to make on their behalf. **Close by the recorded answer, and only after
the change is committed** — a closed issue whose fix is sitting unstaged in somebody's tree is worse than
an open one.

## 7. `--pr` — the change leaves the machine

Expand All @@ -190,8 +216,8 @@ request, and the review answered** — the last of those is step 8 and
not*.

**The body is this run's report** — step 9's content, which is the only description of the change that
exists. Run from `#<issue>`, step 6 already put `Closes #<issue>` in the commit, so the body does not repeat
it: the trailer closes the issue on merge whichever text the forge reads.
exists. Run from an issue, step 6's close is already made: a keyword in the commit closes it on merge
whichever text the forge reads, so the body does not repeat it, and a command ran after the commit.

### It cannot invent a branch

Expand Down Expand Up @@ -256,8 +282,9 @@ answer, and this step does not apply to it in any form.
What changed, whether it is committed or waiting in the tree, the Gate 1 output, the Gate 2 verdict, any
loopbacks, any non-blocking observations the review raised — which die here — any bug filed for work that
outlived the change, any backlog entry step 4's `/roadmap` added — or only *proposed*, with the
`/roadmap "…"` line to type, where its ask was declined or could not be made — whether the commit closes
the issue it ran from, and any release note written, with the paths that were checked and owed nothing.
`/roadmap "…"` line to type, where its ask was declined or could not be made — how each issue it ran from
is closed, by the keyword in the commit or the command that ran, or the line still to type — and any
release note written, with the paths that were checked and owed nothing.

**Under `--pr`**, also the branch that was pushed and the pull request that was opened — or the line in
step 7 that stopped short of one — plus what [`review.md`](review.md) says each round reports, and that
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/roadmap/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ file names the tracker, read [`tracker.md`](tracker.md) beside this file before
```
/roadmap # print the backlog — read-only
/roadmap "some idea" # append one pending entry
/roadmap #123 # adopt an existing issue — tracker answer only
/roadmap <issue> # adopt an existing issue — tracker answer only
```

## When nobody typed it
Expand Down
11 changes: 6 additions & 5 deletions .agents/skills/roadmap/tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ its assignee and what it waits on, so the backlog is a single query — no per-i
cached between runs. Step 5's count is the second, and asks for labels alone.

**Group by tier, because that is the question this command answers.** Planned first, ideas second, and
each row on one line:
each row on one line, led by the issue in the form *how an issue is referenced* gives. Shown here with
GitHub's `#<n>`, which is also the answer where that row is absent:

```
PLANNED (2)
Expand All @@ -93,9 +94,9 @@ OUTSIDE THE BACKLOG (9)
an unmarked entry is.
- **`assigned` is the marker's replacement**, and it is the whole of what this command says about who is
working on what. No name, no duration, no staleness — that is `/feature-status`.
- **`waits on #N` is the relationship**, printed on the row it constrains and in whichever group the entry
belongs to. **Do not lift a waiting entry into a group of its own**: what tier it is in and what it is
waiting on are different facts, and collapsing them is what the two groups exist to prevent. A cycle, or
- **`waits on <issue>` is the relationship**, printed on the row it constrains and in whichever group the
entry belongs to. **Do not lift a waiting entry into a group of its own**: what tier it is in and what it
is waiting on are different facts, and collapsing them is what the two groups exist to prevent. A cycle, or
a backlog where everything is waiting, is worth one line under the count and no more.
- **An empty group still prints, with `(0)`.** *No plans at all* and *no ideas left* are both answers
somebody came here for, and a heading that vanishes reads as a backlog that was not looked at.
Expand Down Expand Up @@ -149,7 +150,7 @@ costs one edit to remove, and only if the user can see it.
Someone else's issue can enter the backlog without being retyped:

```
/roadmap #123 # adopt an existing issue into the backlog
/roadmap <issue> # adopt an existing issue into the backlog, in a form tracking.md accepts
```

Apply the backlog label to it and stop. **Copy nothing and rewrite nothing** — the reporter's wording, the
Expand Down
Loading