Rigour

io.github.rigour-labsPublished by GitHub account rigour-labsv7.0.14Updated Oct 27, 2026

Lets coding agents review their change, find an existing helper, and recall the team's lessons.

VerifiedSTDIODesktop onlyKnowledge & MemoryDeveloper Tools

Overview

AI-generated overview

Rigour gives coding agents your team's rules, lessons and review standards, and checks their changes before they say done or push.

What you can do
  • Brief an agent before it edits a file, with cited rules, lessons and settled points
  • Check edits and the branch for secrets, missing imports, unused code, risky patterns and merge conflicts
  • Gate a push with your own formatter, linter, type check and related tests
  • Review a change with your team's context and severity, optionally with a panel of judges
  • Show what happened to a task across agents, checks, pushes and reviews
  • Learn lessons from reviews and post-merge outcomes, and share them with a team database
When to use it
For teams whose coding agents write faster than people can brief or review, and who want repository rules and past review feedback applied consistently across Claude Code, Cursor, Codex, Cline or Windsurf. Also useful for reviewing a branch before opening a pull request.
Requirements
Runs locally as a CLI and MCP server installed via npm or Homebrew, then set up per repository with rigour setup. Works with an agent's own model and login; a model API key is only needed for reviewing code written without an agent or for the pull request bot. Optional semantic search download and an optional PostgreSQL database for team-shared lessons.
Before you install
Setup installs agent hooks and edits agent configs, and team setup commits configuration to the repository. The reviewer and judge panel spend model usage and cost, recorded per run. Code leaves the machine only for a model you choose, and team sync sends lessons from team repositories. A model key is used for model review and the PR bot.

Installation

In SourceWeft

  1. Open Rigour in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Rigour

[npm version] [npm downloads] [License: MIT] [MCP Registry]

A reviewer that knows how your team works, whichever agent writes the code.

Whichever agent your engineers use, its work arrives already shaped by how your team builds software, and it gets closer to your standards every week.

Teams used to carry their judgment through people: the senior who briefed you before you started, the reviewer who caught what you missed, the engineer who remembered why the last attempt failed. Coding agents write faster than any person can brief, review or remember. The knowledge is still in your team; Rigour is how it reaches every agent, at the speed agents work.

Works with Claude Code, Cursor, Codex, Cline and Windsurf. Free, open source, and runs on your machine.

How it does it

  1. Brief before writing. Before an agent edits a file, it is told what your team asks of that file: the rules your repository wrote for it, the lessons your team learned on it, the points your team settled against. At most three items per file, each cited. Installed by rigour setup (--no-brief to leave it out), or rigour_brief for any agent with MCP. See The briefing.
  2. Verify while writing and before push. Your team's checks and rules gate any agent's work: on every edit, before the agent says "done", and before git push, where your formatter, linter, type check and the tests that touch the change run too. Opt-in, the change is also checked against the goal its pull request declares: files outside its scope, "done when" items it never did. See The goal check.
  3. Review with your team's context, at your team's severity. A reviewer that reads every point from your last human review, checks each rule your repository wrote that the change touches, and takes your reviewer's own "Blocking / Should fix / Nits" over its own reading. What your team blocks and what it lets go is your repository's setting, not one global opinion. See The reviewer.
  4. Learn from outcomes. A review point becomes a lesson only on evidence: a person corrected an agent's work, someone on the team decided, or it recurred across authors. What happened after the merge (a later fix on its lines, a revert) is shown to a person to decide, never a promotion on its own, and a lesson the team keeps merging against cleanly is taken back. What it learns flows into the next briefing and the next review.

One piece of work is one task, whatever agents and people touch it, and rigour thread shows everything that happened to it: what was caught while the code was written and fixed before the push, what blocked, what each review found. See The task thread.

What it is, and what it is not

  • It learns only from evidence: your rules files, review points that were acted on, people's corrections, and what happened after merge. A guess never becomes a rule.
  • It shapes and checks the agent; it never changes the model. No training, no fine-tuning. Any agent, any model.
  • Concrete taste it captures well ("bound the window at both ends", "rerun the code generator after changing the schema"). Design taste stays with your people: anything Rigour cannot show in code is a should-fix at most, never a block.
  • One machine, many companies, nothing crosses. Profiles keep each employer's or client's memory, lessons and team apart, chosen by the repository you're in. See Profiles.
  • It starts from what you have written down. On day one, the briefing and the reviewer carry your repository's own rules (AGENTS.md, CLAUDE.md, Cursor rules, Copilot instructions). Lessons join as your reviews give them evidence, so a team with little review history starts with little to brief, and the briefing is off until you turn it on.

What runs by default, and what it costs

DefaultCost
Checks on every edit, before "done", before pushOn after rigour setupLocal; the after-edit check starts the CLI once per edit
Your team's tools before pushOnYour own formatter, linter, type check and tests
The reviewerOff until enabled in Studio or rigour.ymlYour agent's own model and login, one long read per review; the record of each review shows its cost
A panel of judgesOff; mode: full or panel: onOne judge's cost per judge, plus a short cross-examination of what they disagree on
A judge through any OpenAI-compatible APIOff; reviewers: [api]The provider's price for your key
The briefingOn with rigour setup (--no-brief, brief.enabled: false or RIGOUR_BRIEF=0 turns it off)No model; with the credential scan on, +22 ms per edit and +121 ms on a file's first edit (measured on Rigour's own repository)
The task threadOn wherever the hooks runA line per event in your git folder

How it works

WhenWhat Rigour doesIf something's wrong
Every editFast checks on the file: secrets, imports that don't exist, proven bugsThe agent sees it at once
Before "done"The whole branch against main: findings to fix, code nothing uses, risky patterns, a merge conflictThe agent keeps working (at most three times)
Before git pushThe same, plus your formatter, linter, type check and related tests, and the reviewer that remembersThe push is blocked, one line per problem
On the pull requestA quiet safety net: at most two comments, only on what wasn't already checked—

With the briefing on, a line comes before all of these: before each file's first edit, what your team asks of that file.

Get started

See what it finds first, changing nothing (on a branch with work on it):

bash
npx @rigour-labs/cli review --base origin/main

Worth it? Set it up:

bash
brew install rigour-labs/tap/rigour    # or: npm install -g @rigour-labs/clirigour setup                           # in your repository

rigour setup connects Rigour to your agents, installs the three moments, and checks that everything works. By default it is personal: nothing in your working tree. The agent hooks are installed once per machine and stay silent in any repository you have not switched on, and switching this one on writes only inside .git/. When your team wants it for everyone who clones, rigour setup --team commits it to the repository instead. Either way it merges into the agent configs you already have rather than replacing them. Changed your mind? rigour uninstall takes out exactly what it put in. Get started walks through it.

Rigour is about 70 MB per version. Semantic search (about 250 MB on Linux, 280 MB on macOS) is installed once per machine by rigour setup and shared by every version; skip it with --no-semantic.

Using Claude Code? The plugin does all of it:

text
/plugin marketplace add rigour-labs/rigour-plugin/plugin install rigour@rigour-labs

Want the reviewer too? It is off until someone turns it on, and you choose how far to take it: for yourself in Studio's Setup page, or for the whole team in rigour.yml:

yaml
review:  reviewer:    enabled: true    mode: full          # one judge per vendor, up to `judges`; single (the default) is one judge    panel: on           # only what most judges confirm blocks; required: no one may turn it off    judges: 3           # 2 or 3, one per vendor installed    escalate: risk      # add judges only for risky changes; measure it with rigour backtest first

The push goes through as soon as the checks pass; the reviewer then reads the pushed commit in the background (only when it has an open, non-draft pull request, so you pay for a model only when someone will read the push). rigour review --status shows its verdict and what ran; rigour review --reviewer --full is the hard stop before you ask a person to review. Your own choice wins for your runs, except where the team set a floor, and Rigour always says which judges actually ran and why.

Then open Studio to watch it work:

bash
rigour studio

The commands you will use

CommandWhat it does
rigour setupGets your repository ready and checks it works
rigour briefWhat your team would tell an agent before this task: rules, lessons and settled points, each cited
rigour threadWhat happened to a task, across agents, checks, pushes and reviews
rigour reviewReviews your current change, or a branch before you open a PR (--reviewer adds the reviewer that remembers; --scope lists what a fix round changed that the review never asked for)
rigour studioShows what Rigour stopped, learned and gave your agents
rigour doctorTells you what's working, what isn't, and how to fix it
rigour uninstallTakes out exactly what Rigour put in; your own settings and edited files stay

Everything else is in rigour help --all.

Built to be trusted

  • It blocks only on what it can show. A deterministic check blocks only after it has been run over real merged pull requests. The model reviewer's findings block only when they name a wrong outcome or a cost, and with a panel, only when most judges agree. Guesses about style or size never block you and never show up on a PR.
  • Say "not a bug" once. That finding never comes back, and checks your team keeps overruling go quiet on their own.
  • When it can't check, it says so. No reviewer answer, nothing to review, a tool that isn't installed: each is reported plainly, never as a clean pass.
  • Your code stays on your machine. The checks run locally. Code leaves only for a model you choose: your agents' own CLIs for the reviewer, or a provider when you run a model review with your key. Team sync sends only lessons from your team's own repositories. Every network call Rigour can make, and how to turn each off, is in Security.
  • You see what it costs. When a model is used, Rigour records the real cost of each run.
  • You see what each judge knew. A judge reads your repository and what Rigour gives it. The Claude judge loads no one's personal instructions; where a judge cannot be kept from a person's own config (Codex, Cursor), the record of the review says what else it read.
  • Measured in the open. Claims about what Rigour catches are tested on real pull requests in the public driftbench arena.
  • Measured against your own reviewers. rigour backtest replays the review on commits your team reviewed, with the review hidden, and scores it: which of the reviewer's points it would have caught first, and whether it would have blocked anything they called good. See Backtest.
  • One rule for what blocks. The review, the stop hook and the push gate decide from the same rule, so they never disagree about a finding.

What it costs

Rigour is free. With an agent you need nothing else: the checks run locally, and the reviewer and the review of risky changes use your agent's own model and login. A model key is only for reviewing code written without an agent, and for the pull request bot.

For teams

Pull requests. Add one workflow file and Rigour reviews every PR, quietly. Make it a required check, and a PR can't dismiss its own findings or loosen its own settings. See Pull requests and CI.

One setup for everyone. rigour setup --team commits the configuration, and each teammate runs rigour setup once after cloning. See Team setup.

Shared knowledge. Point Rigour at a PostgreSQL database and lessons one person's agent learns can be shared with the whole team, after someone approves them. Only lessons from the team's own repositories are ever sent. See Team database.

Joining a team that already shares lessons? Ask your team's Rigour administrator for your own login first: by design, nobody can add themselves. Then it is one command per machine and three per clone. See Join an existing team.

How the benefit reaches each person. One review comment, followed from the pull request where a senior wrote it to every teammate's agent on the next change: A team's knowledge, from one review to every agent.

Working for more than one company? Profiles keep each one's memory, lessons and team apart, chosen by the repository you're in. See Profiles.

Learn more

If you want to…Read
Install and run Rigour step by stepGet started
See what changed in this release, and how to upgradeRelease notes
Know what to do with a finding while you workDuring development
Set it up for a whole teamTeam setup
Review every pull request in CIPull requests and CI
See which agents it supports, and its MCP toolsCoding agents and MCP
Run the reviewer, from one judge to a panelThe reviewer
Use your own model key, or a local modelModel review
Tune what Rigour checksConfiguration · every setting
See every check, and how accuracy is kept honestWhat Rigour checks
Approve it for your organizationSecurity and network use · Telemetry: opt-in, anonymous, never code
Work across several companies on one machineProfiles
EverythingDocumentation index

Build from source

bash
pnpm installpnpm buildpnpm test

See Contributing.


Documentation · Discussions · Issues

MIT © Rigour Labs · Built by Ashutosh

Source: README.md at commit a16e240

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

36
  1. v7.0.14LatestOct 19, 2026
  2. v7.0.13Oct 16, 2026
  3. v7.0.12Oct 16, 2026
  4. v7.0.8Oct 15, 2026
  5. v7.0.6Oct 14, 2026
  6. v7.0.5Oct 14, 2026
  7. v7.0.4Oct 13, 2026
  8. v7.0.3Oct 13, 2026
  9. v7.0.2Oct 11, 2026
  10. v6.13.0Oct 10, 2026
  11. v6.12.3Oct 10, 2026
  12. v6.12.0Oct 10, 2026
  13. v6.11.2Oct 9, 2026
  14. v6.11.1Oct 9, 2026
  15. v6.10.0Oct 9, 2026
  16. v6.9.0Oct 9, 2026
  17. v6.8.1Oct 8, 2026
  18. v6.8.0Oct 8, 2026
  19. v6.7.7Oct 8, 2026
  20. v6.7.2Oct 7, 2026
  21. v6.6.6Oct 6, 2026
  22. v6.6.5Oct 5, 2026
  23. v6.6.4Oct 5, 2026
  24. v6.6.2Oct 5, 2026
  25. v6.6.0Oct 3, 2026
  26. v6.5.4Oct 2, 2026
  27. v6.5.3Oct 2, 2026
  28. v6.5.1Oct 1, 2026
  29. v6.4.4Oct 1, 2026
  30. v6.4.2Sep 30, 2026
  31. v6.4.0Sep 30, 2026
  32. v6.3.0Sep 29, 2026
  33. v6.2.5Sep 29, 2026
  34. v6.2.4Sep 25, 2026
  35. v6.2.3Sep 25, 2026
  36. v6.2.2Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts