{"slug": "show-hn-sightdiff-before-after-visual-proof-of-what-your-ai-agent-changed", "title": "Show HN: SightDiff – before/after visual proof of what your AI agent changed", "summary": "SightDiff, a new local pre-commit tool for AI coding agents, provides before/after visual proof of changes made by agents, flagging unintended modifications. The tool, which works with any agent like Claude Code, Cursor, or Copilot, captures pixel-perfect screenshots of pages and states, and exits non-zero when flagged changes are detected, serving as a pre-commit gate. Citing a Stack Overflow Developer Survey 2025 finding that 66% of developers are frustrated by AI code that's almost right, SightDiff offers early access via a waitlist or a founding user plan at $10/mo.", "body_md": "● Local · pre-commit · any agent\n\n# Your AI agent says *done.*\n\nSee what actually changed.\n\nBefore/after proof of **every page and state your agent touched** — rendered\nlocally, before you `git commit`\n\n. Changed surfaces get flagged; untouched ones are\nverified identical.\n\n**66% of developers** say their top frustration is AI code that's almost\nright, but not quite. [— Stack Overflow Developer Survey 2025](https://survey.stackoverflow.co/2025/ai/)\n\nThe agent was asked to change one page — the proof sheet caught it changing\ntwo. `sightdiff snap → agent works → sightdiff check`\n\nHow it works\n\n## Two commands, wrapped around *anything* your agent does.\n\nNo integration, no cloud, no CI pipeline. A running dev server and a tiny\nconfig listing the pages and states you care about — **SightDiff can even write that\nconfig for you** by crawling your app.\n\n### Snap a baseline\n\nBefore you prompt, one command captures pixel-perfect screenshots of every configured page and state — element states, auth-gated views, masked dynamic content included.\n\n### Let the agent work\n\nClaude Code, Cursor, Copilot — or a human in a hurry. SightDiff doesn't hook into the agent, which is exactly why it works with all of them.\n\n### Check before you commit\n\nEverything is re-rendered and pixel-diffed. One sheet opens: changed surfaces first\nwith highlighted regions, untouched ones verified identical. Exits non-zero when flagged —\n`usable as a pre-commit gate`\n\n.\n\nThe part that matters\n\n## The page you *didn't* check is the one that breaks.\n\nIn the demo above, the agent was asked to add a filter to one page — and\ndelivered. But its edit to a **shared CSS class** also shifted the dashboard, a page\nnobody asked about. That's the regression you'd have committed.\n\nThe actual proof sheet from the demo — before/after with changed regions highlighted, unchanged pages collapsed to a single verified line.\n\nWhy a separate tool\n\n## Agents grade their *own* homework.\n\nModern agents can open a browser and “verify” their work. Sometimes they do.\nSometimes they **skip it, misread it, or quietly edit the evidence** — and you find out\nfrom a user screenshot three days later.\n\nSightDiff renders proof **outside the agent's reach**: captured by a\nseparate local process from your actual running app, keyed to git state. This sheet is for\n**you**, not for the model.\n\n“I need tools that allow agents to clearly demonstrate their work to me, while minimizing the opportunities for them to cheat about what they've done.”— Simon Willison, after catching agents editing demo output instead of running it ·[simonwillison.net]\n\nEarly access\n\n## Two ways in. One of them *keeps me honest.*\n\n### Waitlist\n\n$0 your email, my build updates\n\n- First access when the beta ships\n- Occasional build-log updates — no spam, unsubscribe anytime\n\n### Founding user\n\n$10/mo · refundable anytime\n\n- Charged only from the first release you can actually run\n- Direct line to me — your workflow shapes v1\n- Founding price locked for life\n- Cancel or refund with one email, no questions asked\n\n[Become a founding user →](#pricing)\n\nThis is a bet on a tool that doesn't fully exist yet. I'm a working engineer building it for my own daily loop; paying is how you tell me to hurry.\n\nFAQ\n\n## Questions you *should* ask.\n\n## Does my code or UI ever leave my machine?\n\nNo. Capture, rendering, and diffing all run locally. Nothing is uploaded — which is also why it works when your CI, your VPN, or your legal team says no.\n\n## Which agents does it work with?\n\nAny of them — Claude Code, Cursor, Copilot, or a human in a hurry. SightDiff watches your app, not the agent, so there's nothing to integrate and nothing for the agent to game.\n\n## What do I need to run it?\n\nA local dev server and a small config listing the pages and states to capture —\n`sightdiff discover`\n\nwrites it for you by crawling your app. If a browser can\nrender it, SightDiff can shoot it; the beta's polish targets React with Vite or Next.js\nfirst, and your waitlist reply telling me your stack decides what comes next.\n\n## How is this different from Chromatic or Percy?\n\nThose are excellent CI-time tools: they check pull requests in the cloud, after you commit and push. SightDiff lives at the moment before — local, dirty working tree, agent just stopped, you deciding whether to trust the change.\n\n## What doesn't it do yet?\n\nToday it shoots every surface you've configured and lets the pixel diff do the\nflagging — it doesn't yet map your code diff to only the affected surfaces, and baselines\nare taken with `snap`\n\nrather than continuously in the background. Both are on\nthe roadmap, and founding users decide the order.", "url": "https://wpnews.pro/news/show-hn-sightdiff-before-after-visual-proof-of-what-your-ai-agent-changed", "canonical_source": "https://sightdiff.com/", "published_at": "2026-08-13 14:33:37+00:00", "updated_at": "2026-08-13 14:43:33.325981+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-agents"], "entities": ["SightDiff", "Stack Overflow Developer Survey 2025", "Claude Code", "Cursor", "Copilot", "Simon Willison"], "alternates": {"html": "https://wpnews.pro/news/show-hn-sightdiff-before-after-visual-proof-of-what-your-ai-agent-changed", "markdown": "https://wpnews.pro/news/show-hn-sightdiff-before-after-visual-proof-of-what-your-ai-agent-changed.md", "text": "https://wpnews.pro/news/show-hn-sightdiff-before-after-visual-proof-of-what-your-ai-agent-changed.txt", "jsonld": "https://wpnews.pro/news/show-hn-sightdiff-before-after-visual-proof-of-what-your-ai-agent-changed.jsonld"}}