Wire the agent-native kernel factory into squad runs and pin full-agent deps #35

Merged
weichen merged 1 commits from feature/full-agent-r1 into main 2026-10-01 06:07:49 +00:00
Owner

Why: the full-agent batch (Agent-Native PR #3, Agent-Squad PR #3) made roles capable of declaring model/tools/skills/bash execution; the product composition root needed a path to register the kernel backend.

Evidence: go vet ./... clean; go test ./... 19 packages ok; new buildBackends and InterpreterExecConfigForKernel tests.

Impact: deps/agent-native -> f9ab2ef, deps/agent-squad -> 9a402e4; app.go assembles squad.AgentNativeConfig from settings.models.chat / tools.tavily.* / runtime.exec / /skills; squadadapter gains AgentNativeOptions hook. Default squad backend unchanged (progressive enablement).

Refs: Dev task feature/full-agent-r1 batch B10.

Why: the full-agent batch (Agent-Native PR #3, Agent-Squad PR #3) made roles capable of declaring model/tools/skills/bash execution; the product composition root needed a path to register the kernel backend. Evidence: go vet ./... clean; go test ./... 19 packages ok; new buildBackends and InterpreterExecConfigForKernel tests. Impact: deps/agent-native -> f9ab2ef, deps/agent-squad -> 9a402e4; app.go assembles squad.AgentNativeConfig from settings.models.chat / tools.tavily.* / runtime.exec / <data>/skills; squadadapter gains AgentNativeOptions hook. Default squad backend unchanged (progressive enablement). Refs: Dev task feature/full-agent-r1 batch B10.
weichen added 1 commit 2026-10-01 06:07:42 +00:00
Why: the full-agent batch (Agent-Native PR #3, Agent-Squad PR #3) made
roles capable of declaring model/tools/skills/bash execution, but the
product composition root had no path to register the kernel backend or
inject search/exec/skills config.

Evidence: go vet ./... clean; go test ./... 19 packages ok. New cases:
buildBackends registers agent-native only when composition-root options
are enabled (default backend stays agent-system, per the parity
progressive-enablement clause) and resolves explicit
Backend:agent-native roles; InterpreterExecConfigForKernel validates
absolute interpreter paths and the env whitelist reused from the
product exec tools.

Impact: deps/agent-native pinned to f9ab2ef and deps/agent-squad to
9a402e4; app.go resolves settings.models.chat, tools.tavily.*,
runtime.exec, and <data>/skills into squad.AgentNativeConfig per run;
squadadapter exposes the AgentNativeOptions hook and buildBackends.

Refs: Dev task feature/full-agent-r1 batch B10.
weichen force-pushed feature/full-agent-r1 from b8dcce673e to 87a3d0dbfb 2026-10-01 06:07:42 +00:00 Compare
weichen merged commit 87a3d0dbfb into main 2026-10-01 06:07:49 +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-System-Backend#35