Repository navigation
chore(agents): enforce rules in checks and prune agent text - #193
Merged
Merged
Conversation
aorumbayev
marked this pull request as ready for review
December 4, 2026 23:59
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.
What
Rules a script can check are now checked, and the root agent rules shrink from 12 KB to 6.8 KB. CI fails a PR title of 70 characters or more, a body that breaks the template, a
featorfixthat changes core or domain code withoutdocs/behaviour.md(Behaviour: unchangedwaives it),anyhowoutsidekg, adead_codeallow, a trackedCLAUDE.mdorGEMINI.md, and a banned word in agent rules.Why
A pre-registered ablation ran one bug fix 3 times each with full, domain-only and minimal rules: medians 9.0, 9.0 and 8.5 of 10. The text that task exercised earned nothing, and 4 of 6 runs with the
behaviour.mdrule in context skipped it.Notes
Rules the task could not test stay, shortened; the cuts are restatements or check-covered.
opencode.jsonis gone: OpenCode loads a crate'sAGENTS.mdwhen the agent reads a file there (checked on this machine). Decision 312 follows main's 311.feat/chat-attachalso uses 312 and renumbers when it lands after this PR.