
Linkedcheck
io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 3, 2026
驗證 PR 是否真正解決了它聲稱要關閉的 issue:關閉關鍵字加上 diff 範圍。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
原文描述
Verify a PR really addresses the issue it claims to close: closing keywords plus diff scope.
概覽
Linkedcheck 的本機 MCP 服務;無需登入;STDIO。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Linkedcheck,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
linkedcheck
A pull request that says "fixes #123" in its description has made a claim, not a proof. The files it touches might have nothing to do with the issue at all, and a reviewer skimming a long queue has no quick way to tell a genuine link from a hopeful one. linkedcheck checks the claim against two independent signals: the words of the PR itself, and the scope of its diff.
The first signal is linkage in the text. The PR body is
scanned first, then each commit message in order, for a
closing reference: one of the closing keywords close,
closes, closed, fix, fixes, fixed, resolve,
resolves, or resolved — case-insensitive, as a whole
word — followed by optional whitespace and #<issue_number>.
The number must match as a whole token, so #12 is not a
reference to issue 123 and #1234 is not either. Any bare
#<issue_number> occurrence, keyword or not, counts as a
mention, and a closing reference always counts as one too.
The second signal is scope. The issue title is lowercased
and split on runs of characters outside [a-z0-9]; tokens
shorter than three characters and a fixed list of stopwords
(the, a, an, in, on, of, for, to, when,
with, and, or, is, are, be, by, at, as,
it, this, that) are dropped. What remains are the
title's terms. Each changed file path is tokenised the same
way, and matched_terms is the sorted list of terms that
also appear as file tokens — so an issue about a login
redirect matching src/login/redirect.ts is real overlap,
not a coincidence of prose.
The two signals combine into one verdict:
linked— a closing reference exists and at least one term matches.weak— a closing reference exists but no term matches: claimed, with no scope evidence behind it.mentioned_only— the issue is mentioned but no closing keyword claims it.unlinked— neither a closing reference nor a mention.
Malformed input — a missing or non-string pr_body, an
issue_number that is not an integer of at least 1, a
missing, empty, or non-string issue_title, a
changed_files list that is missing, not an array, or
holding a non-string or empty entry, or a
commit_messages value that is not an array of strings —
is a validation error naming the offending path, with no
partial result. The computation is pure and local: no
network, no configuration, and no repository is read —
linkedcheck only checks the texts and paths you hand it.
CLI
args.json contains the full arguments object:
The result is printed as JSON:
Exit codes: 0 on success, 1 on a runtime error (including
an unreadable or invalid input file, or invalid input), 2
on a usage error.
MCP server
MCP client config:
Tools
-
check_pr_issue_link— Verify that a pull request actually addresses the issue it claims to close.pr_body(string, required, may be empty) — pull request body textissue_number(integer, required, at least 1) — number of the issue the PR claims to closeissue_title(string, required, non-empty) — title of the issue the PR claims to closechanged_files(array of strings, required, may be empty) — paths of the files the PR changescommit_messages(array of strings, optional, default[]) — commit messages of the PR
Returns
{verdict, closing_reference, mentioned, matched_terms, term_count}, whereterm_countis the number of distinct issue-title terms andmatched_termsis the sorted subset of them found in the changed files.
Docker
Development
License
MIT — Copyright (c) 2026 Rene Turcios
來源:README.md,提交 85694ae
工具
0版本歷史
1- v0.1.0最新Nov 3, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分