A router can send a simple goal to one assistant step, or a complex goal into leader mode.
Host tools, process events, a scripted stream, and a tool-call cap pass through to the kernel.
Leader delegation can name skills and a minimum score.
Test plan
go test ./squad/ -count=1
## Summary
- A router can send a simple goal to one assistant step, or a complex goal into leader mode.
- Host tools, process events, a scripted stream, and a tool-call cap pass through to the kernel.
- Leader delegation can name skills and a minimum score.
## Test plan
- [x] go test ./squad/ -count=1
Why: Simple tasks should finish as one assistant step, while complex tasks stay in leader mode, and every kernel step needs the host's tools and events.
Evidence: go test ./squad/ -count=1 passed, including direct route, leader entry, skill override, and delegation score fields.
Impact: Hosts can inject HostTools and OnEvent; a Router can choose direct or plan without changing product roles.
Refs: deliverable-quality-system B2
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: Tests and product budgets need to drive each kernel step without a live model, and stop it when the tool-call cap is hit.
Evidence: go test ./squad/ -count=1 passed after fetching agent-native cfc840c.
Impact: AgentNativeConfig.Stream and MaxToolCalls reach native.Options. The nested kernel pin moves to cfc840c.
Refs: deliverable-quality-system B2
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen
merged commit 87baa13a04 into main2026-10-01 09:35:55 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Test plan