Mergewarden

io.github.sjh9714由 GitHub 帳號 sjh9714 發布v0.9.0更新於 Oct 24, 2026

Check whether a coding agent's changes stayed inside the scope it was given.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

MergeWarden 檢查編碼代理的變更是否維持在指定範圍內,並標出審查前需要補充脈絡的拉取請求。

可以做什麼
檢查編碼代理的變更是否維持在指定範圍內,依據確定性規則而非語言模型。標出缺少關聯議題、描述過簡、未使用範本或變更過大的拉取請求。對單一拉取請求進行詳細風險掃描,涵蓋工作流程權限、代理指示檔案、不受信任的提示輸入與安裝指令碼。證據不完整時如實回報為不完整,而不視為通過。
適用情境
適合在審查編碼代理或外部貢獻者的拉取請求時,先做一次規則式的快速檢查,確認範圍與審查準備程度。也適合找出對 CI 工作流程、代理指示檔案或套件安裝指令碼的風險變更。
執行需求
以本機 npm 套件透過 stdio 執行。README 中的命令列範例使用 GH_TOKEN 環境變數以取得更大的已驗證佇列;清單未宣告任何驗證或環境變數。需要連線至公開 GitHub API 的網路存取。
安裝前請注意
README 稱其為實驗性工具,節省審查時間的效果尚未獲得驗證,且產品擴充已暫停。Action 範例要求 pull-requests 寫入權限,可能會在拉取請求上張貼或更新留言。它讀取公開 GitHub 中繼資料與範本,不執行拉取請求中的程式碼。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mergewarden,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

MergeWarden

[Release] [CI] [MergeWarden] [License]

See which pull requests need context before code review.

Paste a public GitHub repository. MergeWarden surfaces missing issue links, thin descriptions, skipped templates, and oversized changes. No login. No AI.

This is an experimental tool. Review-time savings and repeat maintainer use have not been demonstrated. Product expansion is on hold; see the roadmap and evidence limits.

Review a public repository

Open the public review queue

The getting started guide explains queue states, detailed PR results, and the Action install path.

Paste owner/repository or a full GitHub repository URL. The browser reads the latest thirty open pull request summaries, removes trusted repository roles, base repository branches, and known maintenance automation, then loads details for at most ten external pull requests.

Rows are ordered by deterministic facts a maintainer would otherwise check before reading code.

FactWhat it means
No linked issueThe body has no issue number, issue URL, or closing keyword
Thin descriptionThe body has fewer than 80 characters of prose
Template unusedThe repository has a visible PR template structure that the body did not keep
OversizedThe change exceeds 50 files or 1,500 changed lines

First contribution is shown as context and never used as a score. MergeWarden does not call a contribution spam, low quality, or AI generated. It never closes, labels, scores, or comments on a pull request.

The queue uses public metadata and the base branch pull request template. It does not fetch changed file contents, execute code, use a backend, or store the target.

For a larger authenticated queue, use the CLI.

bash
GH_TOKEN=... npx --yes [email protected] triage owner/repository

Run the detailed PR risk scan

The same page accepts a full pull request URL or owner/repository#number. Every queue row links to this detailed scan.

The detailed scan checks four security boundaries.

CheckWhat deserves review
Workflow permissionsA workflow gains write access, uses a dangerous trigger, or depends on a moving Action reference
Agent instructionsA PR changes AGENTS.md, CLAUDE.md, .mcp.json, or another file that steers coding agents
Untrusted prompt inputsPull request text reaches an agent prompt in a workflow
Install scriptsA package manifest adds or changes install-time lifecycle code

The configuration reference lists every deterministic rule and severity.

Run the same scan from a terminal without cloning the target repository.

bash
npx --yes [email protected] scan https://github.com/owner/repository/pull/123

Add the Action

The Action automates the detailed PR risk check. It does not order the review queue.

Create .github/workflows/mergewarden.yml.

yaml
name: MergeWarden PR Risk Check
on:  pull_request:
permissions:  contents: read  pull-requests: write
jobs:  mergewarden:    runs-on: ubuntu-latest    steps:      - uses: sjh9714/[email protected]        with:          comment: auto

comment: auto stays quiet when there is nothing actionable and updates one comment when a finding needs attention. Existing Action defaults are unchanged.

For an immutable install, pin the release commit.

MergeWarden does not publish or recommend a mutable v0 tag.

yaml
- uses: sjh9714/mergewarden@d63b4fc8c09c540375f039ecd30d2fce56abf31f

Safety boundaries

  • The web app talks directly to the public GitHub API and has no telemetry.
  • The queue reads metadata and templates at each PR's exact base commit. The detailed scan reads only the files required by deterministic rules.
  • No checkout. MergeWarden does not execute pull-request code in the web app or Action.
  • Policy comes from the exact base commit, never the untrusted PR head.
  • Analysis never calls a language model.
  • Incomplete evidence is reported as incomplete and never presented as a pass.
  • Browser sample limits are explicit: reaching 30 summaries or leaving external PRs beyond the ten-detail limit does not produce a complete queue.

Read the security model and evidence model for the full trust boundary.

Evidence and advanced interfaces

Does triage help? records the existing queue measurement and its main limit. It measured whether rows discriminate, not whether maintainers save time. The current web queue remains a product experiment until maintainers confirm that value.

The documentation index includes configuration, Action and CLI references, coding-tool integrations, reproducible studies, and the MCP server.

Contributing

bash
pnpm install --frozen-lockfilepnpm buildpnpm testpnpm typecheckpnpm lintpnpm format:check

Every new rule needs a passing fixture, a failing fixture, and a report snapshot. See the contribution guide.

简体中文

License

MIT

來源:README.md,提交 aba7262

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.9.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分