
Rigour
io.github.rigour-labs由 GitHub 帳號 rigour-labs 發布v7.0.14更新於 Oct 27, 2026
Lets coding agents review their change, find an existing helper, and recall the team's lessons.
概覽
Rigour 讓編碼代理遵循團隊的規則、經驗與審查標準,並在其宣稱完成或推送前檢查變更。
- 可以做什麼
- 在代理編輯檔案前提供該檔案的規則、經驗與已定結論,並附出處
- 檢查單次編輯與整個分支:密鑰、不存在的匯入、無用程式碼、風險模式與合併衝突
- 在推送前執行團隊自己的格式化、lint、型別檢查與相關測試
- 依團隊的脈絡與嚴重程度審查變更,可選多審查員小組
- 查看一個任務在代理、檢查、推送與審查中的完整過程
- 從審查與合併後結果累積經驗,並可同步到團隊資料庫
- 適用情境
- 適合編碼代理產出速度超過人工簡報與審查速度的團隊,希望在 Claude Code、Cursor、Codex、Cline 或 Windsurf 中一致套用儲存庫規則與歷史審查意見。也適合在開 PR 前審查分支。
- 執行需求
- 以本機 CLI 與 MCP 伺服器形式執行,透過 npm 或 Homebrew 安裝,並在每個儲存庫執行 rigour setup。使用代理自帶的模型與登入;僅在審查非代理撰寫的程式碼或 PR 機器人時需要模型 API 金鑰。可選下載語意搜尋元件,團隊共享經驗可選 PostgreSQL 資料庫。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Rigour,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
- 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-briefto leave it out), orrigour_brieffor any agent with MCP. See The briefing. - 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. - 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.
- 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
How it works
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):
Worth it? Set it up:
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:
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:
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:
The commands you will use
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 backtestreplays 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
Build from source
See Contributing.
Documentation · Discussions · Issues
MIT © Rigour Labs · Built by Ashutosh
來源:README.md,提交 a16e240
工具
0版本歷史
36- v7.0.14最新Oct 19, 2026
- v7.0.13Oct 16, 2026
- v7.0.12Oct 16, 2026
- v7.0.8Oct 15, 2026
- v7.0.6Oct 14, 2026
- v7.0.5Oct 14, 2026
- v7.0.4Oct 13, 2026
- v7.0.3Oct 13, 2026
- v7.0.2Oct 11, 2026
- v6.13.0Oct 10, 2026
- v6.12.3Oct 10, 2026
- v6.12.0Oct 10, 2026
- v6.11.2Oct 9, 2026
- v6.11.1Oct 9, 2026
- v6.10.0Oct 9, 2026
- v6.9.0Oct 9, 2026
- v6.8.1Oct 8, 2026
- v6.8.0Oct 8, 2026
- v6.7.7Oct 8, 2026
- v6.7.2Oct 7, 2026
- v6.6.6Oct 6, 2026
- v6.6.5Oct 5, 2026
- v6.6.4Oct 5, 2026
- v6.6.2Oct 5, 2026
- v6.6.0Oct 3, 2026
- v6.5.4Oct 2, 2026
- v6.5.3Oct 2, 2026
- v6.5.1Oct 1, 2026
- v6.4.4Oct 1, 2026
- v6.4.2Sep 30, 2026
- v6.4.0Sep 30, 2026
- v6.3.0Sep 29, 2026
- v6.2.5Sep 29, 2026
- v6.2.4Sep 25, 2026
- v6.2.3Sep 25, 2026
- v6.2.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分