User Story Delivery
Coordinate one canonical GitHub Issue through implementation and independent review. GitHub is the durable progress record.
Use user-story-implementer for implementation and user-story-reviewer in a separate context for review and merge.
Workflow
- Read repository instructions and the complete issue, including dependencies, scope, acceptance criteria, comments, and linked work.
- Resolve any existing local or remote branch and Pull Request for the issue. Resume them instead of creating duplicates. Stop on ambiguous candidates.
- Confirm dependencies are delivered and the issue has testable acceptance criteria.
- For a new story, invoke
user-story-implementerin a fresh, clearly named context; do not repurpose a worker from another story. Resume an existing same-story worker only when its ownership and state are unambiguous. Require evidence for every acceptance criterion and focused verification of the changed behavior. - Wait for a complete implementation handoff. Do not start review from a partial head, and do not repeat unchanged progress reports while the worker is active.
- Verify the implementer's reported PR and head SHA against GitHub.
- Invoke
user-story-reviewerin an independent context. The reviewer checks the implementation against every acceptance criterion, runs risk-relevant verification, and either requests changes or signs off and merges when repository policy permits. - When review finds blocking problems, send the complete finding set to the same implementer and wait for a complete revised handoff on the same PR. Review that head in a fresh independent reviewer context.
- Repeat until no blocking findings remain, required checks pass, and the PR is merged according to repository policy.
- Re-read the PR and issue. Finish only after the reviewed head is merged and the canonical issue is closed.
If the same blocking behavior survives revision, pause automatic cycling, diagnose the cause, and continue only with a materially different safe approach; otherwise report the decision or change needed.
If correctness requires a product decision, credential, permission, external service, or unfinished dependency, record the concrete blocker on the issue and report the exact action required. A retry limit is not completion.
Compact handoff
Handoffs between specialist contexts and the coordinator should contain only:
- Issue:
- PR:
- Head SHA:
- Result:
- Acceptance-criteria evidence:
- Verification:
- Blocking findings:
- Blocker:
Detailed evidence belongs on the issue, PR, review, or check run rather than being repeated in conversation.
Completion
An approval, comment-only review, open PR, closed issue without merge evidence, or follow-up issue is intermediate state. Report Done only when all acceptance criteria are evidenced, independent review has no unresolved blocker, the reviewed head is merged, required checks pass, and the issue is closed.