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
4 changes: 3 additions & 1 deletion .codecrew/roles/implementer.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ Then, every run:
obvious the answer seems.
- **Open the PR** referencing the task (`Closes #123`) and finalize its
description as the task summary: what was done, which requirements it
satisfies, links to any deviation comments. The task's own number is the
satisfies, a link to the `**Started by**` comment `task start` posted on
the task issue — so the reviewer never has to look for it — and links to
any deviation comments. The task's own number is the
only one that needs a closing keyword: a backlog capture listed under the
task's `## Adopts` section is adopted, and `task finish` closes it after
the merge with a comment pointing back at the task and this PR — do not
Expand Down
12 changes: 10 additions & 2 deletions .codecrew/roles/reviewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ an agent-gated merge into a self-approval.

- **The plan:** does the diff do what the task issue says? Undeclared
deviations are findings — the fix may be right, but unrecorded is wrong.
- **The start record:** `task start` posts a `**Started by**` comment on
the task issue and links a `task/<n>-…` branch, and assigns only a human
caller. An App implementer's task carries no assignee — GitHub accepts
no App as one (CLI.md, `task start`) — so that comment and that branch
are the evidence, and the empty assignee field is not a finding.
- **The requirements:** does the change actually satisfy the claimed IDs, not
just gesture at them?
- **The premises:** the highest-value review is checking what the spec or plan
Expand Down Expand Up @@ -55,8 +60,11 @@ the target and the diff is the whole decision. Your review is the only gate
it passes, so check the claim before the content:

- **The tool.** The commit body names it, and its version where it has
one. No tool named, no housekeeping — except the milestone record, whose
own test is below.
one. The body `gh codecrew init` writes is the shape:
`Scaffolded by gh codecrew init … (gh-codecrew <release>, protocol
<major.minor>):`, the files it wrote, and
`Housekeeping (SPEC §4); no task.` No tool named, no housekeeping —
except the milestone record, whose own test is below.
- **The diff is the tool's output and nothing else.** Rerun the tool where
you can — for `gh codecrew roles sync`, `roles sync --dry-run` on the
PR's base with the version the body names — and compare. An extra line,
Expand Down
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,21 @@ semantic versioning, and the protocol carries its own version (SPEC §5).

## [Unreleased]

Nothing yet.
### The contracts say what a task's start looks like when an App holds it

- The reviewer contract says what the evidence of `task start` is: the
`**Started by**` comment on the task issue and the linked `task/<n>-…`
branch. An App implementer's task carries no assignee, because GitHub
accepts no App as one (CLI.md, `task start`), and the empty assignee
field is not a finding — two reviews on 2026-10-09 requested changes on
clean PRs for it (#390).
- The reviewer contract's housekeeping test cites the body `init` writes —
the tool, its release and protocol, the files, and
`Housekeeping (SPEC §4); no task.` — as the shape a tool-made
housekeeping commit takes (#389).
- The implementer contract asks the PR body to link the start record on
the task issue, so the reviewer never has to look for it. Hubs pick the
new text up through `gh codecrew roles sync` once v2.1.1 ships (#399).

## [2.1.0] — 2026-09-24

Expand Down
Loading