Skip to content

Releases

v0.1.0 — RIE Check

Choose a tag to compare

@Arjade25 Arjade25 released this 20 Oct 06:35
4630cee

First release of RIE Check: fail a pull request that makes TypeScript runtime import cycles worse than its base branch, with the import line behind every loop.

It uses the TypeScript compiler's own resolution and erasure rules, so type-only imports and dynamic import() don't count, and cycles already on the base branch never fail a PR. The check uses no model and gives the same answer every time.

Install

npx rie-check --pr=tsconfig.json --base-ref=origin/main

GitHub Action:

- uses: Arjade25/repo-intelligence-engine@v0
  with:
    tsconfig: tsconfig.json

The Action posts a PR comment on a fail or warn finding and updates it on later pushes, so a fixed PR shows it's fixed.

How it was tested

Replayed on 59 commits of element-web's history, each labelled by compiling the commit and its parent:

Regressions caught (of 21) False alarms Cycle change matches compiled code
RIE Check 21 0 59 of 59
madge 20 0 35 of 59
dpdm (-T) 20 2 30 of 58
eslint no-cycle 21 8 –

On directus (40 commits): 23 of 23 regressions, 40 of 40 exact. It has also run on 9 tsconfigs from 8 other repos. Method and per-commit results: docs/evaluation.md.

Also in this release

  • explain: true (experimental): an agent explains each finding in the PR comment, and every import it cites is verified against the graph first. Needs an Anthropic API key.
  • rie index and rie mcp: the indexing engine and the MCP server for coding agents.

Limits

TypeScript only. It uses its own TypeScript (5.9), needs your dependencies installed, and indexes both snapshots on every PR (about a minute on a 1,400-file app).

MIT licensed.