
WAKE Protocol
io.github.Omodaka9375由 GitHub 帳號 Omodaka9375 發布v2.2.2更新於 Oct 24, 2026
A post-mortem succession protocol for AI agents. Black Box, handoff, time-locks.
概覽
給 AI 代理使用的本機「身後交接」協定:保存擁有者的遺囑、知識與臨終留言,在長期無活動後依層級釋出給驗證者與受益人。
- 可以做什麼
- 建立與修改遺囑、送出心跳、查詢協定狀態
- 推進協定流程:強制進入 VIGIL、確認死亡、執行封存、精煉或刪除
- 新增、列出與刪除知識條目,支援時間鎖與去識別化過濾
- 依權杖角色讀取臨終留言、分層級的黑盒子知識與稽核紀錄
- 為受益人產生並取得交接包
- 匯出、匯入、備份與還原加密狀態;產生法律匯出、清除資料並核發刪除憑證
- 適用情境
- 適合希望讓 AI 代理保管指示、敏感知識或告別留言,並在設定期間的無活動或確認死亡後,依層級只釋出給指定人員,同時保留稽核紀錄的情境。
- 執行需求
- 透過 npx 或全域 npm 安裝以 stdio 在本機執行(需要 Node.js),也可作為 localhost 上的 HTTP 端點並提供網頁儀表板。使用本機 SQLite 資料庫與 data/ 下的伺服器金鑰檔案。未宣告 API 金鑰或環境變數;可用 WAKE_PORT 變更連接埠。權杖在 configure_will 時產生。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 WAKE Protocol,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
WAKE MCP Server
Will-Aware Knowledge Execution - A post-mortem protocol for AI agents.
23 tools · SQLite + AES-256-GCM encryption · Token auth
Quick Start
Connect Your Agent
Warp / Claude Desktop / Cursor — same config, different file locations:
Using npx (recommended):
Or with a local build:
Any MCP client over HTTP:
Default port is 3000. If taken, auto-increments. Set WAKE_PORT to override. Check the console output for the actual URL.
Agent Skill
SKILL.md — platform-agnostic instructions that teach any agent how to use WAKE:
- Owner — auto-heartbeat, conversational will setup, proactive knowledge contribution
- Verifier — death confirmation handling
- Beneficiary — tier-scoped access, final messages, handoff packages
- Executor — EULOGY management, legal export, terminal state, data purge
Point your agent at SKILL.md or include it in your system prompt.
Protocol
- ACTIVE — Owner alive. Agent calls
heartbeateach interaction. - VIGIL — Inactivity threshold exceeded. Awaiting verifier confirmation.
- EULOGY — Succession executing. Tiered access, Black Box, final messages.
- REST — Terminal state (archive/distill/delete). Protocol complete.
Authentication
Tokens generated once during configure_will. Three types:
- Master — owner operations (heartbeat, configure, vigil)
- Verifier — death confirmation only
- Beneficiary — per-person, scoped by tier (executor/beneficiary/memorial)
Tokens stored as SHA-256 hashes. State encrypted with AES-256-GCM (server key).
Tools
Will Management
Protocol Progression
Data Access
Knowledge
Inter-Agent Handoff
Backup & Recovery
Legal & Compliance
Key Features
- Multi-user —
ownerIdparam on every tool, independent state per owner - Auto-backup — previous state saved on every write, last 5 kept
- Background monitor — checks heartbeat staleness every 5 min, auto-triggers VIGIL
- Dead man's switch — auto-escalates VIGIL → EULOGY if verifier doesn't respond
- Webhooks — fire on
vigil.triggered,eulogy.started,eulogy.message,rest.executed,timelock.released - Time-locks —
releaseAfteron messages and knowledge entries, sealed until date - Redaction filtering — entries matching redaction categories hidden from all tiers
- Tier-scoped Black Box — executor sees all, beneficiary sees finances/contacts/documents, memorial sees curated entries only
- No-resurrection directive — enforceable flag propagated to handoffs and certificates
- Jurisdiction mapping — legal export maps to applicable laws (RUFADAA, GDPR, ELVIS Act, etc.)
- Deletion certificate — SHA-256 attested record, sole survivor of data purge
Dashboard
Web UI at http://localhost:3000. Role-based views:
- Login — paste any token, auto-detects role
- Owner — status, knowledge CRUD, heartbeat, VIGIL trigger, legal export
- Verifier — status, death confirmation
- Executor — Black Box, messages, audit, terminal state, handoff, purge
- Beneficiary/Memorial — tier-scoped Black Box, messages
Set WAKE_PORT=8080 to change the port.
Data
SQLite database at data/wake.db. Server encryption key at data/.server-key. Deletion certificates at data/deletion-certificate-*.json.
Delete the data/ directory to reset everything.
Deploy
One-click:
CLI:
Docker Compose:
Config files included: railway.toml, fly.toml, vercel.json, Dockerfile.
Note: Vercel is serverless — SQLite won't persist. Use Railway or Fly for production.
來源:wake-mcp-server/README.md,提交 c11b167
工具
0版本歷史
1- v2.2.2最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。