Merge main; align lint and skill practices with essential memory/history and the four graded examples
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
# stage implement
|
||||
|
||||
```prompt
|
||||
Make the small change requested in the run prompt (see memory.md). On a later
|
||||
visit, input.md holds the reviewer's findings: fix each must-fix finding. Keep the
|
||||
change focused and follow the project's conventions. Run focused checks for the
|
||||
touched code only (quiet or summary output), not the whole suite. Leave the
|
||||
changes uncommitted; never commit, push or deploy. Report changed paths and
|
||||
checks run. Return blocked if the request cannot be met.
|
||||
```
|
||||
|
||||
```tools
|
||||
read
|
||||
glob
|
||||
grep
|
||||
edit
|
||||
shell
|
||||
```
|
||||
|
||||
```checks
|
||||
none: changes stay uncommitted; the stage runs focused checks and the user runs the full suite
|
||||
```
|
||||
|
||||
```configs
|
||||
provider=default
|
||||
model=default
|
||||
retries=1
|
||||
timeout=30m
|
||||
```
|
||||
|
||||
```edges
|
||||
success -> review
|
||||
blocked -> #failure
|
||||
error -> #failure
|
||||
```
|
||||
|
||||
# stage review
|
||||
|
||||
```prompt
|
||||
Independently review the actual change against the original request in
|
||||
memory.md, not just the implementer's summary: `git diff --stat` first, then the
|
||||
changed hunks and only the code around them. Run no test suites. Return
|
||||
rejected only for a must-fix problem, giving its location, evidence and fix.
|
||||
Otherwise return approved, with any non-blocking notes in the body. Do not edit,
|
||||
commit or push.
|
||||
```
|
||||
|
||||
```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=15m
|
||||
```
|
||||
|
||||
```limits
|
||||
{"max_visits":3,"on":["rejected"]}
|
||||
```
|
||||
|
||||
```edges
|
||||
approved -> #success
|
||||
rejected -> implement
|
||||
error -> #failure
|
||||
```
|
||||
Reference in New Issue
Block a user