Pass tool gates through the squad native backend #12

Merged
weichen merged 2 commits from feature/permission-hooks into main 2026-10-03 17:06:48 +00:00
Owner

Why: Squad members used the same kernel as direct chat but dropped the tool gates.

Evidence: adapters/native tests passed with agent-native pinned to the hook bus.

Impact: Zero GateOptions still builds the previous backend.

Refs: feature/permission-hooks

Why: Squad members used the same kernel as direct chat but dropped the tool gates. Evidence: adapters/native tests passed with agent-native pinned to the hook bus. Impact: Zero GateOptions still builds the previous backend. Refs: feature/permission-hooks
weichen added 2 commits 2026-10-03 17:06:20 +00:00
Why: Squad members used the same kernel as direct chat but dropped stop, reminder, and before-tool hooks.
Evidence: GOWORK=off go test . in adapters/native passed after pinning agent-native to 99d623a.
Impact: Zero GateOptions still builds the previous backend. A set BeforeTool now runs inside the member loop.
Refs: feature/permission-hooks
Co-authored-by: Cursor <cursoragent@cursor.com>
Pin the rebased agent-native hook bus
ci / vet-and-test (pull_request) Successful in 22s
ci / docker-checkout-hostgateway (pull_request) Successful in 1s
beea97e8cf
Why: The hook-bus commit was replayed onto origin/main, so the squad pin has to follow that commit.
Evidence: deps/agent-native is 0a52d9f, which contains origin/main.
Impact: Squad members load the same kernel commit as the top-level pin.
Refs: feature/permission-hooks
weichen merged commit 55e9b37770 into main 2026-10-03 17:06:48 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-Squad#12