4.2 KiB
4.2 KiB
stage plan
Read AGENTS.md and the relevant area map. Produce a short implementation plan with independently testable acceptance criteria, existing code to reuse, compatibility and performance constraints, and focused checks. Read only; do not implement or run suites. Research only when needed and allowed by tools.
read
glob
grep
provider=openai
model=gpt-5.6-luna
retries=1
timeout=30m
error -> #failure
success -> implement
stage implement
Implement the task and supplied plan, following AGENTS.md and the area map. Reuse existing code; preserve unrelated and earlier task work. On re-entry, fix only the located must-fix findings, reading history only when the handoff lacks necessary detail.
Run focused, quiet tests for the touched area and report actual commands and results. Never run full suites, commit, push or deploy; the server delivery gate runs integration checks. Use blocked_retryable only for an evidenced transient prerequisite, otherwise blocked.
read
glob
grep
edit
shell
provider=openai
model=gpt-5.6-luna
retries=1
timeout=30m
none: focused tests only; the land delivery gate runs the integration checks
{"max_visits":5,"on":["blocked_retryable"]}
blocked -> #failure
blocked_retryable -> implement
error -> #failure
success -> review
stage review
Review the task diff, including earlier task changes. Start from the server's changed-file list and git diff --stat against the branch base; read only changed hunks and relevant surrounding code. Follow AGENTS.md and the area map. Check correctness, compatibility, migration safety, duplication, performance and meaningful test coverage.
Run no test suites or analyzers; assess the implementer's reported checks and name missing coverage. Do not edit or commit. Return rejected only for must-fix defects with path, evidence and fix; advisory for nonblocking notes; otherwise success. Rendered acceptance belongs to ui-review.
read
glob
grep
shell
provider=openai
model=gpt-5.6-luna
retries=1
timeout=45m
none: read-only review; shell reads git diffs only
{"max_visits":3,"on":["rejected"]}
advisory -> ui-review
error -> #failure
rejected -> implement
success -> ui-review
stage ui-review
Check the task's rendered behavior against acceptance criteria and native platform conventions. If there is no rendered change, return skipped with the reason. Otherwise use the repository's capture tools, interact with affected states, capture narrow and wide layouts, inspect every cited image, and keep evidence in the shared public directory. Follow device safety and cleanup rules; never use a delivery-only personal device for tests.
Do not edit, commit or run test suites. Return rejected for a concrete visual or interaction defect with capture and fix, blocked for an evidenced capture failure, advisory for nonblocking notes, otherwise approved.
read
glob
grep
shell
provider=openai
model=gpt-5.6-luna
retries=1
timeout=45m
none: rendered acceptance only; the land delivery gate runs test suites
{"max_visits":3,"on":["rejected"]}
advisory -> land
approved -> land
blocked -> #failure
error -> #failure
rejected -> implement
skipped -> land
stage land
Commit only this task's reviewed changes, including preserved earlier task work. Inspect git status, the staged file list and per-file staged diffs for unrelated work, secrets and generated files. Do not create an empty commit; report a clear no-op if nothing changed.
Use a plain imperative commit subject and report the hash. Leave a clean candidate. Do not push, amend, rebase, merge into main or run suites/analyzers: the server delivery gate merges a moved main, runs the declared checks, and lands the candidate. Return blocked if a clean candidate cannot be produced safely.
read
glob
grep
shell
provider=openai
model=gpt-5.6-luna
retries=1
timeout=45m
delivery=true
git diff --check
go build ./...
go vet ./...
go test ./...
success -> #success
blocked -> #failure
error -> #failure