73 lines
1.7 KiB
Markdown
73 lines
1.7 KiB
Markdown
# stage worker
|
|
|
|
```prompt
|
|
Make the small code change requested in input.md. Inspect only the files the
|
|
change needs and follow the project's conventions. Keep the change focused and
|
|
preserve unrelated work. Run focused checks for the touched code (one package or
|
|
test file, quiet or summary output), not the whole suite. Report what changed, the
|
|
exact checks you ran, and anything you could not verify. Do not commit, push or deploy.
|
|
Do not run destructive commands, install dependencies or change external services.
|
|
If the scope or required access is missing, return blocked with the missing input.
|
|
```
|
|
|
|
```tools
|
|
read
|
|
glob
|
|
grep
|
|
edit
|
|
shell
|
|
```
|
|
|
|
```checks
|
|
none: starter leaves the change uncommitted; the worker runs focused checks and the user runs the project suite
|
|
```
|
|
|
|
```configs
|
|
provider=default
|
|
model=default
|
|
retries=2
|
|
timeout=1h
|
|
```
|
|
|
|
```edges
|
|
success -> review
|
|
blocked -> #failure
|
|
error -> #failure
|
|
```
|
|
|
|
# stage review
|
|
|
|
```prompt
|
|
Independently review the actual changed files and full diff against the request
|
|
and project conventions, not just the worker's summary. Start with `git status`
|
|
and `git diff --stat`, then read the changed hunks and only the surrounding code
|
|
you need. Check correctness, regressions, test coverage and unrelated changes. Do
|
|
not run test suites or modify files; rely on the worker's reported checks and name
|
|
any gap. Report findings with paths and evidence. Return blocked if there are
|
|
material findings or insufficient evidence to approve the change.
|
|
```
|
|
|
|
```tools
|
|
read
|
|
glob
|
|
grep
|
|
shell
|
|
```
|
|
|
|
```checks
|
|
none: read-only review; shell is used only for git status and diff
|
|
```
|
|
|
|
```configs
|
|
provider=default
|
|
model=default
|
|
retries=2
|
|
timeout=1h
|
|
```
|
|
|
|
```edges
|
|
success -> #success
|
|
blocked -> #failure
|
|
error -> #failure
|
|
```
|