T02 · Agent Memory Poisoning
- Location
SKILL.md:356- Finding
Untrusted learnings can be promoted into persistent agent-control files
- Content
View full analysis
" .learnings/LEARNINGS.md` 4. If found: - Increment `Recurrence-Count` - Update `Last-Seen` - Add `See Also` links to related entries/tasks 5. If not found: - Create a new `LRN-...` entry - Set `Source: simplify-and-harden` - Set `Pattern-Key`, `Recurrence-Count: 1`, and `First-Seen`/`Last-Seen` ### Promotion Rule (System Prompt Feedback) Promote recurring patterns into agent context/system prompt files when all are true: - `Recurrence-Count >= 3` - Seen across at least 2 distinct tasks - Occurred within a 30-day window Promotion targets: - `CLAUDE.md` - `AGENTS.md` - `.github/copilot-instructions.md` - `SOUL.md` / `TOOLS.md` for OpenClaw workspace-level guidance when applicable ``` The project also identifies user corrections as learning inputs: ```markdown **Corrections** (→ learning with `correction` category): - "No, that's not right..." - "Actually, it should be..." - "You're wrong about..." - "That's outdated..." ``` ### Technical Analysis The Skill permits content originating from task summaries and user corrections to enter `.learnings/`, and subsequently recommends promoting recurring content into files such as `AGENTS.md`, `SOUL.md`, `TOOLS.md`, and `CLAUDE.md`. These files are described as agent context or system-prompt feedback and may be loaded into future sessions. The recurrence checks establish frequency, but not trustworthiness. Repeated att ...[truncated 1775 chars]- Remediation
View remediation
