Skip to content

Record lessons from review in AGENTS.md - #212

Merged
cayossarian merged 2 commits into
prerelease/3.8from
docs/review-lessons
Oct 9, 2026
Merged

cayossarian merged 2 commits into
prerelease/3.8from
docs/review-lessons

Conversation

@cayossarian

Copy link
Copy Markdown
Member

Adds a "Lessons from review" section to AGENTS.md: rules that review has already had to enforce once, here or in the emitter this library is tested against.

  • Prove a test or guard by breaking what it guards, and assert what a consumer can observe.
  • A test that keeps documentation runnable reads the documentation.
  • Docstrings and the README ship; a changelog is checked, not just written.
  • The public surface is complete and free of dormant parameters.
  • Captured data is read as published, and a change is checked against every capture.
  • The specification is cited over a migration guide, and results are reported only after they have been run.

Documentation only. pre-commit run on the file and the commit hook's full suite pass: 1856 passed, 7 skipped, 9 xfailed.

Rules that review has already had to enforce once, here or in the emitter this library is tested against: prove a test by breaking what it guards, treat docstrings, the README and the changelog as shipped, keep the public surface complete and free of dormant parameters, read captured data as published, check against every capture, cite the specification, and report only results that were run.
What a change must do is settled in its specification; AGENTS.md keeps the checks made while writing and verifying it: break what a test guards, read the docs a docs test protects, check the changelog as it ships, read data as published, check every capture, and measure claims.
@cayossarian
cayossarian merged commit 877c5aa into prerelease/3.8 Oct 9, 2026
5 checks passed
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