Files
Agent-System/.doc/archive/ops/2026-09-17-document-author-only-u2.md
T
weichenandCursor 4f1bb1f02d docs(ops): archive author-only U1–U6 and close remediation DoD
Move short-term tasks to archive, update MATRIX/INDEX/CURRENT, and hand off merge to dev.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 13:55:17 +00:00

1.4 KiB
Raw Blame History

title, status, created, updated, owner, branch, worktree, mutex
title status created updated owner branch worktree mutex
文档编制人兼任:U2 逐文档模式与激活 done 2026-09-17 2026-09-17 Cursor feature/document-author-only-plan .worktrees/feature-document-author-only-plan projectinstance + document-duty-policy

文档编制人兼任:U2 逐文档模式与激活

目标

落地逐文档 duty_policy=author_only:规划校验、预览摘要、激活 token 绑定策略 revision,激活事务内行锁串行化关闭总开关。

范围

  • DocTaskPlan / PreviewSummary / ProjectSettings 扩展
  • ResolveDocTaskDuty、Save/Preview/Activate 消费 U1 策略
  • Goose 00051 token revision 列
  • app 适配器装配、HTTP 错误码映射
  • 单元测试

非目标

  • Heal/文档投影(U3)
  • 前端 UI(U5)
  • 运行时动作多职责(U4/U6)

步骤

  1. 类型与解析器
  2. service/store/迁移
  3. app 装配与 handler
  4. 测试与提交

验收标准

  • 一位成员兼任可存/预览/激活(总开关开)
  • 总开关关时 Save 拒绝
  • 预览后 revision 变化旧 token 409
  • 未开模式只填作者仍 partial 拒绝
  • 旧快照缺 duty_policy 时 hash 稳定

相关链接

  • Plan: .doc/remediation/2026-09-17-document-author-only-plan.md U2

证据 / 备注

  • go vet ./internal/projectinstance/ ./internal/app/ ./internal/server/
  • go test -short ./internal/projectinstance/ ./internal/server/ ./internal/app/ PASS