
Gitworthy
io.github.trippyogi由 GitHub 账号 trippyogi 发布v0.3.6更新于 Oct 24, 2026
is it worth your commit? Pre-flight triage for OSS contribution targets.
概览
Gitworthy 是一个本地 MCP 决策引擎,用于侦察和预检开源贡献目标,返回带证据的 ACT、VERIFY 或 SKIP 判定。
- 可以做什么
- Gitworthy 帮助编码代理在开始实现之前判断某个仓库 issue 是否值得投入。它会扫描并排序候选 issue,然后执行有界预检,检查关联的拉取请求、未关联分支上的工作、已合入 main 的修复、发布缺口、贡献政策以及重复问题。结果以结构化的 ACT、VERIFY 或 SKIP 判定返回,并附带 checked 和 not_checked 证据字段。CLI 与 MCP 服务器共用同一套 TypeScript 核心。
- 适用场景
- 当代理或开发者正在挑选要贡献的开源 issue,并希望避免重复已有工作或启动被阻塞的任务时使用。它适合侦察某个仓库或组织、对候选进行排序,并在投入精力前对候选清单做预检。
- 运行要求
- 需要 Node.js 22 或更高版本。通过 npx gitworthy@latest mcp 以 stdio 在本地运行,也可选地通过 Streamable HTTP 运行。强烈建议为真实 hunt 提供 GitHub 令牌(GITHUB_TOKEN 或 GH_TOKEN);没有令牌时,依赖 GitHub REST 的检查会返回错误或 not_checked 条目。非回环 HTTP 绑定需要 GITWORTHY_MCP_TOKEN。
安装
在 SourceWeft 中
- 打开 控制台中的 Gitworthy,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Gitworthy
The decision layer before a coding agent starts work.
Gitworthy helps coding agents scout, rank, and preflight software work before
they spend cycles implementing it. It finds the strongest candidates, checks
whether the work is already handled or blocked, and returns evidence-backed
ACT, VERIFY, or SKIP decisions for each target.
[npm] [MIT license] [Node 22+]
MCP setup · CLI · Agent workflow · Verdicts · Troubleshooting · Case studies · Roadmap · Contributing
Why Gitworthy
Coding agents make implementation cheap. Choosing the wrong task is still expensive.
An issue can look open while:
- a fix already exists on an unlinked branch;
- another contributor has an active pull request;
- the change landed on
mainbut has not been released; - the repository requires assignment before accepting work;
- a duplicate or abandoned implementation already contains the answer.
Gitworthy performs that preflight before a human or agent spends the next unit of work.
How agents use Gitworthy
The agent owns the loop. Gitworthy is the MCP decision engine it calls to scout and validate work.
There are two distinct lanes:
- Scout lane: discover, filter, rank, preflight, and return a shortlist.
- Execute lane: select, record intent, recheck fresh state, reproduce, implement, review, and submit through the repository's allowed contribution path.
ACT means “worth considering,” not “start coding blindly.” Scout results go stale, so Gitworthy should be run again when an agent actually claims or begins a target.
See docs/AGENT_WORKFLOW.md for the complete agent policy, tool-selection guide, and scout-to-execute handoff.
Use it with Cursor, ChatGPT, Hermes, or any MCP client
Local stdio (desktop / agent VM)
Streamable HTTP (Cloud Agents / mobile / iPad)
Run or deploy the same engine over HTTP and point the client at a URL:
Non-loopback binds require GITWORTHY_MCP_TOKEN. Keep GITHUB_TOKEN on the server. Full deploy and Cloud Agent notes: docs/HTTP_MCP.md. Tool descriptions, annotations, and structured results: docs/MCP.md. Portable Agent Plugins packaging (skill + MCP): docs/AGENT_PLUGINS.md.
Give the agent a policy like this:
Use Gitworthy before investing in external repository work. Use
huntto build a short ranked queue. Read each candidate'sworth_check;huntdoes not produce one global verdict. TreatACTas a queue candidate, perform the named checks onVERIFY, and removeSKIPcandidates. Before implementing a selected target, rerunworth_checkand follow the repository's contribution policy.
The token only needs read access to public repositories. For the most accurate linked-work detection, use a classic PAT or a fine-grained token with Issues: Read so Gitworthy can see timeline cross-references. Weaker tokens still work, but missing visibility is reported in not_checked.
Try it in 30 seconds
Check that your environment is ready:
Evaluate a specific issue:
Render a deterministic handoff brief from a stored decision:
Brief generation is read-only over the local store and never calls GitHub, npm, or an LLM. Stored decisions are considered stale after 24 hours; stale briefs warn and recommend recheck.
Scout and preflight a short list of contribution targets:
Use @latest for exploration. Pin a version in repeatable agent workflows and CI.
What hunt actually returns
hunt is a bounded funnel, not a bulk verdict command:
The agent should read each hunt_candidate.worth_check. Gitworthy intentionally avoids running an expensive full preflight on every issue returned by a broad scan.
ACT, VERIFY, or SKIP
A verdict is not a vibes-based score. Gitworthy returns structured evidence, the checks it completed, and the checks it could not complete.
A real preflight
A target issue in block/buzz appeared open, but a prior implementation already existed in a pull request using nearly the same title.
That case also exposed a false-positive path in duplicate detection: GitHub's issues API includes pull requests. The fix became a regression test and calibration case.
More real contribution sessions are documented in CASE_STUDIES.md.
How it works
Gitworthy combines bounded checks that answer different ways a task can be unsafe or wasteful to start.
The CLI and MCP server are thin adapters over the same TypeScript core.
Trust model
Gitworthy is designed to be useful without pretending to know more than it checked.
- Heuristic evidence cannot independently create a hard
SKIP. - Hard
SKIPrequires definitive evidence. - Failed mandatory checks cap the result at
VERIFY. - Every real result includes meaningful
checkedandnot_checkedfields. - Human-readable prose is never parsed to decide the verdict.
- Target repositories and packages are treated as hostile input.
- Telemetry is off by default. The MCP path emits no telemetry.
- Scout results are not treated as permanent; execution requires fresh revalidation.
ACT does not mean “blindly start coding.” Read the evidence, disposition, reasons, linked work, and repository policy before investing.
Agent-native output
Every core result includes a structured envelope:
signals is the load-bearing input to the decision policy. checked and not_checked are part of the result, not footnotes.
Common commands
Exit codes for check:
0— ACT10— VERIFY20— SKIP1— error
See SKILL.md for the strict contribution gates and docs/AGENT_WORKFLOW.md for the explanatory workflow guide.
Documentation
Configuration
GITHUB_TOKEN/GH_TOKENenables authenticated GitHub REST checks.- Config files are data-only JSON. Gitworthy reads user config from
~/.gitworthy/config.jsonand repository-local config from.gitworthy/config.json. - Precedence is: CLI/MCP input,
GITWORTHY_*environment variables, repository config, user config, built-in defaults.gitworthy config show --effective --jsonincludes provenance for each effective value. - Create a secret-free skeleton with
gitworthy init --repoorgitworthy init --user. Validate withgitworthy config validate. - Skill profiles (
profilein config or--skill-profile) can includelanguages,topics,preferred_ecosystems, and avoid lists; they affect scan/hunt ranking inputs only, never hard verdict policy. - Target manifests (
--manifest pathormanifest_pathin config) can list repos/orgs, include/exclude filters, per-repo npm package mappings, and target-specific overrides. Ambiguous npm package mappings are rejected. Include/exclude filters are validated and carried as manifest metadata in GW-019; full filtering consumption is deferred to GW-027. - Tokens and credentials are never persisted in config or manifests; use environment variables such as
GITHUB_TOKEN/GH_TOKEN. GITWORTHY_MCP_TOKENis the bearer secret for Streamable HTTP MCP (required for non-loopback binds).GITWORTHY_CACHE_DIRoverrides the cache under~/.gitworthy/cache.GITWORTHY_LEDGER_DIRoverrides local scout history under~/.gitworthy/ledger.GITWORTHY_TELEMETRY=onplusGITWORTHY_POSTHOG_KEYrequests optional telemetry.
Optional PostHog telemetry also requires a user-installed posthog-node package. If it is missing, Gitworthy warns once and continues with telemetry disabled.
Without a GitHub token, checks that require GitHub REST return structured errors or explicit not_checked entries. Checks that can use public git or npm endpoints still run.
Current status
Gitworthy is pre-1.0 and actively hardening its decision contract, hostile-input handling, local outcomes, evaluation corpus, and onboarding.
The 1.0 goal is a trustworthy, local-first CLI and MCP decision engine—not a hosted SaaS and not another coding agent.
See ROADMAP.md for the release ladder.
Where this is going
Gitworthy is becoming the agent-native readiness layer between task discovery and implementation:
- discover candidate work;
- rank the most promising targets;
- determine whether each is actually ready;
- return a machine-actionable next step;
- revalidate selected work before execution;
- record what happened;
- improve future decisions from real outcomes.
The open-source decision engine stays local-first and MIT licensed. Possible post-1.0 layers include shared outcome history, scheduled hunts, private-repository coordination, and an API for agent dispatch.
Contributing
Gitworthy is built from real cases where apparently open work turned out to be handled, blocked, or unsafe to start.
The most valuable contributions are:
- examples where Gitworthy made the wrong decision;
- repositories or ecosystems it cannot inspect correctly;
- Cursor, ChatGPT, Claude Code, Codex, OpenClaw, Hermes, or other agent integrations;
- improvements to evidence quality and failure reporting;
- new frozen evaluation cases;
- documentation that helps another person get a useful result quickly.
See CONTRIBUTING.md for development setup and trust requirements.
Requirements
- Node.js 22 or newer
- A GitHub token is strongly recommended for real hunts
Security
Report vulnerabilities privately using SECURITY.md or email [email protected].
License
MIT
来源:README.md,提交 c022e45
工具
0版本历史
1- v0.3.6最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分