feat(claudebox): pass mode=public to the v2 /run webhook#23607
Merged
Conversation
ludamad
approved these changes
May 27, 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.
Follow-up to #23600 (merged), which pointed CI at the ClaudeBox v2
/runwebhook but did not pass a mode.A v2 session's GitHub repo access is derived from its mode (
slack_route.effective_modein session meta). Theslackbotgroup's repos are entirely mode-scoped, so a/runsession without a mode only resolves the group chain's unscoped repos (claudebox+honk-ai) and cannot writeaztec-packages— the same "no GitHub access" failure #23600 set out to fix. Prompt text has no effect;/runnever parses mode flags.This passes
mode: "public"in both dispatch payloads (overridable via repo varCLAUDEBOX_MODE), so kickoff//claudebox/review sessions resolve the public read-write repo set and can open PRs against aztec-packages.Depends on AztecProtocol/claudebox#625, which adds
modesupport to the v2/runendpoint (it stampseffective_modeinto the new session's meta). Without #625 deployed,modeis accepted but ignored, so land/deploy #625 first or together.Testing
bash -non everyrun:body (7 steps) and YAML parse — pass.jqpayload validated withmode: "public"for the issue-comment, workflow_dispatch, and review shapes — valid JSON matching the v2RunRequest.Created by claudebox · group:
slackbot