Skip to content

Simplicity rules agents read before writing code - #661

Merged
dayfine merged 1 commit into
agentsfrom
agents-simplicity-rules
Nov 19, 2026
Merged

dayfine merged 1 commit into
agentsfrom
agents-simplicity-rules

Conversation

@dayfine

@dayfine dayfine commented Nov 19, 2026

Copy link
Copy Markdown
Owner

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.

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).
@dayfine
dayfine marked this pull request as ready for review November 19, 2026 03:55
@dayfine
dayfine merged commit 63d3816 into agents Nov 19, 2026
2 checks passed
@dayfine
dayfine deleted the agents-simplicity-rules branch November 19, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant