v0.2.5: Cache-Stable Runtime Memory
v0.2.5 projects Runtime Memory through DSH's native runtime-context snapshots. Updating USER.md or MEMORY.md no longer rewrites the system prompt and invalidates its reusable prefix.
Improved
- Global and per-Agent
mnemon:runtime-memorycontributions now usesystemPrompt.context()instead of a mutable system-prompt section. - DSH reevaluates Runtime Memory before each model step and appends a new user-role snapshot only when the projected context changes. The stable system prompt, tools, and preceding conversation remain cacheable.
- Per-Agent workspace routing stays lazy, so writes made through
mnemon_runtime_memoryare visible on the next model step without rebuilding the system prompt.
Compatibility
- Storage layout, schemas, and tool contracts are unchanged; no data migration is required.
- Literal
{{...}}text continues to bypass placeholder interpolation. - Runtime Memory now follows DSH's standard runtime-context configuration and suppression behavior.
Verification
- The full verification suite covers system-prompt stability, runtime snapshot refreshes, literal brace handling, and Agent-scoped workspace routing.
- Deterministic builds, headless checks, package checks, and CI on Ubuntu and Windows pass.
Upgrading
Update dsh-mnemon and restart the affected DSH profile. Existing Runtime Memory data remains unchanged.
See the v0.2.4 release notes for the previous patch release.