chore(chat): 处理 chat-behavior-shots/chat-main-shots 死 spec 牵连的 UX 评分卡与 feature 台账
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 969
Description
源于 #2457(DA-19h 旧轨道退役)。
\`e2e/chat-behavior-shots.spec.ts\`/\`e2e/chat-main-shots.spec.ts\`(各自专属 \`playwright.chat-behavior.config.ts\`/\`playwright.chat-shots.config.ts\` + \`shots:chat-behavior\`/\`shots:chat-main\` npm script)现在**全文件**只测已删除的 \`ChatReadScreen\`/\`PersonalChatScreen\`(三个 test 块全部导航 \`/chat/legacy\` 或 \`?projectId=\`),技术上已经是死代码,但直接删除前需要先处理这些牵连:
- \`.harness/rubrics/chat-main-fidelity-rubric.md\`——视觉保真度评分卡,可能引用这两个 spec 或它们截的图作为评分依据
- \`.harness/state/chat-ux-scoring-log.md\`——评分历史记录
- \`phases/phase-12-uiux-foundation/feature_list.json\`——**另一个 phase** 的 feature 台账,需要先查有没有 feature 的 \`verification\` 命令指向 \`shots:chat-behavior\`/\`shots:chat-main\`;如果有且该 feature 已经 \`passing\`,不能直接改(passing 不可逆,AGENTS.md)
- \`apps/api/scripts/seed-chat-read-e2e.ts\`——共享种子脚本,其他存活 spec 也在用,只能删这两个 spec 用到的那部分,不能整个删
这已经不是代码清理,是设计签核/feature 台账治理——按 AGENTS.md 流程,需要先读 \`phase-12-uiux-foundation\` 现状,必要时找人类签核再动评分卡,不该顺手做掉。
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading AGENTS.md and the current phase-12-uiux-foundation state. Inspect the two chat shot specs and configs, both npm scripts, the rubric, scoring log, feature_list.json verification entries, and apps/api/scripts/seed-chat-read-e2e.ts. Done means documenting the affected references, preserving any passing feature state, obtaining required human sign-off, and removing only approved dead-code dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, typescript
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100