SEERCode architecture governance

Architecture, scored out of 10,000.
A change that makes it worse does not merge.

SEER reads a repository's structure - what imports what, how deep the graph runs, where complexity piles up - and reports one number. On every pull request it scores the base branch and the head, subtracts, and posts the verdict as a Check Run.

Installed it already? Sign in with GitHub.

/ What it measures

acyclicity
depth
equality
modularity
redundancy

Five dimensions, combined into one score out of 10,000.

/ What it does to a pull request

  1. The base branch is scored on demand, at the commit the pull request is against. No baseline is stored, so nothing can go stale or be edited.
  2. The head is scored by the same binary, in the same run.
  3. The two are subtracted and the verdict is the difference. The default tolerance is 250 points: a fall of more than 250 fails, and a move of more than 250 either way is flagged as a rebaseline.
  4. A Check Run is posted on the pull request, carrying the score, the delta and the verdict.

/ Why regression, not a fixed bar

A fixed bar would fail every pull request on day one

A large codebase that has been shipping for years does not clear an absolute threshold, and a gate that fails everything is turned off in a week. SEER compares a change against the branch it is merging into, so the only question it asks is whether this change makes the structure worse.

Which means it can be adopted today

Whatever the score is when you install it, that is the line. Work continues; the score cannot quietly fall. Improving it is then a decision you make deliberately, rather than a prerequisite for merging anything at all.

/ Where it runs, and what leaves

The engine has no dependencies

Its dependency table is empty, so there is no third-party code in the thing that reads your source.

Zero egress is tested, not asserted

A test runs the analyzer in a network namespace with no interfaces but a down loopback. It fails if the engine ever needs one.

Only numbers persist

Analysis runs inside your boundary and only numeric results are kept: no source, no filenames, no paths leave it.

/ Six languages

TypeScript and JavaScript - two languages, one front end
Python
Rust
Go
Shell

Read end to end for import-graph analysis and unit complexity - that is what these numbers measure, not a language service of any other kind.