
Gate
io.github.nugehs由 GitHub 账号 nugehs 发布v0.3.0更新于 Oct 24, 2026
One ship/no-ship verdict from aiglare, bouncer, tieline & repoctx — the unified merge gate.
概览
运行 aiglare、bouncer、tieline、repoctx 四项仓库检查,并把结果合并成一个规范化的“能否发布”结论交给助手。
- 可以做什么
- 获取某个仓库统一的发布/不发布结论,可选用 only、skip、ci、strict 参数
- 列出 gate 运行的四项检查,以及各自所属领域和回答的问题
- 查看按 pass、warn、fail、unknown、skipped、error 归一化的各领域状态与阻断原因
- 通过命令行、CI 或编辑器扩展运行同一套门禁
- 适用场景
- 当仓库已经使用 nugehs 工具链中的部分或全部工具,并希望助手用一次调用回答“这次改动能否发布”,而不必分别运行四个工具再自行比对不同格式的结果时使用。
- 运行要求
- 以本地 stdio 进程运行,通过 npx 从 npm 包 @nugehs/gate 启动(需要 Node.js)。四个底层工具并未打包在内,运行时依次从 GATE_ _BIN 环境变量、已安装的 @nugehs 包或同级目录检出中查找。未声明任何身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Gate,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
gate
One ship/no-ship verdict from your whole nugehs toolchain.
gate runs aiglare,
bouncer,
tieline and
repoctx against a repo and
merges their four dialects into one normalized verdict. Each tool already
answers a different "can this ship?" question — gate is the place they finally
agree on the answer.
What it reports
Each tool's native result is normalized onto one status vocabulary:
The top-level verdict is the worst across the domains that actually ran
(skipped never counts). unknown and error roll up to warn so nothing
slips through as a silent pass.
How each dialect maps
gate runs aiglare without
--ciand derives the blocking verdict itself, so a tool thatprocess.exit()s before flushing its pipe can't truncate the report it feeds us.
A run that checked nothing is not a pass. If every domain is skipped or
deselected (e.g. --skip them all, or a typo'd --only), gate reports NO
CHECKS RAN (ok:false) and fails under --ci — a misconfiguration can't
silently turn the gate green.
On repoctx + local mode. repoctx's merge-readiness gate can only verify
review state (approvals, CODEOWNERS, required checks) against a host like
GitHub. Run locally it reports those as a WARN, so on a clean local repo gate
will often show merge readiness: warn. That's repoctx being honest about what
it can't see locally — not a problem with your change.
CLI
By default only a fail verdict blocks under --ci — safe to adopt without
drowning a team in warnings. Add --strict when you want warnings to gate too.
Tool resolution
gate doesn't bundle the four tools; it finds each one at runtime. Per tool, first hit wins:
GATE_<TOOL>_BINenvironment variable (explicit override)- the installed
@nugehs/<tool>package (fromnode_modules) - a sibling checkout at
../<tool>(local development)
A tool that can't be resolved is reported as skipped, never a hard failure —
so gate is safe to run in a repo that only uses some of the toolchain.
In CI
For a machine-readable record, --json emits the full verdict (schema version,
per-domain results, counts, and the blocking reasons) for dashboards or audit
evidence.
MCP
gate is also an MCP server, so an agent can ask "can this ship?" in one call — the unified verdict, not four separate tools.
Tools:
Registry manifest: server.json (io.github.nugehs/gate).
Editor extension
The same normalized verdict drives a VS Code / Cursor extension
(clients/vscode) — the gates, shifted left from CI into the
editor:
- a verdict cockpit and a checks tree in gate's own Activity Bar container;
- inline diagnostics, hovers, Quick Fixes (mute / open docs) and CodeLens on located findings;
- AI-native gating — an
@gatechat participant, agate_checktool agent mode can call before it says "done", and an MCP server provider — so the assistant writing the code is checked by the same gate as CI; - debounced run-on-save with in-flight cancellation, and multi-root support.
Roadmap
gate is the shared spine. The same JSON already drives the CLI, the --ci gate,
the MCP server, and the editor extension above. Next client on the same JSON:
- Web cockpit — a repo/PR verdict board over the JSON, unifying the four
*-websites.
License
MIT © Oluwasegun Olumbe
来源:README.md,提交 bb9ca33
工具
0版本历史
1- v0.3.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分