repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

Admit the ADW App to Claude handoffs

4fd747b72557e063bfe22591bdecd5159362c3f2

agent-smith-bugabinga-adc[bot] <306488075+agent-smith-bugabinga-adc[bot]@users.noreply.github.com> ·

SSH signature · not checked

Browse filesCompare with HEAD

claude-code-action rejects a workflow whose initiator is a bot, and the
default allows none — so the bot-originated build, plan, review, and revise
lanes stopped at the actor check before any inference ran. Human-opened PRs
were unaffected, which hid it: the cycle looked healthy while never once
completing an agent-to-agent handoff.

Only agent-smith-bugabinga-adc is admitted. Not "*": the action does not
permission-check allowed bots, so a wildcard would let an external App
invoke a token-holding workflow in this public repository.

Surface: the allowed_bots input on the adw-alerts / build / plan / review /
revise steps, plus the reaction-workflow guard in AGENTIC-DEVELOPMENT.md.

Changed files (6)

+12 / −0 text lines

Diff layout

.github/workflows/adw-alerts.yml

Modified

+1 / −0 text lines

5858 - uses: anthropics/claude-code-action@v1
5959 with:
6060 github_token: ${{ steps.token.outputs.token }}
61 allowed_bots: agent-smith-bugabinga-adc
6162 claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
6263 prompt: |
6364 Use the security-reviewer subagent on ${{ github.repository }} to sweep

.github/workflows/adw-build.yml

Modified

+1 / −0 text lines

3737 - uses: anthropics/claude-code-action@v1
3838 with:
3939 github_token: ${{ steps.token.outputs.token }}
40 allowed_bots: agent-smith-bugabinga-adc
4041 claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
4142 use_commit_signing: true
4243 prompt: |

.github/workflows/adw-plan.yml

Modified

+1 / −0 text lines

9090 - uses: anthropics/claude-code-action@v1
9191 with:
9292 github_token: ${{ steps.token.outputs.token }}
93 allowed_bots: agent-smith-bugabinga-adc
9394 claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
9495 use_commit_signing: true
9596 prompt: |

.github/workflows/adw-review.yml

Modified

+2 / −0 text lines

5151 - uses: anthropics/claude-code-action@v1
5252 with:
5353 github_token: ${{ steps.token.outputs.token }}
54 allowed_bots: agent-smith-bugabinga-adc
5455 claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
5556 prompt: |
5657 Use the reviewer subagent to review PR
7879 - uses: anthropics/claude-code-action@v1
7980 with:
8081 github_token: ${{ steps.token.outputs.token }}
82 allowed_bots: agent-smith-bugabinga-adc
8183 claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
8284 prompt: |
8385 Use the security-reviewer subagent to review PR

.github/workflows/adw-revise.yml

Modified

+1 / −0 text lines

4545 - uses: anthropics/claude-code-action@v1
4646 with:
4747 github_token: ${{ steps.token.outputs.token }}
48 allowed_bots: agent-smith-bugabinga-adc
4849 claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
4950 use_commit_signing: true
5051 prompt: |

docs/plans/AGENTIC-DEVELOPMENT.md

Modified

+6 / −0 text lines

370370agents produce as a matter of course, which is why the loop-guards matter — without
371371them, an agent's own review or merge would wake another agent without end.
373Claude Code rejects bot-originated events by default. The intentionally
374bot-originated build, plan, review, revise, and alert-triage lanes therefore
375allowlist only `agent-smith-bugabinga-adc`; `allowed_bots: "*"` is forbidden
376because an external App could then invoke a token-holding workflow in this
377public repository.
373379## Coordination — choreography and a single writer
375381Three agents open issues and touch milestones (`planner`, `surveyor`, `triager`),