rec: 修复 AUDIT-2.md 遗留的 UI 保真度缺口(受访者同意四项 + 撤回复用单一事实源 + 视角词表按载体切换)
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 969
Description
## 背景
`phases/phase-01-run-a-project/ui-preview/PROTOTYPE-FIDELITY-AUDIT-2.md` 第二节「二、`rec`(录音与转写)」用字节偏移取证列出 7 条问题(3 重做 + 2 修补 + 2 记录)。
问题 1(准备室·逐人授权矩阵)、2(逐字稿校对整屏)、3(处理状态整屏)已在 commit `ee252393` 落地并合入 main。问题 6、7 是「记录」级,按范围纪律不做。
本 issue 收尾剩下的两条「修补」:
### 问题 4 · 受访者同意屏被压缩成一句话(修补)
原型 16392000–16398000「外部受访者 · 同意与撤回」是四个可分别勾选的授权项(录音/转成文字稿/交给 AI 做分析/在报告中署名)+ 撤回五步 SLA。当前 `CONSENT_RENDER.liveTemplate` 只有录音一句。
⚠ 撤回五步 SLA 是 AGENTS.md 点名的「已五次同一事实两处」之一——本次直接复用 `lib/withdrawal-flow.ts`(单一事实源),不在 rec 里另抄一份。
### 问题 5 · 视角切换器把工作坊四角色套到访谈载体(修补)
`REC_VIEWS` 默认视角 `facilitator`(引导师)对访谈载体不成立——访谈区应为 主持人/联合主持/观察员/受访者,不是引导师/组长这套工作坊词表。需按 `?carrier=` 切换视角词表。
## 范围
只改 UI/mock 内容呈现,不改后端逻辑或数据模型。
## 证据
见 `phases/phase-01-run-a-project/ui-preview/PROTOTYPE-FIDELITY-AUDIT-2.md` 行 69-197。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the UI/mock implementation containing CONSENT_RENDER.liveTemplate and REC_VIEWS, then read phases/phase-01-run-a-project/ui-preview/PROTOTYPE-FIDELITY-AUDIT-2.md lines 69-197 and lib/withdrawal-flow.ts. Done means the consent view exposes four independently selectable permissions while reusing the withdrawal flow, and the interview carrier switches to its own perspective vocabulary via ?carrier= without backend or data-model changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100