Enterprise AI agent memory research from Microsoft shows a read-only environment check before each memory write nearly doubled GitHub Copilot task pass rates from 39% to 73% and cut per-task inference ...