Show HN: Continue – Source-controlled AI checks, enforceable in CI
Source: Hacker News
Introduction
We now write most of our code with agents. For a while, PRs piled up, causing review fatigue, and we had this sinking feeling that standards were slipping. Consistency is tough at this volume. I’m sharing the solution we found, which has become our main product.
Continue (https://docs.continue.dev) runs AI checks on every PR. Each check is a source‑controlled markdown file in .continue/checks/ that appears as a GitHub status check. The checks run as full agents—they can read/write files, execute bash commands, and even use a browser. If a check finds an issue, it fails with a one‑click diff to accept; otherwise it passes silently.
Example Check
Below is one of our checks, metrics-integrity.md:
---
name: Metrics Integrity
description: Detects changes that could inflate, deflate, or corrupt metrics (session counts, event accuracy, etc.)
---
Review this PR for changes that could unintentionally distort metrics.
These bugs are insidious because they corrupt dashboards without triggering errors or test failures.
**Check for:**
- "Find or create" patterns where the "find" is too narrow, causing entity duplication (e.g. querying only active sessions, missing completed ones, so every new commit creates a duplicate)
- Event tracking calls inside loops or retry paths that fire multiple times per logical action
- Refactors that accidentally remove or move tracking calls to a path that executes with different frequency
**Key files:** anything containing `posthog.capture` or `trackEvent`
Getting Started
To create similar checks for your codebase, paste the following prompt into Claude Code or your preferred coding agent:
Help me write checks for this codebase: https://continue.dev/walkthrough
- Explore the codebase and use the
ghCLI to read past review comments- Write checks to
.continue/checks/- Optionally, show how to run them locally or in CI
Feedback
We’d love to hear your thoughts!
Comments on Hacker News (15 points, 5 comments)