Files
Agent-System/.doc/archive/ops/2026-09-13-document-revision-workflow-category-navigation.md
T
weichenandCursor 9345109dca docs(ops): archive completed document-revision session files
Move done DOCREV short-terms, checklists, and handoffs into archive/ops and retarget relative links after Round20 close-out.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 00:27:18 +00:00

1.8 KiB
Raw Blame History

title, status, created, updated, owner, branch, worktree, mutex
title status created updated owner branch worktree mutex
受控文档分类导航契约 done 2026-09-13 2026-09-14 Cursor-Auto fix/document-revision-workflow-category-navigation - document-revision-workflow-category-navigation

受控文档分类导航契约

目标

堵住第15轮 UI-13a:UI-11 后停在「我的私密」,未切「流程受控」就展开文档菜单,找不到 doc_proj*_intake。只改验收导航,不降真实性。

范围

  • web/src/lib/workflowCategoryNavigation.ts 与单测
  • web/e2e/document-revision-runtime.spec.ts 三个 opener
  • audit / remediation / CURRENT

非目标

  • 不改产品分类状态机;不用 API/内存规避 UI
  • 不碰证据;不合 dest;不启停容器;不 E2E;不 push

步骤

  1. 从 dev@48a4dcb 开分支并登记 mutex
  2. 导航谓词 + private→workflow / 缺失 fail-closed 测试
  3. 三个 opener 先真实切分类
  4. npm test + npm run build 并原子提交

验收标准

  • 从私密分类可恢复到精确受控文档
  • 目标缺失 fail-closed
  • 现场 UI-13a(未跑)

相关链接

证据 / 备注

  • mutex:document-revision-workflow-category-navigation(新 mutex)
  • 基线:dev@48a4dcb
  • 验证:npx tsx --test src/lib/workflowCategoryNavigation.test.ts PASS;cd web && npm test PASS(309 + 29);npm run build PASS
  • 未跑真实 UI-13a,不得标 done;不得 merge / 启停容器 / E2E / push