From 6aabb9e9d6fac110689d6d272d143796a66ba4e7 Mon Sep 17 00:00:00 2001 From: weichen Date: Wed, 7 Oct 2026 13:59:03 +0000 Subject: [PATCH] Take the WP4 pins and record the skills increment on the task card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Why: Backend#89 merged the plugin/bundled skill validation; Native#28 and Squad#32 carried the validator; Dev pins, the plugins→skills edge, and the increment record follow. Evidence: check-pins pins ok; WP4 chain CI green on every merge head; TestV2InvalidSkillRejected GATE on backend main b44f78b0. Impact: skills now validated against the open Agent Skills spec. Refs: Agent-Native#28, Agent-Squad#32, Agent-System-Backend#89 --- .task/feature-agent-stack-n2.md | 1 + deps/agent-native | 2 +- deps/agent-squad | 2 +- modules/backend | 2 +- policy/architecture-baseline.json | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.task/feature-agent-stack-n2.md b/.task/feature-agent-stack-n2.md index 07677425..bebacce3 100644 --- a/.task/feature-agent-stack-n2.md +++ b/.task/feature-agent-stack-n2.md @@ -60,6 +60,7 @@ native.Options 重构(N30);MCP tasks/* 完整产品映射与 token 计费 |---|---|---|---|---|---|---|---| | WP1 上下文配对收口 | 裁切可按工具组对齐而不破坏窗口语义;落盘占位可替换转录指针且旧行为可钉住 | backend ctxasm、agent-native microcompact/loop/session | 裁切后双向无孤立配对;空 dir 占位与旧行为逐字节一致;既有测试全绿 | 用户「按顺序继续做」(方案 Documents#42 合入后) | PASS(Native#25、Squad#29、Backend#86 合入,CI GATE) | 裁切整组同退(Report 文案不变、次数按条计);Config.ResultsDir opt-in(未设=旧行为);前缀稳定被测试钉住 | 否(WP6 总验复跑) | | WP3 MCP 2026-07-28 对齐 | 协商版本可让新旧语义共存;input_required 应答后可按原参数重试且任务可逐 run 取消 | agent-native runtime/mcp + adapters/native | 旧版本逐字节回落;ask→tasks/update→重试调用序正确;验收③回归原样过 | 用户「按顺序继续做」 | PASS(Native#27、Squad#31、Backend#88 合入,CI GATE) | 通告 2026-07-28+协商回落;合成默认 schema 声明 2020-12;run 结束取消本 run 见过的 MCP 任务 | 否(WP6 总验复跑) | +| WP4 skills 开放规范校验 | 不引入 YAML 依赖的严格子集解析可覆盖规范字段形态;严格化拒旧内容是可控上浮 | agent-native runtime/skills + backend plugins/skills/recipes | 校验矩阵全绿;recipes dogfood 全绿;插件不合规拒载带字段定位;既有测试全绿 | 用户「按顺序继续做」 | PASS(Native#28、Squad#32、Backend#89 合入,CI GATE) | 无 name/description 或未知键的技能从静默可用变报错可见(有意);baseline 增 plugins→skills 边 | 否(WP6 总验复跑) | | WP2 Anthropic 原生客户端 | 原生 Messages 客户端可与 OpenAI 路径共存零值兼容;录制夹具可锁定线上字节形态 | agent-native runtime/llm(anthropic.go/types/providers) | TestAnthropicPresetToolRound 端到端过(tools 请求→tool_use→tool_result→终文本→签名往返);OpenAI 路径测试全绿 | 用户「按顺序继续做」 | PASS(Native#26、Squad#30、Backend#87 合入,CI GATE;验收① GATE) | anthropic 预设语义切到原生 Messages(compat shim 经 models.json 可达);Client.Protocol 零值=openai 不变;审计 N4 关闭 | 否(WP6 总验复跑) | ## 同步记录 diff --git a/deps/agent-native b/deps/agent-native index 77e7f978..7425b32b 160000 --- a/deps/agent-native +++ b/deps/agent-native @@ -1 +1 @@ -Subproject commit 77e7f97827d37ec0bdc0323dd30ac65a68e4aa5d +Subproject commit 7425b32b9ebd7050f3630f3c0de8a3ade28c1606 diff --git a/deps/agent-squad b/deps/agent-squad index 92f4e925..9d3faefb 160000 --- a/deps/agent-squad +++ b/deps/agent-squad @@ -1 +1 @@ -Subproject commit 92f4e925d2920efb284044ccfff17102666ca454 +Subproject commit 9d3faefb97a6ce8e83c143f41fcc87e4631d1c92 diff --git a/modules/backend b/modules/backend index 1291b378..b44f78b0 160000 --- a/modules/backend +++ b/modules/backend @@ -1 +1 @@ -Subproject commit 1291b378c0e67633651df8cee16fd937400fe2f9 +Subproject commit b44f78b09a5c4c4bac53d6a749f64656c18202ec diff --git a/policy/architecture-baseline.json b/policy/architecture-baseline.json index daa35a00..7c7fb7d0 100644 --- a/policy/architecture-baseline.json +++ b/policy/architecture-baseline.json @@ -28,6 +28,7 @@ "backend/pgbus backend/store", "backend/plugins backend/settings", "backend/plugins backend/store", + "backend/plugins backend/skills", "backend/plugins backend/tools", "backend/plugins backend/workflow", "backend/profiles backend/store",