Ive been through this a lot myself, and thats why im building this tool called kaplira, it is an control layer for ai coding agents. it does not allow ai agents to touch files outside a determined scope, it learns as u code, learns from past mistakes, regressions, it injects cirurgical memories into the ai agents. u can download it for free at kaplira.com