T02 · Agent Memory Poisoning
- Location
setup.md:75- Finding
Persistent Behavioral Instructions Can Poison Future Agent Sessions
- Content
View full analysis
.md` - Project-only override → append to `~/self-improving/projects/.md` - Keep entries short, concrete, and one lesson per bullet; if scope is ambiguous, default to domain rather than global - After a correction or strong reusable lesson, write it before the final response ``` ```markdown ### 7. Add HEARTBEAT.md Steering Add this section to your `HEARTBEAT.md`: ```markdown ## Self-Improving Check - Read `./skills/self-improving/heartbeat-rules.md` - Use `~/self-improving/heartbeat-state.md` for last-run markers and action notes - If no file inside `~/self-improving/` changed since the last reviewed change, return `HEARTBEAT_OK` ``` ``` ### Technical Analysis The setup process does more than create isolated data files. It inserts durable instructions into `SOUL.md`, `AGENTS.md`, and `HEARTBEAT.md`, which are workspace steering files that may be loaded in futu ...[truncated 2280 chars]- Remediation
View remediation
