Skip to content

feat(quality): one check command, run before each commit, fixes in one pass - #2498

Merged
braboj merged 8 commits into
mainfrom
feat/check-loop
Nov 19, 2026
Merged

braboj merged 8 commits into
mainfrom
feat/check-loop

Conversation

@braboj

@braboj braboj commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

The check rules now ask for one check command and fewer, batched runs, to cut the check loop that drove the cost of round 5e's hybrid arm. No rule names a tool.

templates/core/quality.md, "Static checks":

- Annotate every public function's parameters and return type (MUST)    [kept]
+ Annotate types as the code is written
- Adopt a linter and a formatter, and keep both clean (MUST)             [kept]
- Run the type checker, the linter and the formatter before every commit and in CI
+ Give the project one check command running format, lint, types and tests, and run it in CI
+ While working, run the narrowest check that covers the affected behaviour and its dependents
+ Run the full check command before each commit and at completion; an unchanged, passing full check satisfies both
+ Do not re-run a check whose inputs have not changed since it passed
+ Batch independent fixes before re-running; re-run earlier when needed to diagnose or to verify a prerequisite fix
Emit mode What differs from the parent
default and --inline-skills AGENTS.md: only the lines above, plus its hash
--sections only base-quality/static-checks.md; the map is unchanged
the benchmark's lazyref templates only quality.md; manifest.yaml unchanged

Stacked on #2496. Closes #2461.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3

…ch commit (#2461)

The static-check rules now ask for one check command running format,
lint, types and tests; the narrowest covering check while working; the
full check before each commit and at completion, with no re-run of a check
whose inputs are unchanged; batched fixes; and types annotated as the code
is written. They replace the rule to run the type checker, the linter and
the formatter before every commit, and name no tool.

Closes #2461.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
@braboj braboj added the changelog:changed Changelog section: Changed label Nov 15, 2026
@braboj

braboj commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

Codex round 1 (gpt-6-astra, high): no findings.

🤖 Generated with Claude Code

Base automatically changed from feat/section-files to main November 19, 2026 11:59
@braboj

braboj commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Updated with main (#2496, #2499) as 5a76a59.

Codex full review after the update (gpt-6-astra, high): no findings. CI passes (smoke included; the reviewer's own smoke run stalled in its sandbox). Ready for the maintainer to merge.

🤖 Generated with Claude Code

@braboj
braboj merged commit dd300b8 into main Nov 19, 2026
16 checks passed
@braboj
braboj deleted the feat/check-loop branch November 19, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:changed Changelog section: Changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cut the agent's check loop: one check command, run before each commit, fixes in one pass

1 participant