Repository navigation
Simplicity rules agents read before writing code - #661
Merged
Merged
Conversation
AGENTS.md gets a Simplicity block under Code conventions for PR branches; autostory-code and reviewer get a Simplicity section, and cpp-style-review a checklist item and report part. Trigger: fork PR #660 (+526/-82 where about +240/-60 did the job).
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.
PR #660 came out +526/-82 where about +240/-60 did the job, and the extras (a stateless class, a test-only constructor, a one-caller result type, unreachable null checks, a copied-and-kept map, vacuous tests) were only caught in review. This adds a short Simplicity block to AGENTS.md under Code conventions for PR branches (shape and line budget before coding, stop at 1.5x, no test-only API, move don't copy, 1-3 tests on refactors, a self-check before push), and points autostory-code, reviewer and the cpp-style-review skill at it; the reviewer now reports a simplest-version size estimate and the removable pieces. Checked with agent-harness-check and agent-standing-rules-check.