Repository navigation
Conversation
An LLM check is a review rule in prose, for what no lint or test can enforce. A check is `.agents/checks/<name>/CHECK.md`: frontmatter with the paths it is about, the model and effort that judge it, and example changes it must flag (red) or pass (green), followed by the rule. `bin/llm-check run` judges the working tree against where it branched off `main`, together with the pull request's description, or the branch's commit messages while there is none. Every check whose paths the change touches gets a model run of its own. The judge is handed the diff of those paths and can read the checkout, but cannot change it. It is `claude`, `codex` (`--codex`) or `opencode` on OpenRouter (`--openrouter`). `bin/llm-check eval` replays the examples, each in a worktree at its own commit, and fails unless every run gives the expected verdict. Three checks to start with: `debug_assert_side_effects`, `catalog_migration_is_frozen` and `refactor_changes_no_behavior`. The checks run locally only for now. The `mz-llm-checks` skill runs them from Claude Code and Codex, and `.agents/checks/README.md` is the guide for adding one. Shell completion offers the commands, the flags and the names of the checks. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An LLM check is a review rule in prose, for what no lint or test can enforce. A check is
.agents/checks/<name>/CHECK.md: frontmatter with the paths it is about, the model and effort that judge it, and example changes it must flag (red) or pass (green), followed by the rule.bin/llm-check runjudges the working tree against where it branched offmain, together with the pull request's description, or the branch's commit messages while there is none. Every check whose paths the change touches gets a model run of its own. The judge is handed the diff of those paths and can read the checkout, but cannot change it. It isclaude,codex(--codex) oropencodeon OpenRouter (--openrouter).bin/llm-check evalreplays the examples, each in a worktree at its own commit, and fails unless every run gives the expected verdict.Three checks to start with:
debug_assert_side_effects,catalog_migration_is_frozenandrefactor_changes_no_behavior. The checks run locally only for now. Themz-llm-checksskill runs them from Claude Code and Codex, and.agents/checks/README.mdis the guide for adding one. Shell completion offers the commands, the flags and the names of the checks.