Conversation
…ew-prompts reusable Mirror of HarperFast/harper#478. Same caller-migration pattern applied to oauth's claude-review.yml. Replaces oauth's inline ~510-line `claude-review.yml` with a ~75-line caller of the reusable in `HarperFast/ai-review-prompts#8` (pinned at `0a5ccbc6daf746472be16ac6cea0a96277bf38e4` — main 2026-05-05). The single `uses:` ref pin controls all of: workflow logic, layer files, bash scripts, auth-gate behavior. Bumping it is the entire upgrade motion. oauth-specific bits preserved via the `repo-specific-checks` input: - REVIEW_LAYERS includes `repo-type/plugin` (oauth uses the plugin layer). - The `## Repo-specific checks (OAuth plugin)` block — CSRF state tokens, redirect URI validation, provider-of- record enforcement, session field preservation, path length bounds. Deleted (now owned by the reusable): * .github/scripts/compose-review-scope.sh * .github/scripts/find-prior-review-comment.sh * .github/scripts/log-review-to-ai-review-log.sh Kept (still used by inline mention / issue-to-pr workflows): * .github/scripts/authorize-claude-workflow.sh * .github/scripts/parse-claude-mention.sh * .github/scripts/validate-auth-gate-invariants.sh (mirror of the version updated in harper #478 — handles caller-pattern workflows by enforcing SHA-pinned `uses:` refs to `HarperFast/...`) claude-mention.yml and claude-issue-to-pr.yml stay inline. Reusables for those land later as Day 2 of revised Plan A. Verified locally: * YAML parses for the new caller and updated validator. * `bash .github/scripts/validate-auth-gate-invariants.sh`: all three claude-*.yml workflows pass; claude-review.yml is recognized as caller-pattern with the SHA pin enforced. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 6, 2026
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
Mirror of `HarperFast/harper#478`. Same caller-migration applied to oauth.
Replaces oauth's inline ~510-line `claude-review.yml` with a ~75-line caller of the reusable in `HarperFast/ai-review-prompts#8` (pinned at `0a5ccbc6...` = ai-review-prompts `main` 2026-05-05). The single `uses:` ref pin controls workflow logic + layer files + scripts + auth-gate behavior. Internal repo, same-day pin.
oauth-specific via `repo-specific-checks`
What's deleted
Three scripts now owned by the reusable:
What's kept
Three scripts still used by inline mention / issue-to-pr workflows:
What's NOT in this PR
Test plan
🤖 Generated with Claude Code