Memory Manipulation
High
- Category
- Memory Poisoning
- Content
**Symptom:** Methods like `reset()`, `clearState()`, `setTestMode()` that exist only because tests need them. **Fix:** If tests need to reset state, the code has a design problem. Refactor to make state explicit and injectable. ### Snapshot tests as the only test
- Confidence
- 80% confidence
- Finding
- Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
