You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(memory): routing-guard advisory and index-based entry locator
Add a structural detector that nudges the agent toward editing the
authoritative project file when a memory write looks like a rule or
value-assignment that belongs in a file (a recurring failure mode: a
correction rephrased as a "preference" and stored in memory while the
governing file stays stale). The guard never blocks — it only appends a
one-line advisory on add/replace — so false positives cost a sentence.
Also let replace/remove identify an entry by 0-based `index` (from
`list`) as a deterministic alternative to `old_text` substring matching;
out-of-range indices report the inventory so the retry is guided.
Slash completer now surfaces the matched alias as the menu label
(`/res` -> `/resume`) while keeping name matches ranked above alias-only
matches.
memory.md guidance updated for authoritative-files-first and the new
index-based locator.
0 commit comments