Why: Library PR #18 landed AgentSpec, guardrails, subagent events and
the GateOptions.PermissionAsk field; squad's register mapping needs
that field, and check-pins requires the same combination.
Evidence: native main head is the #18 merge; squad suites run next.
Impact: Nested pin only.
Why: Squad members must reach the host's HITL verdict when a kernel
hook answers ask - the new native GateOptions.PermissionAsk field
carries it; nil preserves the legacy ask=reject behavior.
Evidence: go vet clean in all five modules; go test ok everywhere.
Impact: Additive Config field plus its buildOptions mapping.
Why: Library PR #18 landed AgentSpec, guardrails, subagent events and
the GateOptions.PermissionAsk field; squad's register mapping needs
that field, and check-pins requires the same combination.
Evidence: native main head is the #18 merge; squad suites run next.
Impact: Nested pin only.
Why: Squad members must reach the host's HITL verdict when a kernel
hook answers ask - the new native GateOptions.PermissionAsk field
carries it; nil preserves the legacy ask=reject behavior.
Evidence: go vet clean in all five modules; go test ok everywhere.
Impact: Additive Config field plus its buildOptions mapping.
weichen
merged commit fc9620e05f into main2026-10-07 05:11:42 +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.
N1 增量三(squad 侧):嵌套 native 升级 + PermissionAsk 透传
Agent-Native PR #18 已合入(AgentSpec、guardrails、委派事件、GateOptions.PermissionAsk)。本 PR 完成 squad 侧级联:
改动
deps/agent-native嵌套 gitlink → c5b9dca(#18 在 agent-native main 的 merge commit)。adapters/native/register.go:Config.PermissionAsk新字段,buildOptions 映射进nativexec.GateOptions.PermissionAsk——小队成员的内核 ask 决策可经此到达宿主 HITL 裁决;nil 时内核保持 ask=拒绝旧行为,零行为变化。验证
go vet ./...通过;go test -count=1 ./...在 .(4 包)、adapters/native、adapters/intent、adapters/sqlite、cmd/agent-squad(3 包)全 ok,无 FAIL。合入顺序
Agent-Native #18 ✓ → 本 PR → Backend(双 pin + 插件 agents 校验 + 小队接线)→ Dev 三 pin PR。
主任务:Dev 仓
feature/agent-stack-n1。