Skip to content

chore: CLAUDE.md learnings from PR review (week of 2026-05-22)#99

Merged
thadeusb merged 1 commit into
mainfrom
claude-md/pr-learnings-2026-05-22
May 22, 2026
Merged

chore: CLAUDE.md learnings from PR review (week of 2026-05-22)#99
thadeusb merged 1 commit into
mainfrom
claude-md/pr-learnings-2026-05-22

Conversation

@thadeusb
Copy link
Copy Markdown
Collaborator

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

Amended Patterns

  • CLAUDE.md Documentation & Versioning:
    • Old: Never reference code, APIs, or schema fields that don't exist in the codebase or documented spec. Before writing CHANGELOG "Fixed" or "Replaces" entries, verify the prior implementation exists via grep. Before adding manifest fields, verify they're in the documented schema.
    • New: Never hand-write CHANGELOG entries for plugin changes; when reviewing generated release notes, verify the version heading matches plugin.json and every Fixed/Replaces claim maps to behavior that existed before the PR.
    • PR FEA-859 Add plugin remediation support #85 (mikeangstadt): CHANGELOG.md was manually edited despite repo convention.
    • PR FEA-860: Verify user-scoped ClosedLoop plugins #86 (mikeangstadt): the changelog version label did not match plugin.json.
    • PR PLN-555: feat(judges): error resilience and agent registry pre-flight validation #87 (mikeangstadt): changelog text fabricated a prior implementation.

Deduplicated

  • Test assertion/env isolation - already covered by the Testing pattern about sibling assertion coverage and ambient env vars.
  • Misleading comments/docstrings - already covered by the Code Quality pattern about auditing adjacent comments and docstrings.
  • Test helper duplication alone - already covered by the Testing helper-extraction pattern; the new Code Quality pattern covers the broader production-helper recurrence.
  • Security override routing/audit-log comments - only appeared in PR feat(code): add per-user security override mechanism #88, below the 2-PR frequency threshold.

Stats

  • PRs analyzed: 17
  • Comments processed: 25 (25 human, 0 bot)
  • New patterns: 3
  • Amended patterns: 1
  • Deduplicated: 4

Verification

  • Reviewed generated diff.
  • Confirmed only CLAUDE.md changed.

- 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
@thadeusb thadeusb merged commit 4367e46 into main May 22, 2026
4 checks passed
@thadeusb thadeusb deleted the claude-md/pr-learnings-2026-05-22 branch May 22, 2026 21: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