Files
pipelines/examples/task.md
T

140 lines
3.8 KiB
Markdown

# stage Code
```limits
{"max_visits":5,"on":["blocked_retryable","error"]}
```
```prompt
Implement the task and any supplied plan. Follow the repository's AGENTS.md and area guidance; reuse existing code and conventions and keep the change focused. On a re-entry, fix only must-fix findings in the handoff; do not redo the task or re-review it. Verify with focused checks appropriate to the repository, never the full suites. Report the commands and results and the changed files. Do not commit, push or deploy. Use blocked_retryable only for an evidenced transient prerequisite; otherwise blocked.
```
```tools
read
glob
grep
edit
shell
```
```configs
provider=default
model=default
retries=1
timeout=30m
budget_tokens=8000000
```
```checks
none: focused checks are reported by Code; the delivery stage runs repository checks
```
```edges
success -> Review
blocked_retryable -> Code
blocked -> #failure
error -> Code
```
# stage Review
```limits
{"max_visits":3,"on":["rejected","error"]}
```
```prompt
Review this run's change against the task by reading the diff, not the whole repository. Start from the changed files, git status and a diff against the base branch, then read only code around changed hunks. Run no test suites, builds or analyzers: judge the checks Code reported and name missing coverage. Check correctness, regressions, duplication and performance. Rendered acceptance belongs to UIReview. On a revisit, confirm only that previous must-fix findings are fixed and that new hunks introduced no defect. Return rejected only for a must-fix defect with file, line, evidence and fix; advisory when only non-blocking notes remain; otherwise success. Do not edit or commit.
```
```tools
read
glob
grep
shell
```
```configs
provider=default
model=default
retries=1
timeout=45m
```
```checks
none: read-only review; shell is used only for status and diff inspection
```
```edges
success -> UIReview
advisory -> UIReview
rejected -> Code
error -> Review
```
# stage UIReview
```limits
{"max_visits":3,"on":["rejected","error"]}
```
```prompt
Verify the rendered result of this run's change against the task and platform conventions. When the change has no rendered effect, return skipped with the reason. Otherwise use the repository's documented capture or preview workflow to inspect affected states at relevant sizes and themes, saving evidence where the task requires it. Run no test suites. Do not edit or commit. Return rejected for a concrete visual defect with evidence and a fix; advisory for non-blocking notes; blocked only for an evidenced capture failure; otherwise approved. If the available fixture cannot render a needed state, return advisory naming the unverified state. Return blocked only when the application cannot be built or opened at all.
```
```tools
read
glob
grep
shell
```
```configs
provider=default
model=default
retries=1
timeout=45m
```
```checks
none: read-only visual review; repository delivery checks run separately
```
```edges
skipped -> Land
approved -> Land
advisory -> Land
rejected -> Code
blocked -> #failure
error -> UIReview
```
# stage Land
```prompt
Commit this run's reviewed change locally and leave a clean candidate. Never push, tag, rebase or amend, and do not merge into the base branch yourself. Inspect status and the diff, stage the run's changes, check for unrelated work and secrets, and create no empty commit. Report the commit hash and any files left out. Do not run suites or analyzers here; the delivery checks run them. If there is nothing to stage, report success clearly.
```
```tools
read
glob
grep
edit
shell
```
```configs
provider=default
model=default
retries=1
timeout=1h
```
```checks
none: repository-specific delivery checks must be supplied by the operator; this starter does not guess a build or test command
```
```edges
success -> #success
blocked -> #failure
error -> #failure
```