Files
Agent-System/.doc/archive/ops/handoffs/2026-09-13-document-revision-post-restart-selector.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

2.6 KiB
Raw Blame History

title, created, from, to, status, updated
title created from to status updated
post-restart 项目名 selector:编码后交接 2026-09-13 Cursor-Auto next-agent done 2026-09-14

交接:post-restart 项目名 selector(暂不合入)

目标(下一位 Agent 应完成什么)

  • 不要在本分支继续改职责/业务语义
  • 合入前占 CURRENT 集成槽位;本轮禁止 merge / 重建容器 / 声称 post-restart 通过
  • 占槽后重跑 UI_PHASE=post-restart,确认 UI-15 走到 revision-state

已完成

  • post-restart:侧栏 exact title 点击 + banner exact 项目名断言
  • Playwright 产物按 UI_PHASE 分目录,避免第二阶段覆盖主阶段
  • 结果 JSON:main 仍写 ui-acceptance-results.json;post-restart 写 ui-acceptance-results-post-restart.json;phase-state / secrets 共享
  • helper 契约测试;npm test / npm run build

未完成

  • 真实 UI-15 post-restart
  • 合入 dev

认领 / 槽位状态

项 值
mutex 已释放 no(document-revision-post-restart-selector 仍 in_progress)
集成槽位 holder 他人 e2e;本任务未占槽
branch fix/document-revision-post-restart-selector
worktree -

若 mutex 未释放,下一位须先在 CURRENT 认领或写 blocker。

关键文件

路径 说明
web/src/lib/currentProjectRestore.ts 入口 / banner locator 契约
web/src/lib/playwrightPhaseArtifacts.ts 阶段目录名
web/e2e/document-revision-runtime.spec.ts post-restart UI-15
web/playwright.config.ts 分阶段 outputDir / HTML report

如何验证

cd web && npm test && npm run build
# 真实 UI(本轮不做):
# RUN_UI_ACCEPTANCE=1 UI_PHASE=post-restart npx playwright test e2e/document-revision-runtime.spec.ts

产物:playwright-output-main / playwright-report-main / ui-acceptance-results.json 与 playwright-output-post-restart / playwright-report-post-restart / ui-acceptance-results-post-restart.json。phase-state.json 与 phase-secrets.local.json 跨阶段共享;UI-15-post-restart.png 可与主阶段截图同目录。

风险 / Blocker

  • 侧栏折叠时 complementary 入口不可见,应 FAIL 而非 .first() 跳过
  • 不得改删 schema31 失败归档

相关链接