mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 10:45:59 -10:00
The cache-impact gate watched only internal/ prompt surfaces, but two cache-sensitive surfaces lived outside it: - desktop/session_prompt.go rewrites the persisted leading system message with the freshly composed prompt on every tab resume/rebind; any byte difference there invalidates the whole conversation's prefix cache and persists the rewrite. - internal/environment/* composes the environment section embedded in the cached system prefix; probe output changes shift the prefix bytes for every session. Add both to the cache-sensitive list and to the system-prompt-sensitive list so changes require Cache-impact/Cache-guard lines and an explicit System-prompt-review note.