Skip to content

feat: convert review workflow to dispatch to Henry#234

Draft
nsheaps wants to merge 3 commits intomainfrom
claude/setup-dispatch-workflow-FpMuj
Draft

feat: convert review workflow to dispatch to Henry#234
nsheaps wants to merge 3 commits intomainfrom
claude/setup-dispatch-workflow-FpMuj

Conversation

@nsheaps
Copy link
Copy Markdown
Owner

@nsheaps nsheaps commented Mar 11, 2026

Summary

  • Replaces 213-line direct Claude Code review workflow with a ~70-line thin dispatcher
  • Generates org-scoped review bot token via actions/create-github-app-token@v2
  • Dispatches pull_request/review events to nsheaps/.ai-agent-henry via peter-evans/repository-dispatch@v4
  • Preserves label-based review triggers (request-review label for draft PRs)
  • Henry agent is now the source of truth for review execution, prompts, and check status

Part of the centralized review dispatch architecture. Companion PRs:

Merge order

  1. feat: add review bot secrets to 1Password sync .github#37 — secrets must be synced first
  2. nsheaps/.ai-agent-henry#8 — agent must be ready to receive dispatches
  3. This PR last — enables the dispatcher once agent is ready

Test plan

https://claude.ai/code/session_01JmF7PP9gnZXETH3Md77J2a

@nsheaps nsheaps force-pushed the claude/setup-dispatch-workflow-FpMuj branch from 3a9dd7a to edccf1d Compare March 15, 2026 16:33
@nsheaps nsheaps force-pushed the claude/setup-dispatch-workflow-FpMuj branch from edccf1d to f1cfbd1 Compare March 23, 2026 03:28
Replace direct claude-code-action execution with a thin dispatcher
that sends review requests to nsheaps/.ai-agent-henry via
repository_dispatch. Henry is now the source of truth for review
execution, prompts, and check status reporting.

The workflow retains trigger detection (PR events, label handling)
and uses the review bot for authentication and dispatch.

https://claude.ai/code/session_01JmF7PP9gnZXETH3Md77J2a
@nsheaps nsheaps force-pushed the claude/setup-dispatch-workflow-FpMuj branch from f1cfbd1 to 5d718f1 Compare March 25, 2026 00:19
Conflict in claude-code-review.yaml: main had the old claude-code-action
inline review setup; this branch replaces it with repository_dispatch to
Henry. Kept the branch (dispatch) version.
@jack-nsheaps jack-nsheaps Bot added the request-review Request a one-time review from the Claude review bot (label is removed after review starts) label Apr 6, 2026
@henry-nsheaps henry-nsheaps Bot removed the request-review Request a one-time review from the Claude review bot (label is removed after review starts) label Apr 6, 2026
@jack-nsheaps jack-nsheaps Bot added the request-review Request a one-time review from the Claude review bot (label is removed after review starts) label Apr 6, 2026
@henry-nsheaps henry-nsheaps Bot removed the request-review Request a one-time review from the Claude review bot (label is removed after review starts) label Apr 6, 2026
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