Drop the intent adapter and fold contract into exec #10

Merged
weichen merged 3 commits from feature/agent-stack-d1 into main 2026-10-03 14:02:32 +00:00
Owner

Why: native must compile without agent-intent.
Evidence: GOWORK=off go test ./... passed on the branch.
Impact: intentgate is gone. Nested gitlink stays. Options is embedded sub-structs.
Refs: D1

Why: native must compile without agent-intent. Evidence: GOWORK=off go test ./... passed on the branch. Impact: intentgate is gone. Nested gitlink stays. Options is embedded sub-structs. Refs: D1
weichen added 2 commits 2026-10-03 13:48:37 +00:00
Why: native must compile without agent-intent, and the two execution packages were the same contract under two names.
Evidence: GOWORK=off go test -count=1 ./... passed, including schema.TestRequestAndResultRoundTrip and the native adapter tests after Options was split into embedded sub-structs.
Impact: adapters/intentgate is gone, go.mod no longer requires agent-intent, and the nested gitlink stays for the release task. Callers of Options composite literals name the sub-struct.
Refs: D1
Co-authored-by: Cursor <cursoragent@cursor.com>
Pin agent-intent to the IntentSpec schema sample
ci / vet-and-test (pull_request) Failing after 48s
ci / docker-checkout-hostgateway (pull_request) Successful in 1s
33573d0d75
Why: the nested checkout has to match the intent head that publishes the sample, even though native no longer imports it.
Evidence: gitlink only. The schema test already passed in the intent repository.
Impact: no native source change.
Refs: D1
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-03 13:51:43 +00:00
Treat a cancelled SSE stream as aborted
ci / vet-and-test (pull_request) Successful in 48s
ci / docker-checkout-hostgateway (pull_request) Successful in 1s
d84a67cd24
Why: the race detector can deliver message_end when the context is already cancelled, because select picks either ready case.
Evidence: GOWORK=off go test -count=50 -race ./runtime/llm/ passed, including TestParseSSECancel.
Impact: a cancelled parse ends with the aborted event.
Refs: D1
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit e51f2e6d00 into main 2026-10-03 14:02:32 +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-Native#10