contextbridge

Your context files are lying to your agents

Your AI agents build on top of that lie every day.

ContextBridge is a CI check that catches semantic drift: dead paths, stale commands, dead conventions and cross-file contradictions. It runs before your agent writes code on them.

What a scan finds

Real classes of drift that no diff-based sync tool catches. The files can be perfectly in sync with each other and still all be wrong about your repo.

$ ctxbridge check · my-saas-app
✗ CLAUDE.md:12  references scripts/build.sh (deleted 24 days ago, commit a3f81c)
✗ AGENTS.md:31  says "run tests with npm test" (package.json has no "test" script; repo uses bun)
  convention "all API handlers in src/api/" (7 of 12 handlers now live in src/routes/)
✗ conflict     .cursorrules forbids default exports (CLAUDE.md:58 requires them for pages/)
  architecture section describes Redis cache (removed from docker-compose 2 sprints ago)

5 findings · 3 auto-fixable → run ctxbridge fix to open a PR

How it works

Connect a repo (or run the CLI locally). ContextBridge parses CLAUDE.md, AGENTS.md, .cursorrules, and your actual codebase.
Every push (or weekly), the scan cross-checks every claim in your context files against repo reality: paths, commands, conventions, architecture statements, cross-file conflicts.
You get a report with exact lines, plus an auto-fix PR for everything that can be corrected mechanically.

Semantic drift detection

Not a diff. The scan understands what your context files claim and verifies it against the code.

Cross-file conflict check

Claude Code, Codex and Cursor each read a different file. ContextBridge makes sure they aren't given contradicting rules.

One canonical context, included

Write context once, compile to CLAUDE.md / AGENTS.md / .cursorrules. Sync is table stakes; verification is the point.

Auto-fix PRs

Dead path? Renamed script? The fix PR is already open. You just review.

Plans & pricing

Built for developers running 2–4 AI coding tools on the same project.

Free
$0
forever
  • CLI, manual runs
  • Single context file
  • Structural checks only
  • No CI integration
  • No auto-fix PRs
Team
$29
per month
  • Everything in Solo
  • Unlimited repos
  • Shared canonical context
  • Slack / email drift digest
  • Priority support