{
  "id": 5179236,
  "title": "Test Agent Patches With an Oracle the Diff Cannot Touch",
  "url": "https://urgent.news/2026/09/02/test-agent-patches-with-an-oracle-the-diff-cannot-touch",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-02T21:32:11.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/datacpp_8185/test-agent-patches-with-an-oracle-the-diff-cannot-touch-34nk"
  },
  "original_language": "en",
  "account": null,
  "summary": "An agent patch is only as trustworthy as the checks it cannot rewrite. If properties, fixtures, and flake policy live in the same tree as src/ , the diff can weaken the proof. Move the oracle out of the writable tree and run it as a control loop with hysteresis, not as a skip list. Co-located tests fail this requirement in a predictable way. The agent adds an assertion that matches the new code.…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}