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 分

    請在儲存庫或註冊中心條目中宣告授權條款。