Files
Agent-System/.doc/ops/short-term/2026-09-25-planned-tasks-closeout-plan.md
T

7.8 KiB
Raw Blame History

title, task_id, status, created, updated, owner, task_type, policy_revision, branch, worktree, base_dev_sha, write_scope, mutex, review_state, integration_state, deployment, cleanup, remote_sync
title task_id status created updated owner task_type policy_revision branch worktree base_dev_sha write_scope mutex review_state integration_state deployment cleanup remote_sync
已规划任务总控:批次计划与推进 planned-tasks-closeout-plan-2026-09-25 in_progress 2026-09-25 2026-09-25 Cursor planning AGENTS.md + agent-worktree-workflow @ 725181de feature/planned-tasks-closeout-plan-2026-09-25 .worktrees/planned-tasks-closeout-plan-2026-09-25 725181de4a
.doc/ops/short-term/2026-09-25-planned-tasks-closeout-plan.md
planned-tasks-closeout pending pending not_required pending not_requested

已规划任务总控:批次计划与推进

用户目标与授权

  • 用户 /goal(2026-09-25):把 盘点 出的「已规划未开工 / 未收口」任务全部规划并推进至完成。
  • 红线边界不变:SWBOOT-10 stub、FAV 不 live、D7 不物理删、PI 叙事 flag off、MULTI_INTENT_PLAN_TIER 不升 full、F4-B/F7-1/I6/I7 未授权不实施。
  • 授权内自主推进;每个实施批次独立 task_id + worktree + 验证证据;本总控只写本文件(scope 已收窄避免与活跃任务 .doc 宽 scope 假冲突)。

盘点来源

FEATURE-MATRIX(SSOT)非 done 行、CURRENT 并行认领表、2026-09-19-audit-remainder T20 区、两份 backlog、各任务文五状态。盘点结论见对话记录;本文件将其转为可执行批次。

批次总表

批 内容 来源 依赖/互斥 状态
P0 存量 panic 修复:engine_stage.go:306 裸解引用 stageRes.AdvisorBrief(空产物时 nil deref,dev 基线复现)+ matchAdvanceStage 疑问句误判(做.*报价 命中问句) 本总控新发现(属 audit-remainder M3/M5 家族) blocked:scope 被 dialogue-r2 硬占 已解锁:持有者收口后经 dialogue-context-layout-fix 布局修正合入 dev(1da17a28),P0 随后 validate+integrate 落地(dev 12bbe948) done
P1 docrev management-implementation-plan 收口核对:11 条验收逐条映射既有证据(Wave1–5 + Round20 UI + DOCREV rerun),产出勾选或残差清单;无法证明的条目列为显式残差,不假勾 CURRENT 焦点1「仍方案态」 只读核对 + 文档更新;mutex docgov pending
P2 T20 S1 小改批:B11(GET 禁 message)、F1(loadOlder generation)、F8(poll 去重+blob revoke)、F4-A(隐藏死按钮) T20 设计 实施拆批 S1 mutex web;无环境写 pending
P3 T20 S2 配置/池批:B1(XFF 可信代理)、B4(statement_timeout 分级)、B7(SHUTDOWN_DRAIN 对齐) 同上 S2 mutex server/infra;需回归 pending
P4 T20 S3 锁批:B3(docgov/docrevision 分锁 + 锁外 hydrate) 同上 S3 mutex docgov;独立大改,go test -race pending
P5 T20 S4 镜像批:I1(非 root + limits)、I4(init mount 统一)——代码/compose 可合;共享环境部署另授权 同上 S4 mutex infra;部署不自动 pending
P6 T20 观测:B5(FailChatTurn 可观测 + 孤儿扫描) 同上 mutex chat pending
P7 Server 镜像字段增量收口(module-batches-ag 剩余「另立任务」) MATRIX module-batches-ag 行尾注 mutex module-decoupling-spec pending
P8 U9–U12 剩余键逐键放量:document.review.approve/reject、document.final.*、document.proposal.decide、workflow.switch、run.restart(validated_only,逐键独立 flag + 真实 PI 证据,禁 full 一次放量) MATRIX intent-plan-u9u12 行尾注 mutex intent-plan;每键独立任务 pending
P9 web-sysadmin 残差:Playwright 实跑、KB 运维动作、白名单项接消费方 MATRIX web-sysadmin 行尾注 mutex web+sysadmin pending
P10 backlog 价值评估 + 择优实施:B5 报价复核、A5/A6 小队降级、D5 KB 隔离评估、R1/R4–R7 rdev 增强 两份 backlog 逐项评估后定做/不做及理由 pending
P11 未收口任务推进:intent-plan-i2 两行、worktree-cleanup-closeout、cleanup=pending 批量复查(cleanup report 门禁) CURRENT 表 cleanup report 只读盘点先行 pending
P12 红线项推进至授权边界:FAV 观察窗计时核查、D7 合规签字追踪、SWBOOT L5/L6 授权申请登记、PI 叙事 dev 常驻开启申请登记——只登记与证据核查,不越权实施 CURRENT 受控约束 只读 pending

执行顺序与理由

  1. P0 先行:dev 基线 panic 是所有后续 go test 的噪音源,必须先修。
  2. P1 只读核对并行做(不占代码 mutex)。
  3. P2(S1 小改) → P3(S2) → P6(B5):按设计文档优先级 P1 软件项排完。
  4. **P4(B3 锁)**独立大改单独排。
  5. **P5(I1/I4)**代码层完成后停在「待部署授权」。
  6. P7–P9 各自独立,按 mutex 空闲插入。
  7. P10 评估先行,产出做/不做决策再实施。
  8. P11 cleanup 用 agentctl cleanup report 机器门禁复查,不手工删。
  9. P12 全程只读登记。

每批验收口径

  • 代码批:go test(含 -race where applicable)+ 工程/产品分层按 [验证契约];报告落 .doc/test-reports/。
  • 文档批:链接可达、状态真实、无假勾选。
  • 红线批:只登记 blocker 与授权申请,不实施。
  • 合入:validate → queue enqueue(daemon ff-only),串行。

状态机

字段 值
review_state done(P0 已合入 dev 12bbe948)
integration_state partial(P0 done;P1–P12 待续)
deployment not_required
cleanup pending
remote_sync not_requested

进展日志

  • 2026-09-25:建场、盘点转批次、P0 根因定位(engine_stage.go:306 nil deref,空 executedArtifacts 时 stageBrief=nil;dev@725181de 复现 TestBizDev_CaseRecommendation_FullLink_E2E panic)。
  • 2026-09-25:P0 双层修复完成并全绿(nil 保护 + isInterrogative 疑问句排除;新增回归 TestCoordinatorEngine_AdvanceStageNilBriefNoPanic;intent/coordinator/bizdev/squad/dialoguectx/conflictresolve/ctxmgr 全 PASS,chat 存量失败 TestChatSession_SemanticMemoryRecallAndAsyncTurnRecord 为基线同款)。落地受阻:catalog hard same_scope(持有者任务未收口,hard 不可 ack)→ 补丁与测试报告存 ~/fix-stage-brief-panic-patches/,登记 blocked 待持有者收口后落地。
  • 2026-09-25:存量遗留新登记:chat 语义记忆异步轮记录用例失败(dev 基线同款),候选批次。
  • 2026-09-25:P0 落地:dialogue-context-injection-2026-09-25-r2 经布局修正(r1/r2 行移表尾,docs apply @document + 新任务 dialogue-context-layout-fix-2026-09-25 持 docs:admin)解除 integrate 相邻插入冲突,merge 一枪成功合入 dev(1da17a28)。P0 补丁随即 apply 到 fix-stage-brief-nil-panic-2026-09-25 worktree,go test ./internal/coordinator/... ./internal/intent/... 全 PASS(含新增回归 TestCoordinatorEngine_AdvanceStageNilBriefNoPanic),validate+integrate 合入 dev 12bbe948(5 文件 +231 行:nil 保护、疑问句门控、回归测试、任务文与测试报告)。

相关链接