Catch architecture drift in pull requests. Repo-specific baseline highlights structural pattern breaks (state, control flow, abstractions) and hotspots in PR comments — built for modern LLM-speed code changes.

LLMs increased PR throughput. Architecture review didn’t scale.
Revieko flags structural pattern breaks in PRs — the kinds of changes that pass linters and tests, look “clean”, but quietly push a codebase away from its established architecture and team conventions.
What you get in PR comments:
Install: https://github.com/apps/revieko-architecture-drift-radar
Demo: https://github.com/synqratech/revieko-demo-python
Pilot: https://synqra.tech/revieko
Modern teams ship faster because code is cheaper to produce:
But architecture doesn’t usually fail on syntax. It fails when PRs introduce new structural habits that the repo never had — and the team doesn’t notice until maintainability and change-cost spike.
You can ship code that:
…and still moves the codebase toward:
That’s architecture drift: not “wrong code” — off-pattern structure.
In practical engineering terms, drift shows up as structural pattern breaks such as:
Examples:
Why it matters:
Examples:
Why it matters:
Examples:
yield, filtered generators)Why it matters:
Examples:
Why it matters:
Key point: drift is often a style-of-architecture issue — the repo’s established structural habits (what the team naturally expects) get violated by a PR.
Great for:
Weak for:
Great for:
Weak for:
Great for:
Weak for:
A concrete example engineers immediately recognize:
A senior dev introduces a “clean” design pattern (Visitor/Strategy/etc.).
Generic review says “nice”.
But the repo has zero instances of that pattern for years.
The team later pays the maintenance tax.
Revieko is built exactly for that gap: architectural consistency checking.
We model a code change not just by “what tokens changed”, but by how the change reshapes structure across three signals:
1) Token channel — the concrete symbols and identifiers used
2) Role channel — the structural role of each piece (branching, assignment, call, return, block boundary, etc.)
3) Depth channel — where it lives in the nesting/context stack
A simplified illustration:
token: if x < 0 : return False
role: BR ID OP NUM CL RET LIT
depth: 1 1 1 1 1 2 2
Architecture is expressed as stable structural habits in a repo:
When a PR introduces a new abstraction style, paradigm, or control-flow habit, these channels stop matching the repo’s historical regularities.
That mismatch is what Revieko detects — and turns into review hotspots.
Revieko learns what is “normal” for your codebase from its history:
Revieko finds:
No dashboards required to get value:
You’ll see something like:
Revieko: High risk | risk=58.7 | hotspots=6
Top hotspots:
- pattern_break: new state manager / state validation introduced
- pattern_break: generator-based flow added in a module that was imperative
- pattern_break: callback/closure introduced inside a core loop
- pattern_break: strategy-style recovery logic introduced
And then line-level pointers in context so a reviewer can ask the right question:
Revieko is:
Revieko is not:
It complements existing gates by adding the missing one:
architectural drift observability in PRs.
Install the GitHub App
https://github.com/apps/revieko-architecture-drift-radar
Choose a repository (or start with the demo repo)
Demo repository:
https://github.com/synqratech/revieko-demo-python
Open or update a Pull Request
Revieko analyzes the PR automatically after installation.
See architecture risk and hotspots in PR comments
Review structural pattern breaks directly in the PR conversation.
Quick links:
Revieko’s structural signals are grounded in PhaseBrain — a research model for measuring structural regularity in codebases.
At a practical level, PhaseBrain treats a repository as a system with stable architectural patterns expressed through three orthogonal structural channels:
Instead of analyzing lines or files in isolation, the model learns repo-specific structural baselines from historical code and detects when a pull request introduces changes that break those learned regularities — even if the code is syntactically valid, well-tested, and passes conventional review.
This allows Revieko to flag architectural drift as a measurable deviation from the repository’s own structure, not as a subjective opinion or a generic rule violation.
If you want the full mechanics, assumptions, and reproducible foundations:
This section exists for engineers who want to verify that the signals are based on a concrete measurement model, not heuristic scoring or black-box LLM judgments.
Does this only work for Python?
No. The signals are structural and exist across languages (roles, nesting, semantics-in-structure). Coverage improves as the repo baseline grows.
Will it create noise?
The baseline is repo-specific, so the goal is to flag what’s abnormal for your codebase, not what’s “bad in general”.
Does it replace code review?
No. It makes review more focused by telling you where the architecture is being reshaped — so humans spend attention where it matters.