Steadfast Repository Governance

io.github.rllibo833-sudo由 GitHub 账号 rllibo833-sudo 发布v0.4.1更新于 Oct 30, 2026

Local-first repository governance and verification tools for AI coding agents.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

本地优先的仓库治理服务器,让 AI 编码代理对仓库变更范围、证据、文档漂移和发布就绪度执行只读检查。

可以做什么
  • 运行统一的只读治理检查并生成可读的审计报告
  • 对照仓库策略审计变更文件、所需证据包、契约与文档漂移
  • 标记选定的高风险源码模式与工作流信任边界问题
  • 校验目标依赖关系并评估发布就绪度
  • 发现技能、检查 MCP 配置并输出面向工具与代理的机器可读能力地图
适用场景
适用于编码代理在已有或应有明确治理规则的仓库中工作,并希望在提交拉取请求或发布前核对变更范围、证据与文档一致性。它只是护栏,不是沙箱,也不证明语义正确性。
运行要求
以 stdio 本地进程运行;需安装 steadfast-governance Python 包(需要 Python 3.10+ 与 Git)。仓库策略与流水线配置位于 .steadfast/policy.json 和 .steadfast/pipeline.json,可通过 init 或 onboard 命令创建。无需 AI API 密钥,也未声明环境变量。
安装前请注意
onboard 命令会写入仓库指引与代理集成文件,信任仓库前应先审阅生成的文件,不过默认会保留已有文件。流水线清单属于可执行配置,单独运行流水线前应审阅其中的命令。检查结果取决于仓库策略,作为发布决策前需人工复核。README 还提到付费试点与评估申请。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Steadfast Repository Governance,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Steadfast

Repository checks and guardrails for coding agents.

[Steadfast Repository Governance MCP server]

Steadfast is a local-first CLI that helps developers and AI agents inspect repository health, enforce change scope, verify evidence, and spot documentation drift. It does not generate code, require an AI API key, or send repository contents to a Steadfast-hosted service.

Quick start

Requires Python 3.10+ and Git.

bash
python -m pip install --upgrade steadfast-governancecd /path/to/your/repositorysteadfast onboard --agent codexsteadfast verify

Replace codex with claude, cursor, or all to configure another supported agent. Review generated files before trusting a repository. Existing files are preserved by default.

For the latest unreleased source, install from Git instead:

bash
python -m pip install --upgrade "git+https://github.com/rllibo833-sudo/Steadfast.git"

The commands most people need

CommandPurpose
steadfast onboardSet up repository guidance and selected agent integration.
steadfast verifyRun the unified, read-only governance checks.
steadfast reportGenerate a human-readable audit report.
steadfast auditCheck changed files, evidence, contracts, and documentation drift.
steadfast discoverPrint a machine-readable capability map for tools and agents.
steadfast mcp-serverStart the read-only MCP server for compatible agents.

See the quick-start guide for a short walkthrough, the MCP client setup guide to connect compatible AI clients, and the command reference for the full CLI list. For a copy-ready pull-request workflow and an adoption checklist, see Adopt in GitHub Actions.

What it checks—and what it cannot

  • Scope: compare changed paths with repository policy.
  • Evidence: check required proof files and evidence-bundle integrity.
  • Security signals: flag selected risky source patterns and workflow trust-boundary issues.
  • Documentation and code truth: detect stale command examples and package-entrypoint drift.
  • Goals and releases: validate goal dependencies and evaluate release readiness.
  • Agent support: discover skills, inspect MCP configuration, and install repo-local guidance.

These checks are guardrails, not a sandbox or proof of semantic correctness. Results depend on repository policy and configuration; review findings before treating them as release decisions. Steadfast does not silently rewrite plans or execute the configured pipeline as part of verify. Run steadfast pipeline separately only after reviewing its manifest.

Configuration

Run steadfast init to create starter governance files. Repository policy lives in .steadfast/policy.json; pipeline steps are configured in .steadfast/pipeline.json. Treat pipeline manifests as executable configuration and review their commands before running them.

Project links

Development

bash
python -m pip install -e .python -m unittest discover -s tests -vsteadfast docs-checksteadfast code-truth

MIT licensed. See LICENSE.

来源:README.md,提交 3db9b7d

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

1
  1. v0.4.1最新Oct 29, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。