{
  "id": 21678719,
  "title": "Ratchet: A Closed-Loop Verification Gate That Turns PRDs into Live Browser Proof",
  "url": "https://urgent.news/2026/11/24/ratchet-a-closed-loop-verification-gate-that-turns-prds-into-live",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-24T22:06:57.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/miracle_alajemba_6b425827/ratchet-a-closed-loop-verification-gate-that-turns-prds-into-live-browser-proof-13j3"
  },
  "original_language": "en",
  "account": "Ratchet is a new verification tool that ensures software builds meet all requirements in a real browser before being locked. Unlike AI coding agents that declare a build complete once unit tests pass, Ratchet actively checks the application's functionality in a live browser. It reads the project's PRD and matches acceptance criteria against Kane CLI's design and coverage state, and only locks a build when all criteria are proven.\n\nRatchet works by first syncing the PRD with Kane CLI's structured design and coverage state. It then runs real browser tests against the running application, capturing any issues that standard unit tests might miss. For example, Ratchet uncovered a subtle mismatch where Kane's EMPTY_DESIGN event was treated as a hard failure even when non-blocking clarification gaps were present. This led to a cleaner no-op sync path.\n\nAnother issue Ratchet identified was a trailing-slash URL assertion issue and a transient screenshot timeout in the checkout flow. By using Kane CLI's evidence packs, Ratchet was able to separate real application behavior from test/environment noise, flagging these issues for root-cause triage.\n\nTo use Ratchet, first install, build, and run offline engine tests. Then, start the demo app in one terminal and run live browser verification and inspect coverage in another terminal. The full code is available on GitHub for further exploration.",
  "summary": "AI coding agents are great at writing code, but they love saying \"it's done\" the moment unit tests pass—without ever checking if the app actually works in a real browser. To fix that, I built Ratchet : a closed-loop verification gate powered by Kane CLI that refuses to lock a build until 100% of your PRD's acceptance criteria are proven in a live browser. How the Closed Loop Works Instead of…",
  "key_points": [
    "Ratchet verifies software meets all requirements in a live browser before locking.",
    "It reads PRD and matches acceptance criteria against Kane CLI's design and coverage state.",
    "Ratchet uncovers real browser issues missed by unit tests, like URL assertion problems."
  ],
  "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."
}