Repository navigation
ci: author implement-loop PRs as bestaxbot machine account - #231
Conversation
Wire the bestaxbot PAT (secret AI_LOOP_PAT) into the implement action's github_token so PRs/commits are authored by the bestaxbot machine user instead of the shared claude[bot] — mirroring Bun's robobun. The model still runs on the subscription (claude_code_oauth_token). Reviewer separation is preserved: the deep review (claude-review.yml) keeps posting as claude[bot], so the loop's ^claude thread/state filters stay intact. Stage 1 of 2 (implement identity); the fix job follows once this is validated on a live run. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NVR5yWevceZEFbTJmpviiM
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe Claude "implement issue" GitHub Actions workflow step is updated to explicitly set ChangesWorkflow Token Configuration
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Preview DeploymentPreview URL: https://35ea5850.bestax.pages.dev |
|
🎉 This PR is included in version 5.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 3.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Stage 1 of 2 — give the loop a Bun/robobun-style machine identity.
Wires the bestaxbot PAT (
secrets.AI_LOOP_PAT) into the implement action'sgithub_token, so implement-loop PRs/commits are authored by bestaxbot instead of the sharedclaude[bot]. The model still runs on the subscription viaclaude_code_oauth_token.Reviewer separation preserved (matches Bun): the deep review (
claude-review.yml) keeps posting asclaude[bot], so the loop's^claudethread/state-machine filters inclaude-pr-loop.ymlstay intact — and it mirrors Bun's actual setup, where robobun authors and a distinctclaude[bot]reviews.Affected package(s):
.github/workflows/claude-implement.yml)Related Issue(s)
Refs #188
Type of Change
Passing a user PAT to
github_tokenis slightly off claude-code-action's documented path (that input is intended for a custom GitHub App). This is Stage 1 precisely so we can confirm on a live run that a bestaxbot-authored PR is produced (and CI still triggers) before wiring the fix job (Stage 2). If the action rejects the PAT, revert this one file.Requires: bestaxbot is a Write collaborator (✅ done earlier) and
AI_LOOP_PATis set (✅).Checklist
github_tokenconfirmed on the Run Claude step🤖 Generated with Claude Code
https://claude.ai/code/session_01NVR5yWevceZEFbTJmpviiM
Generated by Claude Code
Summary by CodeRabbit