Complete the Q3 convergence and interop stack and take the cascade pins #253

Merged
weichen merged 17 commits from feature/agent-stack-q3 into main 2026-10-08 04:51:42 +00:00
Owner

Why

Q3「收敛与互通」按方案(modules/documents docs/proposals/2026-10-07-agent-stack-q2q3-plans.md 第二部分,Documents #44)五个 WP 全部完成。本 PR 把级联 pin 落到 Dev、更新架构基线并回填任务卡。

What

  • deps/agent-squad bcc8d08 → 819b0c5(Squad #46/#47/#48,CI 绿):StepSpec.Brief 任务指令载体;adapters/a2a 新模块(Agent Card 发布 + 远端 Executor,A2A 1.0 任务状态机对齐 ExecResult,双向 conformance);嵌套 agent-native pin 对齐
  • deps/agent-native 1ac21c6 → 37c5e6f(agent-native #40,CI 绿):subagent.Request 增 OutputFormat/Tools,delegate_task schema 同步(委派模板四要素的声明源)
  • modules/backend 06934bc → fe7c245(Backend #99/#100/#101/#102/#103,CI 绿):
    • WP1 internal/wfcompile:WorkflowDef→squad 编译图(六类步骤映射、critic→evaluator-optimizer 循环对、P4 上限/DeniedTools/确认语义/脚本开关全迁入)——demo.brief/demo.script 经编译图跑通
    • WP2 退役:runtime/workflow.go+workflow_script.go 与 stepBackend agent-system 删除;run_workflow 三分支与 runmgr 默认执行器改投编译图;DefaultBackend→agent-native(工厂缺席 fail-closed)
    • WP3 SubagentFactory 任务书补「输出格式」「工具面」两节
    • WP5 eval/ab.go 任务级双跑 harness + demo.brief 真实对照(两侧 100/100,裁决「切换条件已满足…合入前需要产品确认」——runtime.entry 默认保持 direct,证据入卡)
  • policy/architecture-baseline.json:-1 边(runtime→tools,legacy 已删)+3 边(runtime→wfcompile、wfcompile→tools、wfcompile→workflow)
  • 任务卡 .task/feature-agent-stack-q3.md:增量表 WP1a-WP6、结果与验证、三段证据

Evidence

  • 三段输出由 make evidence 写入任务卡(SELF):precheck READY / task-sync synced(sync_base=78409a9c)/ make test exit 0(含 test-pins/test-worktree/test-boundaries 全绿;两次失败收据如实保留在卡)
  • 组件 CI(GATE):squad #46/#47/#48、agent-native #40、backend #99-#103 全部 success
  • 本 PR HEAD 的 Dev CI(GATE)为合入权威

Refs

  • 任务卡:.task/feature-agent-stack-q3.md(R0=78409a9c)
  • 方案:2026-10-07-agent-stack-q2q3-plans.md 第二部分 Q3
## Why Q3「收敛与互通」按方案(modules/documents docs/proposals/2026-10-07-agent-stack-q2q3-plans.md 第二部分,Documents #44)五个 WP 全部完成。本 PR 把级联 pin 落到 Dev、更新架构基线并回填任务卡。 ## What - **deps/agent-squad** bcc8d08 → **819b0c5**(Squad #46/#47/#48,CI 绿):StepSpec.Brief 任务指令载体;adapters/a2a 新模块(Agent Card 发布 + 远端 Executor,A2A 1.0 任务状态机对齐 ExecResult,双向 conformance);嵌套 agent-native pin 对齐 - **deps/agent-native** 1ac21c6 → **37c5e6f**(agent-native #40,CI 绿):subagent.Request 增 OutputFormat/Tools,delegate_task schema 同步(委派模板四要素的声明源) - **modules/backend** 06934bc → **fe7c245**(Backend #99/#100/#101/#102/#103,CI 绿): - WP1 internal/wfcompile:WorkflowDef→squad 编译图(六类步骤映射、critic→evaluator-optimizer 循环对、P4 上限/DeniedTools/确认语义/脚本开关全迁入)——demo.brief/demo.script 经编译图跑通 - WP2 退役:runtime/workflow.go+workflow_script.go 与 stepBackend agent-system 删除;run_workflow 三分支与 runmgr 默认执行器改投编译图;DefaultBackend→agent-native(工厂缺席 fail-closed) - WP3 SubagentFactory 任务书补「输出格式」「工具面」两节 - WP5 eval/ab.go 任务级双跑 harness + demo.brief 真实对照(两侧 100/100,裁决「切换条件已满足…合入前需要产品确认」——runtime.entry 默认保持 direct,证据入卡) - **policy/architecture-baseline.json**:-1 边(runtime→tools,legacy 已删)+3 边(runtime→wfcompile、wfcompile→tools、wfcompile→workflow) - 任务卡 .task/feature-agent-stack-q3.md:增量表 WP1a-WP6、结果与验证、三段证据 ## Evidence - 三段输出由 make evidence 写入任务卡(SELF):precheck READY / task-sync synced(sync_base=78409a9c)/ make test exit 0(含 test-pins/test-worktree/test-boundaries 全绿;两次失败收据如实保留在卡) - 组件 CI(GATE):squad #46/#47/#48、agent-native #40、backend #99-#103 全部 success - 本 PR HEAD 的 Dev CI(GATE)为合入权威 ## Refs - 任务卡:.task/feature-agent-stack-q3.md(R0=78409a9c) - 方案:2026-10-07-agent-stack-q2q3-plans.md 第二部分 Q3
weichen added 16 commits 2026-10-08 04:07:34 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-agent-stack-q3.md; R0=78409a9ceacacf8a152b811d94c7195c4f084664.

Impact: task metadata only; the feature workspace starts at 78409a9cea.

Refs: .task/feature-agent-stack-q3.md
Why: Q3 (convergence and interop) completed across agent-native (#40),
agent-squad (#46/#47) and backend (#99-#102); Dev gitlinks must track the
merged component mains and the task card records the outcome before the
completion declaration.

Evidence: card increment table rows WP1a-WP6 with merged PR/SHA references;
component CI statuses recorded as GATE in the card verification section;
three-segment outputs (precheck/task-sync/test) appended via make evidence
in follow-up commits on this branch.

Impact: deps/agent-squad bcc8d08 -> 663e89e, deps/agent-native 1ac21c6 ->
37c5e6f, modules/backend 06934bc -> 4791b2e; task card filled.

Refs: .task/feature-agent-stack-q3.md; Q3 plan 2026-10-07-agent-stack-q2q3-plans.md
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=78409a9ceacacf8a152b811d94c7195c4f084664; candidate=e656a67dd1d79358362f34db09d6dfbf7059e68c.

Impact: task metadata only.

Refs: .task/feature-agent-stack-q3.md
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=78409a9ceacacf8a152b811d94c7195c4f084664; candidate=17918d2c759c3e11f593270b24a29cad42ffb432.

Impact: task metadata only.

Refs: .task/feature-agent-stack-q3.md
Why: Q3 WP1/WP2 moved workflow execution out of runtime (workflow_script.go
deleted, so runtime no longer imports internal/tools) into the new
internal/wfcompile package, which legitimately depends on internal/tools
(script host) and internal/workflow (render/validate/Launch data layer).

Evidence: make test-boundaries green after the baseline update (77 edges,
negative test ok); the lint itself flagged both the stale edge and the new
ones (SELF).

Impact: baseline -1 edge (backend/runtime backend/tools), +3 edges
(backend/runtime backend/wfcompile, backend/wfcompile backend/tools,
backend/wfcompile backend/workflow).

Refs: Q3 plan WP1/WP2; task card .task/feature-agent-stack-q3.md
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=78409a9ceacacf8a152b811d94c7195c4f084664; candidate=9343255d39e9b66c12fb502b6faba302d5f872b1.

Impact: task metadata only.

Refs: .task/feature-agent-stack-q3.md
Why: check-pins requires nested and Dev-level pins to agree; squad main
advanced to 819b0c5 (nested agent-native pin #48) and backend main to
fe7c245 (nested agent-squad pin #103) after the Q3 WP1-WP5 merges.

Evidence: both component PRs CI green (GATE); make test recorded via
make evidence in the follow-up commit on this branch.

Impact: deps/agent-squad 663e89e -> 819b0c5; modules/backend 4791b2e ->
fe7c245; deps/agent-native stays 37c5e6f.

Refs: Q3 plan WP6; task card .task/feature-agent-stack-q3.md
Record the passing test segment on the Q3 card
ci / test (pull_request) Successful in 2m17s
4454b2337c
weichen added 1 commit 2026-10-08 04:07:49 +00:00
Fill the main record link on the Q3 task card
ci / test (pull_request) Successful in 2m23s
947ae7767a
weichen merged commit c8ce4ebfb4 into main 2026-10-08 04:51:42 +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-Dev#253