BugProof
io.github.sidinsearch由 GitHub 帳號 sidinsearch 發布v1.6.5更新於 Oct 24, 2026
Capture, replay, and debug failures with portable, executable bug artifacts
發布方自己的服務:Proof Holdings
概覽
BugProof 把失敗指令擷取成可攜的 .bug 成品並可重播,讓助理重現、檢視、比對與分享缺陷。
- 可以做什麼
- 把失敗指令擷取成 .bug 成品,或監看指令並只在失敗時擷取
- 在沙箱中重播成品並取得自動判定,檢視成品中繼資料,比對兩次擷取
- 檢查本機沙箱能力,列出或清理目錄中的 .bug 成品
- 將成品分享為 GitHub Gist,並下載他人分享的成品
- 透過資源 URI 讀取成品原始內容,並提供擷取、重播分析、比對等內建提示詞
- 適用情境
- 適合排查偶發失敗的測試、只在 CI 出現的失敗或跨平台缺陷,讓助理把確切指令、原始碼快照、環境與失敗指紋打包,使他人能確定性地重現。
- 執行需求
- 以 npm 套件(bugproof,透過 npx 或全域安裝啟動)在本機以 stdio 執行。需要 Node.js 18+ 與 Git;只有被擷取的指令用到時才需要對應語言工具鏈。分享或下載成品需要具備 gist 權限的 GitHub 權杖(GITHUB_TOKEN 或 BUGPROOF_GITHUB_TOKEN)及網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 BugProof,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
BugProof
Executable bugs, not bug reports.
Capture a failing command into a portable .bug artifact that anyone can replay on their machine — same code, same env, same failure. Cryptographically signable. Cross-platform. Zero containers required.
https://github.com/user-attachments/assets/2315cfee-3ccf-40d7-830e-3a3d23731ab8
Why BugProof
"Works on my machine" is not a bug report.
Filing a backend or CLI bug today usually looks like this:
- A screenshot of a terminal
- A copy-pasted stack trace
- A list of probably relevant files
- A best-guess description of how the reporter ran the thing
Then the maintainer spends hours reconstructing the failure: matching versions, replicating the env, finding the right command, guessing at config. Most of that time is wasted.
BugProof captures the bug — not the description of it. One command produces a single .bug file containing the source snapshot, the exact command, the environment schema, the failure fingerprint, and replay metadata. Another developer runs bugproof replay bug.bug and reproduces the failure deterministically.
Think of it as Git for bugs: a portable, content-addressable, verifiable artifact that turns "can you reproduce?" into a one-liner.
Highlights
- One-command capture. Wrap any failing command with
bugproof capture --and ship the result. - Deterministic replay. Source, env, command, and fingerprint travel together. Verdict is automatic.
- No Docker. No daemon. Uses native OS primitives — Linux namespaces, Windows Job Objects, macOS Seatbelt.
- Cryptographic signatures. Ed25519 sign/verify built in. Tamper-evident artifacts via
bugproof keygen/--sign/verify. - Self-healing replay.
--self-healauto-installs missing npm/pip deps in the sandbox and retries. - Best-effort credential redaction. Env vars are scanned via pattern-matching + Shannon entropy. Known secret shapes (API keys, tokens, JWTs) are caught; low-entropy passwords and binary credentials may still leak.
- Multi-language. Detects Node.js, Python, Ruby, Go, Rust, Java, C/C++, .NET, Kotlin build context automatically.
- Cross-platform. Win ↔ Linux ↔ macOS replay, with command/env translation and architecture-mismatch guardrails.
Install
Requirements: Node.js 18+ and Git. Optional language toolchains (Python, Java, Go, Rust, …) are only needed if your captured command uses them.
Run a one-off health check after install:
GitHub Action — Capture CI Failures Automatically
Add a single step to any GitHub Actions workflow to auto-capture flaky/failing commands as .bug artifacts.
How it works: The action installs bugproof from npmjs.org (npm install -g bugproof) → wraps your command with bugproof capture → on failure, the .bug artifact is uploaded to the Actions run. Developers download and repro locally with bugproof replay.
Use cases:
- Flaky CI tests: Capture the exact failure for local debugging
- Cross-platform failures: A test passes on Linux CI but fails on macOS — capture the failure on both and diff
- Intermittent crashes:
bugproof capture -- node app.jsbundles the crash state, env, and source
All inputs:
The action lives at .github/actions/bugproof-action/action.yml in this repo. Reference it via uses: sidinsearch/BugProof/.github/actions/bugproof-action@main. BugProof is always installed from npmjs.org — no GitHub Packages token needed.
MCP Server — AI-Agent Integration
BugProof ships a built-in MCP (Model Context Protocol) server that exposes 10 tools plus Resources and Prompts for AI agents. Listed on the Official MCP Registry as io.github.sidinsearch/bugproof.
Setup
Claude Code
Add to ~/.claude/settings.json:
Cursor
Add to Cursor MCP config (Settings → Features → MCP):
Continue.dev
Add to ~/.continue/config.json:
With bugproof installed globally
If you already have bugproof globally (npm install -g bugproof), omit npx -y:
No separate MCP install needed. npx -y bugproof mcp auto-downloads from npmjs.org and starts the server over stdio.
Tools
Resources
AI agents can read .bug artifact contents directly via resource URIs:
bugproof://artifact/{path}— Read the raw .bug artifact (base64-encoded ZIP)
Prompts
Pre-built workflows for common AI agent tasks:
Example AI session
The MCP server communicates over stdio (JSON-RPC 2.0). It shells out to the local bugproof CLI with --json output and returns structured results with both human-readable summaries and raw data. If bugproof isn't installed, npx -y fetches it from npmjs.org — no global install required.
AI Agent Skill
BugProof ships a distributable AI Agent Skill that teaches AI coding agents (Claude Code, Cursor, OpenCode, OpenClaw, Gemini CLI, GitHub Copilot, and others) how to use BugProof effectively. The skill follows the open Agent Skills standard — build once, use across any compatible agent.
What the Skill Does
When loaded, the skill gives AI agents complete knowledge of:
- All 14 BugProof commands with flags and examples
- Capture, replay, diff, and inspection workflows
- Cross-platform replay patterns
- MCP server configuration
- Best practices for naming, security, and artifact management
- 8 real-world examples (Node.js, Python, Go, Java, CI/CD, cross-platform, flaky tests)
How AI Agents Use It
Agents auto-load the skill when users mention:
- "capture this bug"
- "replay the bug"
- "reproduce this failure"
- "share this bug"
- ".bug file"
- "works on my machine"
- "executable bug"
Or invoke directly: /bugproof
Install the Skill
Option 1: Clone This Repository
Option 2: Download the Skill Directly
Skill Structure
Supported AI Agents
The skill follows the open Agent Skills specification — any agent that supports the standard can use it.
60-Second Quick Start
Optional flow:
Commands
BugProof ships 14 commands. Every command supports --help and --json for machine-readable output.
bugproof capture [command...]
Run a command end-to-end and bundle the failure as <name>.bug.
Default behavior: Without -n, artifacts are named bug_<timestamp>.bug. With .bugproofrc nameTemplate configured, the template is used instead. Without -o, artifacts are saved in the current directory.
bugproof replay <artifact>
Re-execute the captured artifact and compare results.
Replay isolation: Replay always runs in an isolated temp directory. Files come from either: (1) git worktree/clone at the captured commit, (2) current directory's git repo (if original path is inaccessible), or (3) the artifact's bundled files/ snapshot. The current directory is never read for source files.
bugproof keygen / verify — Cryptographic Provenance
Sign artifacts with Ed25519 (RFC 8032). Built on Node's native crypto — no external deps.
The signature covers a canonical hash of the manifest, the failure fingerprint, and the SHA-256 of every file in the bundle. Tampering with source, output, exit code, or metadata invalidates the signature.
Note: identity/PKI is intentionally out of scope. Trust is established by comparing the embedded public-key fingerprint against one you know (gist pinning, team wiki, key server, etc.).
bugproof watch [command...]
Transparent wrapper. Runs the command normally; only captures if it fails. Drop-in replacement for any command you'd otherwise hand-run.
bugproof inspect <artifact> / diff <a> <b>
bugproof share <artifact>
Publish an artifact as a GitHub Gist. Respects HTTPS_PROXY / HTTP_PROXY for corporate networks.
Requires GITHUB_TOKEN (or BUGPROOF_GITHUB_TOKEN) with gist scope.
bugproof init / prune / doctor
Configuration (.bugproofrc)
Generated by bugproof init. All fields are optional.
Smart Source Strategy
BugProof keeps artifacts small even on heavy codebases:
Git is strongly encouraged but not required.
Compiled Language Support
BugProof auto-detects compiled languages and bundles build artifacts automatically:
How it works: When BugProof detects a compiled language project (via pom.xml, go.mod, Cargo.toml, etc.) and finds compiled artifacts in standard build directories, it automatically includes them. No flag needed.
Use --include-compiled to force inclusion even when auto-detection misses something, or for edge cases.
Sandbox & Isolation Model
BugProof runs replayed commands in a layered sandbox — Docker-like isolation built on native OS primitives.
Three sandbox levels are exposed via --sandbox:
workspace(default) — minimal isolation, fast. Good for trusted artifacts.isolated— namespace + temp isolation. Recommended for untrusted artifacts.full— all layers including network deny + resource limits.
Caveat: On Windows,
isolatedandfullare best-effort hardening, not VM-grade containment. For artifacts from fully untrusted sources, replay inside a dedicated VM.
Environment Snapshot
Capture-time runtime versions are recorded and diffed on replay:
Tracked: Node.js, Python, Ruby, Go, Rust, Java, npm, pip, OS platform, architecture.
Cross-Platform Replay
The translation layer normalizes commands (python3 ↔ python, gradlew ↔ gradlew.bat, make ↔ mingw32-make, shell paths). Architecture mismatches (x64 ↔ arm64) trigger explicit warnings with Rosetta/translation advice.
Security Model
Use --skip-secrets only when you've audited the environment yourself.
File Association
Windows
Registered under HKCU\Software\Classes\.bug → BugProof.Artifact with open command node <package>/dist/cli.js replay "%1".
Linux
Registers MIME application/x-bugproof, a bugproof.desktop handler, and a user-level icon entry in ~/.local/share/icons/hicolor/.
macOS
Best-effort via the bundled script. Re-run manually if Finder association doesn't take:
Architecture
Contributing
PRs welcome. See CONTRIBUTING.md for guidelines, dev setup, and the test matrix expectations. Every PR runs the full tri-platform CI; please add tests for new behavior.
License
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
Made with ❤️ by sidinsearch · Copyright © 2026 sidinsearch · AGPL-3.0 License
來源:README.md,提交 10228ef
工具
0版本歷史
1- v1.6.5最新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 區塊鏈,產生附日期的存在性證明時間戳。