Replies: 2 comments
|
这个错误可以从源码确认是 持久化 preset identity 的升级兼容缺口,不是 Session 日志损坏。 重命名提交 不建议直接改 Session 文件中的
官方 copy 会复制整个 preset 目录(不只是 需要注意:这个 alias 让 durable id 只要还需要对旧 Session 做 cold resume、commands、Skills、search、export 或 fork 检查,就不要删除这个 完整的证据保全、恢复流程、失败做法和上游迁移测试契约:https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/historical-code-preset-resume.md |
|
补充受影响规模与实测:本地共 37 个历史会话受影响,其中 20 个旧 header 为 code(已改为 ptc;16 个 standard 与 1 个 liangshen 未改动)。当时救急直接改写了 header,事后看这是权宜手段,缺失压缩历史的可追溯性;楼里 liyangbing 的「复制 ptc 为 id=code 的用户 preset alias」方案更稳妥(不改写历史、可随时回退),赞成按该路径前进。 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Repro steps
All reactions