The problem
AI made code cheap.
Review got expensive.
Output scaled; verification didn’t. Review is now the rate limiter — your best engineers re-correcting the same classes of mistake, PR after PR, while the corrections themselves evaporate.
Review became the bottleneck
On teams with heavy AI adoption, time in PR review is up 91–441% (Faros telemetry, 22,000 devs). An AI review bot catches the mistake again tomorrow — the fix is upstream, before the code is written.
The same comment on the fourth PR
Missing org_id scope. Hand-rolled retries. Swallowed errors. Different author, same fix — because the correction never made it back into the agents.
“Almost right, but not quite”
Engineers’ #1 frustration with AI code — 66% in Stack Overflow’s 2025 survey. Near-miss code is the hardest kind to review: everything looks thorough, so the bugs hide.
If it’s not in context, it doesn’t exist
An agent knows exactly what’s in its window: CLAUDE.md, AGENTS.md, and the prompt. The hand-written docs it does load drifted the day they merged — so every correction stays a comment instead of becoming a rule.
receipts: Faros telemetry ’26 · Stack Overflow ’25 · Baltes et al., arXiv 2603.27249 · DORA ’25
The layer
Every correction compounds.
Corrections flow in once. Consistency flows out — to every session, every agent, every PR. No step depends on anyone remembering anything.
Corrections happen here
Rules execute here
↺every new session and PR feeds the next pattern
Skills land in .claude/ — versioned, reviewed, owned by you. No hidden config in our cloud.
Each pattern cites the exact PRs and comments behind it. No vibes, no industry benchmarks.
Nothing becomes a rule until your team adopts it. Quiet signals keep accumulating evidence.
Patterns describe the codebase, never individual engineers. There is no per-developer view.
How it works
Teach once. Enforced everywhere.
Connect
A CLI watcher reads Claude Code and Codex sessions; a GitHub App reads PRs, commits, and review comments. Nothing about your workflow changes.
$ precedent setup
✓ watcher · claude code + codex sessions
✓ github app · PRs, commits, review threads
Mine
Repeated fixes cluster into patterns with receipts — the exact PRs and comments behind each one. Your team approves what becomes a rule.
pattern surfaced · payments-api
§ hand-rolled retry loops
6 incidents · 5 PRs → drafted for approval
Enforce
Approved rules land as SKILL.md, AGENTS.md, and PreToolUse hooks, loaded every session; reviewers get a Brief on each PR. The fourth repeat never ships.
$ codex "refactor the payment client"
· AGENTS.md loaded — 12 team rules
✓ written under standing rules
Product
Loaded in every session. Grounded in every PR.
The result: sessions that already know
Skills load at session start. The agent applies your rules while writing the code — not your reviewer, after.
$ claude "add the Stripe webhook handler"
· loading .claude/skills — 12 skills
§cause-unvalidated-webhook → verify signature before parsing the body
§cause-hand-rolled-backoff → retryWithBackoff for outbound calls
✚ src/webhooks/stripe.ts — written under 2 standing rules
What recurs, with receipts
Patterns ranked by incidents × spread. Click through to every comment and commit behind a claim.
The Brief, on every PR
Intent, decisions, and cautions from the sessions behind the change — so reviewers stop re-inferring them.
- Intent
- Verify webhook signatures before body parsing, so failures reject fast.
- Decisions
- Shared
verifySignatureutil; raw-body scoped to/webhooks/*. - Rejected
- Per-route inline verification — duplicated the secret lookup.
- Caution
- This path was fixed after merge 3× in 60 days. Watch replay protection.
Pricing
Per repo. Not per seat.
Agents broke the seat math. You pay for repos where Precedent is holding the line — developers, agents, and PRs unlimited.
Design partner
- Patterns from your existing history in week one
- Direct line to the founding team
- You keep every adopted rule, regardless
Per active repo
- Unlimited developers, agents, and PRs
- Org-wide patterns and adoption queue
- The Brief on every analyzed PR
Quiet repos don’t bill. Archive a repo, stop paying for it.