Wire the squad native adapter #52

Merged
weichen merged 4 commits from feature/agent-stack-d1 into main 2026-10-03 14:02:33 +00:00
4 Commits
Author SHA1 Message Date
weichen 0a9a9776d6 Pin native and squad to the SSE abort fix
ci / vet-and-test (pull_request) Successful in 42s
Why: Backend's nested checkouts have to match the native head that treats a cancelled stream as aborted.
Evidence: gitlinks only. The race test passed on d84a67c.
Impact: no Backend source change.
Refs: D1
2026-10-03 13:52:01 +00:00
weichen 5d0097d145 Pin native and squad to the aligned D1 heads
ci / vet-and-test (pull_request) Successful in 5m44s
Why: Backend's nested checkouts have to match the intent, native, and squad commits Dev will pin.
Evidence: gitlinks only. Internal package tests passed before this pointer move.
Impact: no Backend source change.
Refs: D1
2026-10-03 13:45:23 +00:00
weichenandCursor aa969aa747 Pin agent-squad to the adapter-only intent import
Why: Backend must build against the squad head that keeps agent-intent inside adapters/intent.
Evidence: the previous internal package tests passed on a182d76; this commit only moves the gitlink to f68e5bd.
Impact: no Backend source change.
Refs: D1
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 13:43:09 +00:00
weichenandCursor b8e8cfb754 Wire the squad native adapter instead of the core registration
Why: Backend has to keep the same squad runs after the core stopped importing agent-native. The adapter module owns the concrete client.
Evidence: GOWORK=off go test -count=1 ./internal/... passed.
Impact: AgentNativeOptions now returns the adapter config. Default roles still use the agent-system backend.
Refs: D1
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 13:42:04 +00:00