Skip to content

fix(buzz-acp): accept write route policies on the shared backend - #8

Merged
kombiz merged 2 commits into
task/BUZZ-ACP-0524/gateway-acp-on-v0-5-24from
task/HS-46/shared-write-policy--buzz
Oct 11, 2026
Merged

kombiz merged 2 commits into
task/BUZZ-ACP-0524/gateway-acp-on-v0-5-24from
task/HS-46/shared-write-policy--buzz

Conversation

@kombiz

@kombiz kombiz commented Oct 11, 2026

Copy link
Copy Markdown

HS-46 follow-up to #3.

Why: #3 limited backend=shared to read-only declarations. The owner has since chosen full task agents for the two secrets.ts resident agents, so their routes will be repository_write / workspace_write with the gateway's host write opt-in. Read-only validation would refuse that configuration at startup.

What: BUZZ_ACP_GATEWAY_PERMISSION_PROFILE now accepts repository_read, repository_write or restricted. BUZZ_ACP_GATEWAY_SIDE_EFFECT_CLASS accepts pure_read, external_effects or workspace_write. Only unknown values fail at startup. The daemon still refuses any submit that does not match the admitted route exactly, and the legacy backend still rejects these options. The test and README are updated to match.

Checks on cachy: cargo fmt --check, cargo clippy -p buzz-acp --all-targets -D warnings and cargo test -p buzz-acp (980 passed) all pass.

Nothing is deployed.

🤖 Generated with Claude Code

kombiz and others added 2 commits October 11, 2026 07:14
HS-46's owner chose full task agents on secrets.ts, so the Buzz routes
will declare repository_write/workspace_write. The shared backend now
accepts every valid profile and side-effect class and refuses only
unknown values at startup; the daemon still checks the exact route
match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review follow-up. The shared backend cancels every permission request,
so a write route can edit files only when the gateway's agent command
already runs without prompts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kombiz
kombiz merged commit 850a912 into task/BUZZ-ACP-0524/gateway-acp-on-v0-5-24 Oct 11, 2026
64 checks passed
@kombiz
kombiz deleted the task/HS-46/shared-write-policy--buzz branch October 11, 2026 13:24
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.

1 participant