v0.3.1
·
1156 commits
to master
since this release
What's New
Message Revert Support
When users revert messages in OpenCode, magic-context now properly invalidates affected internal state — tags, reasoning watermarks, nudge anchors, note nudge state, stripped placeholder IDs, and FTS index entries. Compartments and facts are preserved since they represent compressed history that should survive reverts.
ctx_search Prompt Guidance
Agent prompts now include "search before asking" guidance with concrete examples. Agents will proactively use ctx_search to look up project paths, architectural decisions, config details, and prior conversations instead of asking the user for information that's already stored in project memory.
Bug Fixes
- Stale dream queue — Crashed dream runs no longer permanently block
/ctx-dream; stalestartedentries older than 10 minutes are cleaned before duplicate rejection. - Dream timestamp —
last_dream_atno longer advances when only smart-note evaluation succeeded but actual dream tasks failed. - Note nudge cooldown — The 15-minute cooldown now applies even when a fresh trigger arrives, preventing rapid-fire nudges at commit/todo/historian boundaries.
- Search error reporting — FTS and query failures are now logged instead of silently returning indistinguishable empty results.