26 lines
4.3 KiB
Markdown
26 lines
4.3 KiB
Markdown
## v0.5.42: Bounded Runtime Snapshots and Reliable Memory Management / 有界运行时快照与可靠的记忆管理
|
||
|
||
- **Runtime snapshots:** bound model-visible snapshot history while preserving append-only request prefixes for unchanged and eligible additive updates. Checkpoint on the snapshot count/byte budget or when permissions and visible facts require immediate cleanup (#579; fixes #573).
|
||
- **Skill origins:** keep suggestions, drafts, rewrite, backtests and adoption bound to the original skill/workspace. Recover legacy suggestions from exact review evidence; preserve unresolvable manual drafts and ask for regeneration instead of targeting a same-named file (#580; fixes #574).
|
||
- **Permanent Document deletion:** remove active or archived managed Markdown and its index record after confirmation, with index/file revision fences, ReadGrant checks and rollback on index-write failure. Refresh counts and selection; do not write a cold index or delete project source files (#581; closes #578).
|
||
- **Scoped source settings:** distinguish inherited defaults from an explicitly empty scope, confirm zero-source saves, preserve runtime priority and keep eligible capability/custom Sources selectable. Existing write restrictions stay separate (#569; fixes #568).
|
||
- **Git-sync archives:** reject unsafe paths, excessive entry counts/sizes and inconsistent stored ZIP sizes before extraction. Existing valid stored/deflated packs remain supported (#564).
|
||
|
||
- **运行时快照:**限制模型可见的快照历史;内容不变和符合条件的新增沿用追加方式,保留请求前缀。快照数量/字节超限,或权限及可见事实需要立即清理时,统一建立新快照组(#579;修复 #573)。
|
||
- **技能来源:**建议、草案、重写、回测与采纳绑定原技能及工作区。从准确的复盘证据恢复旧建议;无法恢复来源的手工草案保留正文并提示重新生成,避免误改同名文件(#580;修复 #574)。
|
||
- **永久删除档案:**确认后移除活跃或归档的托管 Markdown 与索引记录,校验索引/文件修订和 ReadGrant,索引写入失败时回滚,随后刷新列表及统计。不写冷索引,不删除项目原文件(#581;解决 #578)。
|
||
- **作用域来源设置:**区分继承默认值和明确不选来源,零来源保存需要确认;保持运行时优先级,允许选择符合条件的能力来源和自定义来源,保留独立写权限限制(#569;修复 #568)。
|
||
- **Git 同步压缩包:**解包前拒绝不安全路径、过多条目/过大容量及大小字段不一致的 Stored ZIP 条目,保留有效 Stored/Deflate 压缩包兼容性(#564)。
|
||
|
||
Runtime uses a bounded append policy with checkpoint thresholds of **4 eligible snapshots / 64 KiB**; one oversized current snapshot is retained whole. Facts removed or corrected, or changed permissions, trigger immediate cleanup. Original session audit records remain intact. Actual provider cache hit rates were not measured.
|
||
|
||
Runtime 使用有界追加策略,以 **4 份符合条件的快照 / 64 KiB** 为重建快照组的阈值;单份当前快照超过预算时仍完整保留。事实删除、纠正或权限变化时立即清理旧快照,保留原会话审计记录。未测量模型提供方的实际缓存命中率。
|
||
|
||
Starter **0.5.42**, Documents **0.6.0**, Runtime **0.5.18**, Skills **0.5.9**; the other fifteen components retain their versions. Update through **Memory System → Status → Check versions → Update**, then restart DSH. Existing memories and settings need no manual migration.
|
||
|
||
Starter **0.5.42**、Documents **0.6.0**、Runtime **0.5.18**、Skills **0.5.9**;其余十五个组件保持原版本。通过**记忆系统 → 状态 → 检查版本 → 更新**后重启 DSH,已有记忆与设置无需手动迁移。
|
||
|
||
- [English release notes](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.42/docs/en/releases/v0.5.42.md) · [中文发布说明](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.42/docs/zh-CN/releases/v0.5.42.md)
|
||
- [Acceptance](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.42/docs/pr-assets/release-v0.5.42/README.md) · [发布验收](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.42/docs/pr-assets/release-v0.5.42/README.zh-CN.md)
|
||
- [Full changelog](https://github.com/omdsh-dev/dsh-mnemon/compare/v0.5.41...v0.5.42)
|