chore: CLAUDE.md learnings from PR review (week of 2026-05-22)#99
Merged
Conversation
- Added recurring Claude guidance from merged PR review feedback - Kept the update limited to CLAUDE.md learned patterns Testing: Reviewed generated diff; documentation-only change Risks: None identified
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.
Summary
Automated analysis of 17 PRs merged 2026-05-08-2026-05-22.
Processed 25 review comments (25 human, 0 bot).
Identified 4 recurring failure modes for
CLAUDE.md.Feature Flags
None - documentation-only change.
New Patterns
CLAUDE.md
[mistake]: Before adding helper logic, grep for adjacent helpers with the same responsibility and delegate instead of duplicating membership checks or fixture factories. (context: duplication|helpers|tests|shell)
_base_dataduplicated the existingmake_minimal_datafixture factory.mark_plugin_failedduplicated the array-membership loop already inplugin_failed.[mistake]: When changing run-loop or self-learning resume/rate-limit logic, preserve persisted state contracts: iteration rows, session IDs, success counts, and terminal statuses. (context: run-loop|resume|state|rate-limit)
[mistake]: Guard boundary data before narrowing filters or status checks; failed reads, malformed entries, and defaulted fields can invert success/failure handling. (context: invariants|filters|error-handling)
openQuestionscalled.get()on possible non-dict entries.error_reasondefaulted toNone.Amended Patterns
CLAUDE.mdDocumentation & Versioning:plugin.jsonand everyFixed/Replacesclaim maps to behavior that existed before the PR.CHANGELOG.mdwas manually edited despite repo convention.plugin.json.Deduplicated
Stats
Verification
CLAUDE.mdchanged.