T02 · Agent Memory Poisoning
- Location
SKILL.md:366- Finding
Conversation-Derived Learnings Can Be Promoted into Persistent Agent Instructions Without Trust Validation
- Content
View full analysis
= 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 Write promoted rules as short prevention rules (what to do before/while coding), not long incident write-ups. ``` `SKILL.md:463-468`: ```markdown 1. **Log immediately** - context is freshest right after the issue 2. **Be specific** - future agents need to understand quickly 3. **Include reproduction steps** - especially for errors 4. **Link related files** - makes fixes easier 5. **Suggest concrete fixes** - not just "investigate" 6. **Use consistent categories** - enables filtering 7. **Promote aggressively** - if in doubt, add to CLAUDE.md or .github/copilot-instructions.md ``` `hooks/openclaw/handler.js:30-33`: ```javascript **Promote when pattern is proven:** - Behavioral patterns → \`SOUL.md\` - Workflow improvements → \`AGENTS.md\` - Tool gotchas → \`TOOLS.md\` ``` The TypeScript source contains the equivalent instructions at `hooks/openclaw/handler.ts:31-34`. ### Technical Analysis The Skill accepts conversation-derived information—including user corrections, claimed knowledge gaps, errors, and suggested workflow improvements—as learning input. It then instructs the agent to promote selected learning content into files such as `CLAUDE.md`, `AGENTS.md`, `SOUL.md`, `TOOLS.md`, and `.githu ...[truncated 3527 chars]- Remediation
View remediation
