Enable NFKC folding in the squad intent gate (I1 WP4) #19

Merged
weichen merged 1 commits from feature/agent-stack-i1 into main 2026-10-07 07:44:15 +00:00
Owner

squadintent 开启 NFKC + 嵌套 intent pin 升级(I1 WP4 宿主侧)

两个意图宿主的 NFKC 对齐:backend intentgate 已在 Router PR 中开启;本 PR 把 squadintent 的 NewFromOverlay 也开启(intent.Options.NFKC: true)——全角/兼容等价输入与词条同形折叠(库侧不做繁简转换)。嵌套 deps/agent-intent 升到 2554b50(含 I1 命令模型与 spec.action,闸门消费它们)。

验证

  • adapters/intent 套件 ok;五个 squad 模块(.、adapters/native、adapters/sqlite、cmd/agent-squad)go test 全 ok。

主任务:Dev 仓 feature/agent-stack-i1。

# squadintent 开启 NFKC + 嵌套 intent pin 升级(I1 WP4 宿主侧) 两个意图宿主的 NFKC 对齐:backend intentgate 已在 Router PR 中开启;本 PR 把 squadintent 的 `NewFromOverlay` 也开启(`intent.Options.NFKC: true`)——全角/兼容等价输入与词条同形折叠(库侧不做繁简转换)。嵌套 `deps/agent-intent` 升到 2554b50(含 I1 命令模型与 spec.action,闸门消费它们)。 ## 验证 - adapters/intent 套件 ok;五个 squad 模块(.、adapters/native、adapters/sqlite、cmd/agent-squad)`go test` 全 ok。 主任务:Dev 仓 `feature/agent-stack-i1`。
weichen added 1 commit 2026-10-07 07:42:53 +00:00
Enable NFKC folding in the squad intent gate and bump the intent pin
ci / vet-and-test (pull_request) Successful in 24s
ci / docker-checkout-hostgateway (pull_request) Successful in 1s
cb398dadc6
Why: Both intent hosts should fold compatibility-equivalent input
(backend intentgate already does); the nested pin carries the I1
command model the gate depends on.

Evidence: adapters/intent suite ok; all five squad modules green.

Impact: NFKC on in NewFromOverlay; nested agent-intent at 2554b50.
weichen merged commit 6b7a991750 into main 2026-10-07 07:44:15 +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-Squad#19