Gitcontribute

io.github.morluto由 GitHub 帳號 morluto 發布v3.0.2更新於 Oct 27, 2026

Local-first GitHub contribution research workbench

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

本地優先的 GitHub 貢獻研究工作台,讓助理在動手改程式前查核 issue、蒐集證據並準備修補。

可以做什麼
  • 尋找並依貢獻契合度、證據、範圍與協作風險排序候選 issue
  • 研究指定 issue:儲存庫指引、討論、程式上下文、既有修正、競爭工作與缺漏證據
  • 在本地語料中搜尋已儲存的討論串與已索引的程式碼
  • 記錄調查與證據,定義並執行驗證指令,比較基準與候選執行結果
  • 準備 PR 草稿與交接資料供人工審閱
適用情境
適合想讓編碼助理挑選或查核值得參與的開源 issue、判斷 issue 是否已過時或已有人實作,並在撰寫修補前整理證據與驗證結果的情境。
執行需求
以本地 stdio 程序執行,可透過 npm(需 Node.js 18 或更新版本)或 Go 建置安裝;需要 git,gh CLI 為選用,可透過 gh auth token 提供驗證。網路存取需明確觸發,僅用於同步或抓取;資料存放於本地 SQLite 語料庫。
安裝前請注意
同步或抓取會連網存取 GitHub 並寫入本地語料庫;取得與索引程式碼會呼叫 git。明確驗證指令會以你的使用者權限在本機執行,只應核准可信的指令。它不具備 GitHub 寫入能力,也沒有託管語料庫或遙測,草稿需由你審閱後自行提交。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

GitContribute

Contribution research for agents: check repository guidance, related work, code context, and validation before writing a patch.

[CI] [npm] [Go] [License] [Platforms]

Quick start · Workflow · CLI · MCP · Safety · Documentation

[GitContribute contribution workbench]

gitcontribute is available as a CLI, terminal UI, and MCP server for coding agents.

GitHub can show you open issues. It cannot tell you whether an issue is still relevant, already being implemented, appropriate for an outside contributor, or supported by enough evidence to work on safely.

GitContribute collects repository guidance, related issues and pull requests, code context, accepted contribution patterns, and validation results in a local SQLite corpus. Results identify missing or stale coverage.

text
find work -> understand it -> check competing work -> prove the change -> prepare the handoff

[!IMPORTANT] GitContribute never writes to GitHub. It prepares local research and drafts for you to review.

Quick start

Run the guided setup with Node.js 18 or newer:

sh
npx --yes gitcontribute@latest setup

Choose MCP to use GitContribute from a supported coding agent, CLI for the terminal and TUI, or Both. The wizard shows every planned change before applying it. Adding a repository during setup does not contact GitHub or start a sync.

After setup, start with a repository or an exact issue:

TaskCoding agentCLI
Find candidatesFind contribution candidates in owner/repo. Rank them by contribution fit, evidence, scope, and coordination risk.gitcontribute archive sync owner/repo
gitcontribute radar owner/repo --limit 10
Research an issueInvestigate owner/repo#42. Check guidance, discussion, code, prior fixes, competing work, and missing evidence.gitcontribute archive sync owner/repo --numbers 42
gitcontribute research brief issue:owner/repo#42

Results include source references, coverage gaps, and suggested next steps.

Other installation options

Install a persistent command:

sh
npm install --global gitcontribute@latestgitcontribute setup

Pin GitContribute to a project:

sh
npm install --save-dev gitcontributenpm exec -- gitcontribute setup --mode mcp --codex --token-source none --yes

Build from source with Go 1.26 or newer:

sh
go install github.com/morluto/gitcontribute/cmd/gitcontribute@latest

Native npm binaries are included for macOS ARM64/x64, Linux ARM64/x64, and Windows x64. You also need git. The gh CLI is optional and can provide authentication through gh auth token.

Contribution workflow

1. Find a candidate

Search a repository or rank its open issues by available evidence, scope, risks, blockers, and signs that maintainer coordination is needed.

text
Find contribution candidates in golang/go. Exclude issues with activeimplementation work and explain why each remaining candidate is worthinvestigating.

The ranking only covers stored observations. Results report incomplete coverage.

2. Research an issue

Build a research brief from the issue, repository guidance, discussion, linked work, indexed code, and historical contributions. Extracted maintainer text and checkboxes are not presented as complete acceptance criteria.

text
Investigate issue owner/repo#42. Summarize the confirmed problem, likely scope,relevant code, maintainer guidance, and open questions.

3. Check related work

Look for duplicate reports, linked pull requests, closing relationships, and semantically overlapping work before investing in an implementation.

text
Check whether owner/repo#42 has duplicate reports or competing implementationwork. Tell me what you checked and identify any missing coverage.

Incomplete coverage is reported instead of being treated as proof that no competing work exists. In the MCP workflow, follow the returned typed recovery action, poll the durable job, and reread the affected exact thread or repository before drawing that conclusion.

4. Validate a change

Record a reproduction, test, benchmark, or other validation and compare the unmodified baseline with a candidate. Validation commands run only after explicit approval.

text
Validate my candidate change against the baseline. Run the approved checks,record both results, and explain whether the evidence supports the change.

Stored runs include the command, outcome, timing, and available process metrics.

5. Prepare a draft

Create a local issue, pull-request, or review draft tied to the research and validation evidence already collected.

text
Prepare a pull-request draft for this contribution. Tie its claims to therecorded evidence, include the validation results, and do not post anything.

Draft revisions retain their exact rendered bytes and provenance.

Interfaces and storage

GitContribute stores repositories, threads, code snapshots, investigations, evidence, validation results, and contribution outcomes in SQLite. Network access is explicit; once information has been synced, corpus search and inspection work offline.

text
 GitHub read APIs                  Local checkout       |                                |       | explicit sync / hydrate        | explicit index / acquire       v                                v  +------------------------------------------------+  |              Local SQLite corpus               |  | observations · coverage · evidence · outcomes  |  +------------------------+-----------------------+                           | offline reads                 +---------+---------+                 v                   v              CLI / TUI          Coding agents

The CLI and MCP server use the same application services and side-effect boundaries.

CLI

The CLI exposes the same workflow without requiring an MCP client:

sh
# Sync repository context and current threadsgitcontribute archive sync-context owner/repogitcontribute archive sync owner/repo
# Find and inspect contribution candidatesgitcontribute radar owner/repo --limit 10gitcontribute research brief issue:owner/repo#42
# Search stored threads and indexed codegitcontribute search threads "connection timeout" --repo owner/repogitcontribute search code "context.WithTimeout" --repo owner/repo

For implementation work:

sh
gitcontribute investigation start-thread issue:owner/repo#42 --jsongitcontribute workspace create <investigation-id>gitcontribute validation define --kind=test --command="go test ./..." \  --working-dir=/path/to/workspace <investigation-id>gitcontribute validation run <validation-id> --kind=base --executegitcontribute validation run <validation-id> --kind=candidate --executegitcontribute validation compare <base-run-id> <candidate-run-id>gitcontribute readiness opportunity <opportunity-id>gitcontribute prepare pr --approach="Bound retries with context" \  --workspace <workspace-id> <opportunity-id>

Run gitcontribute --help or gitcontribute <command> --help for the complete command and flag reference. Most non-interactive commands accept --json; machine-readable output goes to stdout and progress goes to stderr.

Launch the local TUI with:

sh
gitcontribute tui

MCP

The MCP server advertises one unified catalog. Hosts such as Codex and Claude Code can discover large MCP catalogs with native tool search, so setup does not ask users to choose permanent capability profiles.

sh
gitcontribute setup --mode mcp --codex --token-source none --yesgitcontribute setup --mode mcp --all-clients --token-source none --yes

To start the stdio server directly:

sh
gitcontribute mcp serve --transport=stdio

Add --read-only to remove tools that permit network access, local writes, or execution. See MCP catalog and composition for capability boundaries, snapshot recovery, resource handoffs, and common tool sequences.

GitHub users are stored as first-class actors. Live discovery records identity only; profile, social-account, organization, pinned-item, repository, and contribution facts are synchronized independently. See the actor corpus for the data and freshness model.

Side-effect boundaries

GitContribute separates corpus reads, GitHub reads, local writes, process execution, and external mutation.

OperationNetworkLocal writeRuns a processGitHub write
Search and inspect stored researchNoNoNoNo
Record investigations and evidenceNoYesNoNo
Sync or hydrate GitHub contextYesYesNoNo
Acquire and index codeYesYesgit onlyNo
Run an explicitly approved validationNo by defaultYesYesNo
  • Corpus reads never fetch data.
  • Crawling and indexing never execute repository-controlled code.
  • Explicit validation commands run on your host with your user permissions.
  • GitContribute has no GitHub mutation capability.
  • There is no hosted corpus or product telemetry.

See Architecture for the complete boundary definitions.

Documentation

Storage

GitContribute follows platform conventions:

PlatformConfigurationData
Linux$XDG_CONFIG_HOME/gitcontribute or ~/.config/gitcontribute$XDG_DATA_HOME/gitcontribute or ~/.local/share/gitcontribute
macOS~/Library/Application Support/gitcontribute~/Library/Application Support/gitcontribute/Data
Windows%APPDATA%\gitcontribute%LOCALAPPDATA%\gitcontribute\Data

The default corpus is gitcontribute.db in the data directory. Run gitcontribute metadata or gitcontribute doctor --json to inspect the local setup.

Platform support

Linux and macOS are the primary development and test targets. Windows builds are tested in CI and use the standard %APPDATA% and %LOCALAPPDATA% locations.

Development

sh
make verifygo run ./cmd/gitcontribute --help

Before changing package boundaries or side effects, read docs/architecture.md. See CONTRIBUTING.md for the repository workflow.

來源:README.md,提交 2c719af

工具

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

版本歷史

1
  1. v3.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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