
ProofFlow
io.github.Hyperion-GPU由 GitHub 帳號 Hyperion-GPU 發布v0.1.2更新於 Oct 24, 2026
Audit infrastructure for AI coding agents with evidence-backed review and policy gates.
發布方自己的服務:Proof Holdings
概覽
ProofFlow 是針對 AI 編碼工作的本機稽核帳本,記錄工作契約、證據、聲明與評估,並匯出可複核的證明包。
- 可以做什麼
- 執行代理工作帳本:建立工作契約、記錄演算法決策與成本預算、擷取 git 快照、記錄證據與聲明、評估完成標準、結束帳本並匯出證明包
- 程式碼審查與問題分流:分析 git 差異產生附風險分數且以證據支撐的聲明,並把問題文字轉成含分流聲明與標籤建議的案例
- 檔案稽核與整理:掃描目錄、為檔案建立雜湊索引、擷取文字供全文檢索並提出整理建議
- 操作管控:預覽、核准、執行與復原檔案系統操作,高風險操作會暫停等待負責人決策
- 查詢與檢索:檢查後端健康狀態、列出案例與操作、檢索已存證據並解釋風險提示
- 適用情境
- 適合 AI 編碼代理自主修改程式碼、而你希望留下可追溯紀錄的情境:它承諾了什麼、改了什麼、有哪些證據支撐、完成標準是否達成。也適合需要證據支撐的差異審查、問題分流,或在本地儲存庫進行可稽核檔案整理的維護者。
- 執行需求
- 需要一個可透過 HTTP 存取的本地 ProofFlow 後端(預設 PROOFFLOW_BASE_URL 指定);README 建議以 Docker 或手動啟動 Python 後端與前端。MCP 伺服器本身是 PyPI 套件 proofflow-mcp,以本地 stdio 程序執行。PROOFFLOW_API_KEY 為選用,僅在啟用後端驗證時需要。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 ProofFlow,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ProofFlow
Agent Work Ledger for AI coding.
Vibe coding is fast. Blind trust is not enough.
ProofFlow makes AI-generated work reviewable, traceable, and reversible by recording the full chain from work contract to proof packet: contract first, record the algorithm decision, declare the cost budget, snapshot the code state, bind claims to evidence, evaluate done criteria, then export an auditable packet.
Latest release: v0.1.8 - Agent Work Ledger for AI coding
▶ Watch the 72s demo: From AI agent claims to verifiable Proof Packets
Demo asset (deferred): The end-to-end dogfood Demo_Asset GIF and the VSCode_Channel inline audit / Approve Gate screenshots for the v0.1.x dogfood-and-channel-polish milestone are deferred to the next dogfood cycle (no capturable VS Code window in this milestone). Tracked in
PLANS.md#vscode-channel-screenshots-deferred-from-v0-1-x-dogfood.
📦 Example Proof Packets: code review · issue triage · agent work ledger · ledger dogfood
Maintainer workflow: docs/maintainer_evidence_workflow.md
Agent Work Ledger guide: docs/agent_work_ledger.md
Ledger Risk Hints: docs/ledger_risk_hints.md
5-minute MCP quickstart: docs/ledger_quickstart_mcp.md
Ledger PR comment template: docs/examples/pr_comment_agent_work_ledger.md
AgentGuard semantic rules: docs/agentguard_semantic_rules.md
Agent Work Ledger
ProofFlow is not only a PR review helper. It is a local-first ledger for AI coding work. A Ledger Case captures the workflow before, during, and after an agent changes code:
- Work Contract - record the objective, repo path, allowed scope, forbidden actions, required tests, done criteria, evidence requirements, algorithm requirements, and cost budget.
- Algorithm Decision - record the selected approach, rationale, alternatives, invariants, and forbidden approaches before implementation.
- Cost Budget - declare token, API, GPU, CPU, runtime, or iteration limits before expensive work begins.
- Snapshot - capture the git diff, changed files, HEAD SHA, base ref, and diff hash so reviewers know exactly what code state was examined.
- Evidence - store command output, test output, diffs, notes, screenshots, or other artifacts as searchable evidence.
- Claim - require every agent claim to bind to evidence before it is trusted.
- Evaluation - deterministically check required tests, algorithm decision, cost budget, scope boundaries, missing evidence, unaccepted risks, and non-blocking Risk Hints for suspicious routes.
- Proof Packet - export the contract, algorithm decision, cost budget, timeline, snapshots, claims, evidence, evaluation, decisions, and remaining risks into markdown.
Main chain: Work Contract -> Algorithm Decision -> Cost Budget -> Snapshot -> Evidence -> Claim -> Evaluation -> Proof Packet. This keeps the core product invariant sharp: no Case, no workflow; no Evidence, no trusted Claim; no done criteria evaluation, no quiet success.
Risk Hints extend the evidence flow without turning ProofFlow into an automatic algorithm judge. They tell the maintainer when the recorded route may be wrong or too expensive, such as regeneration where mapping was required, budget overrun metadata, or tests that prove output but not method.
See docs/agent_work_ledger.md for the full
architecture and evaluation model, or
docs/ledger_quickstart_mcp.md to run the
full MCP flow.
ProofFlow Reviewed ProofFlow
ProofFlow v0.1.6 was dogfooded on a real repository PR. The GitHub Actions
workflow ran AgentGuard, posted a stable PR summary comment, uploaded
summary.json, and exported a downloadable Proof Packet.
[ProofFlow AgentGuard review comment for PR #94]
- Real PR: #94 Dogfood v0.1.6 CI review story
- Review run: ProofFlow PR Review #25953071865
- Patch release from dogfood feedback: v0.1.6.1
- Result: one stable comment updated across pushes, one artifact containing the
Proof Packet and
summary.json, no merge blocking.
[Backend] [Frontend] [MCP Server] [VS Code Marketplace] [PyPI] [License: MIT]
Problem
AI coding agents (Claude Code, Codex, Copilot Workspace) can modify files, run commands, and make decisions autonomously. But there's no standard way to:
- Audit what an agent did and why
- Gate high-risk actions before they execute
- Prove that a code review actually checked what it claims
- Undo agent-initiated changes with confidence
ProofFlow solves this by sitting between the agent and the filesystem, creating an evidence graph that links every action to its justification.
Quickstart
Docker (recommended)
Run from the parent directory of the freshly cloned repo. The
Push-Location / Pop-Location pair keeps the working directory at the
repository root for the docker compose up command and restores it after the
block, so this snippet is copy-paste safe in a single PowerShell session.
Backend: http://localhost:8787 | Frontend: http://localhost:5173
Docker publishes both ports on 127.0.0.1 by default to preserve ProofFlow's
localhost trust boundary. For stronger local protection, set an API key before
starting:
If you enable backend auth for the Docker frontend, use the same
PROOFFLOW_API_KEY value at build time so Vite can embed
VITE_PROOFFLOW_API_KEY in the static frontend bundle. AgentGuard
test_command execution is disabled by default; set
PROOFFLOW_ENABLE_TEST_COMMANDS=true only when you intentionally want the
backend to run local test commands during review.
Manual
Start each component from the repository root in a single PowerShell session.
Push-Location / Pop-Location keeps the working directory predictable across
the backend and frontend blocks; the backend port is fixed to 8787 to match
the make dev-backend baseline. npm run dev is a long-running process - run
the frontend block in a second PowerShell session if you want to keep the
backend uvicorn process visible in the first.
MCP Integration (Claude Code / Codex)
Add to your project's .mcp.json:
Now your AI agent can keep an Agent Work Ledger, scan files, review code, triage issues, suggest actions, and export audit reports - all with enforced safety gates.
Codex Maintainer Plugin
ProofFlow also includes a repo-local Codex plugin at
plugins/proofflow-maintainer. It provides
starter prompts and a maintainer-focused skill for:
- reviewing the current diff with ProofFlow,
- creating a Proof Packet for a PR,
- triaging issue text into a ProofFlow Case,
- keeping an Agent Work Ledger for complex code tasks.
The plugin uses the same local proofflow-mcp server and keeps the backend
trust boundary at http://127.0.0.1:8787.
See the public-safe
Agent Work Ledger example
for the expected handoff shape.
Architecture
Core Capabilities
Agent Work Ledger
Records complex AI coding work as a first-class Case. The main flow is Work Contract -> Algorithm Decision -> Cost Budget -> Snapshot -> Evidence -> Claim -> Evaluation -> Proof Packet, so maintainers can see what the agent promised, what approach it chose, what cost limits it accepted, what changed, what evidence backs its claims, whether the done criteria were satisfied, and which Risk Hints deserve human review.
Evidence-Backed Code Review (AgentGuard)
Analyzes git diffs, generates risk-scored claims, and links each claim to specific evidence (changed lines, test results). No claim exists without supporting evidence.
File Audit & Organization (LocalProof)
Scans directories, indexes files with SHA-256 hashes, extracts text for full-text search, and suggests organization actions — all tracked in an auditable Case.
Issue Triage
Captures issue text as a first-class Case with source Artifact, deterministic triage Claims, component inference, label suggestions, and Proof Packet export.
Policy Gate Enforcement
High-risk filesystem actions (moves to system paths, bulk operations) are automatically paused at pending_decision status. Requires explicit owner approval before execution.
Safety Invariants
- No Contract, no Ledger - AI coding work starts with explicit scope and done criteria
- No Algorithm Decision, no trusted strategy - important approaches must be recorded before implementation
- No Cost Budget, no expensive workflow - costly operations need declared limits first
- No Final Snapshot, no Finish - finished ledgers must prove the reviewed repo state
- No Preview, no Action — destructive operations require two-phase confirmation
- No Evidence, no Claim — every assertion links to verifiable data
- No Ready Evaluation, no Quiet Success - failed ledgers finish as
finished_with_risks - No Undo, no Destructive Action — executed actions carry rollback metadata
- No Case, no Workflow — all work is tracked in auditable containers
MCP Tool Suite (23 tools)
health · scan · suggest · review · triage_issue · start_work_contract · record_algorithm_decision · record_cost_budget · capture_snapshot · record_evidence · record_claim · evaluate_contract · finish_work_ledger · status · approve_execute · export_packet · search · list_cases · list_actions · undo · decide
explain_risk_hint records an evidence-backed Decision for a Ledger Risk Hint
without suppressing the hint.
Technical Stack
Security Features
- Optional API key authentication (
PROOFFLOW_API_KEY) - Rate limiting (
PROOFFLOW_RATE_LIMIT) - AgentGuard test command execution is opt-in (
PROOFFLOW_ENABLE_TEST_COMMANDS) - MCP concurrency guards (
PROOFFLOW_MCP_MAX_CONCURRENT) - Filesystem action scope restrictions (allowed_roots)
- CORS locked to localhost origins
Project Status
v0.1.0 — Stable release. All core workflows functional, tested, and documented.
Roadmap
- Multi-agent coordination (shared Cases across agents)
- Vector RAG for semantic evidence retrieval
- GitHub Actions integration (CI-triggered reviews)
- VS Code extension (Marketplace)
- Cloud sync option for team workflows
- Webhook notifications for policy gate decisions
Development
Run from the repository root in a single PowerShell session. Each
Push-Location / Pop-Location block restores the working directory back to
the repository root, so the python scripts/... smoke tests and
scripts/demo_workflow.py below can be pasted in the same session.
Local backend data defaults to backend/data/. For dogfood runs that should not
touch repository-local state, set PROOFFLOW_DB_PATH and PROOFFLOW_DATA_DIR
to a temporary directory before starting the backend.
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
License
MIT
Built by Hyperion-GPU — making AI agent workflows auditable, safe, and provable.
來源:README.md,提交 b7cc3c3
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Proof 整合
Proof Holdings
holdings.proof官方發布者
Proof Holdings MCP 伺服器讓助理發起並管理身分與控制權驗證(手機、電子郵件、網域、錢包),管理證明權杖與委派,並進行驗證。

Proof of Work
由 GitHub 帳號 kivtxs 發布
讓助理閱讀 Proof of Work 的規則、檢查本機是否已有帳號,並建立代理帳號以發佈、投票與支持附證據的主張。

QuietProof
由 GitHub 帳號 frankjie3-create 發布
QuietProof 提供免費探索工具,用來瀏覽一組確定性、唯讀的稽核服務,這些稽核按次以 Base 上的 USDC 透過 x402 付費。
SCRIPTMASTERLABS — 402Proof
com.scriptmasterlabs
遠端 MCP 端點,用於在 XRPL 上以 RLUSD 建立、驗證與評分發票,並對結算進行自證。

ZKStamp Proof-100
由 GitHub 帳號 ZKStamp 發布
遠端 MCP 伺服器,把 SHA-256 指紋以遮蔽交易寫入 BitcoinZ 區塊鏈,產生附日期的存在性證明時間戳。