Skip to content

Bump both reviewer pins to ai-review-prompts@533f841#91

Merged
heskew merged 1 commit into
mainfrom
ci/bump-ai-review-prompts-to-533f841
May 21, 2026
Merged

Bump both reviewer pins to ai-review-prompts@533f841#91
heskew merged 1 commit into
mainfrom
ci/bump-ai-review-prompts-to-533f841

Conversation

@heskew
Copy link
Copy Markdown
Member

@heskew heskew commented May 21, 2026

Summary

Adopts HarperFast/ai-review-prompts#42 — two production-PR-driven fixes from oauth#89's first real run.

1. Log script counts from the standardized count line

ai-review-prompts#42 changes log-review-to-ai-review-log.sh to count findings from the N blockers found. / Reviewed; no blockers found. line both reviewers' prompts emit, with header-counting (^### [0-9]\.) as the fallback for unknown formats. The new regex also tolerates optional markdown wrapping (**2 blockers found.** / _1 blocker found._).

The prior ^### [0-9]\. regex undercounted on Claude's evolved inline-comment + terse-recap pattern. On oauth#89, Claude posted 2 inline blockers + a top-level recap formatted as 1. **path:line** — short. See inline., but the ai-review-log title said no blockers. Now it'll title as 2 finding(s) — triage pending matching the actual count.

2. Gemini continuity preamble now mandatory

Round 2 on oauth#89 showed Gemini correctly behaving with continuity (dropping resolved findings, adding new ones) but not narrating it. Claude's parallel comment said Reviewed; no blockers found. All three findings from the prior run are addressed in acc5147. Gemini just posted the new finding with no preamble — the updated comment read like an unrelated fresh review.

ai-review-prompts#42 tightens the Gemini prompt: when the continuity-reference section is non-empty, the top-level summary line must append a brief continuity note on the same line as the count:

Reviewed; no blockers found. Prior <K> finding(s) resolved by <sha>.
N blockers found. Prior <K> resolved by <sha>; new findings below.

Same-line so the ^[0-9]+ blockers? found count-line pattern still matches for fix #1.

Pin bump scope

Both reviewer callers move in lockstep. _claude-review.yml is byte-identical between ea19009 and 533f841; Claude behavior is unchanged. _gemini-review.yml gets the tightened continuity prompt.

Test plan

  • Both claude-review and gemini-review workflows fire on this PR
  • On a follow-up push (to test continuity), Gemini's updated comment leads with a continuity acknowledgment
  • The ai-review-log issue titles correctly reflect finding counts on both providers

🤖 Generated with Claude Code

Adopts ai-review-prompts#42 — two production-PR-driven fixes from
oauth#89's first real run:

1. log-review-to-ai-review-log.sh now counts findings from the
   standardized "N blockers found." line both reviewers' prompts
   emit, with header-counting as the fallback. The prior
   `^### [0-9]\.` regex missed Claude's evolved inline-comment +
   terse-recap pattern; result on oauth#89 was the Claude log
   issue titled "no blockers" while 2 inline blockers were posted.
   The new regex tolerates optional markdown wrapping
   (`**2 blockers found.**` / `_1 blocker found._`).

2. Gemini's continuity preamble is now mandatory when the
   prior-findings reference is non-empty. Round 2 on oauth#89
   showed Gemini correctly BEHAVING with continuity (dropping the
   resolved findings, adding a new one) but not NARRATING it —
   the updated comment read like an unrelated fresh review.
   Tightened prompt requires the top-level summary line to append
   a brief continuity note ("Reviewed; no blockers found. Prior K
   resolved by <sha>." or "N blockers found. Prior K resolved by
   <sha>; new findings below.") so updates are legible at a
   glance on the PR.

_claude-review.yml is byte-identical between ea19009 and 533f841;
bumping in lockstep stays a no-op for Claude behavior but keeps
both callers on the same shared upgrade motion.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@heskew heskew requested a review from a team as a code owner May 21, 2026 16:04
@github-actions
Copy link
Copy Markdown
Contributor

Reviewed; no blockers found.

@heskew heskew merged commit cd1f790 into main May 21, 2026
10 of 12 checks passed
@heskew heskew deleted the ci/bump-ai-review-prompts-to-533f841 branch May 21, 2026 16:29
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