Authoring lint: required checks, undeclared outcomes, delivery claims, loop limits, silent guards, boilerplate

This commit is contained in:
2026-11-04 13:04:11 +00:00
parent fa6c0864db
commit 37e941bbba
16 changed files with 745 additions and 44 deletions
+28 -12
View File
@@ -33,8 +33,9 @@ error -> #failure
```prompt
Implement the plan from input.md. Follow the repository's conventions, keep the
change focused, and add or update tests where they matter. Preserve unrelated
work. Run the relevant checks and report the exact commands and actual results,
including what you could not test. Do not commit, push or deploy.
work. Run focused checks for the touched code only (quiet or summary output);
the committer runs the full checks once. Report the exact commands and actual
results, including what you could not test. Do not commit, push or deploy.
```
```tools
@@ -45,6 +46,10 @@ edit
shell
```
```checks
none: focused checks only; the committer runs the project's required checks once
```
```configs
provider=default
model=default
@@ -61,12 +66,13 @@ error -> #failure
# stage reviewer
```prompt
Independently review the actual change against the task and plan. Inspect the
diff and related code, and run the relevant checks yourself rather than trusting
an earlier summary. Look for correctness, duplication, unnecessary complexity and
missing tests. Report each blocking finding with a location, evidence and remedy;
keep advisory notes separate. Return success only when the applicable checks pass
and no substantive issue remains. Do not edit or commit.
Independently review the actual change against the task and plan. Start with
`git diff --stat`, then read the changed hunks and only the related code you
need. Do not run test suites; judge the implementer's reported checks and name
any missing coverage. Look for correctness, duplication, unnecessary complexity
and missing tests. Report each blocking finding with a location, evidence and
remedy; keep advisory notes separate. Return success only when no substantive
issue remains. Do not edit or commit.
```
```tools
@@ -78,6 +84,10 @@ websearch
webfetch
```
```checks
none: read-only review; shell is used only for git diff
```
```configs
provider=default
model=default
@@ -94,10 +104,12 @@ error -> #failure
# stage committer
```prompt
Commit this run's change locally. Inspect `git status` and the full diff; stage
only this run's work, never secrets or generated files. Run the relevant checks
and report the actual results. If nothing changed, say so rather than creating an
empty commit. Do not push, tag, deploy or rewrite history.
Commit this run's change locally. Inspect `git status` and `git diff --stat`,
then the staged diff; stage only this run's work, never secrets or generated
files. Run the project's required checks once with quiet or summary output and
report the commands and results; return blocked with the failing output when one
fails. If nothing changed, say so rather than creating an empty commit. Do not
push, tag, deploy or rewrite history.
```
```tools
@@ -107,6 +119,10 @@ grep
shell
```
```checks
none: generic starter has no project commands; with delivery=true list them here for the server to run
```
```configs
provider=default
model=default