Files
Jyotisha/docs/tasks/PROGRESS-rectification-session-composer-guard-20260917.md
T
jesse-ux 6d81062be9
Independent Staging Quality Gate / validate (push) Canceled after 5m37s
Independent Staging Quality Gate / publish (push) Canceled after 0s
fix(web): 校正会话上不再出现可用的普通输入框
send() 对校正会话不发 /api/consult,草稿保留并打开校正面。
普通输入框只有禁用态。咨询接口把类型不对改成 409 session_not_consultation。
删除和回退不再直接切到校正会话。
2026-09-17 20:06:25 +08:00

34 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PROGRESS · 校正会话输入框守卫(2026-09-17)
工作树:`.worktrees/rectification-session-composer-guard-20260917`
分支:`codex/rectification-session-composer-guard-20260917`
基线:`origin/staging` @ `8eb1de1f`
本机 Windows。
Skill **未 bump**。未改 Python、迁移、Skill、校正面组件、校正 Agent。
## 任务状态
| 任务 | 状态 | 说明 |
| --- | --- | --- |
| T1 send() 会话类型守卫 BUG-924 | 完成 | 校正会话不发 `/api/consult`,保留草稿,打开校正面;pending 指向校正会话则丢弃 |
| T4 错误码 BUG-925 | 完成 | 查不到 404;类型不对 409 `session_not_consultation`;前端不显示错误、走 T1 |
| T2 普通输入框禁用态 | 完成 | placeholder「正在打开生时校正…」;失败时「重新打开生时校正」 |
| T3 回退走 selectSession | 完成 | `activateFallbackSession`popstate 用 `fallbackSessionId``sessions[0]` 改为第一条非校正 |
| T5 记录 | 完成 | BUG-924/925、CHANGELOG、DESIGN、VOICE、真人清单 |
## 让步
`/api/consult/cancel``status` 按 requestId 工作,没有 session_type 判断,未改。
## 测试
| 项 | 结果 |
| --- | --- |
| `tsc --noEmit` | 0 错 |
| `npm run lint` | 0 error / 116 warning(与基线同;本轮文件 0 条) |
| 定向 | composer-guard / surface-contract / chat-session-authority / bootstrap-reveal / home-shell-growth **34 passed / 0 failed** |
| `page.tsx` 行数 | 开工 1835 → 现在 ≤ 1835 |
无登录态、无 Chrome:走查见 `docs/testing/rectification-session-composer-guard-20260917.md`