From e3290ebd68d580a49c1f2ae675b437d7271c64b0 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 21:24:02 +0800 Subject: [PATCH 1/9] docs(ops): reconcile W1-D status drift against schema 61 facts Align sysadmin readiness reasons, FEATURE-MATRIX schema claims, CURRENT FAV wording, pseudo-done task statuses, G1/G2 exception counts, and residual gap-matrix schema notes with measured 2026-09-22 evidence without flipping production_ready. --- .../audit/2026-09-20-module-coupling-audit.md | 4 +- .doc/ops/CURRENT.md | 14 +-- .../2026-09-14-document-reliability-pilot.md | 36 ++++--- .../2026-09-15-multi-intent-hitl.md | 6 +- ...2026-09-16-multi-intent-u5-decision-api.md | 19 ++-- .../2026-09-16-multi-intent-u6-web-cards.md | 11 ++- .../2026-09-16-software-project-bootstrap.md | 3 +- .../2026-09-20-chat-revise-bridge.md | 10 +- .../2026-09-20-recheck-soft-hold.md | 10 +- .../short-term/2026-09-20-stage-reopen-l2.md | 10 +- .../2026-09-20-trace-multihop-t3.md | 10 +- .../2026-09-21-dev-multiuser-four-issues.md | 5 +- .../2026-09-21-mineru-doc-parsing.md | 5 +- .../2026-09-21-taskrun-status-card.md | 12 ++- .../2026-09-22-status-drift-reconcile.md | 97 +++++++++++++++++++ ...revision-management-implementation-plan.md | 5 +- ...6-09-15-http-error-envelope-remediation.md | 6 +- ...-decoupling-ipc-phase2-remediation-plan.md | 10 +- ...26-09-17-system-health-remediation-plan.md | 6 +- ...2026-09-20-module-decoupling-batch-plan.md | 4 +- .doc/remediation/gap-matrix.md | 12 +-- .doc/status/FEATURE-MATRIX.md | 10 +- internal/sysadmin/features.go | 4 +- internal/sysadmin/service_test.go | 10 +- 24 files changed, 228 insertions(+), 91 deletions(-) create mode 100644 .doc/ops/short-term/2026-09-22-status-drift-reconcile.md diff --git a/.doc/audit/2026-09-20-module-coupling-audit.md b/.doc/audit/2026-09-20-module-coupling-audit.md index 7cae646d..e0585f2d 100644 --- a/.doc/audit/2026-09-20-module-coupling-audit.md +++ b/.doc/audit/2026-09-20-module-coupling-audit.md @@ -105,8 +105,8 @@ severity: high |------|------|--------|------|------| | `sql_write` | 4 | U3 | 2026-09-28 | **8 天后到期**。`docduty`、`docrevision` 仍写 `document_records` / `freeform_documents` | | `sql_write` | 1 | U8 | 2026-10-26 | `projectinstance` 终止流程直接取消 `task_runs` | -| `path` | 2 | U4 | 2026-09-28 | **同样 8 天后到期**。`server` 与 `docrevision` 仍点名 `output.md` | -| `path` | 14 | U5 | 2026-10-12 | `agent`、`bizdev`、`coordinator`、`docgov`、`storage` 仍拼接工作区路径或把 `data/dev` 写进提示 | +| `path` | **3** | U4 | 2026-09-28 | **同样到期**。`docrevision/projection.go` + server `document_revision_access.go` / `document_revision_handlers.go` 仍点名 `output.md`(对账前文档少记 handlers 一条) | +| `path` | **13** | U5 | 2026-10-12 | `agent`、`bizdev`、`coordinator`、`docgov`、`storage` 仍拼接工作区路径或把 `data/dev` 写进提示 | 到期后若门禁把这些 kind 升为 block 而代码未迁走,构建会失败;若继续延期而不迁,非属主写入会继续让文档/任务故障跨包扩散。本轮不改 YAML,清零归整改批次 G。 diff --git a/.doc/ops/CURRENT.md b/.doc/ops/CURRENT.md index 75689c66..245b72ff 100644 --- a/.doc/ops/CURRENT.md +++ b/.doc/ops/CURRENT.md @@ -1,19 +1,20 @@ # 当前焦点 -**更新**:2026-09-22(dev 门禁复验与 test 晋升收口)。此文件是协调快照;实际分支、进程、执行租约以机器核验为准。能力和发布结论分别见 [FEATURE-MATRIX](../status/FEATURE-MATRIX.md) / [gap-matrix](../remediation/gap-matrix.md)。 +**更新**:2026-09-22(W1-D 状态漂移对账)。此文件是协调快照;实际分支、进程、执行租约以机器核验为准。能力和发布结论分别见 [FEATURE-MATRIX](../status/FEATURE-MATRIX.md) / [gap-matrix](../remediation/gap-matrix.md)。 手工 CAS 前:本 macOS 宿主 `docs apply`/`with`/`validate`/`integrate` 因 `/proc` 不可用;本轮文档与环境写采用手工等效(见任务例外登记)。 ## 焦点 1. **dev→test 已晋升**:`origin/dev@591ea601`(schema 61 门禁绿);`origin/test@83c6a12a` + tag `rc-v1.1.0-beta.1`;test 环境 health schema=61、Runner `MiniMax-M3`。[报告](../test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md)。 -2. **本任务 cleanup=pending**:feature / integrate / promote-test worktrees 待独立维护者按门禁复查后清理;不强删。 +2. **W1-D 状态漂移对账**:对齐 features readiness 文案、FEATURE-MATRIX schema、伪完成任务状态、G1/G2 例外计数与 CURRENT FAV 表述。[任务](./short-term/2026-09-22-status-drift-reconcile.md)。 3. **Agent 规范与 L1 门禁**:R01–R10、共享 .locks 已启用;本机 macOS 上租约路径不可用,受测 Linux 主机仍 enforced。 ## 并行认领 | owner | task | branch | worktree | mutex | status | |---|---|---|---|---|---| +| Cursor | status-drift-reconcile-2026-09-22 | feature/status-drift-reconcile-2026-09-22 | .worktrees/status-drift-reconcile-2026-09-22 | ops | done | | Cursor | 2026-09-22-status-reconcile | feature/status-reconcile-2026-09-22 | .worktrees/status-reconcile-2026-09-22 | ops-status-reconcile | done | | Cursor | 2026-09-22-dev-prod-ready-test-promotion | feature/dev-prod-ready-test-promotion-2026-09-22 | .worktrees/dev-prod-ready-test-promotion-2026-09-22 | dev-runtime-migration+release-gate+test-promotion | done | | Cursor | integrate-dev-prod-ready-test-promotion-2026-09-22 | feature/integrate-dev-prod-ready-test-promotion-2026-09-22 | .worktrees/integrate-dev-prod-ready-test-promotion-2026-09-22 | git:dev | done | @@ -25,9 +26,10 @@ | 路径/事项 | 分类与保留原因 | cleanup_owner | 复查触发 | |---|---|---|---| -| `.worktrees/dev-prod-ready-test-promotion-2026-09-22` 等本轮三个 worktree | 任务 done;cleanup=pending;证据已入 test-reports / gap-matrix | 独立维护者 | 核对 tip 为 origin/dev 或 origin/test 祖先、无进程后 remove | +| `.worktrees/dev-prod-ready-test-promotion-2026-09-22` 等本轮晋升相关 worktree | 任务 done;cleanup=pending;证据已入 test-reports / gap-matrix | 独立维护者 | 核对 tip 为 origin/dev 或 origin/test 祖先、无进程后 remove | +| `.worktrees/status-drift-reconcile-2026-09-22` | 本任务;cleanup 待合入后 | 独立维护者 | 合入 dev 且 owner 退出后 | | Cline `2026-09-16-partial-deferred-completion` | 仍 in_progress;W5–W7 未关闭 | Cline owner / 维护者 | 单独授权实施或交接 | -| 保护分支 / FAV 相关 | 保护项;故意不合入、不删 | 原 owner / 维护者 | 用户调整保护边界后 | +| 09-13 docrev audit/remediation(约 29 份 `in_progress`) | **不属于本批终态**;关闭条件是占槽后真实 UI 重跑,归 **W3 UI-rerun** | W3 owner | 集成槽 + Playwright 轮次 | | embedding 401(dmxapi) | 非 blocker 运维债;不挡 PI | 运维 | 换钥后重跑 chunk index | ## 集成槽位 @@ -40,7 +42,7 @@ ## 受控约束 -- 禁止整支 merge FAV;保留既有保护分支;不删 `origin/*`(本轮仅前进 `dev`/`test` 与新增 rc tag)。 +- **FAV**:禁止整支 merge 任何 FAV live 放量分支;`FAV_DEGRADED_READ=false`。`feature/final-artifact-vault` **本地与远端均已不存在**(仅余 `feature/fav-u7-publisher{,-impl}`)。FAV live 由代码硬门禁拒绝:`internal/events/registry.go` `Register("fav")` 与 `dispatcher.go` Peek/Claim/SetMode(非靠已消失的保护分支)。shadow 本体可在 dev,放量须单独审批改码。 - 不默认升 `MULTI_INTENT_PLAN_TIER=full`;`SEED_DEMO_USERS=false` 在 test 保持。 - D7 对话 ADR 仍待合规签字;追踪表类别 `record` 不授权物理删除。 - main 未在本轮晋升。 @@ -48,5 +50,5 @@ ## 活跃入口 - [操作规范](./2026-09-21-agent-worktree-workflow.md) · [规则来源/生效](./2026-09-21-policy-registry.md) · [验证契约](./2026-09-21-validation-contract.md) -- [dev 门禁与 test 晋升任务](./short-term/2026-09-22-dev-prod-ready-test-promotion.md) · [报告](../test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md) +- [W1-D 状态漂移对账](./short-term/2026-09-22-status-drift-reconcile.md) · [dev 门禁与 test 晋升任务](./short-term/2026-09-22-dev-prod-ready-test-promotion.md) · [报告](../test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md) - [gap-matrix](../remediation/gap-matrix.md) · [partial-deferred 主任务](./short-term/2026-09-16-partial-deferred-completion.md) diff --git a/.doc/ops/short-term/2026-09-14-document-reliability-pilot.md b/.doc/ops/short-term/2026-09-14-document-reliability-pilot.md index 669eff20..ed066588 100644 --- a/.doc/ops/short-term/2026-09-14-document-reliability-pilot.md +++ b/.doc/ops/short-term/2026-09-14-document-reliability-pilot.md @@ -1,16 +1,25 @@ --- title: "文档可靠性纵向试点 M0–M1" -status: blocked +status: done created: 2026-09-14 -updated: 2026-09-14 +updated: 2026-09-22 owner: Cursor branch: refactor/document-reliability-pilot worktree: .worktrees/refactor-document-reliability-pilot mutex: docgov +superseded_by: "./2026-09-14-document-reliability-m1-live-and-m2.md" --- # 文档可靠性纵向试点 M0–M1 +> **W1-D 重裁(2026-09-22)**:本文件曾标 `blocked`,并以试点报告「停止扩面」禁止 U5–U12。随后证据链已超越该门禁: +> +> 1. [M1 活验报告](../../test-reports/2026-09-14-document-reliability-pilot-live-test-report.md) 末句 **继续 M2**(刷新/跨用户/真 PI/多会话已签字); +> 2. [M1 活验 + 条件 M2 任务](./2026-09-14-document-reliability-m1-live-and-m2.md) `status: done`; +> 3. [M2 报告](../../test-reports/2026-09-14-document-reliability-m2-test-report.md) 末句 **继续 M3**;`internal/workspace` `WorkspaceRef`/`Capability` 已生产接线,`module-boundaries.yaml` `unwrap_owners` 含多包。 +> +> 因此本任务改为 `done`(试点范围已关闭),**不再**用「停止扩面」阻挡 workspace 路径改造(G1/G2)。历史试点报告原文不改写;门禁以活验/M2 报告为准。M3+ 仍需独立授权。 + ## 目标 在不横向搬包的前提下,完成 U1–U4,使受控文档在并发提交、页面刷新、重登、restart、rebuild 和 projection 缺失后仍从数据库账本返回唯一授权正文。 @@ -37,28 +46,31 @@ mutex: docgov 3. [x] 实现 U2,验证任意属主写入/commit 故障整体回滚。 4. [x] 实现 U3,删除提交后 outbox 正确性回调。 5. [x] 实现 U4,保证 GET 零写入和 projection 缺失不再伪装成 404。 -6. [x] 隔离库 PG + 目标包 race 已跑;真实 PI / 浏览器 / rebuild **未**签字(未占槽)。 -7. [x] 写 test report:结论 **停止扩面**。更新验收清单、FEATURE-MATRIX、CURRENT 和 gap-matrix。 +6. [x] 隔离库 PG + 目标包 race 已跑;真实 PI / 浏览器 / rebuild 由后续活验任务签字。 +7. [x] 写 test report;更新验收清单、FEATURE-MATRIX、CURRENT 和 gap-matrix。 ## 验收标准 - [x] 同一 ETag 并发编辑只有一个合法赢家(内存 8 协程 + 隔离库双会话)。 - [x] 任一事务故障点不会留下部分提交(U2 隔离库)。 -- [ ] 项目 143 等价 hazard 和新项目刷新/重启目标 404/409/projection missing 为 0(真实页面未测)。 -- [x] 服务端匿名/未知文档/跨项目/错误责任人 fail closed;浏览器跨登录未测。 -- [ ] 1、2、4 个 app 实例的最终状态一致(仅到双会话)。 -- [x] M1 test report 结论:**停止扩面**。 +- [x] 项目 143 等价 hazard 和新项目刷新/重启目标 404/409/projection missing 为 0 — **由活验报告关闭**(原试点未测)。 +- [x] 服务端匿名/未知文档/跨项目/错误责任人 fail closed;浏览器跨登录 — **由活验报告关闭**。 +- [x] 1、2、4 个 app 实例的最终状态一致 — **由活验/隔离库双 pool 关闭**。 +- [x] M1 试点报告结论保留为历史「停止扩面」;**活验报告**结论为「继续 M2」。 ## 相关链接 - Checklist: [../checklists/2026-09-14-module-decoupling-refactor-acceptance.md](../checklists/2026-09-14-module-decoupling-refactor-acceptance.md) -- Test report: [../../test-reports/2026-09-14-document-reliability-pilot-test-report.md](../../test-reports/2026-09-14-document-reliability-pilot-test-report.md) +- Pilot report(历史): [../../test-reports/2026-09-14-document-reliability-pilot-test-report.md](../../test-reports/2026-09-14-document-reliability-pilot-test-report.md) +- Live report: [../../test-reports/2026-09-14-document-reliability-pilot-live-test-report.md](../../test-reports/2026-09-14-document-reliability-pilot-live-test-report.md) +- M2 report: [../../test-reports/2026-09-14-document-reliability-m2-test-report.md](../../test-reports/2026-09-14-document-reliability-m2-test-report.md) - Plan: [../../remediation/2026-09-14-module-decoupling-refactor-plan.md](../../remediation/2026-09-14-module-decoupling-refactor-plan.md) +- Superseding task: [./2026-09-14-document-reliability-m1-live-and-m2.md](./2026-09-14-document-reliability-m1-live-and-m2.md) -## M2+ 门(不开工) +## M2+ 门(历史 / 已超越) -U5 WorkspaceRef、U6 outbox、U7 按文件摘 FAV 需要独立审批,且仅当 M1 报告最后一句为「继续 M2」。当前是「停止扩面」,禁止实现 U5–U12。 +原约束:「仅当 M1 报告最后一句为继续 M2」才开工 U5–U7;试点报告写「停止扩面」。**已被活验报告「继续 M2」与 M2 任务 done 超越**;不得再引用本段阻挡 workspace 路径改造。M3(含 FAV live)仍须独立审批。 ## 证据 / 备注 -隔离库与目标包 race 见 test-report assets。未占槽、未 rebuild。只有真实 PI/浏览器/rebuild 补测并把报告改为「继续 M2」后,才允许启动 durable event/FAV。 +隔离库与目标包 race 见 pilot test-report assets。活验与 M2 证据见上链。 diff --git a/.doc/ops/short-term/2026-09-15-multi-intent-hitl.md b/.doc/ops/short-term/2026-09-15-multi-intent-hitl.md index 16a3fe21..f5f2b5a9 100644 --- a/.doc/ops/short-term/2026-09-15-multi-intent-hitl.md +++ b/.doc/ops/short-term/2026-09-15-multi-intent-hitl.md @@ -1,8 +1,8 @@ --- title: "多意图持久计划与 HITL(核心 U1–U8,扩面 U9–U12)" -status: done +status: in_progress created: 2026-09-15 -updated: 2026-09-16 +updated: 2026-09-22 owner: Cursor branch: "-" worktree: "-" @@ -11,6 +11,8 @@ mutex: "-" # 多意图持久计划与 HITL(核心 U1–U8,扩面 U9–U12) +> **W1-D 对账(2026-09-22)**:伪完成降级。U1–U8 步骤与独立单元报告已落地,但本总览 **11 条验收标准全部未勾**(含真实 PI E2E),且 U9–U12 步骤未完成 → `done` 改为 `in_progress`。FEATURE-MATRIX「多意图持久计划」行保持 `partial`。 + ## 目标 不回退现有模块解耦、单意图行为和权限边界,交付可持久、可恢复、可并发裁决的 2–4 步计划;所有批量生成/写入/控制确认前零副作用,执行前逐动作重新授权。 diff --git a/.doc/ops/short-term/2026-09-16-multi-intent-u5-decision-api.md b/.doc/ops/short-term/2026-09-16-multi-intent-u5-decision-api.md index d8cb8309..61a2a756 100644 --- a/.doc/ops/short-term/2026-09-16-multi-intent-u5-decision-api.md +++ b/.doc/ops/short-term/2026-09-16-multi-intent-u5-decision-api.md @@ -2,9 +2,7 @@ title: "多意图 HITL U5:决策 API 与授权端口" status: done created: 2026-09-16 -updated: 2026-09-16 -owner: Cursor -branch: feature/multi-intent-u5-decision-api +updated: 2026-09-22 worktree: "-" mutex: intent-plan --- @@ -39,14 +37,15 @@ mutex: intent-plan ## 验收标准 -- [ ] 投影缺失仍能 GET active -- [ ] 未登录 401;非成员 403;跨项目/会话/用户隐藏 -- [ ] stale revision 409;重复 nonce 同 digest 同 receipt -- [ ] 非法部分确认拒绝;edit 使旧 revision 失效 -- [ ] 确认前零副作用;权限撤销/资源版本 fail closed -- [ ] 无系统身份绕过 -- [ ] `go test -short` 绿 +- [x] 投影缺失仍能 GET active — 证据:[checklist](../checklists/2026-09-16-multi-intent-u5-decision-api.md) / http-verbose +- [x] 未登录 401;非成员 403;跨项目/会话/用户隐藏 — `TestIntentPlanHTTP_ScopeNegatives` / `AdminDoesNotBypassMembership` +- [x] stale revision 409;重复 nonce 同 digest 同 receipt — authorize-verbose / http-verbose +- [x] 非法部分确认拒绝;edit 使旧 revision 失效 — 同上 +- [x] 确认前零副作用;权限撤销/资源版本 fail closed — authorize-verbose +- [x] 无系统身份绕过 — `AdminDoesNotBypassMembership` +- [x] `go test -short` 绿 — [short.txt](../../test-reports/assets/2026-09-16-multi-intent-u5-decision-api/short.txt) +> **W1-D(2026-09-22)**:验收框此前未勾但 checklist 与报告已全绿 → 按证据补勾,不降级 status。 ## 相关链接 - 总览: [2026-09-15-multi-intent-hitl.md](./2026-09-15-multi-intent-hitl.md) diff --git a/.doc/ops/short-term/2026-09-16-multi-intent-u6-web-cards.md b/.doc/ops/short-term/2026-09-16-multi-intent-u6-web-cards.md index 30c3dab9..f7805ca1 100644 --- a/.doc/ops/short-term/2026-09-16-multi-intent-u6-web-cards.md +++ b/.doc/ops/short-term/2026-09-16-multi-intent-u6-web-cards.md @@ -2,7 +2,7 @@ title: "多意图 HITL U6:Web 卡片、刷新与可访问性" status: done created: 2026-09-16 -updated: 2026-09-16 +updated: 2026-09-22 owner: Cursor branch: feature/multi-intent-u6-web-cards worktree: "-" @@ -37,11 +37,12 @@ UI 只呈现 PlanView;计划动作不走本地 AST/资源修改;刷新与双 ## 验收标准 -- [ ] 计划确认不修改 DocumentAST -- [ ] GET 可修复缺失投影 -- [ ] 409 标 outdated 并带最新 PlanView -- [ ] 默认 Playwright skip +- [x] 计划确认不修改 DocumentAST — `planCardTouchesLocalAST` + App early-return +- [x] GET 可修复缺失投影 — checklist / planCard 测试 +- [x] 409 标 outdated 并带最新 PlanView — 同上 +- [x] 默认 Playwright skip — [npm-test.txt](../../test-reports/assets/2026-09-16-multi-intent-u6-web-cards/npm-test.txt) +> **W1-D(2026-09-22)**:验收框此前未勾但 checklist 与报告已全绿 → 按证据补勾,不降级 status。 ## 相关链接 - Checklist: [../checklists/2026-09-16-multi-intent-u6-web-cards.md](../checklists/2026-09-16-multi-intent-u6-web-cards.md) diff --git a/.doc/ops/short-term/2026-09-16-software-project-bootstrap.md b/.doc/ops/short-term/2026-09-16-software-project-bootstrap.md index fa2a8af4..daba6bba 100644 --- a/.doc/ops/short-term/2026-09-16-software-project-bootstrap.md +++ b/.doc/ops/short-term/2026-09-16-software-project-bootstrap.md @@ -44,10 +44,11 @@ mutex: workflow-design - [x] 医疗三工作流目录与校验无回归(L1) - [x] 软件两 key 可选且无医疗默认语义 -- [x] 迁移 additive,旧项目不误分类(SQL 已写;活验 NOT RUN) +- [ ] 迁移 additive,旧项目不误分类(SQL 已写;**活验 NOT RUN** — W1-D 取消伪勾) - [x] SWBOOT-10 仅 stub,拒绝真实执行 - [x] 测试报告落盘 +> **W1-D(2026-09-22)**:保留 `done`(L1 代码交付);仅把「活验 NOT RUN」项诚实取消勾选。另记:`PiSoftwareBootstrapAdvisor.Advise` 无生产调用方(组合根未装配),不得当成已生效能力。 ## 相关链接 - ADR: `.doc/adr/2026-09-16-software-project-bootstrap-keys.md` diff --git a/.doc/ops/short-term/2026-09-20-chat-revise-bridge.md b/.doc/ops/short-term/2026-09-20-chat-revise-bridge.md index 0db1a494..0629fc70 100644 --- a/.doc/ops/short-term/2026-09-20-chat-revise-bridge.md +++ b/.doc/ops/short-term/2026-09-20-chat-revise-bridge.md @@ -29,10 +29,12 @@ mutex: intent ## 步骤 -1. [ ] 开 `feature/chat-revise-bridge`,mutex `intent`。 -2. [ ] 注册两个意图,绑定项目与可见文档。 -3. [ ] 确认前断言业务表无新提案;确认后恰好一条提案。 -4. [ ] 不可见文档不能被点名后泄漏标题。 +1. [x] 开分支(实际为 `feature/stage-backtrack-impl`),mutex `intent`。 +2. [x] 注册两个意图,绑定项目与可见文档。 +3. [x] 确认前断言业务表无新提案;确认后恰好一条提案。 +4. [x] 不可见文档不能被点名后泄漏标题。 + +> **W1-D**:验收已勾 → 只补勾步骤,不降级。 ## 验收标准 diff --git a/.doc/ops/short-term/2026-09-20-recheck-soft-hold.md b/.doc/ops/short-term/2026-09-20-recheck-soft-hold.md index ebef2162..e7657fcf 100644 --- a/.doc/ops/short-term/2026-09-20-recheck-soft-hold.md +++ b/.doc/ops/short-term/2026-09-20-recheck-soft-hold.md @@ -31,10 +31,12 @@ mutex: workflow ## 步骤 -1. [ ] B1 合入后开 `feature/recheck-soft-hold`。mutex 仍是 `workflow`,不得与 B1 同时 `in_progress`。 -2. [ ] 标记的产生、知悉、人工关闭、驳回后重开。 -3. [ ] 前端推进条二次确认。 -4. [ ] 证明无标记时推进请求与现在一致。 +1. [x] B1 合入后在 `feature/stage-backtrack-impl` 继续(mutex `workflow`)。 +2. [x] 标记的产生、知悉、人工关闭、驳回后重开。 +3. [x] 前端推进条二次确认。 +4. [x] 证明无标记时推进请求与现在一致。 + +> **W1-D**:验收已勾 → 只补勾步骤,不降级。 ## 验收标准 diff --git a/.doc/ops/short-term/2026-09-20-stage-reopen-l2.md b/.doc/ops/short-term/2026-09-20-stage-reopen-l2.md index 89339c8b..d85f1d16 100644 --- a/.doc/ops/short-term/2026-09-20-stage-reopen-l2.md +++ b/.doc/ops/short-term/2026-09-20-stage-reopen-l2.md @@ -33,10 +33,12 @@ mutex: workflow ## 步骤 -1. [ ] 开 `feature/stage-reopen-l2`,mutex `workflow`。确认 `workflow` 无其他 `in_progress`。 -2. [ ] 申请表、批准事务、乐观锁。 -3. [ ] docgov 解锁动作与审计。 -4. [ ] 创建者与非创建者、空勾选、未完成阶段、越权申请的负例。 +1. [x] 开分支(实际为 `feature/stage-backtrack-impl`,非原计划名 `feature/stage-reopen-l2`),mutex `workflow`。 +2. [x] 申请表、批准事务、乐观锁。 +3. [x] docgov 解锁动作与审计。 +4. [x] 创建者与非创建者、空勾选、未完成阶段、越权申请的负例。 + +> **W1-D**:步骤漏勾 + 分支名不一致 → 只补勾并对齐 frontmatter 分支名,不降级。 ## 验收标准 diff --git a/.doc/ops/short-term/2026-09-20-trace-multihop-t3.md b/.doc/ops/short-term/2026-09-20-trace-multihop-t3.md index 12477dc6..e51c7790 100644 --- a/.doc/ops/short-term/2026-09-20-trace-multihop-t3.md +++ b/.doc/ops/short-term/2026-09-20-trace-multihop-t3.md @@ -31,10 +31,12 @@ mutex: trace-index ## 步骤 -1. [ ] T2 合入后开 `feature/trace-multihop-t3`。mutex `trace-index`,不得与 T2 同时 `in_progress`。 -2. [ ] 反向遍历与环、深度、权限过滤测试。 -3. [ ] 候选确认/否决 API 与决定账本。 -4. [ ] 确认后的边进入下一次影响报告;否决的边不再贡献影响。 +1. [x] T2 合入后在 `feature/stage-backtrack-impl` 继续(mutex `trace-index`)。 +2. [x] 反向遍历与环、深度、权限过滤测试。 +3. [x] 候选确认/否决 API 与决定账本。 +4. [x] 确认后的边进入下一次影响报告;否决的边不再贡献影响。 + +> **W1-D**:验收已勾 → 只补勾步骤,不降级。 ## 验收标准 diff --git a/.doc/ops/short-term/2026-09-21-dev-multiuser-four-issues.md b/.doc/ops/short-term/2026-09-21-dev-multiuser-four-issues.md index 7fd0c1f3..a316b16c 100644 --- a/.doc/ops/short-term/2026-09-21-dev-multiuser-four-issues.md +++ b/.doc/ops/short-term/2026-09-21-dev-multiuser-four-issues.md @@ -1,8 +1,8 @@ --- title: "dev 多用户四问题修复" -status: done +status: in_progress created: 2026-09-21 -updated: 2026-09-21 +updated: 2026-09-22 owner: Cursor branch: fix/dev-multiuser-four-issues-2026-09-21 worktree: .worktrees/fix-dev-multiuser-four-issues @@ -11,6 +11,7 @@ mutex: projectinstance+docgov # dev 多用户四问题修复 +> **W1-D(2026-09-22)**:伪完成降级。工程步骤与多数验收已勾,但「陈威浏览器复测仍待做」未关闭 → `done` 改为 `in_progress`。 ## 目标 项目 6579 上,成员能看到激活后的受控文档,消息能路由到 `bd_*` 任务键,职责矩阵与工作流配置一致,激活后仍可改职责/审批/启用但不能切换工作流。 diff --git a/.doc/ops/short-term/2026-09-21-mineru-doc-parsing.md b/.doc/ops/short-term/2026-09-21-mineru-doc-parsing.md index 6a95677f..294cacd5 100644 --- a/.doc/ops/short-term/2026-09-21-mineru-doc-parsing.md +++ b/.doc/ops/short-term/2026-09-21-mineru-doc-parsing.md @@ -2,7 +2,7 @@ title: "MinerU 文档解析接入" status: done created: 2026-09-21 -updated: 2026-09-21 +updated: 2026-09-22 owner: Cursor branch: feature/mineru-doc-parsing-2026-09-21 worktree: .worktrees/mineru-doc-parsing-2026-09-21 @@ -23,10 +23,13 @@ head_sha: 5c3261c6d8a773fe31f331fc48ab0ccd64e091ac deployment: passed cleanup: pending mutex: storage+bizdev+kb +live_acceptance: blocked +live_blocker: "MINERU_API_KEY A0211 expired — 压缩 PDF 全链路未签字;mock/short 与降级路径已验收" --- # MinerU 文档解析接入 +> **W1-D(2026-09-22)**:代码与 mock 验收保持 `done`;frontmatter 增补 `live_acceptance: blocked`,避免把过期密钥下的 live FAIL 读成全绿。 ## 目标 接入 MinerU 精准解析 API,使上传 PDF/Office 等材料可被小队可靠理解;大文档走分块嵌入 + 重排检索注入。 diff --git a/.doc/ops/short-term/2026-09-21-taskrun-status-card.md b/.doc/ops/short-term/2026-09-21-taskrun-status-card.md index 5bd3a14c..363a931d 100644 --- a/.doc/ops/short-term/2026-09-21-taskrun-status-card.md +++ b/.doc/ops/short-term/2026-09-21-taskrun-status-card.md @@ -30,11 +30,13 @@ mutex: chat+web+taskrun ## 步骤 -1. [ ] feat(web): TaskRunCard + 类型扩展 -2. [ ] feat(web): MessageBubble / mapper / attempts 接线 -3. [ ] feat(taskrun,ctxmgr): phase 快照持久化 -4. [ ] feat(web): 刷新恢复(快照 + replay 扩面) -5. [ ] 单测 + 真实环境验收 + 合回 dev +1. [x] feat(web): TaskRunCard + 类型扩展 +2. [x] feat(web): MessageBubble / mapper / attempts 接线 +3. [x] feat(taskrun,ctxmgr): phase 快照持久化 +4. [x] feat(web): 刷新恢复(快照 + replay 扩面) +5. [x] 单测 + 真实环境验收 + 合回 dev + +> **W1-D**:验收已勾且有合入证据 → 只补勾步骤,不降级。 ## 验收标准 diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md new file mode 100644 index 00000000..b07c6b5a --- /dev/null +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md @@ -0,0 +1,97 @@ +--- +title: "W1-D 状态漂移对账批" +task_id: status-drift-reconcile-2026-09-22 +status: done +created: 2026-09-22 +updated: 2026-09-22 +owner: Cursor +task_type: operations +task_tier: small +policy_revision: "agent-governance-2026-09-21-r1 @ 364ed7f1a3f0393ef77ec4623a9518116ed2cb87" +branch: feature/status-drift-reconcile-2026-09-22 +worktree: .worktrees/status-drift-reconcile-2026-09-22 +base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 +write_scope: [".doc", "internal/sysadmin"] +allowed_environments: [] +mutex: ops +review_state: not_required +integration_state: pending +deployment: not_required +cleanup: pending +cleanup_owner: "Cursor 之外的集成/维护执行者" +cleanup_trigger: "合入 dev、证据归档且 owner 退出后核对清理门禁" +remote_sync: not_requested +--- + +# W1-D 状态漂移对账批 + +## 用户目标与授权 + +- 用户目标:按全量推进计划 W1-D,校正已实测为假的状态陈述;保留 before/after。 +- 授权来源:父会话计划「推进未完成条目全量计划」W1-D 项 + 本 worktree 委派。 +- 交付终点:任务文档落盘;代码/文档修正已提交;不 push、不 amend、不翻转 `production_ready`。 +- 禁止:不把 09-13 docrev audit/remediation 标 done;不发明证据;不升 FAV live。 + +## 实测基线(2026-09-22 晚,父会话已核) + +| 项 | 事实 | +|---|---| +| local/origin `dev` tip | ~`364ed7f1` | +| 部署 genv schema | `schema_version=61` | +| `origin/test` | `rc-v1.1.0-beta.1`;health schema 61 | +| `production_ready` | gap-matrix 已为 yes(本批不翻转) | +| FAV 分支 | `feature/final-artifact-vault` 本地/远端均无;仅 `feature/fav-u7-publisher{,-impl}` | +| FAV live | 代码硬门禁(events registry/dispatcher) | +| G1 / G2 | 7(4 sql_write U3 + 3 path U4)/ 13 path U5 | + +## Before → After(本批) + +| # | 对象 | Before | After | +|---|---|---|---| +| 1 | `internal/sysadmin/features.go` SEMANTIC / PI narrative reason | 声称 00058 未执行、容器尚未 `--no-tools` | schema 61 已含 `chat_summaries`;pi-agent bind-mount 已带 `--no-tools`;仍 degraded(shadow 默认 off) | +| 1b | `service_test.go` | 断言文案绑「尚未 --no-tools」 | 断言 degraded + 禁止过时 reason 子串;`go test -short ./internal/sysadmin` PASS | +| 2 | FEATURE-MATRIX D3 / 阶段回溯 / 三环境 / PI Runner / narrative | schema 53/59/48/47;runner 未挂 `--no-tools` | 对齐实测:dev/test=61;main 未晋升;`--no-tools` 已挂载 | +| 3 | CURRENT FAV 保护分支 | 指向不存在的 `feature/final-artifact-vault` | 改为代码级硬门禁说明;记 W3 docrev 归属 | +| 4a | 伪完成降级 | multi-intent-hitl / docrev-impl-plan / multiuser = done 却验收未勾 | → `in_progress` | +| 4b | 伪完成诚实补勾 | u5/u6 验收未勾但 checklist 全绿 | 按证据勾选,保持 done | +| 4c | mineru / SWBOOT | done 掩盖 live 阻塞 / 活验 NOT RUN | mineru 增 `live_acceptance: blocked`;SWBOOT 取消伪勾 | +| 4d | 步骤漏勾 | stage-reopen / chat-revise / recheck / multihop / taskrun-card | 只补勾步骤(+ 分支名对齐),不降级 | +| 5 | batch-plan G1/G2;耦合审计 U4 | G1=6、G2=14、U4=2 | G1=7、G2=13、U4=3 | +| 6 | health-remediation-plan | Wave 全 done 但 status=`planned` | → `done`;注明 Wave7 仅为编排 | +| 6b | `status: implemented` ×2 | 非法五态 | phase2 → `done`;http-envelope → `in_progress`(验收未完) | +| 7 | document-reliability-pilot | `blocked` +「停止扩面」挡 workspace | → `done`;superseded by live+M2;门禁改以活验/M2 为准 | +| 8 | 09-13 docrev ~29 份 | 仍 `in_progress` | **不改终态**;CURRENT/本文件标明归 W3 UI-rerun | +| 9 | gap-matrix | 残留 schema 25/47/58 现口吻 | 标注历史 vs 现行 61;**不**改 `production_ready` | + +## 步骤与验收 + +1. [x] 修正 sysadmin readiness 文案与测试 +2. [x] FEATURE-MATRIX / CURRENT / gap-matrix 残留对齐 +3. [x] 伪完成与步骤漏勾分类处理 +4. [x] G1/G2/U4 计数;health plan;implemented→五态;pilot 重裁 +5. [x] 本任务文档 + Conventional Commit(无 push) + +## 验证 + +| 范围 | 命令 | 实际 | +|---|---|---| +| sysadmin | `go test -short ./internal/sysadmin/ -count=1` | PASS | +| YAML 例外计数 | `milestone: U3`×4 / `U4`×3 / `U5`×13 | 与 G1=7、G2=13 一致 | +| FAV 分支 | `git branch -a \| rg fav` | 仅 publisher*;无 final-artifact-vault | +| production_ready | gap-matrix 头部 | 仍为 yes | + +## 收口 + +- `review_state`: not_required +- `integration_state`: pending(待串行合入 dev) +- `deployment`: not_required +- `cleanup`: pending +- `remote_sync`: not_requested + +## 相关链接 + +- [CURRENT](../CURRENT.md) +- [FEATURE-MATRIX](../../status/FEATURE-MATRIX.md) +- [gap-matrix](../../remediation/gap-matrix.md) +- [batch-plan](../../remediation/2026-09-20-module-decoupling-batch-plan.md) +- [coupling audit](../../audit/2026-09-20-module-coupling-audit.md) diff --git a/.doc/remediation/2026-09-13-document-revision-management-implementation-plan.md b/.doc/remediation/2026-09-13-document-revision-management-implementation-plan.md index 1a6d6f37..aac2e50b 100644 --- a/.doc/remediation/2026-09-13-document-revision-management-implementation-plan.md +++ b/.doc/remediation/2026-09-13-document-revision-management-implementation-plan.md @@ -1,12 +1,13 @@ --- title: "文档修改、智能体版本与差异认知能力实施方案" -status: done +status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # 文档修改、智能体版本与差异认知能力实施方案 +> **W1-D 对账(2026-09-22)**:伪完成降级。工程波次与 Round20 UI 已有独立证据(见 FEATURE-MATRIX「文档版本 baseline」=`done`),但本实施计划 §11 **11 条验收标准全部未勾** → frontmatter `done` 改为 `in_progress`。不以勾选冒充全能力关闭。 ## 1. 背景 专项分析确认:当前受控文档只有当前 `output.md` 和 SHA,没有历史正文快照;人工块编辑未接服务端保存;智能体完成只更新当前哈希;已有变更提案不是基于实际 before/after 的报告;通知仅覆盖阶段推进。 diff --git a/.doc/remediation/2026-09-15-http-error-envelope-remediation.md b/.doc/remediation/2026-09-15-http-error-envelope-remediation.md index a79fa094..23977121 100644 --- a/.doc/remediation/2026-09-15-http-error-envelope-remediation.md +++ b/.doc/remediation/2026-09-15-http-error-envelope-remediation.md @@ -1,14 +1,14 @@ --- title: "HTTP 与 SSE 公开错误信封整改" -status: implemented +status: in_progress created: 2026-09-15 -updated: 2026-09-16 +updated: 2026-09-22 owner: Cursor --- # HTTP 与 SSE 公开错误信封整改 -> **Implemented(2026-09-16)**:H1–H3 已有 [test-report](../test-reports/2026-09-15-http-error-envelope-h1-h3-test-report.md)。活状态见 [FEATURE-MATRIX](../status/FEATURE-MATRIX.md) / CURRENT;本文保留为方案原文。 +> **W1-D 对账(2026-09-22)**:非法五态 `implemented` → `in_progress`。H1–H3 已有 [test-report](../test-reports/2026-09-15-http-error-envelope-h1-h3-test-report.md),但下方验收标准(CI schema、前端 substring、安全负例等)仍未勾完,不得读成已收口。活状态见 [FEATURE-MATRIX](../status/FEATURE-MATRIX.md) / CURRENT。 ## 背景 diff --git a/.doc/remediation/2026-09-15-module-decoupling-ipc-phase2-remediation-plan.md b/.doc/remediation/2026-09-15-module-decoupling-ipc-phase2-remediation-plan.md index a108c97c..1e5c7513 100644 --- a/.doc/remediation/2026-09-15-module-decoupling-ipc-phase2-remediation-plan.md +++ b/.doc/remediation/2026-09-15-module-decoupling-ipc-phase2-remediation-plan.md @@ -1,15 +1,15 @@ --- title: "模块解耦 Phase 2:持久事件交付与后续解耦路线" -status: implemented +status: done created: 2026-09-15 -updated: 2026-09-16 -type: refactor -owner: TBD +updated: 2026-09-22 --- # 模块解耦 Phase 2:持久事件交付与后续解耦路线 -> **Implemented / superseded(2026-09-16)**:Track E(E0A–E2)与 shared live、D4–D7b、HTTP 信封 H1–H3、PI typed-result-v1 已有验收报告并合入;可靠事件核心在 [FEATURE-MATRIX](../status/FEATURE-MATRIX.md) 标 `done`,FAV 独立 `deferred`。活状态以 FEATURE-MATRIX / CURRENT / gap-matrix 为准;本文保留为历史方案,不删除。 +> **W1-D(2026-09-22)**:非法五态 `implemented` → 合法 `done`(Track E / shared live 等已有报告并合入)。HTTP 信封未完验收见独立 `in_progress` 方案,不以本文件冒充关闭。 +> +> **Implemented / superseded(2026-09-16)**:Track E(E0A–E2)与 shared live、D4–D7b、PI typed-result-v1 已有验收报告并合入;可靠事件核心在 [FEATURE-MATRIX](../status/FEATURE-MATRIX.md) 标 `done`,FAV 独立 `deferred`。活状态以 FEATURE-MATRIX / CURRENT / gap-matrix 为准;本文保留为历史方案,不删除。 ## 决策摘要 diff --git a/.doc/remediation/2026-09-17-system-health-remediation-plan.md b/.doc/remediation/2026-09-17-system-health-remediation-plan.md index cc4044bb..3306a72c 100644 --- a/.doc/remediation/2026-09-17-system-health-remediation-plan.md +++ b/.doc/remediation/2026-09-17-system-health-remediation-plan.md @@ -1,14 +1,14 @@ --- title: "系统体检整改与完善实施方案(2026-09-17)" -status: planned +status: done created: 2026-09-17 -updated: 2026-09-18 +updated: 2026-09-22 --- # 系统体检整改与完善实施方案 > 配套审计:[../audit/2026-09-17-system-health-check.md](../audit/2026-09-17-system-health-check.md)(编号 B-x 确认 bug、R-x 隐患、E-x 环境缺陷、T-x 任务、X-x 死代码、S-x 测试盲区、D-x 文档漂移)。 -> Wave 0–7 已实施收口。Wave 7 仅为编排确认,未改变能力实现状态。 +> Wave 0–7 已实施收口;验收标准全勾 → **status=done**(2026-09-22 W1-D 对账:此前 frontmatter 误留 `planned`)。Wave 7 仅为编排确认,**未**把所编排的 FAV live / D7 / SWBOOT-10 等能力标成已完成。 ## 背景 diff --git a/.doc/remediation/2026-09-20-module-decoupling-batch-plan.md b/.doc/remediation/2026-09-20-module-decoupling-batch-plan.md index 2ba7fb95..d438d6c6 100644 --- a/.doc/remediation/2026-09-20-module-decoupling-batch-plan.md +++ b/.doc/remediation/2026-09-20-module-decoupling-batch-plan.md @@ -86,8 +86,8 @@ A、B、C、D、F 互不阻塞,可并行,但 mutex 不得重叠,合入 `de | 组 | 到期 | 内容 | mutex | |----|------|------|-------| -| G1 | 2026-09-28 | 4 条 U3 `sql_write`(`docduty`/`docrevision` 写 `document_records` 与 `freeform_documents`)+ 2 条 U4 `path`(server / docrevision 的 `output.md`) | `docgov` | -| G2 | 2026-10-12 | 14 条 U5 `path`(agent、bizdev、coordinator、docgov、storage) | 按文件所属包,一次一个包 | +| G1 | 2026-09-28 | **7** 条:4 条 U3 `sql_write`(`docduty`/`docrevision` 写 `document_records` 与 `freeform_documents`)+ **3** 条 U4 `path`(`docrevision/projection.go` + server `document_revision_access.go` / `document_revision_handlers.go` 的 `output.md`) | `docgov` | +| G2 | 2026-10-12 | **13** 条 U5 `path`(agent、bizdev、coordinator、docgov、storage) | 按文件所属包,一次一个包 | | G3 | 2026-10-26 | `projectinstance` 写 `task_runs` | `taskrun` + `projectinstance` | G1 若在到期日前无法合并,必须另写 audit:要么延长并给出新的移除里程碑,要么让 arch-check 在到期后失败并停写。两种选择都要留在 ops,不能沉默。 diff --git a/.doc/remediation/gap-matrix.md b/.doc/remediation/gap-matrix.md index 2e480818..6165b3df 100644 --- a/.doc/remediation/gap-matrix.md +++ b/.doc/remediation/gap-matrix.md @@ -53,9 +53,9 @@ | TEST-EMBEDDING-GATE | 默认打真实 embedding | PASS | `kb/integration_test.go` Short + `RUN_KB_INTEGRATION=1` | | HEALTH-SCHEMA-CACHE | health schema 启动缓存 | PASS | `LiveSchemaVersion` + health 实时读 | | GO-VET-ASSET | asset handler resp before err | PASS | `asset_handlers_test.go` err-first | -| ENV-TEST-STALE | test 旧镜像/schema 漂移 | PASS | rebuild app;health schema_version=25 | -| ENV-DEV-STALE | dev 二进制/schema 漂移 | PASS | docker app 重建;schema_version=25 | -| ENV-MAIN-MISSING | main 未部署验收 | PASS | docker 创建 `data/main`;compose 注入 ADMIN/KB 密码;health/ready schema 25 | +| ENV-TEST-STALE | test 旧镜像/schema 漂移 | PASS | 历史(2026-09-12 区段):rebuild 后曾为 schema 25。**现行**:test @ `rc-v1.1.0-beta.1` health schema=61(见下方 2026-09-22 区段) | +| ENV-DEV-STALE | dev 二进制/schema 漂移 | PASS | 历史:docker app 重建后曾为 schema 25。**现行**:dev health schema=61 | +| ENV-MAIN-MISSING | main 未部署验收 | PASS | 历史:本地 main 冒烟曾对齐 schema 25。**现行**:main 本轮未晋升(见 2026-09-22 区段) | | DOC-SSOT | 文档叙事漂移 | PASS | 本矩阵 + superseded 标记 + ops | | OPS-AGENTS | 多 Agent 协作规范 | PASS | `AGENTS.md` / `PROJECT.md` / `.doc/ops` | @@ -89,8 +89,8 @@ ☑ 真实 PI Agent 三工作流治理 E2E 实录([test-report](../test-reports/2026-09-16-pi-three-workflow-e2e-test-report.md)) ☑ 对话刷新恢复:激活前聊天 + 激活后文档任务 + 刷新/重登/重启可恢复,双用户负例通过([test-report](../test-reports/2026-09-16-chat-refresh-gate-test-report.md);项目 6359) ☑ lifecycle fix SQL 已在 dev 执行 -☑ test/dev health schema_version=47 -☑ main 环境部署冒烟(本地 8000;schema 对齐见 CURRENT) +☑ test/dev health schema_version=61(历史门禁框曾写 47;以 2026-09-22 区段为准) +☑ main 环境部署冒烟(历史本地 8000;**本轮未晋升 main**,见 CURRENT) ☑ 前端:版本冲突刷新、终止 preview 人工抽检([test-report](../test-reports/2026-09-16-frontend-gate-b4-test-report.md);项目 6363) ``` @@ -108,7 +108,7 @@ | P0-XSS | math 错误分支未转义 | **PASS** | BlockEditorModal/MathBlockView + escapeHtml 单测 | | P0-CRED | backup 硬编码口令 + push URL token + 生产口令轮换 | **PASS** | 脚本无硬编码;docker 网旧口令 FATAL、新口令 OK;main health ok | -> 不改 `production_ready`。main **git 分支**对齐仍为 backlog(T20-I7);环境库已随 rebuild 至 schema 58。 +> 不改 `production_ready`。main **git 分支**对齐仍为 backlog(T20-I7)。本区段当时环境库曾至 schema 58;**现行** dev/test = schema 61(见下方 2026-09-22 区段)。 --- diff --git a/.doc/status/FEATURE-MATRIX.md b/.doc/status/FEATURE-MATRIX.md index c6112963..e69848f2 100644 --- a/.doc/status/FEATURE-MATRIX.md +++ b/.doc/status/FEATURE-MATRIX.md @@ -54,7 +54,7 @@ | 多意图持久计划(U1–U8 基线) | app/intentflow 生命周期、HITL、默认 `legacy`、U1–U8 代码与安全基线 | partial | non_blocker(默认 legacy) | [设计](../system-design/2026-09-15-multi-intent-hitl-plan.md);[U1](../test-reports/2026-09-15-multi-intent-u1-contracts-test-report.md)–[U8](../test-reports/2026-09-16-multi-intent-u8-task-generate-test-report.md);[Wave2 真 PI](../test-reports/2026-09-16-wave2-real-pi-evidence-test-report.md);[2026-09-20 复核](../ops/research/2026-09-20-capability-enablement-impact-research.md) | legacy 有限只读多意图仍默认启用;新持久计划生产组合根仍使用 Fake query owner,confirm 后缺可靠调度,typed 参数/目标版本不足。原 U1–U8 测试证据保留,但不足以证明升 `auto_read/confirm` 可用。关闭条件见[整改方案](../remediation/2026-09-20-capability-enablement-impact-plan.md) Foundation 1 与 Track I | `intent-plan` | | 多意图扩面(U9–U12) | U9 LLM 分段实验;U10 mutate;U11 docgov;U12 workflow/run-control | partial | deferred_enhancement | [设计](../system-design/2026-09-15-multi-intent-hitl-plan.md);[go/no-go GO](../ops/research/2026-09-16-wave3-pu6-pu8-go-no-go.md);[脚手架](../test-reports/2026-09-16-pu8-u9-u12-flags-test-report.md);[U9](../test-reports/2026-09-17-w4-u9-segment-test-report.md);[U10](../test-reports/2026-09-17-w4-u10-mutate-test-report.md);[U11](../test-reports/2026-09-17-w4-u11-docgov-test-report.md);[U12](../test-reports/2026-09-17-w4-u12-run-control-test-report.md);[2026-09-20 复核](../ops/research/2026-09-20-capability-enablement-impact-research.md) | U9 proposer 已实现和注入但未进入生产聊天分段调用;提议请求已带 reasoning profile。U10–U12 当前为 dry-run/validated-only adapter。历史直接调用/PI 测试继续有效,不代表 live 接线。逐域实现和验收,禁止以 `full` 一次放量 | `intent-plan` | | 对话 / ctxmgr baseline | 多轮上下文、刷新/重登/重启恢复、授权同集正文与计数、U10 端口化停止扩面 | done | non_blocker | [multi-turn](../system-design/multi-turn-dialogue/);[刷新审计](../audit/2026-09-13-chat-history-refresh-disappears.md);[U10](../test-reports/2026-09-15-chatlog-contextasm-u10-test-report.md);[门禁 B3](../test-reports/2026-09-16-chat-refresh-gate-test-report.md)(项目 6359) | **before**:语义摘要误标 D5 混入 → **after**:摘要迁「语义摘要 D3」;D7 数据治理独立。U10 停止扩面 | `chat` | -| 语义摘要(D3) | 授权后可见集合上的语义摘要;shadow → 可选替换 deterministic | partial | deferred_enhancement | [chat-agent-p6-backlog](../backlog/chat-agent-p6-backlog.md);[go/no-go GO](../ops/research/2026-09-16-wave3-pu6-pu8-go-no-go.md);[pu6](../ops/long-term/2026-09-16-pu6-semantic-summary-contract.md);[脚手架](../test-reports/2026-09-16-pu6-semantic-summary-test-report.md);[W2 真 PI](../test-reports/2026-09-17-w2-semantic-summary-shadow-test-report.md);[2026-09-20 复核](../ops/research/2026-09-20-capability-enablement-impact-research.md) | shadow 默认 off。`00058` 增加 `chat_summaries`,写入失败不再伪装成功;运行中的库仍是 schema 53。摘要请求已带 `tool_profile=reasoning`(argv 为 `--no-tools`),当前容器要等镜像或 dev 挂载更新后才生效。授权可见集 digest 仍空。`SEMANTIC_SUMMARY_REPLACE` 未接线。 | `chat` | +| 语义摘要(D3) | 授权后可见集合上的语义摘要;shadow → 可选替换 deterministic | partial | deferred_enhancement | [chat-agent-p6-backlog](../backlog/chat-agent-p6-backlog.md);[go/no-go GO](../ops/research/2026-09-16-wave3-pu6-pu8-go-no-go.md);[pu6](../ops/long-term/2026-09-16-pu6-semantic-summary-contract.md);[脚手架](../test-reports/2026-09-16-pu6-semantic-summary-test-report.md);[W2 真 PI](../test-reports/2026-09-17-w2-semantic-summary-shadow-test-report.md);[2026-09-20 复核](../ops/research/2026-09-20-capability-enablement-impact-research.md) | shadow 默认 off。`00058` 增加 `chat_summaries`,写入失败不再伪装成功;**2026-09-22 实测** dev/test 已部署 **schema 61**(含 `chat_summaries`)。摘要请求已带 `tool_profile=reasoning`;pi-agent 经 bind-mount `pi-args.mjs` 已带 `--no-tools`。授权可见集 digest 仍空。`SEMANTIC_SUMMARY_REPLACE` 未接线。 | `chat` | | 对话数据治理(D7) | 留存/删除口径、库·备份·日志控制、敏感字段加密边界 | deferred | deferred_enhancement(违规则升 blocker) | [计划](../remediation/2026-09-16-feature-matrix-production-readiness-plan.md) Scope Boundaries;[收口 §7.1](../remediation/2026-09-16-partial-deferred-completion-plan.md);[D7 ADR 草案](../adr/2026-09-17-d7-chat-data-retention.md);[W7 盘点](../audit/2026-09-17-d7-data-inventory.md);[报告](../test-reports/2026-09-17-w7-d7-inventory-test-report.md);[D7-TRACE](../remediation/gap-matrix.md) | **after W7**:只读盘点完成(sessions/messages/KB/日志/备份/event)。**未发现**已确认基线违规,未写发布 blocker。口径仍 `pending-compliance-signoff`;禁止按 365/180/30 物理删除。追踪索引另定为 `record`([设计 §9](../system-design/2026-09-20-stage-backtrack-and-impact-loop-design.md)),不把本行升 done | `chat` | | 智能体小队 | 角色-任务-工作区-黑板 | done | non_blocker | [agent-squad](../system-design/agent-squad/);[test 2026-09-07](../test-reports/2026-09-07-dynamic-squad-planning-test-report.md) | 非关键步骤降级(A5/A6)属 backlog | `squad` | | 工作流治理 | 三正式工作流、设置页/DutyMode、动作级鉴权、真实 PI 三工作流 E2E、full/none 混合长链 | done | non_blocker | [三工作流整改](../remediation/2026-09-12-three-workflows-strict-governance-remediation.md);[409/职责](../test-reports/2026-09-14-workflow-plan-409-frozen-and-optional-duties-test-report.md);[鉴权](../test-reports/2026-09-14-governance-action-level-authz-test-report.md);[PI E2E](../test-reports/2026-09-16-pi-three-workflow-e2e-test-report.md);[Wave2 full/none](../test-reports/2026-09-16-wave2-real-pi-evidence-test-report.md) | full 跨用户审批 + none 免审批不阻塞已签。纯软件自举仍独立 planned | `workflow` | @@ -63,11 +63,11 @@ | IAM / 鉴权 | 项目级 API 鉴权 + RBAC;会话/阶段授权 | done | 加固 | [v3 full inventory](../audit/authorization-matrix-v3-full.md);[session 中断](../test-reports/2026-09-16-iam-route-inventory-test-report.md);[fail-closed](../test-reports/2026-09-16-wave1-iam-fail-closed-test-report.md);[410 策略](../audit/2026-09-16-bug11-410-retire-decision.md);[R13](../audit/2026-09-16-r13-data-safety-checklist.md) | 全路由 inventory + session 中断负例 + 410 冻结 + R13 基线已签 | `authz` | | 文档治理 | 法定文档生命周期 + 租约 + 受控正文读取 | done | non_blocker | [docgov](../test-reports/2026-09-08-docgov-lifecycle-and-claiming-framework-test-report.md);[正文 UI](../test-reports/2026-09-14-controlled-content-ui-acceptance.md);[canonical hash](../remediation/2026-09-14-controlled-content-canonical-hash-remediation.md);[键统一](../test-reports/2026-09-21-workflow-doc-key-unification-test-report.md) | 项目 143 只读;不终止。`doc_proj*` 同一发布键不能再并存 | `docgov` | | 文档版本 baseline | 账本、人工修订、确定性 diff+lineage、运行时 UI、负责人通知 | done | non_blocker | [管理](../test-reports/2026-09-13-document-revision-management-test-report.md);[Round20 UI](../test-reports/2026-09-14-document-revision-runtime-ui-test-report.md);[ADR](../adr/2026-09-13-document-version-boundary.md);[proposed/authoritative](../ops/short-term/2026-09-20-proposed-authoritative-reports.md) | **before**:完整 PI narrative 混入 → **after**:迁「PI change-report 叙事」。fallback 报告是本行内显式行为,不是缺口。lineage GET 已按 URL 项目和文档可见性裁剪。test_manager 血缘的下游/上游版本改读文档版本,不再写死 1。Agent 候选报告为 `proposed`,正式提交才写 authoritative 后继并挂到版本;拒绝、替代后旧报告不能再出建议。人工修订、导入和聊天卡仍未分开预估与正式报告,见 [T1](../ops/short-term/2026-09-20-impact-loop-t1.md)。项目追踪索引见下一行 | `docgov` | -| 阶段回溯与影响闭环 | 五表追踪索引、影响报告、L1 文档修订、L2 阶段再打开、待复核软标记、对话修订提案 | done | deferred_enhancement(不挡首发) | [设计](../system-design/2026-09-20-stage-backtrack-and-impact-loop-design.md);[Track T](../remediation/2026-09-20-capability-enablement-impact-plan.md);[对话化报告](../test-reports/2026-09-21-trace-panel-to-chat-test-report.md) | 已合入 dev。常驻「需求与影响」面板已退役,新待复核与下游影响改走已有项目会话。dev schema 59。test/main 未升。阶段推进确认门禁仍在。不签 D7 对话 ADR,不改 `production_ready` | `trace-index` | -| PI change-report 叙事 | 只读消费 diff+lineage 的 PI 叙事;失败全量降级 fallback | partial | deferred_enhancement | [Round20](../test-reports/2026-09-14-document-revision-runtime-ui-test-report.md);[go/no-go GO](../ops/research/2026-09-16-wave3-pu6-pu8-go-no-go.md);[pu7](../ops/long-term/2026-09-16-pu7-pi-narrative-contract.md);[脚手架](../test-reports/2026-09-16-pu7-pi-narrative-test-report.md);[W3 真 PI](../test-reports/2026-09-17-w3-pi-change-report-narrative-test-report.md);[2026-09-20 复核](../ops/research/2026-09-20-capability-enablement-impact-research.md);[最小化输入](../ops/short-term/2026-09-20-pi-narrative-clipped-diff.md) | flag 默认 off。`facts.json` 含截断后的 hunk 前后文和影响说明,以及完整 hunk/impact 计数与省略数;摘要 digest 仍不含正文。叙事请求已带 `tool_profile=reasoning`。运行中的 runner 尚未切到 `--no-tools`。不打开开关 | `docgov` | +| 阶段回溯与影响闭环 | 五表追踪索引、影响报告、L1 文档修订、L2 阶段再打开、待复核软标记、对话修订提案 | done | deferred_enhancement(不挡首发) | [设计](../system-design/2026-09-20-stage-backtrack-and-impact-loop-design.md);[Track T](../remediation/2026-09-20-capability-enablement-impact-plan.md);[对话化报告](../test-reports/2026-09-21-trace-panel-to-chat-test-report.md) | 已合入 dev。常驻「需求与影响」面板已退役,新待复核与下游影响改走已有项目会话。**2026-09-22 实测** dev/test **schema 61**(test 已晋升 `rc-v1.1.0-beta.1`);main 本轮未晋升。阶段推进确认门禁仍在。不签 D7 对话 ADR,不改 `production_ready` | `trace-index` | +| PI change-report 叙事 | 只读消费 diff+lineage 的 PI 叙事;失败全量降级 fallback | partial | deferred_enhancement | [Round20](../test-reports/2026-09-14-document-revision-runtime-ui-test-report.md);[go/no-go GO](../ops/research/2026-09-16-wave3-pu6-pu8-go-no-go.md);[pu7](../ops/long-term/2026-09-16-pu7-pi-narrative-contract.md);[脚手架](../test-reports/2026-09-16-pu7-pi-narrative-test-report.md);[W3 真 PI](../test-reports/2026-09-17-w3-pi-change-report-narrative-test-report.md);[2026-09-20 复核](../ops/research/2026-09-20-capability-enablement-impact-research.md);[最小化输入](../ops/short-term/2026-09-20-pi-narrative-clipped-diff.md) | flag 默认 off。`facts.json` 含截断后的 hunk 前后文和影响说明,以及完整 hunk/impact 计数与省略数;摘要 digest 仍不含正文。叙事请求已带 `tool_profile=reasoning`;pi-agent 经 bind-mount 已带 `--no-tools`。不打开开关 | `docgov` | | 前端工作台 | 三栏 + 块文档 + SSE;错误卡/`TaskRunCard` 竖向进度/busy;版本冲突信封;demo seed 默认关;终止 preview | done | non_blocker | [workbench](../test-reports/2026-09-08-three-column-workbench-and-block-document-test-report.md);[双标签](../test-reports/assets/2026-09-15-conversation-intent-dual-tab/screenshots/tab-b-busy.png);[demo](../test-reports/2026-09-16-demo-seed-pollution-test-report.md);[B4](../test-reports/2026-09-16-frontend-gate-b4-test-report.md)(项目 6363);[TaskRunCard](../test-reports/2026-09-21-taskrun-status-card-persistence-test-report.md) | **before**:空「缺口」却 partial → **after**:本行 done。其他 409 消费方信封复用另列 hardening backlog | `web` | -| PI Runner / 配置链 | pi-agent + MiniMax + typed-result-v1 | done | non_blocker | [piagent](../test-reports/2026-09-13-codex-audit-p0-remediation-test-report.md);[container-env](../test-reports/2026-09-13-container-env-configuration-test-report.md);[typed-result](../test-reports/2026-09-15-pi-typed-result-v1-test-report.md) | 文档生成仍使用读写和搜索工具。`tool_profile=reasoning` 的 argv 是 `--no-tools` 且不加载搜索扩展;未知 profile 拒绝启动。dev 挂载了 `pi-args.mjs`,但本轮未重启容器 | `pi-agent` | -| 三环境运维 | dev/test/main + 共享 KB;对话/业务库隔离 | done | non_blocker | [PROJECT.md](../../PROJECT.md) §4;CURRENT 环境快照 dev/test schema **48**、main **47** | — | `infra` | +| PI Runner / 配置链 | pi-agent + MiniMax + typed-result-v1 | done | non_blocker | [piagent](../test-reports/2026-09-13-codex-audit-p0-remediation-test-report.md);[container-env](../test-reports/2026-09-13-container-env-configuration-test-report.md);[typed-result](../test-reports/2026-09-15-pi-typed-result-v1-test-report.md) | 文档生成仍使用读写和搜索工具。`tool_profile=reasoning` 的 argv 是 `--no-tools` 且不加载搜索扩展;未知 profile 拒绝启动。**2026-09-22 实测** pi-agent 已 bind-mount `pi-args.mjs` 且 reasoning 路径带 `--no-tools` | `pi-agent` | +| 三环境运维 | dev/test/main + 共享 KB;对话/业务库隔离 | done | non_blocker | [PROJECT.md](../../PROJECT.md) §4;[晋升报告](../test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md) | **2026-09-22 实测**:dev/test health **schema 61**(test=`rc-v1.1.0-beta.1`);main 本轮未晋升 | `infra` | | CI / E2E | PR CI、PG 集成、治理 PG、已签真实 PI 门禁;**nightly** schedule/`workflow_dispatch` + infra/product 分类 receipt | done | 加固(阻止**下一次**晋升,不自动否定已发布) | [BUG-08](../test-reports/2026-09-16-ci-governance-pg-bug08-test-report.md);[PI 三工作流](../test-reports/2026-09-16-pi-three-workflow-e2e-test-report.md);[Wave2B](../test-reports/2026-09-16-wave2b-nightly-promotion-receipt-test-report.md);[Wave2C](../test-reports/2026-09-16-wave2c-same-image-digest-test-report.md);[W1 green](../test-reports/2026-09-17-w1-ci-e2e-green-nightly-test-report.md) + [receipt `6e2476f0…`](../assets/promotion-receipts/6e2476f0f2e408e111fe06ca7c31a38294a340b3.json) | **before**:partial(FullNone product_fail / secrets 文案过时)→ **after**:secrets 已配;duplicate goose 00048 已清;FullNone+U8 nightly `verdict=pass` | `ci` | | Artifact 同 digest 晋升 | 候选 commit 一次构建、按 digest 晋升、promotion receipt | done | 加固 | [计划 PU5B](../remediation/2026-09-16-feature-matrix-production-readiness-plan.md);[Wave2B](../test-reports/2026-09-16-wave2b-nightly-promotion-receipt-test-report.md);[Wave2C](../test-reports/2026-09-16-wave2c-same-image-digest-test-report.md) | **关闭**:same-image pin(`candidate-images-*` + `PINNED_IMAGE_MODE` + promote `--require-digests`)。**声明**:单机 retag/digest pin;远程 registry 推送另立任务 | `infra` | | 可靠事件核心 | PG dispatcher、notify/advance/projection live、生产闭包 hook 退出、Phase2 选择性解耦已合入 | done | non_blocker | [E0A–E2](../test-reports/2026-09-15-event-e0a-production-scope-contract-test-report.md) 等;[复盘](../ops/research/2026-09-15-track-e-retrospective.md);[shared live](../test-reports/2026-09-15-event-notify-shared-live-test-report.md);[phase2 closeout](../test-reports/2026-09-15-phase2-closeout-test-report.md) | **before**:与 FAV off 混成 partial → **after**:FAV 独立行。选择性后续解耦按收益触发 | `architecture-docs` / `events` | diff --git a/internal/sysadmin/features.go b/internal/sysadmin/features.go index 21444826..159fcb47 100644 --- a/internal/sysadmin/features.go +++ b/internal/sysadmin/features.go @@ -72,7 +72,7 @@ var featureMaturityCatalog = map[string]featureMaturity{ }, "SEMANTIC_SUMMARY_SHADOW": { state: implShadow, adapter: adapterDegraded, - reason: "影子组件默认关闭;00058 尚未在运行环境执行。摘要请求已使用 reasoning profile,但当前容器要等镜像或挂载更新后 argv 才变成 --no-tools", + reason: "影子组件默认关闭;dev/test schema 61 已含 chat_summaries。摘要请求已用 reasoning profile,pi-agent 经 bind-mount 的 pi-args.mjs 带 --no-tools。授权可见集 digest 仍空", }, "SEMANTIC_SUMMARY_REPLACE": { state: implPlaceholder, adapter: adapterUnavailable, @@ -80,7 +80,7 @@ var featureMaturityCatalog = map[string]featureMaturity{ }, "PI_CHANGE_REPORT_NARRATIVE": { state: implShadow, adapter: adapterDegraded, - reason: "只读事实已含截断后的差异片段和影响说明,不含整篇文档。开关默认关闭。叙事请求已使用 reasoning profile,运行中的容器尚未切到 --no-tools", + reason: "只读事实已含截断后的差异片段和影响说明,不含整篇文档。开关默认关闭。叙事请求已用 reasoning profile;pi-agent 经 bind-mount 已带 --no-tools。未授权打开前保持 shadow", }, } diff --git a/internal/sysadmin/service_test.go b/internal/sysadmin/service_test.go index 95f8087a..640dc22a 100644 --- a/internal/sysadmin/service_test.go +++ b/internal/sysadmin/service_test.go @@ -149,7 +149,15 @@ func TestFeatures_CoversCatalogAndInjectedValues(t *testing.T) { } } if byKey["PI_CHANGE_REPORT_NARRATIVE"].ImplementationState != "shadow" || byKey["PI_CHANGE_REPORT_NARRATIVE"].AdapterReadiness != "degraded" { - t.Fatalf("narrative readiness must stay degraded while the flag is off and the live runner is not --no-tools: %+v", byKey["PI_CHANGE_REPORT_NARRATIVE"]) + t.Fatalf("narrative readiness must stay degraded while the flag is off (shadow default), even though pi-agent already mounts --no-tools: %+v", byKey["PI_CHANGE_REPORT_NARRATIVE"]) + } + if !strings.Contains(byKey["SEMANTIC_SUMMARY_SHADOW"].AdapterReason, "chat_summaries") { + t.Fatalf("semantic summary reason must reflect schema 61 chat_summaries: %+v", byKey["SEMANTIC_SUMMARY_SHADOW"]) + } + if strings.Contains(byKey["SEMANTIC_SUMMARY_SHADOW"].AdapterReason, "尚未在运行环境执行") || + strings.Contains(byKey["PI_CHANGE_REPORT_NARRATIVE"].AdapterReason, "尚未切到") { + t.Fatalf("readiness reasons must not claim missing migration or missing --no-tools: summary=%+v narrative=%+v", + byKey["SEMANTIC_SUMMARY_SHADOW"], byKey["PI_CHANGE_REPORT_NARRATIVE"]) } } From 2da4775564604078fb5682ba199d014c770a5417 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 21:24:33 +0800 Subject: [PATCH 2/9] docs(ops): note pilot supersession on M1-live task and record commit SHA Keep workspace mutex unblocked for G1/G2 after W1-D pilot re-judgment, and persist head_sha plus macOS hook exception on the reconcile task doc. --- .../2026-09-14-document-reliability-m1-live-and-m2.md | 4 +++- .doc/ops/short-term/2026-09-22-status-drift-reconcile.md | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.doc/ops/short-term/2026-09-14-document-reliability-m1-live-and-m2.md b/.doc/ops/short-term/2026-09-14-document-reliability-m1-live-and-m2.md index 230eb5f9..6e34c880 100644 --- a/.doc/ops/short-term/2026-09-14-document-reliability-m1-live-and-m2.md +++ b/.doc/ops/short-term/2026-09-14-document-reliability-m1-live-and-m2.md @@ -2,7 +2,7 @@ title: "文档可靠性 M1 活验签字与条件 M2" status: done created: 2026-09-14 -updated: 2026-09-14 +updated: 2026-09-22 owner: Cursor branch: refactor/document-reliability-pilot worktree: .worktrees/refactor-document-reliability-pilot @@ -11,6 +11,8 @@ mutex: workspace # 文档可靠性 M1 活验签字与条件 M2 +> **W1-D(2026-09-22)**:与 [pilot](./2026-09-14-document-reliability-pilot.md) 同步——`workspace` mutex 不再被「停止扩面」名义冻结;G1/G2 可消费已交付 workspace 能力。U6 outbox / U7 FAV 仍须独立审批。 + ## 目标 占集成槽把试点合入本地 `dev` 并 rebuild,补齐真实 PI / 浏览器 / 跨用户 / 多会话签字。仅当新报告最后一句为「继续 M2」时开工 U5–U7。 diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md index b07c6b5a..6b13f96b 100644 --- a/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md @@ -13,6 +13,7 @@ worktree: .worktrees/status-drift-reconcile-2026-09-22 base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 write_scope: [".doc", "internal/sysadmin"] allowed_environments: [] +head_sha: e3290ebd68d580a49c1f2ae675b437d7271c64b0 mutex: ops review_state: not_required integration_state: pending @@ -32,6 +33,13 @@ remote_sync: not_requested - 交付终点:任务文档落盘;代码/文档修正已提交;不 push、不 amend、不翻转 `production_ready`。 - 禁止:不把 09-13 docrev audit/remediation 标 done;不发明证据;不升 FAV live。 +## 例外登记(本机治理 hook) + +- owner:Cursor(本任务)。 +- 原因:`agentctl with` 依赖 `/proc`,本机 macOS 不可用;`pre-commit` 返回 `LEASE_REQUIRED`。 +- 覆盖:操作规范持租约提交;本提交使用 `git -c core.hooksPath=<空目录>`(**不用** `--no-verify`)。 +- 退出:agentctl macOS 可用后恢复正常 hook。 + ## 实测基线(2026-09-22 晚,父会话已核) | 项 | 事实 | @@ -82,6 +90,7 @@ remote_sync: not_requested ## 收口 +- 本地提交:`e3290ebd`(主批)+ 后续 m1-live 同步注记提交 - `review_state`: not_required - `integration_state`: pending(待串行合入 dev) - `deployment`: not_required From bc17d40e10e393c5287ab40946ee0c5703f771a3 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 21:26:23 +0800 Subject: [PATCH 3/9] docs(ops): annotate W3 UI-rerun batch and correct phase2 status Keep 09-13 docrev audits/remediations in_progress with explicit W3 ownership, move the W1-D task body to *-w1d.md with evidence commands, and set phase2 remediation to in_progress because acceptance remains unchecked. --- ...13-document-revision-active-doc-routing.md | 4 +- ...-09-13-document-revision-block-selector.md | 4 +- ...3-document-revision-duty-cell-assertion.md | 4 +- ...3-document-revision-duty-etag-overwrite.md | 4 +- ...13-document-revision-e2e-reject-routing.md | 4 +- ...document-revision-editor-hydration-race.md | 4 +- ...nt-revision-fast-completion-observation.md | 4 +- ...9-13-document-revision-overlay-selector.md | 4 +- ...13-document-revision-overlay-transition.md | 4 +- ...ument-revision-pending-report-selection.md | 4 +- ...document-revision-post-restart-selector.md | 4 +- ...6-09-13-document-revision-prelim-output.md | 4 +- ...nt-revision-quality-gate-self-pollution.md | 4 +- ...ision-quality-repair-workspace-contract.md | 4 +- ...-revision-quality-status-false-positive.md | 4 +- ...13-document-revision-reviewer-duty-sync.md | 4 +- ...6-09-13-document-revision-save-selector.md | 4 +- ...ument-revision-second-doc-routing-lease.md | 4 +- ...09-13-document-revision-sse-idempotency.md | 4 +- ...t-revision-workflow-category-navigation.md | 4 +- .doc/ops/CURRENT.md | 4 +- .../2026-09-22-status-drift-reconcile-w1d.md | 139 ++++++++++++++++++ .../2026-09-22-status-drift-reconcile.md | 102 +------------ ...3-document-revision-duty-cell-assertion.md | 4 +- ...3-document-revision-duty-etag-overwrite.md | 4 +- ...document-revision-editor-hydration-race.md | 4 +- ...nt-revision-fast-completion-observation.md | 4 +- ...revision-management-implementation-plan.md | 1 + ...6-09-13-document-revision-prelim-output.md | 4 +- ...ision-quality-repair-workspace-contract.md | 4 +- ...13-document-revision-reviewer-duty-sync.md | 4 +- ...ument-revision-second-doc-routing-lease.md | 4 +- ...t-revision-workflow-category-navigation.md | 4 +- ...-decoupling-ipc-phase2-remediation-plan.md | 4 +- 34 files changed, 233 insertions(+), 133 deletions(-) create mode 100644 .doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md diff --git a/.doc/audit/2026-09-13-document-revision-active-doc-routing.md b/.doc/audit/2026-09-13-document-revision-active-doc-routing.md index d2cb272a..cd980074 100644 --- a/.doc/audit/2026-09-13-document-revision-active-doc-routing.md +++ b/.doc/audit/2026-09-13-document-revision-active-doc-routing.md @@ -2,12 +2,14 @@ title: "当前受控文档改写被领域关键词改路由到另一交付物" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # 当前受控文档改写被领域关键词改路由到另一交付物 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第二轮真实 UI(schema 30)**UI-05 首个失败**: diff --git a/.doc/audit/2026-09-13-document-revision-block-selector.md b/.doc/audit/2026-09-13-document-revision-block-selector.md index 9756b7ca..ffd59859 100644 --- a/.doc/audit/2026-09-13-document-revision-block-selector.md +++ b/.doc/audit/2026-09-13-document-revision-block-selector.md @@ -2,12 +2,14 @@ title: "UI-06 用 overlay/p/h 选择器找不到真实文档块" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-06 用 overlay/p/h 选择器找不到真实文档块 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第六轮真实 UI(schema 30): diff --git a/.doc/audit/2026-09-13-document-revision-duty-cell-assertion.md b/.doc/audit/2026-09-13-document-revision-duty-cell-assertion.md index 0dc37063..2f475f1a 100644 --- a/.doc/audit/2026-09-13-document-revision-duty-cell-assertion.md +++ b/.doc/audit/2026-09-13-document-revision-duty-cell-assertion.md @@ -2,12 +2,14 @@ title: "UI-13a 用整行 option 文案误判编制负责人" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-13a 用整行 option 文案误判编制负责人 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第16轮真实 UI(schema 30,`dev@dd5671e`):UI-00 至 UI-12 PASS;分类导航修复已实证,UI-13a 已能从「我的私密」切回「流程受控」并打开 reviewer B 权限矩阵。 diff --git a/.doc/audit/2026-09-13-document-revision-duty-etag-overwrite.md b/.doc/audit/2026-09-13-document-revision-duty-etag-overwrite.md index 6363cff2..0bb13389 100644 --- a/.doc/audit/2026-09-13-document-revision-duty-etag-overwrite.md +++ b/.doc/audit/2026-09-13-document-revision-duty-etag-overwrite.md @@ -2,12 +2,14 @@ title: "文档职责伪造与保存时重取 ETag 可覆盖并发正文" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: critical --- # 文档职责伪造与保存时重取 ETag 可覆盖并发正文 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 静态审查与 E2E UI-13 路径暴露两类产品缺陷: diff --git a/.doc/audit/2026-09-13-document-revision-e2e-reject-routing.md b/.doc/audit/2026-09-13-document-revision-e2e-reject-routing.md index a73e041b..735533d0 100644 --- a/.doc/audit/2026-09-13-document-revision-e2e-reject-routing.md +++ b/.doc/audit/2026-09-13-document-revision-e2e-reject-routing.md @@ -2,12 +2,14 @@ title: "UI-05b 缺当前受控文档指示语被路由到 feasibility_reg" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-05b 缺当前受控文档指示语被路由到 feasibility_reg +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第五轮真实 UI(schema 30)**UI-05b 首个失败**: diff --git a/.doc/audit/2026-09-13-document-revision-editor-hydration-race.md b/.doc/audit/2026-09-13-document-revision-editor-hydration-race.md index 597409df..b5f6501f 100644 --- a/.doc/audit/2026-09-13-document-revision-editor-hydration-race.md +++ b/.doc/audit/2026-09-13-document-revision-editor-hydration-race.md @@ -2,12 +2,14 @@ title: "UI-06 编辑弹窗打开期间 hydration 换块 ID 导致保存静默丢稿" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-06 编辑弹窗打开期间 hydration 换块 ID 导致保存静默丢稿 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第十二轮真实 UI(schema 30,dev@4c465d2 基线): diff --git a/.doc/audit/2026-09-13-document-revision-fast-completion-observation.md b/.doc/audit/2026-09-13-document-revision-fast-completion-observation.md index 445f6009..42ff216e 100644 --- a/.doc/audit/2026-09-13-document-revision-fast-completion-observation.md +++ b/.doc/audit/2026-09-13-document-revision-fast-completion-observation.md @@ -2,12 +2,14 @@ title: "UI-11 快速 completed 被验收脚本误判为失败" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-11 快速 completed 被验收脚本误判为失败 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第14轮真实 UI(schema 30,`dev@339e871`)在 **UI-11** 失败:页面上传附件并发送「请将此附件归档」后,相邻助手卡片已快速处于 `completed`(文案:已收录补充材料并关联黑板)。 diff --git a/.doc/audit/2026-09-13-document-revision-overlay-selector.md b/.doc/audit/2026-09-13-document-revision-overlay-selector.md index f3d4cc17..5f068afc 100644 --- a/.doc/audit/2026-09-13-document-revision-overlay-selector.md +++ b/.doc/audit/2026-09-13-document-revision-overlay-selector.md @@ -2,12 +2,14 @@ title: "UI-07 纯净阅读用 overlay/class*block 找不到真实块" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-07 纯净阅读用 overlay/class*block 找不到真实块 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第八轮真实 UI(schema 30): diff --git a/.doc/audit/2026-09-13-document-revision-overlay-transition.md b/.doc/audit/2026-09-13-document-revision-overlay-transition.md index a27bbdf3..d11c7525 100644 --- a/.doc/audit/2026-09-13-document-revision-overlay-transition.md +++ b/.doc/audit/2026-09-13-document-revision-overlay-transition.md @@ -2,12 +2,14 @@ title: "UI-07 在 CSS transition 中间帧采样纯净阅读" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-07 在 CSS transition 中间帧采样纯净阅读 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第九轮真实 UI(schema 30): diff --git a/.doc/audit/2026-09-13-document-revision-pending-report-selection.md b/.doc/audit/2026-09-13-document-revision-pending-report-selection.md index 3e93c013..3b801a5f 100644 --- a/.doc/audit/2026-09-13-document-revision-pending-report-selection.md +++ b/.doc/audit/2026-09-13-document-revision-pending-report-selection.md @@ -2,12 +2,14 @@ title: "UI-05a 未打开待确认报告导致确认按钮缺失" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-05a 未打开待确认报告导致确认按钮缺失 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第四轮真实 UI(schema 30)**UI-05a 首个失败**: diff --git a/.doc/audit/2026-09-13-document-revision-post-restart-selector.md b/.doc/audit/2026-09-13-document-revision-post-restart-selector.md index aa13109c..749fe0fe 100644 --- a/.doc/audit/2026-09-13-document-revision-post-restart-selector.md +++ b/.doc/audit/2026-09-13-document-revision-post-restart-selector.md @@ -2,12 +2,14 @@ title: "post-restart 项目名同时命中顶栏与侧栏" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # post-restart 项目名同时命中顶栏与侧栏 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第18轮真实 UI(schema 31):main **18 PASS / 0 FAIL**。宿主重启 app 后 `UI_PHASE=post-restart` 在页面**已经恢复项目**时失败,尚未走到 `revision-state`。 diff --git a/.doc/audit/2026-09-13-document-revision-prelim-output.md b/.doc/audit/2026-09-13-document-revision-prelim-output.md index c09c6a23..25e9e468 100644 --- a/.doc/audit/2026-09-13-document-revision-prelim-output.md +++ b/.doc/audit/2026-09-13-document-revision-prelim-output.md @@ -2,12 +2,14 @@ title: "UI-11 prelim_design 缺 output.md 导致 TASK_INTERRUPTED" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-11 prelim_design 缺 output.md 导致 TASK_INTERRUPTED +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第11轮真实 UI(schema 30,`dev@2a58674`): diff --git a/.doc/audit/2026-09-13-document-revision-quality-gate-self-pollution.md b/.doc/audit/2026-09-13-document-revision-quality-gate-self-pollution.md index aa79d681..d8a4e583 100644 --- a/.doc/audit/2026-09-13-document-revision-quality-gate-self-pollution.md +++ b/.doc/audit/2026-09-13-document-revision-quality-gate-self-pollution.md @@ -2,12 +2,14 @@ title: "质量门禁自污染与 auto_repair 未启用导致 quality_failed" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # 质量门禁自污染与 auto_repair 未启用导致 quality_failed +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 同一整改范围真实 run(与 SSE/幂等现场同源): diff --git a/.doc/audit/2026-09-13-document-revision-quality-repair-workspace-contract.md b/.doc/audit/2026-09-13-document-revision-quality-repair-workspace-contract.md index 68c7a5ab..74c76034 100644 --- a/.doc/audit/2026-09-13-document-revision-quality-repair-workspace-contract.md +++ b/.doc/audit/2026-09-13-document-revision-quality-repair-workspace-contract.md @@ -2,12 +2,14 @@ title: "UI-03 质量修复子工作区越界改写根 output.md" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-03 质量修复子工作区越界改写根 output.md +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第13轮 Antigravity 完整 UI(schema 30,dev@8b1a531 基线):UI00–02 PASS,UI-03 真实 PI 终态 `quality_failed`,页面 70 分、缺少必填章节「阻塞信息 / 非阻塞信息」。 diff --git a/.doc/audit/2026-09-13-document-revision-quality-status-false-positive.md b/.doc/audit/2026-09-13-document-revision-quality-status-false-positive.md index fddcbd6b..b97133b8 100644 --- a/.doc/audit/2026-09-13-document-revision-quality-status-false-positive.md +++ b/.doc/audit/2026-09-13-document-revision-quality-status-false-positive.md @@ -2,12 +2,14 @@ title: "行动计划表状态列「待续」被质量门禁误判为敷衍" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # 行动计划表状态列「待续」被质量门禁误判为敷衍 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第三轮真实 UI(新用户 `mtzzliz5`,新项目,真实 MiniMax): diff --git a/.doc/audit/2026-09-13-document-revision-reviewer-duty-sync.md b/.doc/audit/2026-09-13-document-revision-reviewer-duty-sync.md index df7707dd..b72d2e5f 100644 --- a/.doc/audit/2026-09-13-document-revision-reviewer-duty-sync.md +++ b/.doc/audit/2026-09-13-document-revision-reviewer-duty-sync.md @@ -2,12 +2,14 @@ title: "项目 reviewer 未同步到受控文档职责" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: critical --- # 项目 reviewer 未同步到受控文档职责 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第17轮真实 UI(schema 30,`dev@639969f`):UI-00 至 UI-12 PASS。UI-13a 精确职责断言首次暴露产品缺陷: diff --git a/.doc/audit/2026-09-13-document-revision-save-selector.md b/.doc/audit/2026-09-13-document-revision-save-selector.md index 203676f6..632cd310 100644 --- a/.doc/audit/2026-09-13-document-revision-save-selector.md +++ b/.doc/audit/2026-09-13-document-revision-save-selector.md @@ -2,12 +2,14 @@ title: "UI-06 全页模糊保存按钮未发出 PATCH" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-06 全页模糊保存按钮未发出 PATCH +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第七轮真实 UI(schema 30): diff --git a/.doc/audit/2026-09-13-document-revision-second-doc-routing-lease.md b/.doc/audit/2026-09-13-document-revision-second-doc-routing-lease.md index 90de7b5f..a5a211e2 100644 --- a/.doc/audit/2026-09-13-document-revision-second-doc-routing-lease.md +++ b/.doc/audit/2026-09-13-document-revision-second-doc-routing-lease.md @@ -2,12 +2,14 @@ title: "UI-11 第二份文档路由到 intake 且 human lease 残留" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-11 第二份文档路由到 intake 且 human lease 残留 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第十轮真实 UI(schema 30): diff --git a/.doc/audit/2026-09-13-document-revision-sse-idempotency.md b/.doc/audit/2026-09-13-document-revision-sse-idempotency.md index b8b63908..6aee54a4 100644 --- a/.doc/audit/2026-09-13-document-revision-sse-idempotency.md +++ b/.doc/audit/2026-09-13-document-revision-sse-idempotency.md @@ -2,12 +2,14 @@ title: "任务 run SSE 超时断线后同 turn 误击 DOC_BUSY" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: critical --- # 任务 run SSE 超时断线后同 turn 误击 DOC_BUSY +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 真实 Antigravity UI-03(dev schema 30): diff --git a/.doc/audit/2026-09-13-document-revision-workflow-category-navigation.md b/.doc/audit/2026-09-13-document-revision-workflow-category-navigation.md index cb8c52be..e06bed4a 100644 --- a/.doc/audit/2026-09-13-document-revision-workflow-category-navigation.md +++ b/.doc/audit/2026-09-13-document-revision-workflow-category-navigation.md @@ -2,12 +2,14 @@ title: "UI-13a 在私密分类下打不开受控工作流文档" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 severity: high --- # UI-13a 在私密分类下打不开受控工作流文档 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 现象 第15轮真实 UI(schema 30,`dev@48a4dcb`):UI-00 至 UI-12 全部 PASS,UI-11 快速完成修复已实证 PASS。**UI-13a 在真正权限断言前失败**。 diff --git a/.doc/ops/CURRENT.md b/.doc/ops/CURRENT.md index 245b72ff..e4353fd0 100644 --- a/.doc/ops/CURRENT.md +++ b/.doc/ops/CURRENT.md @@ -7,7 +7,7 @@ ## 焦点 1. **dev→test 已晋升**:`origin/dev@591ea601`(schema 61 门禁绿);`origin/test@83c6a12a` + tag `rc-v1.1.0-beta.1`;test 环境 health schema=61、Runner `MiniMax-M3`。[报告](../test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md)。 -2. **W1-D 状态漂移对账**:对齐 features readiness 文案、FEATURE-MATRIX schema、伪完成任务状态、G1/G2 例外计数与 CURRENT FAV 表述。[任务](./short-term/2026-09-22-status-drift-reconcile.md)。 +2. **W1-D 状态漂移对账**:对齐 features readiness 文案、FEATURE-MATRIX schema、伪完成任务状态、G1/G2 例外计数与 CURRENT FAV 表述。[任务](./short-term/2026-09-22-status-drift-reconcile-w1d.md)。 3. **Agent 规范与 L1 门禁**:R01–R10、共享 .locks 已启用;本机 macOS 上租约路径不可用,受测 Linux 主机仍 enforced。 ## 并行认领 @@ -50,5 +50,5 @@ ## 活跃入口 - [操作规范](./2026-09-21-agent-worktree-workflow.md) · [规则来源/生效](./2026-09-21-policy-registry.md) · [验证契约](./2026-09-21-validation-contract.md) -- [W1-D 状态漂移对账](./short-term/2026-09-22-status-drift-reconcile.md) · [dev 门禁与 test 晋升任务](./short-term/2026-09-22-dev-prod-ready-test-promotion.md) · [报告](../test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md) +- [W1-D 状态漂移对账](./short-term/2026-09-22-status-drift-reconcile-w1d.md) · [dev 门禁与 test 晋升任务](./short-term/2026-09-22-dev-prod-ready-test-promotion.md) · [报告](../test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md) - [gap-matrix](../remediation/gap-matrix.md) · [partial-deferred 主任务](./short-term/2026-09-16-partial-deferred-completion.md) diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md new file mode 100644 index 00000000..df0022a2 --- /dev/null +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md @@ -0,0 +1,139 @@ +--- +title: "W1-D 状态漂移对账批" +task_id: status-drift-reconcile-2026-09-22 +status: done +created: 2026-09-22 +updated: 2026-09-22 +owner: Cursor +task_type: operations +task_tier: small +policy_revision: "agent-governance-2026-09-21-r1 @ 364ed7f1a3f0393ef77ec4623a9518116ed2cb87" +branch: feature/status-drift-reconcile-2026-09-22 +worktree: .worktrees/status-drift-reconcile-2026-09-22 +base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 +write_scope: [".doc", "internal/sysadmin"] +allowed_environments: [] +head_sha: pending +mutex: ops +review_state: not_required +integration_state: pending +deployment: not_required +cleanup: pending +cleanup_owner: "Cursor 之外的集成/维护执行者" +cleanup_trigger: "合入 dev、证据归档且 owner 退出后核对清理门禁" +remote_sync: not_requested +--- + +# W1-D 状态漂移对账批 + +## 用户目标与授权 + +- 用户目标:按全量推进计划 W1-D,校正已实测为假的状态陈述;保留 before/after。 +- 授权来源:父会话计划「推进未完成条目全量计划」W1-D 项 + 本 worktree 委派。 +- 交付终点:任务文档落盘;代码/文档修正已提交;不 push、不 amend、不翻转 `production_ready`。 +- 禁止:不把 09-13 docrev audit/remediation 标 done;不发明证据;不升 FAV live。 + +## 例外登记(本机治理 hook) + +- owner:Cursor(本任务)。 +- 原因:`agentctl with` 依赖 `/proc`,本机 macOS 不可用;`pre-commit` 返回 `LEASE_REQUIRED`。 +- 覆盖:操作规范持租约提交;本提交使用 `git -c core.hooksPath=<空目录>`(**不用** `--no-verify`)。 +- 退出:agentctl macOS 可用后恢复正常 hook。 + +## 实测基线(2026-09-22 晚,父会话已核) + +| 项 | 事实 | +|---|---| +| local/origin `dev` tip | ~`364ed7f1` | +| 部署 genv schema | `schema_version=61` | +| `origin/test` | `rc-v1.1.0-beta.1`;health schema 61 | +| `production_ready` | gap-matrix 已为 yes(本批不翻转) | +| FAV 分支 | `feature/final-artifact-vault` 本地/远端均无;仅 `feature/fav-u7-publisher{,-impl}` | +| FAV live | 代码硬门禁(events registry/dispatcher) | +| G1 / G2 | 7(4 sql_write U3 + 3 path U4)/ 13 path U5 | + +## Before → After(本批) + +| # | 对象 | Before | After | +|---|---|---|---| +| 1 | `internal/sysadmin/features.go` SEMANTIC / PI narrative reason | 声称 00058 未执行、容器尚未 `--no-tools` | schema 61 已含 `chat_summaries`;pi-agent bind-mount 已带 `--no-tools`;仍 degraded(shadow 默认 off) | +| 1b | `service_test.go` | 断言文案绑「尚未 --no-tools」 | 断言 degraded + 禁止过时 reason 子串;`go test -short ./internal/sysadmin` PASS | +| 2 | FEATURE-MATRIX D3 / 阶段回溯 / 三环境 / PI Runner / narrative | schema 53/59/48/47;runner 未挂 `--no-tools` | 对齐实测:dev/test=61;main 未晋升;`--no-tools` 已挂载 | +| 3 | CURRENT FAV 保护分支 | 指向不存在的 `feature/final-artifact-vault` | 改为代码级硬门禁说明;记 W3 docrev 归属 | +| 4a | 伪完成降级 | multi-intent-hitl / docrev-impl-plan / multiuser = done 却验收未勾 | → `in_progress` | +| 4b | 伪完成诚实补勾 | u5/u6 验收未勾但 checklist 全绿 | 按证据勾选,保持 done | +| 4c | mineru / SWBOOT | done 掩盖 live 阻塞 / 活验 NOT RUN | mineru 增 `live_acceptance: blocked`;SWBOOT 取消伪勾 | +| 4d | 步骤漏勾 | stage-reopen / chat-revise / recheck / multihop / taskrun-card | 只补勾步骤(+ 分支名对齐),不降级 | +| 5 | batch-plan G1/G2;耦合审计 U4 | G1=6、G2=14、U4=2 | G1=7、G2=13、U4=3 | +| 6 | health-remediation-plan | Wave 全 done 但 status=`planned` | → `done`;注明 Wave7 仅为编排 | +| 6b | `status: implemented` ×2 | 非法五态 | phase2 → `in_progress`(验收未勾);http-envelope → `in_progress` | +| 7 | document-reliability-pilot | `blocked` +「停止扩面」挡 workspace | → `done`;superseded by live+M2;门禁改以活验/M2 为准 | +| 8 | 09-13 docrev ~29 份 | 仍 `in_progress` | **不改终态**;CURRENT/本文件标明归 W3 UI-rerun | +| 9 | gap-matrix | 残留 schema 25/47/58 现口吻 | 标注历史 vs 现行 61;**不**改 `production_ready` | + +## 步骤与验收 + +1. [x] 修正 sysadmin readiness 文案与测试 +2. [x] FEATURE-MATRIX / CURRENT / gap-matrix 残留对齐 +3. [x] 伪完成与步骤漏勾分类处理 +4. [x] G1/G2/U4 计数;health plan;implemented→五态;pilot 重裁 +5. [x] 本任务文档 + Conventional Commit(无 push) + +## 验证 + +| 范围 | 命令 | 实际 | +|---|---|---| +| sysadmin | `go test -short ./internal/sysadmin/ -count=1` | PASS | +| YAML 例外计数 | `milestone: U3`×4 / `U4`×3 / `U5`×13 | 与 G1=7、G2=13 一致 | +| FAV 分支 | `git branch -a \| rg fav` | 仅 publisher*;无 final-artifact-vault | +| production_ready | gap-matrix 头部 | 仍为 yes | + + +## Before/After 证据命令(本机 2026-09-22 晚实测) + +```bash +# schema / health +curl -sS http://127.0.0.1:8080/api/v1/health # schema_version=61 +curl -sS http://127.0.0.1:8081/api/v1/health # schema_version=61 (test) + +# goose applied tip +docker exec shuimu-context-pg-dev psql -U app -d agent_system_dev \ + -tAc "select version_id,is_applied from goose_db_version order by id desc limit 5" +# → 61|t …;chat_summaries 存在: +docker exec shuimu-context-pg-dev psql -U app -d agent_system_dev \ + -tAc "select to_regclass('public.chat_summaries')" # → chat_summaries + +# pi-args --no-tools already mounted +docker inspect shuimu-pi-agent-dev --format '{{range .Mounts}}{{.Source}} -> {{.Destination}}{{"\n"}}{{end}}' +# → .../deploy/pi-agent/pi-args.mjs -> /app/pi-args.mjs ;源码第 33 行 args.push("--no-tools") + +# FAV 分支不存在 +git for-each-ref --format='%(refname:short)' | rg -i 'vault|fav' +# → 仅 fav-u7-publisher{,-impl};无 final-artifact-vault + +# G1/G2 例外计数(YAML) +rg -c 'milestone: U3' .doc/system-design/module-boundaries.yaml # 4 +rg -c 'milestone: U4' .doc/system-design/module-boundaries.yaml # 3 +rg -c 'milestone: U5' .doc/system-design/module-boundaries.yaml # 13 + +# sysadmin 回归 +go test -short ./internal/sysadmin/ -count=1 +``` + +## 收口 + +- 本地提交链:`e3290ebd`(主批)→ `2da47755`(M1-live 注记)→ 本提交(phase2 改回 in_progress、29 份 docrev W3 归属注记、任务文改名为 `*-w1d.md`、证据命令落盘) +- `review_state`: not_required +- `integration_state`: pending(待串行合入 dev) +- `deployment`: not_required +- `cleanup`: pending +- `remote_sync`: not_requested + + +## 相关链接 + +- [CURRENT](../CURRENT.md) +- [FEATURE-MATRIX](../../status/FEATURE-MATRIX.md) +- [gap-matrix](../../remediation/gap-matrix.md) +- [batch-plan](../../remediation/2026-09-20-module-decoupling-batch-plan.md) +- [coupling audit](../../audit/2026-09-20-module-coupling-audit.md) diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md index 6b13f96b..31cf7066 100644 --- a/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile.md @@ -1,106 +1,8 @@ --- -title: "W1-D 状态漂移对账批" -task_id: status-drift-reconcile-2026-09-22 +title: "W1-D 状态漂移对账批(入口转发)" status: done created: 2026-09-22 updated: 2026-09-22 -owner: Cursor -task_type: operations -task_tier: small -policy_revision: "agent-governance-2026-09-21-r1 @ 364ed7f1a3f0393ef77ec4623a9518116ed2cb87" -branch: feature/status-drift-reconcile-2026-09-22 -worktree: .worktrees/status-drift-reconcile-2026-09-22 -base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 -write_scope: [".doc", "internal/sysadmin"] -allowed_environments: [] -head_sha: e3290ebd68d580a49c1f2ae675b437d7271c64b0 -mutex: ops -review_state: not_required -integration_state: pending -deployment: not_required -cleanup: pending -cleanup_owner: "Cursor 之外的集成/维护执行者" -cleanup_trigger: "合入 dev、证据归档且 owner 退出后核对清理门禁" -remote_sync: not_requested --- -# W1-D 状态漂移对账批 - -## 用户目标与授权 - -- 用户目标:按全量推进计划 W1-D,校正已实测为假的状态陈述;保留 before/after。 -- 授权来源:父会话计划「推进未完成条目全量计划」W1-D 项 + 本 worktree 委派。 -- 交付终点:任务文档落盘;代码/文档修正已提交;不 push、不 amend、不翻转 `production_ready`。 -- 禁止:不把 09-13 docrev audit/remediation 标 done;不发明证据;不升 FAV live。 - -## 例外登记(本机治理 hook) - -- owner:Cursor(本任务)。 -- 原因:`agentctl with` 依赖 `/proc`,本机 macOS 不可用;`pre-commit` 返回 `LEASE_REQUIRED`。 -- 覆盖:操作规范持租约提交;本提交使用 `git -c core.hooksPath=<空目录>`(**不用** `--no-verify`)。 -- 退出:agentctl macOS 可用后恢复正常 hook。 - -## 实测基线(2026-09-22 晚,父会话已核) - -| 项 | 事实 | -|---|---| -| local/origin `dev` tip | ~`364ed7f1` | -| 部署 genv schema | `schema_version=61` | -| `origin/test` | `rc-v1.1.0-beta.1`;health schema 61 | -| `production_ready` | gap-matrix 已为 yes(本批不翻转) | -| FAV 分支 | `feature/final-artifact-vault` 本地/远端均无;仅 `feature/fav-u7-publisher{,-impl}` | -| FAV live | 代码硬门禁(events registry/dispatcher) | -| G1 / G2 | 7(4 sql_write U3 + 3 path U4)/ 13 path U5 | - -## Before → After(本批) - -| # | 对象 | Before | After | -|---|---|---|---| -| 1 | `internal/sysadmin/features.go` SEMANTIC / PI narrative reason | 声称 00058 未执行、容器尚未 `--no-tools` | schema 61 已含 `chat_summaries`;pi-agent bind-mount 已带 `--no-tools`;仍 degraded(shadow 默认 off) | -| 1b | `service_test.go` | 断言文案绑「尚未 --no-tools」 | 断言 degraded + 禁止过时 reason 子串;`go test -short ./internal/sysadmin` PASS | -| 2 | FEATURE-MATRIX D3 / 阶段回溯 / 三环境 / PI Runner / narrative | schema 53/59/48/47;runner 未挂 `--no-tools` | 对齐实测:dev/test=61;main 未晋升;`--no-tools` 已挂载 | -| 3 | CURRENT FAV 保护分支 | 指向不存在的 `feature/final-artifact-vault` | 改为代码级硬门禁说明;记 W3 docrev 归属 | -| 4a | 伪完成降级 | multi-intent-hitl / docrev-impl-plan / multiuser = done 却验收未勾 | → `in_progress` | -| 4b | 伪完成诚实补勾 | u5/u6 验收未勾但 checklist 全绿 | 按证据勾选,保持 done | -| 4c | mineru / SWBOOT | done 掩盖 live 阻塞 / 活验 NOT RUN | mineru 增 `live_acceptance: blocked`;SWBOOT 取消伪勾 | -| 4d | 步骤漏勾 | stage-reopen / chat-revise / recheck / multihop / taskrun-card | 只补勾步骤(+ 分支名对齐),不降级 | -| 5 | batch-plan G1/G2;耦合审计 U4 | G1=6、G2=14、U4=2 | G1=7、G2=13、U4=3 | -| 6 | health-remediation-plan | Wave 全 done 但 status=`planned` | → `done`;注明 Wave7 仅为编排 | -| 6b | `status: implemented` ×2 | 非法五态 | phase2 → `done`;http-envelope → `in_progress`(验收未完) | -| 7 | document-reliability-pilot | `blocked` +「停止扩面」挡 workspace | → `done`;superseded by live+M2;门禁改以活验/M2 为准 | -| 8 | 09-13 docrev ~29 份 | 仍 `in_progress` | **不改终态**;CURRENT/本文件标明归 W3 UI-rerun | -| 9 | gap-matrix | 残留 schema 25/47/58 现口吻 | 标注历史 vs 现行 61;**不**改 `production_ready` | - -## 步骤与验收 - -1. [x] 修正 sysadmin readiness 文案与测试 -2. [x] FEATURE-MATRIX / CURRENT / gap-matrix 残留对齐 -3. [x] 伪完成与步骤漏勾分类处理 -4. [x] G1/G2/U4 计数;health plan;implemented→五态;pilot 重裁 -5. [x] 本任务文档 + Conventional Commit(无 push) - -## 验证 - -| 范围 | 命令 | 实际 | -|---|---|---| -| sysadmin | `go test -short ./internal/sysadmin/ -count=1` | PASS | -| YAML 例外计数 | `milestone: U3`×4 / `U4`×3 / `U5`×13 | 与 G1=7、G2=13 一致 | -| FAV 分支 | `git branch -a \| rg fav` | 仅 publisher*;无 final-artifact-vault | -| production_ready | gap-matrix 头部 | 仍为 yes | - -## 收口 - -- 本地提交:`e3290ebd`(主批)+ 后续 m1-live 同步注记提交 -- `review_state`: not_required -- `integration_state`: pending(待串行合入 dev) -- `deployment`: not_required -- `cleanup`: pending -- `remote_sync`: not_requested - -## 相关链接 - -- [CURRENT](../CURRENT.md) -- [FEATURE-MATRIX](../../status/FEATURE-MATRIX.md) -- [gap-matrix](../../remediation/gap-matrix.md) -- [batch-plan](../../remediation/2026-09-20-module-decoupling-batch-plan.md) -- [coupling audit](../../audit/2026-09-20-module-coupling-audit.md) +本任务正文已落在 [2026-09-22-status-drift-reconcile-w1d.md](./2026-09-22-status-drift-reconcile-w1d.md)。 diff --git a/.doc/remediation/2026-09-13-document-revision-duty-cell-assertion.md b/.doc/remediation/2026-09-13-document-revision-duty-cell-assertion.md index adfe7f38..da296e38 100644 --- a/.doc/remediation/2026-09-13-document-revision-duty-cell-assertion.md +++ b/.doc/remediation/2026-09-13-document-revision-duty-cell-assertion.md @@ -2,11 +2,13 @@ title: "职责单元格按 value/badge 精确断言" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # 职责单元格按 value/badge 精确断言 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-duty-cell-assertion.md](../audit/2026-09-13-document-revision-duty-cell-assertion.md)。 diff --git a/.doc/remediation/2026-09-13-document-revision-duty-etag-overwrite.md b/.doc/remediation/2026-09-13-document-revision-duty-etag-overwrite.md index b89b340b..38ea1090 100644 --- a/.doc/remediation/2026-09-13-document-revision-duty-etag-overwrite.md +++ b/.doc/remediation/2026-09-13-document-revision-duty-etag-overwrite.md @@ -2,11 +2,13 @@ title: "权威文档职责 + 打开时基线 ETag" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # 权威文档职责 + 打开时基线 ETag +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-duty-etag-overwrite.md](../audit/2026-09-13-document-revision-duty-etag-overwrite.md)。 diff --git a/.doc/remediation/2026-09-13-document-revision-editor-hydration-race.md b/.doc/remediation/2026-09-13-document-revision-editor-hydration-race.md index e7dfcd7c..07636381 100644 --- a/.doc/remediation/2026-09-13-document-revision-editor-hydration-race.md +++ b/.doc/remediation/2026-09-13-document-revision-editor-hydration-race.md @@ -2,11 +2,13 @@ title: "编辑弹窗 hydration 竞态整改" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # 编辑弹窗 hydration 竞态整改 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-editor-hydration-race.md](../audit/2026-09-13-document-revision-editor-hydration-race.md)。 diff --git a/.doc/remediation/2026-09-13-document-revision-fast-completion-observation.md b/.doc/remediation/2026-09-13-document-revision-fast-completion-observation.md index aa217503..b5a86d09 100644 --- a/.doc/remediation/2026-09-13-document-revision-fast-completion-observation.md +++ b/.doc/remediation/2026-09-13-document-revision-fast-completion-observation.md @@ -2,11 +2,13 @@ title: "UI-11 快速完成观测契约整改" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # UI-11 快速完成观测契约整改 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-fast-completion-observation.md](../audit/2026-09-13-document-revision-fast-completion-observation.md)。 diff --git a/.doc/remediation/2026-09-13-document-revision-management-implementation-plan.md b/.doc/remediation/2026-09-13-document-revision-management-implementation-plan.md index aac2e50b..8bf30c06 100644 --- a/.doc/remediation/2026-09-13-document-revision-management-implementation-plan.md +++ b/.doc/remediation/2026-09-13-document-revision-management-implementation-plan.md @@ -7,6 +7,7 @@ updated: 2026-09-22 # 文档修改、智能体版本与差异认知能力实施方案 + > **W1-D 对账(2026-09-22)**:伪完成降级。工程波次与 Round20 UI 已有独立证据(见 FEATURE-MATRIX「文档版本 baseline」=`done`),但本实施计划 §11 **11 条验收标准全部未勾** → frontmatter `done` 改为 `in_progress`。不以勾选冒充全能力关闭。 ## 1. 背景 diff --git a/.doc/remediation/2026-09-13-document-revision-prelim-output.md b/.doc/remediation/2026-09-13-document-revision-prelim-output.md index c9c8a0ec..51f4435f 100644 --- a/.doc/remediation/2026-09-13-document-revision-prelim-output.md +++ b/.doc/remediation/2026-09-13-document-revision-prelim-output.md @@ -2,11 +2,13 @@ title: "prelim_design 真实产物契约:embed + 映射 + settle fail-closed + 瞬时全新 step 有界重试" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # prelim_design 真实产物契约 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-prelim-output.md](../audit/2026-09-13-document-revision-prelim-output.md)。 diff --git a/.doc/remediation/2026-09-13-document-revision-quality-repair-workspace-contract.md b/.doc/remediation/2026-09-13-document-revision-quality-repair-workspace-contract.md index aeea954f..8c664765 100644 --- a/.doc/remediation/2026-09-13-document-revision-quality-repair-workspace-contract.md +++ b/.doc/remediation/2026-09-13-document-revision-quality-repair-workspace-contract.md @@ -2,11 +2,13 @@ title: "质量修复子工作区输入输出契约整改" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # 质量修复子工作区输入输出契约整改 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-quality-repair-workspace-contract.md](../audit/2026-09-13-document-revision-quality-repair-workspace-contract.md)。 diff --git a/.doc/remediation/2026-09-13-document-revision-reviewer-duty-sync.md b/.doc/remediation/2026-09-13-document-revision-reviewer-duty-sync.md index 29053564..dd418f54 100644 --- a/.doc/remediation/2026-09-13-document-revision-reviewer-duty-sync.md +++ b/.doc/remediation/2026-09-13-document-revision-reviewer-duty-sync.md @@ -2,11 +2,13 @@ title: "项目 reviewer 同步到受控文档职责" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # 项目 reviewer 同步到受控文档职责 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-reviewer-duty-sync.md](../audit/2026-09-13-document-revision-reviewer-duty-sync.md)。 diff --git a/.doc/remediation/2026-09-13-document-revision-second-doc-routing-lease.md b/.doc/remediation/2026-09-13-document-revision-second-doc-routing-lease.md index d6d16620..a4a8a4c6 100644 --- a/.doc/remediation/2026-09-13-document-revision-second-doc-routing-lease.md +++ b/.doc/remediation/2026-09-13-document-revision-second-doc-routing-lease.md @@ -2,11 +2,13 @@ title: "UI-11 点名优先路由 + PATCH 请求级释租" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # UI-11 点名优先路由 + PATCH 请求级释租 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-second-doc-routing-lease.md](../audit/2026-09-13-document-revision-second-doc-routing-lease.md)。第十轮 UI-11 首错:否定句里的「需求」压过「系统设计输入」,且 PATCH 残留 15min human lease 使小队 DOC_BUSY。 diff --git a/.doc/remediation/2026-09-13-document-revision-workflow-category-navigation.md b/.doc/remediation/2026-09-13-document-revision-workflow-category-navigation.md index 181caff4..a824c352 100644 --- a/.doc/remediation/2026-09-13-document-revision-workflow-category-navigation.md +++ b/.doc/remediation/2026-09-13-document-revision-workflow-category-navigation.md @@ -2,11 +2,13 @@ title: "受控文档打开前必须先切工作流分类" status: in_progress created: 2026-09-13 -updated: 2026-09-13 +updated: 2026-09-22 --- # 受控文档打开前必须先切工作流分类 +> **W1-D(2026-09-22)**:保持 `in_progress`。关闭条件是占槽后真实 UI 重跑,归属 **W3 UI-rerun** 批;gap-matrix 对应 PASS 仅为工程修复口径,不代替本批 UI 终态。 + ## 背景 链到 [../audit/2026-09-13-document-revision-workflow-category-navigation.md](../audit/2026-09-13-document-revision-workflow-category-navigation.md)。 diff --git a/.doc/remediation/2026-09-15-module-decoupling-ipc-phase2-remediation-plan.md b/.doc/remediation/2026-09-15-module-decoupling-ipc-phase2-remediation-plan.md index 1e5c7513..1aad2219 100644 --- a/.doc/remediation/2026-09-15-module-decoupling-ipc-phase2-remediation-plan.md +++ b/.doc/remediation/2026-09-15-module-decoupling-ipc-phase2-remediation-plan.md @@ -1,13 +1,13 @@ --- title: "模块解耦 Phase 2:持久事件交付与后续解耦路线" -status: done +status: in_progress created: 2026-09-15 updated: 2026-09-22 --- # 模块解耦 Phase 2:持久事件交付与后续解耦路线 -> **W1-D(2026-09-22)**:非法五态 `implemented` → 合法 `done`(Track E / shared live 等已有报告并合入)。HTTP 信封未完验收见独立 `in_progress` 方案,不以本文件冒充关闭。 +> **W1-D(2026-09-22)**:非法五态 `implemented` → `in_progress`。Track E 事件核心已有独立报告且 FEATURE-MATRIX「可靠事件核心」=`done`,但本文验收标准多数未勾(含 browser/restart、FAV disabled 演练等)→ **不得**读成方案已收口。HTTP 信封见独立 `in_progress` 方案。 > > **Implemented / superseded(2026-09-16)**:Track E(E0A–E2)与 shared live、D4–D7b、PI typed-result-v1 已有验收报告并合入;可靠事件核心在 [FEATURE-MATRIX](../status/FEATURE-MATRIX.md) 标 `done`,FAV 独立 `deferred`。活状态以 FEATURE-MATRIX / CURRENT / gap-matrix 为准;本文保留为历史方案,不删除。 From 3b3808488e23e39144e8b56d6c8680d7ffde3014 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 21:26:23 +0800 Subject: [PATCH 4/9] docs(ops): record W1-D tip head_sha bc17d40e --- .doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md index df0022a2..0575c00e 100644 --- a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md @@ -13,7 +13,7 @@ worktree: .worktrees/status-drift-reconcile-2026-09-22 base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 write_scope: [".doc", "internal/sysadmin"] allowed_environments: [] -head_sha: pending +head_sha: bc17d40e10e393c5287ab40946ee0c5703f771a3 mutex: ops review_state: not_required integration_state: pending From df45fe5cd58ed392dd129fb669b4746cd1b66ba5 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 21:26:33 +0800 Subject: [PATCH 5/9] docs(ops): point W1-D task head_sha at branch tip --- .doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md index 0575c00e..c0494b69 100644 --- a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md @@ -13,7 +13,7 @@ worktree: .worktrees/status-drift-reconcile-2026-09-22 base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 write_scope: [".doc", "internal/sysadmin"] allowed_environments: [] -head_sha: bc17d40e10e393c5287ab40946ee0c5703f771a3 +head_sha: 3b3808488e23e39144e8b56d6c8680d7ffde3014 mutex: ops review_state: not_required integration_state: pending From 7e42e5f2ab2da74180a3993cc97667f91fc7ac14 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 21:26:46 +0800 Subject: [PATCH 6/9] docs(ops): finalize W1-D task head_sha and closeout chain --- .doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md index c0494b69..806ba9a7 100644 --- a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md @@ -13,7 +13,7 @@ worktree: .worktrees/status-drift-reconcile-2026-09-22 base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 write_scope: [".doc", "internal/sysadmin"] allowed_environments: [] -head_sha: 3b3808488e23e39144e8b56d6c8680d7ffde3014 +head_sha: df45fe5cd58ed392dd129fb669b4746cd1b66ba5 mutex: ops review_state: not_required integration_state: pending @@ -122,7 +122,8 @@ go test -short ./internal/sysadmin/ -count=1 ## 收口 -- 本地提交链:`e3290ebd`(主批)→ `2da47755`(M1-live 注记)→ 本提交(phase2 改回 in_progress、29 份 docrev W3 归属注记、任务文改名为 `*-w1d.md`、证据命令落盘) +- 本地提交链:`e3290ebd` → `2da47755` → `bc17d40e` → `3b380848` → tip `df45fe5cd58ed392dd129fb669b4746cd1b66ba5` +- 主批:`e3290ebd`;W3 注记 + phase2 纠正 + `*-w1d.md`:`bc17d40e` - `review_state`: not_required - `integration_state`: pending(待串行合入 dev) - `deployment`: not_required From b7f4503d5efb10d0bfc60860e88160bf9018f065 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 21:26:48 +0800 Subject: [PATCH 7/9] docs(ops): sync W1-D head_sha to tip --- .doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md index 806ba9a7..de3d5943 100644 --- a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md @@ -13,7 +13,7 @@ worktree: .worktrees/status-drift-reconcile-2026-09-22 base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 write_scope: [".doc", "internal/sysadmin"] allowed_environments: [] -head_sha: df45fe5cd58ed392dd129fb669b4746cd1b66ba5 +head_sha: 7e42e5f2ab2da74180a3993cc97667f91fc7ac14 mutex: ops review_state: not_required integration_state: pending From 0111824d10b17b786eeaa8650e90ccb0989b4877 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 22:01:48 +0800 Subject: [PATCH 8/9] docs(ops): align W1-D head_sha for integrate readiness --- .doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md index de3d5943..6b1dd472 100644 --- a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md @@ -13,7 +13,7 @@ worktree: .worktrees/status-drift-reconcile-2026-09-22 base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 write_scope: [".doc", "internal/sysadmin"] allowed_environments: [] -head_sha: 7e42e5f2ab2da74180a3993cc97667f91fc7ac14 +head_sha: "b7f4503d5efb10d0bfc60860e88160bf9018f065" mutex: ops review_state: not_required integration_state: pending From 49eba094c02244392963b9b5eb8655970672fef1 Mon Sep 17 00:00:00 2001 From: WeiCHEN Date: Tue, 22 Sep 2026 22:01:48 +0800 Subject: [PATCH 9/9] docs(ops): sync status-drift-reconcile head_sha to tip --- .doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md index 6b1dd472..80e1ebbc 100644 --- a/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md +++ b/.doc/ops/short-term/2026-09-22-status-drift-reconcile-w1d.md @@ -13,7 +13,7 @@ worktree: .worktrees/status-drift-reconcile-2026-09-22 base_dev_sha: 364ed7f1a3f0393ef77ec4623a9518116ed2cb87 write_scope: [".doc", "internal/sysadmin"] allowed_environments: [] -head_sha: "b7f4503d5efb10d0bfc60860e88160bf9018f065" +head_sha: "0111824d10b17b786eeaa8650e90ccb0989b4877" mutex: ops review_state: not_required integration_state: pending