Skip to content

docs: generalize the self-verify-gap note to cover claude.yml too - #291

Merged
d-morrison merged 1 commit into
mainfrom
docs/generalize-self-verify-note
Jul 24, 2026
Merged

docs: generalize the self-verify-gap note to cover claude.yml too#291
d-morrison merged 1 commit into
mainfrom
docs/generalize-self-verify-note

Conversation

@d-morrison

Copy link
Copy Markdown
Collaborator

Summary

Docs-only change, no functional edits.

Test plan

  • Read-through of the edited section for consistency with the file's existing style.

Generated by Claude Code

The existing note only named claude-code-review.yml's own @v2 pin. gha#286
(fixing gha#285) hit the identical bootstrapping gap through claude.yml@v2
instead: a plain @claude review comment mid-PR dispatched through the
released, pre-fix tag and reproduced the exact bug being fixed, live.
Copilot AI review requested due to automatic review settings July 24, 2026 17:16
@github-actions
github-actions Bot removed the request for review from Copilot July 24, 2026 17:17
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Claude finished reviewView run


Review: #291 — "docs: generalize the self-verify-gap note to cover claude.yml too"

Change scope: Docs-only edit to a single section of CLAUDE.md (the "A PR fixing claude-code-review.yml itself can't self-verify before merge" note). No workflow/action files touched.

Verification performed:

  • Confirmed .github/workflows/claude-bot.yml does call d-morrison/gha/.github/workflows/claude.yml@v2 (line 40), matching the PR's added claim.
  • Confirmed gha#285 and gha#286 are real, resolved issues/PRs matching the described symptom: gh pr diff 286 shows the fix adds a missing --ref "$PR_BRANCH" to several gh workflow run calls in claude.yml/claude-review.yml, exactly matching the new paragraph's description of "a gh workflow run-without---ref bug."
  • Confirmed issue claude-code-review's workflow_dispatch re-review posts a successful require-review check tied to the wrong commit SHA #285's body describes the check-run landing on main's SHA/branch rather than the PR's head — matches the new paragraph's wording precisely.
  • Confirmed the parenthetical opened earlier in the section ("Hit on gha#201...") is correctly closed by the new paragraph's final ), and no other file in the repo references the old section title/link that would now be stale (only CLAUDE.md itself contains this heading; .claude-pr/CLAUDE.md is an untracked, local scratch copy from this CI job's own setup, not part of the PR).
  • No changelog fragment was added, but this is consistent with prior CLAUDE.md-prose-only PRs — the change doesn't affect any consumer-facing workflow/action behavior, so changelog.d/ isn't warranted here.
  • Checked for AI-authorship tells, forward references, redundant content, and semantic line-wrapping — none found; the new text matches the file's existing style and wraps consistently with surrounding lines.

No prior claude[bot] review comment exists on this PR (only a Codecov bot comment), so this is a first-pass review, not a confirmation of an earlier verdict.

Findings: None. The generalization is accurate, well-cited, and consistent with the rest of the file.

Verdict

Ready for merge

@github-actions

Copy link
Copy Markdown
Contributor

💰 Cost: $3.7850 (review) — run

@d-morrison
d-morrison merged commit 7383f74 into main Jul 24, 2026
26 checks passed
@d-morrison
d-morrison deleted the docs/generalize-self-verify-note branch July 24, 2026 18:09
d-morrison added a commit that referenced this pull request Jul 24, 2026
…cause (#294)

* docs: note the in-workflow self-mod guard as a third self-verify-gap cause

Complements #291's @v2-floating-tag explanation with the mechanism this
session actually hit on #286: claude-code-review.yml's own 'Skip
self-review when the PR edits this workflow' step, which skips every
downstream step (not just runs a stale pre-fix version) when the PR
touches the caller review workflow's own file. Both claude-review /
require-review report success with no verdict ever posted -- easy to
mistake for a real review unless the job's step list (not just its
conclusion) is checked.

* Fix overstated file list in self-mod-guard note

Review finding on #294: the guard checks exactly one path
(github.workflow_ref, the caller's own stub -- claude-review.yml in
this repo's dogfooding setup), not all three files previously listed.
claude.yml has no analogous self-mod check at all; examples/claude-
code-review.yml never executes as a workflow here, so github.workflow_ref
can't resolve to it either. Clarify scope and correct the trigger
condition.

---------

Co-authored-by: Claude <noreply@anthropic.com>
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.

2 participants