Add the Background field to subagent requests (N2 WP5) #29

Merged
weichen merged 1 commits from feature/n2-subagent-background into main 2026-10-07 14:11:08 +00:00
Owner

Why: the host factory decides sync vs background spawning; the request must carry the declaration (AgentSpec.Background consumption point, mirroring the product delegate tool background parameter).

Evidence: GOWORK=off go vet + go test green; delegate_task schema gains the background property.

Impact: none for hosts that do not set the field.

Refs: Agent-System-Documents#42 (N2 plan WP5)

Why: the host factory decides sync vs background spawning; the request must carry the declaration (AgentSpec.Background consumption point, mirroring the product delegate tool background parameter). Evidence: GOWORK=off go vet + go test green; delegate_task schema gains the background property. Impact: none for hosts that do not set the field. Refs: Agent-System-Documents#42 (N2 plan WP5)
weichen added 1 commit 2026-10-07 14:09:57 +00:00
Add the Background field to subagent requests (N2 WP5)
ci / vet-and-test (pull_request) Successful in 57s
ci / docker-checkout-hostgateway (pull_request) Successful in 0s
b179452793
Why: the host factory decides sync vs background spawning; the request
must carry the declaration (AgentSpec.Background consumption point,
mirroring the product delegate tool's background parameter).
Evidence: GOWORK=off go vet + go test green; the delegate_task schema
gains the background property.
Impact: none for hosts that do not set the field.
Refs: Agent-System-Documents#42 (N2 plan WP5)
weichen merged commit 74aa60bf2e into main 2026-10-07 14:11:08 +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#29