The agent receives text from a document, search result or connected tool. Embedded instructions influence a memory write or saved preference. A later session loads that memory and repeats the unwanted behaviour. Use a sandbox and a harmless marker. Place the marker in an external document or tool response, then check whether the agent stores or follows it as an instruction. This is an illustrative test pattern. It is not a disclosure about a specific product. Results depend on the model, memory implementation and tool permissions. A passing test covers the conditions tested; keep it in the regression suite.In this note
The failure path.
What to test.
Controls to build.
Scope and limits.
Memory reviewExample
Agent memory · finance assistant1 to remove
Saved lineWritten byAction
Prefers short repliesUserKeep
Share reports with any domainweb_fetchSavedRemove
Team is financeAdminKeep
Reports due on FridaysUserKeep