diff --git a/.task/feature-fast-slow-u2-u3-plan.md b/.task/feature-fast-slow-u2-u3-plan.md index ad4486ae..f0a62a17 100644 --- a/.task/feature-fast-slow-u2-u3-plan.md +++ b/.task/feature-fast-slow-u2-u3-plan.md @@ -48,7 +48,9 @@ Backend `c23239e` 用有限枚举归一化受控记录的 `finish_reason` 与读 - 主干同步(全部经 agent-exec transport 集成,原分支历史以 `merge -s ours` 保留):Agent-Native #46、Core #31 `0cf0344`、UI #51 `316891b`、Documents #95 `6e21122`、Backend #193、Frontend #79 `b4fec2f`、Dev #512 均已纳入各自 main。Backend 同步按 main #204 把后台结果改走持久工作卡(不再起前台通知回合或 `confirm_choice`),材料选项仍只取通过核验的建议;r0.5 宿主确认 `material_ack.go` 与 fast-slow 分支逐字节一致。Frontend knip 基线 58:新增 8 个未用导出均为 Core 契约镜像类型,与 main 基线同类。 - Task 1/2(Agent-Native 响应体边界与 SSE 尾部分类):`b6a8433`;Task 3(Backend 无内容归一化与失败后停止):Backend `611cf1b`,RED 为哨兵 `PRIVATE_TAIL_R06` 与负计数未归一,GREEN 后两项新测试与五项对照通过。 - pin 对齐:Squad main #54 把 agent-intent 升到 `651a2e1`(只含治理文件),而 Native 仍固定 `343b1e6`,`make test-pins` 不能通过。按依赖顺序对齐:Native #46 `28f3ea7` → Squad #53 `11ff3a0` → Backend #193 `9bcf1b5`(intent `651a2e1`)→ Dev。Dev `d5d87cb` 的 `make test-pins` 为 `pins ok`(SELF,见下方证据)。 -- 待办:Dev 准确 HEAD 的 `make test`/`make build`、任务自有 mechanism 实例的 Playwright、隔离 PG 与三项 CI GATE、独立复审,然后提交阶段 6 材料与资源提案。 +- 工作卡衔接:Dev `e790fed` 的首轮 mechanism 重放 6/12(SELF),原因是带 `work` 的卡片只渲染 main 的工作卡视图,任务发现、来源与限制不显示;旧 e2e 还在等前台通知回合与 `.hitl-choice`。用户答复“继续”未选择具体项,host 按推荐方案“以 main 工作卡为准衔接”推进(可逆、仍待阶段 6 人工评审):UI #51 `67beff6` 在存在可信任务快照时于工作卡内渲染任务视图;Frontend #79 `aa49e0d` 固定该 UI 并把依赖已移除机制的断言换成工作卡等价断言(失败场景页面零选项且只有发送那一次对话运行;选择场景恰好三项核验建议),r0.5 用户保证未删减。Dev `97f363a` 任务自有实例 `/tmp/fast-slow-u2-u3-r06-20261019` 身份核对后 Playwright **12/12 PASS**(SELF,见下方证据),实例已停止。 +- 本地 `make test` 在 Dev `e790fed` 有 1 项治理测试失败(`test_close_self_child_keeps_initiative_target_from_archive`),在 main 检出同样复现,准确 HEAD CI 三作业通过;记为本机环境非阻塞项。 +- 待办:新 HEAD 的三项 CI GATE、独立复审,然后提交阶段 6 材料与资源提案。 ## 目标与范围 @@ -9495,3 +9497,44 @@ Dev草稿PR #512及Core #31、Backend #193、Frontend #79、UI #51、Documents # "receipt_path": "/home/weichen/.cache/agent-system-dev/evidence/fe675f944e22bd433c13301cd40265f11c38b19efbf46c2e8f4077fa9d6951e8.json" } ``` + + +```json +{ + "summary_schema": 1, + "source": "SELF", + "timestamp": "2026-10-19T05:17:29.721338+00:00", + "command": "cd modules/frontend && PLAYWRIGHT_BASE_URL=http://127.0.0.1:4186 WORK_CHECKPOINT_HTTP_MANIFEST=/tmp/fast-slow-u2-u3-r06-20261019/manifest.json npx playwright test e2e/work-checkpoints.playwright.ts --reporter=list --trace=on --output=/tmp/fast-slow-u2-u3-r06-20261019/playwright-results", + "exit_code": 0, + "cwd": "/home/weichen/projects/Agent-System-Dev-wt-feature-fast-slow-u2-u3-plan", + "before_head": "97f363a701b2fe1f22a2f19b5ee87921a3dd726c", + "after_head": "97f363a701b2fe1f22a2f19b5ee87921a3dd726c", + "branch": "feature/fast-slow-u2-u3-plan", + "target_branch": "main", + "target_head": "7716b28cfff5200e7cfe9ec75aff5bcd71b234ed", + "root_target": "main", + "immediate_target": "main", + "before_tracked_diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "after_tracked_diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "output_tail": [ + "(Use `node --trace-warnings ...` to show where the warning was created)", + " ✓ 1 e2e/work-checkpoints.playwright.ts:52:1 › attachment-only intake gives a safe first reply before sourced findings (2.1s)", + " ✓ 2 e2e/work-checkpoints.playwright.ts:67:1 › text with long material keeps the user focus in the host reply (2.0s)", + " ✓ 3 e2e/work-checkpoints.playwright.ts:74:1 › running and completed resends reuse one material card (4.9s)", + " ✓ 4 e2e/work-checkpoints.playwright.ts:94:1 › text with a small attachment retains the ordinary reply path (712ms)", + " ✓ 5 e2e/work-checkpoints.playwright.ts:101:1 › real HTTP task recovery, source navigation and changed-version limitation (1.6s)", + " ✓ 6 e2e/work-checkpoints.playwright.ts:118:1 › background replay does not steal the current file, focus or viewport (2.4s)", + " ✓ 7 e2e/work-checkpoints.playwright.ts:132:1 › two sourced stages appear while the material task is still running (4.7s)", + " ✓ 8 e2e/work-checkpoints.playwright.ts:143:2 › zero-failure shows the saved scope without a deliverable choice (255ms)", + " ✓ 9 e2e/work-checkpoints.playwright.ts:143:2 › partial-failure shows the saved scope without a deliverable choice (617ms)", + " ✓ 10 e2e/work-checkpoints.playwright.ts:157:1 › completed sourced work offers only its grounded suggestions (1.3s)", + " ✓ 11 e2e/work-checkpoints.playwright.ts:167:1 › failed material registration reports no started task or unsupported finding (227ms)", + " ✓ 12 e2e/work-checkpoints.playwright.ts:178:1 › saturated material slots show queued status without claiming execution (334ms)", + "", + " 12 passed (22.2s)" + ], + "output_sha256": "ff611e7feddbd9491f555c656c150eed22ea86e737aefc69b4128496a6911db2", + "receipt_sha256": "17e581a0f4009edcfcff5173052c010316552f35bb96bbd4f3cdc2197e3bb160", + "receipt_path": "/home/weichen/.cache/agent-system-dev/evidence/17e581a0f4009edcfcff5173052c010316552f35bb96bbd4f3cdc2197e3bb160.json" +} +```