Free
Public repositories
Your documented rules checked on every public pull request, with a diagram of each change. Free for open source, forever.
Your docs already state the rules. Striff checks every pull request against them, and when a change contradicts one, it quotes the sentence, before the merge.
legacy/ in new code; use the equivalents in core/. AGENTS.md:18 Nothing in checkout depends on legacy Agent instructions CsvExporter, new in this pull request, imports legacy.pricing.PriceCalculator Broken The rule held before this pull request and is broken after it. core never depends on feature modules such as checkout. ARCHITECTURE.md:22 Nothing in core depends on checkout Layering Holds The rule held before this pull request and still holds after it. billing module talks to the Stripe SDK. docs/adr/0007-payments.md:13 Nothing in checkout depends on com.stripe Payments ADR Holds The rule held before this pull request and still holds after it. is the rule compiled to a formula, your code parsed at each revision; the verdict is whether one satisfies the other. Three of the 8 rules this repository’s docs state. The dashboard lists all of them →
Recent findings in
All reports →The problem
Spec-driven development made your docs the instructions: coding agents read your specs and architecture docs as context, then write code that quietly contradicts them, and no reviewer re-reads those documents on every change to catch it. That gap is spec drift. Left unchecked, each merge drifts a little further from what your team agreed, until every change costs more than it should and nobody wants to touch the core. Striff catches the contradiction on the pull request, while it is still a one-line fix.
In our survey of 335 open-source repositories that write their architecture down, 63% already hand their coding agents docs to build from, and only 8% of those run anything that checks the code still matches.
Why coding agents make architecture review matter more·11 min read 63% of repositories hand their agents docs to build from. 8% of those check the code still matches.The check
One check, beside your CI: every rule your docs state about the code the change touched, whether it still holds, and the sentence it came from.
Example · acme/checkout-service #418. Point at a rule to see it on the diagram.
This pull request breaks 1 of the 8 documented rules about the code it changes.
| # | Status | Rule |
|---|---|---|
| 1 | Broken | Nothing in checkout depends on legacy · AGENTS.md#L18 “Never import from legacy/ in new code; use the equivalents in core/.” What breaks it: checkout.export.CsvExporter → legacy.pricing.PriceCalculator (added in this pull request) |
| 2 | Holds | CheckoutService depends on core.orders · ARCHITECTURE.md#L36 “CheckoutService reads and writes orders through core.orders only.” |
| 3 | Holds | Every exporter lives in checkout.export · docs/adr/0012-exports.md#L9 “Exporters live in checkout.export, one class per format.” |
| 4 | Holds | Nothing in core depends on checkout · ARCHITECTURE.md#L22 “core never depends on feature modules such as checkout.” |
| 5 | Holds | CheckoutService has a checkout method · specs/checkout.md#L14 “CheckoutService.checkout(cartId) places the order and charges the customer in one call.” |
| 6 | Holds | Nothing in checkout depends on com.stripe · docs/adr/0007-payments.md#L13 “Only the billing module talks to the Stripe SDK.” |
| 7 | Holds | Order has id and totalCents · specs/orders.md#L7 “An Order carries its id and its total in cents as totalCents, never as a float.” |
| 8 | Holds | Only CheckoutService depends on checkout.export · CLAUDE.md#L52 “CheckoutService is the only way into checkout.export; nothing else calls an exporter.” |
Striff is neurosymbolic: a language model reads your docs and proposes rules, and a program decides what is true. A parser turns your code before and after the pull request into a formal model of its types, members and references, resolved the way a compiler does, and each rule becomes a formula in first-order logic. Every verdict is formal model checking: does the model satisfy the formula? A language model proposes the rules; it never decides whether one holds. The grounding, the verdict and the sentence you read are all computed, and nothing is needed beyond the documents your repository already has.
01 How a documented rule becomes a verdict
01 Parse Deterministic
Both revisions of the code become one structural model — types, members, references, packages — resolved the way a compiler resolves them, never matched as text. Everything after this point is about the model, not about the source.
02 Read Language model
Your documents go to a language model, which proposes candidate rules from prose. It is the step most likely to be wrong, which is what the next step is for.
“Never import from legacy/ in new code” · AGENTS.md:18
03 Ground and compile Deterministic
Every name a proposed rule uses must resolve in the model. One that names a class your code does not contain is dropped rather than guessed at. What survives is compiled into a formula of first-order logic over the model — the point past which no prose is left to interpret.
04 Evaluate Deterministic
The formula is model-checked at both revisions. Which of the two satisfy it is the whole verdict: satisfied before and not after is a rule this change broke; unsatisfied at both was already broken and is not blamed on the change. The sentence you read on the check is composed from the formula, so it cannot drift from what was actually checked.
For engineering leaders
Documented rules
Documented rules brokenRules from your own documentation that a pull request broke: true before the change, false after it. The check quotes the sentence and the line it came from. Rules already broken before a PR are counted separately and never charged to it.
Documented rules heldShare of documented-rule checks where the pull request kept the rule: nothing in it broke the rule. Checked is held plus broken plus already broken; rules Striff couldn't check are left out rather than counted as a pass.
819 checked
Documented rules already brokenRules your documentation states that were already broken in the code Striff checked, not by the pull request that checked them. Reported so they are never mistaken for a pass, and never charged to that pull request.
PRs that broke no ruleShare of analyzed pull requests that broke none of your documented rules, over the last 6 months.
Pull requests
PRs analyzedTotal pull requests Striff checked across every active repo in this installation.
CoverageShare of GitHub PR-check webhook events (opened, updated, reopened) that completed analysis, over the last 6 months. Below 100% may mean PRs were skipped: check billing status or the repository connection.
Most-flagged repos over timeEvery repo that has been among a month's most-flagged at any point in the last 6 months, tracked month by month. A flag is a documented rule one of the repo's pull requests broke. A repo can show a lower or zero count in months it wasn't in that month's own top list.
PRs that broke a ruleThis month's recent pull requests that broke at least one documented rule, the most rules broken first. Click through to see each rule and the sentence it came from.
Jul 2026
Introduce direct DB call from the notifications module
Merge auth and billing request pipelines
Read ledger tables directly from the invoice webhook consumer
…Striff, the tool that finds inconsistencies between documentation and the source code. We installed it already to the EO and it works good. It’s free for open repositories. I recommend.
Yegor Bugayenko · Founder of Zerocracy, author of Elegant Objects It is difficult to keep architecture documentation in sync when the codebase and architecture are changing so quickly, especially with AI-driven development. … I installed Striff on the AgentBridge repo and it has already flagged a few things!
Henrik Westergård · Maintainer of AgentBridge catatafishen/agentbridge 89 stars Also in the dashboard: every rule by document · every pull request checked
Get started
Nothing to learn and no workflow to change: Striff shows up as one more check on the PRs your team already opens. Start free on public repos, add private repos when you're ready.
Free
Public repositories
Your documented rules checked on every public pull request, with a diagram of each change. Free for open source, forever.
Starter
One team's private repos
Your documented rules checked on every private pull request, with a diagram of each change, for one team’s repositories.
Enterprise
Self-hosted & 50+ repos
Private deployment, SSO, and audit workflows for organizations that need full control.
FAQ
You already wrote it down. Striff reads the documents in your repository that make claims about the code, turns those sentences into rules, and checks them against the code your pull request produces, quoting the sentence and linking the file it came from. Nothing is configured and no rule format is invented: your documentation is the rulebook. A rule can be as plain as where a class lives or as sharp as “the domain module must not depend on infrastructure”. Alongside the rules, every pull request gets a diagram of what changed and review notes on the components it touched. If your docs make no checkable claim about the code, Striff invents no rules of its own: you still get the diagram and the review notes.
Yes: it is the check that comes after the spec. Spec-driven workflows help you write a spec and build from it, and nothing in them checks, on the pull requests that follow, that the code still does what the spec says it does. Striff reads the specs, plans and design docs committed to your repository alongside your AGENTS.md, CLAUDE.md and ADRs, turns each sentence that makes a claim about the structure of the code into a rule, and checks every pull request against it. A sentence that describes work still to come is not held against code nobody has written yet. When a change contradicts the spec, the check quotes the line: that is spec drift, caught while it is still a one-line fix.
Striff reads Java, Kotlin, TypeScript, Python and C#. Striff parses source into a full structural model with its own parser, not regex or text matching, so references, inheritance and dependencies resolve the way a compiler sees them. Go is coming.
No, and the architecture is the answer. A language model reads your docs and proposes rules; a program decides whether each one holds. The parser builds a model of the code at both revisions, each documented rule becomes a query over that model, and a rule is held when nothing in the pull request breaks it. When a rule looks broken, an agent re-reads the sentence and the code twice, independently, before you see it, and the break is shown only if both readings confirm it on the same evidence. That step can hold an accusation back; it cannot invent one, and it cannot turn “could not answer” into a pass. A rule Striff cannot answer from the code is reported as one it couldn’t check, never counted as green.
No. Striff runs as a GitHub Check next to your CI and posts its results when the analysis finishes, typically within a few minutes. It never blocks a merge unless you choose to make the check required.
Just install the GitHub App. It works on public and private repos alike and posts checks automatically on every PR, with no per-developer setup. Plans start at $29/month, based on how many private repos Striff works on each month (it checks one of their pull requests or reads their documents after a push), not how many you connect. A quiet month costs $29, the Starter price. Public repositories are free.
It is architecture tests you don’t have to write. Each sentence in your docs that makes a checkable claim about the code (a dependency direction, where a class lives, what a module must not import, which methods a type has) becomes a check that runs on every pull request. The docs stay the source of truth: when someone edits a sentence, the rule changes with it on the next pull request, and nothing has to be kept in sync by hand.
Yes. Every rule has one of five states: Held, Newly broken by this pull request, Already broken before it, Restored by it, or Couldn’t check. A rule the code can’t settle, or a break the verifier would not confirm, is counted under Couldn’t check and never passed off as held. The dashboard lists each document Striff read and the rules it took from it, so you can see what is covered and what isn’t.
The check on the pull request lists it first, quotes the sentence, links the line in the doc and names the code that breaks it. In the dashboard, every finding can be opened as a GitHub issue that is already written, or copied as a prompt for your coding agent to fix the code or update the doc. A rule that breaks on the default branch is emailed to the people watching the repository.
Your code is parsed on Striff's servers in memory, and the source itself is not stored. Rules are proposed from your documents and verdicts are computed from the structural model of your code. When a rule looks broken, the verifier reads the files involved to confirm it, and the notes it made on that decision are kept for a limited time. For teams that need full control, self-hosted deployment is available on the Enterprise plan.
Every unchecked merge makes the next change a little more expensive. The cost compounds quietly, and nobody can point at the day it started. Striff starts checking on your next pull request.