fix(rectification): open history cases with their bound skill identity (BUG-621)
Independent Staging Quality Gate / validate (push) Successful in 9m46s
Independent Staging Quality Gate / publish (push) Successful in 32m4s

Session open was sending the live registry version into v2, so every Skill
bump rejected older cases with an unmapped 500 and no error on the clicked row.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-09 19:35:23 +08:00
co-authored by Cursor
parent 15cede97e7
commit a31a5e2426
16 changed files with 423 additions and 33 deletions
@@ -0,0 +1,31 @@
# 生时校正 · 升 Skill 版本后历史对话仍能打开(2026-09-09)
对应 BUG-621。自动化锁的是打开 RPC 身份与侧栏错误位置,**锁不住**真实历史 Case 在 staging 上按绑定版本跑完一轮。
## 0. 确认测的是新版本
浏览器打开 `https://staging.jyotisha.chat/api/health`,看 `deployment.gitCommit` 前 8 位是否等于本单合入 staging 后的提交。不一致 = 先别测。
## 1. 升版本之后,旧校正仍能从历史对话打开(P0)
前置:账号里至少有一条在当前 Skill 版本之前创建的生时校正(例如 10.0.17 / 10.0.18 那天建的)。当前注册版本更高。
1. 停在首页,不要先点「生时校正」入口。
2. 在左侧历史列表点那条旧校正。
- ✅ 预期:主栏打开该校正,沿用它绑定的那一版规则继续;不是空白、不是「暂时无法打开」。
- ❌ 失败:点了没反应;或首页起始卡下才出现错误;或打开后按当前新版本重跑。
## 2. 绑定版本若已从注册表消失(P1)
只有在故意缺少快照的环境才测。正常 staging 应仍保留 10.0.1510.0.18。
- ✅ 预期:被点的那一行下面出现一行错误(Skill 版本不可用),首页起始卡不再重复同一条。
- ❌ 失败:仍像没点到,或主栏/起始卡出现 500「校正服务暂时不可用」。
## 3. 新开一场仍用当前版本(P1)
从首页点「生时校正」新建。
- ✅ 预期:新 Case 绑定当前注册版本(现为 10.0.19)。
- ❌ 失败:新 Case 也去套某个旧版本。