{"slug": "show-hn-nachuan-verifiable-zero-telemetry-multi-worktree-ai-coding-plane", "title": "Show HN: Nachuan – Verifiable zero-telemetry multi-worktree AI coding plane", "summary": "Nachuan released version 0.2.0 as an Apache-2.0 source alpha, a multi-worktree AI coding control plane whose zero-telemetry claim is checked by running `python scripts/verify_zero_telemetry.py --json`, which the project says makes 8 hard assertions covering 0 telemetry SDKs, 0 third-party CLI credential reads and 0 implicit non-loopback outbound connections. The tool spawns parallel isolated `git worktree` sessions for Codex, Claude Code, OpenCode, Kimi Code, local Ollama or BYOK cloud models, forces `-c core.hooksPath=/dev/null -c core.fsmonitor=false -c protocol.file.allow=never` on every git call, and adds an outbound audit firewall with a one-click air-gapped mode that blocks non-loopback connections while local Ollama and `llama.cpp` keep running. Signed consumer desktop installers and hosted enterprise multi-tenant deployments remain gated behind separate release processes documented in PACKAGING.md and docs/CODE_SIGNING_POLICY.md.", "body_md": "**Zero-Telemetry, Verifiable Multi-Agent Control Plane**\n**可自证零遥测的多 Agent 编码与本地 AI 控制面** — Built for developers who want multi-worktree parallel coding, visual diff review, cross-platform native secret storage, and **tool-verifiable privacy** instead of opaque promises.\n\nEnglish | [简体中文完整运维与边界说明 (README.zh-CN.md)](https://github.com/wg5759/nachuan/blob/main/README.zh-CN.md)\n\n**Release status**: `0.2.0` **source alpha** (Apache-2.0). Source, CLI + Local Web control plane, zero-telemetry verifier, and multi-worktree Coding Studio are open for inspection, testing, and contribution; signed consumer desktop installers and hosted enterprise multi-tenant deployments remain gated by independent release doors (see [`PACKAGING.md`](https://github.com/wg5759/nachuan/blob/main/PACKAGING.md) and [` docs/CODE_SIGNING_POLICY.md`](https://github.com/wg5759/nachuan/blob/main/docs/CODE_SIGNING_POLICY.md)).\n\n- **60-Second Quickstart · 60 秒极速启动** ：一条命令`nachuan start` 启动`127.77.77.77` 专属回环引擎与本地 Web 控制面。\n- **One-Command Zero-Telemetry Proof · 一键自证零遥测** ：随时运行`python scripts/verify_zero_telemetry.py --json` ，8 项硬断言端到端实证 0 遥测 SDK、0 第三方 CLI 凭据读取、0 隐式非回环外联。\n- **Hook-Safe Multi-Worktree Coding Control Plane · 多 Git Worktree 并行编码控制面** ：隔离任务分支 + 自动`.git/info/exclude` 零污染 + 可视化逐行 Diff + 单文件 Revert / 本地 Commit + Plan（只读探索）/ Build（审批绑定单次消费）双模执行闸。\n- **Live Outbound Firewall & Air-Gapped Mode · 实时网络出站审计与空气间隙纯离线模式** ：可视化查看每次出站请求，一键硬拦截所有非回环连接，本地 Ollama /`llama.cpp` 全速离线运行。\n- **3-DB Lean SQLite Core & Cross-Platform Keyring · 3 核心 SQLite 库与跨平台密钥环** ：精简为`core.db` /`memory.db` /`ops.db` 三库架构，原生适配 Windows DPAPI / macOS Keychain / Linux Secret Service /`0600` AES-256-GCM 密文密钥文件。\n\nMost coding shells ask you to *trust* their privacy claims, or give local agents unrestricted shell access with zero approval trail. Nachuan takes a strict engineering stance:\n\n1. **Tool-Verifiable Zero Telemetry** — Run one command anytime to verify static zero-SDK compliance, zero third-party CLI credential harvesting (never reads`~/.claude.json` or`~/.codex/auth.json` ), and live air-gapped blocking:\n\n```\npython scripts/verify_zero_telemetry.py --json\n```\n\n2. **Real-Time Outbound Audit Firewall & One-Click Air-Gapped Mode** — Every outbound HTTP request inside the gateway and Electron shell passes through a unified`OutboundGuard` ring buffer visible live in the UI (`GET /v1/privacy/outbound-audit` ). Flip**Air-Gapped Mode** on to hard-block every non-loopback connection before socket connect while keeping local Ollama /`llama.cpp` models running at full speed.\n3. **Hook-Safe Multi-Worktree Coding Studio + Plan/Build Sandbox** — Spawn isolated`git worktree` sessions in parallel for Codex, Claude Code, OpenCode, Kimi Code, Local Ollama, or any BYOK cloud model. Every git call forces`-c core.hooksPath=/dev/null -c core.fsmonitor=false -c protocol.file.allow=never` to prevent malicious repo hook RCE. Review structured per-file Unified Diffs, revert single files, commit selectively, and route sensitive Build commands to Desktop / Mobile Web PWA / Discord / Slack / Telegram / Feishu / WeChat approvals.\n4. **Cross-Platform Native Secret Store** — Zero plaintext secret fallback: Windows DPAPI, macOS Keychain (`/usr/bin/security` ), Linux Secret Service (`secret-tool` ), and`0600` AES-256-GCM encrypted keyfiles on headless servers.\n5. **Lean 3-Database Core + Hybrid Local/Cloud Routing** — Slimmed down to 3 SQLite core files (`core.db` ,`memory.db` ,`ops.db` ) with feature flags keeping heavy optional modules off by default; mix free local models with flagship cloud APIs to slash token spend.\n\n| Capability | **Nachuan** | T3 Code | OpenCode | OpenClaw | \n|---|---|---|---|---|\n| **Tool-Verifiable Zero Telemetry (`verify_zero_telemetry.py`)** | **Yes (CI-gated)** | No | Partial | Partial | \n| **Live Outbound Audit UI + One-Click Air-Gapped Mode** | **Yes** | No | No | No | \n| **Hook-Safe Parallel Git Worktrees + Per-File Diff / Revert** | **Yes** | Partial (raw git) | No | No | \n| **Plan (Read-Only) / Build Approval Execution Sandbox** | **Yes** | Partial | Yes (no remote ledger) | No | \n| **Remote Mobile Approvals (Web PWA / Discord / Slack / Telegram / Feishu / WeChat)** | **Yes** | Web only | No | IM only | \n| **Cross-Platform Secret Keyring (Win / macOS / Linux)** | **Yes** | Partial | Env/file | Env/file | \n| **Local Offline Models + BYOK Cloud Hybrid Routing** | **Yes** | Subscription-focused | Yes | Yes | \n\n```\n# 1. Build web renderer bundle\nnpm --prefix desktop run build:web\n\n# 2. Install as a local Python package / CLI\npip install -e .\n\n# 3. Launch local engine (binds strictly to 127.77.77.77) & open Web UI\nnachuan start\n```\n\nDownloads the official installer locally first (never pipes network text into `iex`), resolves the repo ref to an immutable 40-char commit, and verifies every file against `OPEN_SOURCE_SNAPSHOT.json`:\n\n``` php\n$installer = Join-Path $env:TEMP 'nachuan-install.ps1'\nInvoke-WebRequest https://raw.githubusercontent.com/wg5759/nachuan/main/install.ps1 -OutFile $installer\n& $installer -Action Install\n```\n\nOther handy CLI commands:\n\n```\nnachuan status                           # Inspect engine & connected models\nnachuan models                           # List active local & BYOK routes\nnachuan chat \"Summarize git diff\"        # Fast terminal turn\nnachuan doctor                           # Verify source closure & runtime hashes\npython scripts/verify_zero_telemetry.py  # Independently verify 0 telemetry calls\nNACHUAN_OFFLINE_MODE=1 nachuan start\n```\n\nAll non-loopback traffic (including web search, cloud providers, webhooks, and cloud sync) is hard-blocked before connecting while local Ollama / `llama-server` models remain fully operational.\n\n```\nDesktop (Electron) / Local Web PWA / Mobile IM (Discord, Slack, Telegram, Feishu, WeChat)\n                                    │\n                                    ▼\n             Nachuan Turn Engine & Gateway (FastAPI, 127.x loopback)\n   ┌──────────────────┬────────────────────────┬───────────────────────────┐\n   │ Privacy Firewall │ Multi-Worktree Studio  │ Multi-Model Orchestrator  │\n   │ • OutboundGuard  │ • Hook-safe worktrees  │ • Local + BYOK Routing    │\n   │ • Air-Gapped Gate│ • Per-file Diff/Revert │ • Cross-Vendor Review     │\n   │ • SecretStore    │ • Plan/Build Sandbox   │ • Same-Origin Memory/RAG  │\n   │   (DPAPI/Keychain│ • Remote Approvals     │ • Feature-Flagged Extras  │\n   │    /libsecret)   │                        │                           │\n   └──────────────────┴────────────────────────┴───────────────────────────┘\n                                    │\n                     3-DB Lean SQLite Core (core / memory / ops)\n```\n\n- **Privacy & Outbound Firewall (P2)** :\n  - `GET /v1/privacy/outbound-audit` (`limit` ,`since_id` ,`blocked_only` ) &`DELETE /v1/privacy/outbound-audit`\n  - `GET /v1/privacy/offline-mode` &`POST /v1/privacy/offline-mode`\n- **Workspace Coding Control Plane (P3 — Worktrees, Diff, Revert, Commit & Plan/Build Approval Gate)** :\n  - `GET / POST /v1/workspace/worktrees` &`POST /v1/workspace/worktrees/remove` (`DELETE /v1/workspace/worktrees` )\n  - `GET /v1/workspace/diff` (`worktree_path` ,`staged` )\n  - `POST /v1/workspace/revert-file` &`POST /v1/workspace/commit` (local commit only, never`git push` )\n  - `POST /v1/workspace/exec-plan` (`plan` read-only allowlist |`build` one-time approval-bound execution)\n- **Multi-Worktree Coding Studio & Approvals (P3)** :\n  - `GET / POST /v1/coding/sessions` ,`DELETE /v1/coding/sessions/{id}`\n  - `GET /v1/coding/sessions/{id}/diff` ,`POST /v1/coding/sessions/{id}/mode` (`plan` |`build` )\n  - `POST /v1/coding/sessions/{id}/revert` ,`POST /v1/coding/sessions/{id}/commit` ,`POST /v1/coding/sessions/{id}/exec`\n  - `GET /v1/coding/approvals` &`POST /v1/coding/approvals/{id}/resolve`\n- **Global IM Remote Approval Bridge (P4)** :\n  - `bridge/global_approval_webhook.py` — SSRF-allowlisted Discord & Slack HTTPS approval cards + Slack HMAC-SHA256 replay-protected verification.\n\n```\n# Zero-telemetry & air-gapped proof\npython scripts/verify_zero_telemetry.py --json\n\n# Core P0-P4 backend verification suites\npytest -q tests/test_p0_privacy_isolation.py tests/test_p1_architecture_slim.py \\\n  tests/test_p2_privacy_crossplatform.py tests/test_p3_coding_studio.py \\\n  tests/test_p4_global_approval.py\n\n# Shared-core distribution contract\npython scripts/verify_distribution_contract.py\n\n# Desktop TypeScript check, web build, and Vitest suite\nnpm --prefix desktop run typecheck\nnpm --prefix desktop run build:web\nnpm --prefix desktop test\n```\n\n- **Full Chinese Operations & Architecture Notes** :[`README.zh-CN.md`](https://github.com/wg5759/nachuan/blob/main/README.zh-CN.md)\n- **Architecture Decision Records** :[`docs/adr/`](https://github.com/wg5759/nachuan/blob/main/docs/adr)\n- **Open-Source Strategy & Boundaries** :[`docs/OPEN_SOURCE_STRATEGY_OPENCLAW_COMPARISON.md`](https://github.com/wg5759/nachuan/blob/main/docs/OPEN_SOURCE_STRATEGY_OPENCLAW_COMPARISON.md)\n- **Packaging & Release Gates** :[`PACKAGING.md`](https://github.com/wg5759/nachuan/blob/main/PACKAGING.md) ·[` docs/CODE_SIGNING_POLICY.md`](https://github.com/wg5759/nachuan/blob/main/docs/CODE_SIGNING_POLICY.md)\n- **Security Policy, Governance & Trademarks** :[`SECURITY.md`](https://github.com/wg5759/nachuan/blob/main/SECURITY.md) ·[` CONTRIBUTING.md`](https://github.com/wg5759/nachuan/blob/main/CONTRIBUTING.md) ·[` GOVERNANCE.md`](https://github.com/wg5759/nachuan/blob/main/GOVERNANCE.md) ·[` TRADEMARKS.md`](https://github.com/wg5759/nachuan/blob/main/TRADEMARKS.md)", "url": "https://wpnews.pro/news/show-hn-nachuan-verifiable-zero-telemetry-multi-worktree-ai-coding-plane", "canonical_source": "https://github.com/wg5759/nachuan", "published_at": "2026-11-25 16:52:38+00:00", "updated_at": "2026-11-25 17:12:30.677588+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-safety"], "entities": ["Nachuan", "Codex", "Claude Code", "OpenCode", "Kimi Code", "Ollama", "llama.cpp", "T3 Code"], "also_reported_by": [], "takeaway": "Nachuan 0.2.0 ships a CI-gated `verify_zero_telemetry.py` that asserts 0 telemetry SDKs and 0 third-party CLI credential reads, plus an air-gapped mode that blocks all non-loopback sockets while local Ollama/llama.cpp models keep running.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-nachuan-verifiable-zero-telemetry-multi-worktree-ai-coding-plane", "markdown": "https://wpnews.pro/news/show-hn-nachuan-verifiable-zero-telemetry-multi-worktree-ai-coding-plane.md", "text": "https://wpnews.pro/news/show-hn-nachuan-verifiable-zero-telemetry-multi-worktree-ai-coding-plane.txt", "jsonld": "https://wpnews.pro/news/show-hn-nachuan-verifiable-zero-telemetry-multi-worktree-ai-coding-plane.jsonld"}}