Your specs and architecture docs, enforced on every pull request.

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.

Striff on Pull request #418 acme/checkout-service · feat/csv-export → main 1 rule broken

One of the 8 rules Striff checked in this repository’s own docs no longer holds. Nothing was configured.

1broken 7held
Never import from 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.
Only the 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 →

Works with Java Kotlin Python C# TypeScript

The problem

Nobody re-reads the docs on every pull request.

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 more11 min read 63% of repositories hand their agents docs to build from. 8% of those check the code still matches.

The check

What Striff posts on a pull request.

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.

Striff acme/checkout-service · #418 · feat/csv-export 1 rule broken

Documented rules

This pull request breaks 1 of the 8 documented rules about the code it changes.

#StatusRule
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.”
com.acmecheckoutexportcore.orderslegacy.pricingCheckoutService [+3 -1]payments : PaymentGatewayorders : OrderRepositoryexporter : CsvExporterCheckoutService(OrderRepository, PaymentGateway)checkout(String) : ReceiptexportOrders(String) : StringCheckoutService(...)CsvExporter [+2]prices : PriceCalculatorexport(List<Order>) : StringOrderid : StringtotalCents : longid() : StringOrder(String, long)totalCents() : longPriceCalculatorPre-2024 pricing. New code uses core.pricing.withTax(long, double) : doubledisplay(long) : StringStriff's diagram of pull request 418: the new CsvExporter in checkout.export holds a PriceCalculator from legacy.pricing, which AGENTS.md line 18 puts off limits, so rule 1 is broken. off limits · AGENTS.md:18 1 breaks rule 1
added removed breaks a rule

Every verdict is computed, not generated.

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

  1. 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.

  2. 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

  3. 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.

  4. 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.

How we keep the model honest5 min read Every Striff finding comes with a receipt

For engineering leaders

The architecture your team agreed on keeps holding, however fast you ship.

  • The docs your team wrote become the guardrails. ADRs, design docs and AGENTS.md are checked on every pull request, by people and agents alike. No rules to write, no new process to teach.
  • See drift before it turns into a rewrite. Which repositories broke a documented rule this month, which pull requests did it, and which docs have gone stale. The places your clean-up time should go.
  • Nothing to roll out. One install covers the organisation. No per-developer setup, and the check is advisory until you choose to make it required.
Metrics · example workspace
Last 6 monthsFebruary 2026 to July 2026

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.

23

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.

92%

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.

44

PRs that broke no ruleShare of analyzed pull requests that broke none of your documented rules, over the last 6 months.

95%

Pull requests

PRs analyzedTotal pull requests Striff checked across every active repo in this installation.

425

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.

93%

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

Open the metrics view in the dashboard demo
  • Quiet by design The check stays green unless a documented rule breaks. Across our open-source users, fewer than 4% of pull requests have broken one.
  • Your code stays yours Parsed in memory, never stored. Self-hosted deployment on Enterprise.
  • Flat, predictable pricing $29, $59 or $149 a month by private repos used. Free for open source.
  • Value on the first pull request It reads the docs you already have. Nothing to configure.
…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
on Telegram, October 2026
objectionary/eo 1.5k stars
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

Get started

Start with public repos. Scale to your team.

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

$0 forever

Public repositories

Your documented rules checked on every public pull request, with a diagram of each change. Free for open source, forever.

Starter

$29 /mo · up to 5 private repos

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.

Team $59/mo · Scale $149/mo →

Enterprise

Talk to us

Self-hosted & 50+ repos

Private deployment, SSO, and audit workflows for organizations that need full control.

FAQ

Common questions

How does Striff know what my architecture is supposed to look like?

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.

Does Striff work with spec-driven development?

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.

What languages does Striff support?

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.

Is it just an LLM wrapper?

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.

Will it slow down or block my pull requests?

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.

What do I need to set up?

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.

Is this the same as writing architecture tests?

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.

Does Striff tell me what it couldn’t check?

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.

What happens when a rule breaks?

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.

Is my source code sent to a third party or stored?

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.

Code is cheap now. Changing it isn't.

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.