r/PiCodingAgent • u/AlexzanderZone • 13d ago
Question Agent drift
Is the agent drifting from original plan a result of the model or harness? Im using QFN gyro-M and pi-blackhole but with the observational memory component is turned off due to the workers going every turn bogging the process down because im on a potato. I Told the agent to start step 5, walked away and at some point it had drifted from the orginal plan.md... it was a mess. Ever since then after every compaction im afraid it will drift. So, now every so often I'll have it do a "drift check". Is there an extension or skill I can add to the harness to help prevent this?
View all comments
1
u/electric-dragon-80kv 13d ago
This is not 100% solvable but you can approximate it by having adversarial steps with subagents. Split your task into deliverable and verifiable steps, and after each step apply a set of adversarial steps focusing on different aspects. Code review, spec loyalty, proof of work could be separate steps. You can go even further and define adversarial steps for the adversarial steps themselves.