@@ -11,11 +11,19 @@ Fix issue #$1 in this repository.
11112 . Find the relevant files. Use Glob and Grep, read before editing.
12123 . Create a branch off main: ` git checkout -b agent/ui-fix-$1 main `
13134 . Implement the fix.
14- - Use existing design tokens and utility classes, never hardcoded
15- hex colours or pixel values.
16- - Touch only UI/styling files. Do not change business logic,
17- API calls, or auth.
14+ - Any part of the app is in scope: UI, business logic, API routes,
15+ data fetching, auth. Every PR is reviewed by a human before merge,
16+ so fix what the issue actually asks for instead of narrowing it.
17+ - Follow the conventions in CLAUDE.md: reuse existing components,
18+ icons, hooks, types and utilities; use existing design tokens and
19+ utility classes, never hardcoded hex colours or pixel values.
1820 - Keep the change as small as the issue requires.
21+ - You cannot reach the backend or any network from this run. If the
22+ issue names an endpoint, payload or contract, implement it as the
23+ issue describes, mirror the shape of the existing code you are
24+ replacing, and list the assumption in the PR body under
25+ ` ## Assumptions ` for the reviewer to confirm. Do not stop just
26+ because you cannot verify a backend contract.
19275 . Verify: ` npm run lint ` and ` npm run build ` must both pass.
2028 Fix anything you broke before continuing.
21296 . Commit and push:
@@ -29,9 +37,14 @@ Fix issue #$1 in this repository.
2937
3038This runs in GitHub Actions. Nobody will answer questions.
3139
32- If the issue is too ambiguous to fix safely, do NOT change code.
33- Instead: comment on the issue explaining what's unclear, add the
34- ` agent-needs-human ` label, and stop.
40+ Missing context is not a reason to stop. Pick the most reasonable
41+ reading of the issue, implement it, and record what you assumed in the
42+ PR body — the reviewer corrects it there.
43+
44+ Only bail out when the issue does not describe an actionable change at
45+ all (e.g. it contradicts itself, or the files it refers to do not
46+ exist). In that case: comment on the issue explaining what's blocking
47+ you, add the ` agent-needs-human ` label, and stop.
3548
3649## Done means
3750
0 commit comments