From 95f0ead13168fa81e27b8effc57db784ed316da9 Mon Sep 17 00:00:00 2001 From: weichen Date: Sun, 13 Sep 2026 08:48:54 +0000 Subject: [PATCH] docs(ops): record document-revision-runtime gate evidence and commits Co-authored-by: Cursor --- .../2026-09-13-document-revision-runtime.md | 41 +++++++++++++++---- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/.doc/ops/short-term/2026-09-13-document-revision-runtime.md b/.doc/ops/short-term/2026-09-13-document-revision-runtime.md index 01a81193..cc2f271e 100644 --- a/.doc/ops/short-term/2026-09-13-document-revision-runtime.md +++ b/.doc/ops/short-term/2026-09-13-document-revision-runtime.md @@ -33,16 +33,16 @@ mutex: docgov ## 步骤 1. [x] 审计 / 整改 / 本任务 + CURRENT 认领 -2. [ ] 分支 `fix/document-revision-runtime` -3. [ ] PG store + bootstrap + backfill -4. [ ] Handler / agent / 前端 -5. [ ] 测试与 UI 计划 -6. [ ] 分层 commit,输出哈希与集成建议 +2. [x] 分支 `fix/document-revision-runtime` +3. [x] PG store + bootstrap + backfill +4. [x] Handler / agent / 前端 +5. [x] 测试与 UI 计划 +6. [x] 分层 commit,输出哈希与集成建议 ## 验收标准 -- [ ] 工程门禁(单测/vet/前端 build)与 UI 实战计划分栏标识完成 -- [ ] 剩余 blocker(PI 叙事、orphan upload)写清且不可用假数据掩盖 +- [x] 工程门禁(单测/vet/前端 build)与 UI 实战计划分栏标识完成 +- [x] 剩余 blocker(PI 叙事、orphan upload)写清且不可用假数据掩盖 ## 相关链接 @@ -52,4 +52,29 @@ mutex: docgov ## 证据 / 备注 -(提交后回填 commit hashes) +### 工程门禁(非 UI 验收) + +```text +go vet ./... +go test -short ./internal/docrevision/... ./internal/server/ ./internal/bizdev/ ./internal/freedoc/ +cd web && npm test && npm run build +``` + +PASS(2026-09-13):docrevision / server / bizdev / freedoc;web 191 node tests + 24 vitest;vite build OK。 + +### 用户 UI 实战验收 + +见 checklist;**本轮未执行**(不占集成槽 / 不 rebuild docker)。 + +### Blockers + +- DOCREV-RT-PI-NARRATIVE:PI 叙事 change report +- DOCREV-RT-UPLOAD-ORPHAN:仅 IndexedDB 的上传附件无服务端正文 + +### Commits + +- `7ea686e` docs(docrev): audit runtime 404 and claim docgov remediation +- `ed1e232` feat(docrevision): persist ledger in PostgreSQL with bootstrap +- `46a1fcc` feat(api): authorize revision routes and project fact-source saves +- `d79fdf6` feat(web): persist freeform block edits and apply overlay modes +- `fa615fe` docs(test): add headless UI acceptance plan for document revision runtime