AnyBot/docs
王性驊 e5c7461a85 feat: 驗證用 skill verify-anybot——隔離的 scratch AnyBot、假模型、無頭 Chrome 操作手機頁面
照 pstack 的 create-verification-skill 產生(Claude Code 放在 .claude/skills/)。功能地圖沿用
docs/feature-map/,skill 不另放一份:改哪一區就開那一份照「驗證:」走,skill 補上怎麼開、怎麼操作、
怎麼留證據、怎麼收乾淨。

- scripts/ctl:build、up(假模型 → setup --seed 建 Bot → --serve)、doctor、serve/stop/restart、
  ask(--ask --json)、api(手機 API)、phone(無頭 Chrome 操作手機頁面)、state、down(收掉,證據留在
  target/verify-anybot/<時間>/)。
- scripts/scratch-env:每個 scratch AnyBot 的隔離環境(env -i、DOCKER_HOST 指到不存在、自己的 HOME
  和資料夾、Hugging Face 連不上、保險庫金鑰放檔案),拒絕裸的 anybot 和 AnyBot.app。
- ctl up 先放 vault-index-imported 標記:scratch 不會跑 security dump-keychain 去列使用者的鑰匙圈。
- scripts/fake-model.mjs:OpenAI 相容的假模型,回固定答案,訊息裡寫 [[call 工具 {JSON}]] 就叫那個工具。
- scripts/phone.mjs:只用 Node 內建 fetch/WebSocket 的 CDP 驅動,390×844 的 iPhone 畫面,只信任
  scratch 那張憑證的公鑰。
- docs/feature-map/README.md:「驗證指令工具還沒做」改成指向這個 skill。

已驗證: cargo test featuremap::(5 個全過);照 SKILL.md 從頭跑 phone 區的範例旅程(ctl build 後整段照貼,
  結束碼 0):錯密碼顯示「密碼不對」、正確密碼看到 Bot 清單、手機傳訊息拿到假模型回答、update_bot 的允許卡片
  按「允許」後名稱改了且大腦的 approvals 變空、按「拒絕」後步驟是 denied 名稱不變、restart 後登入和聊天都還在、
  手機與帳號頁登出 verify-cli 後它拿 401、這支手機自己登出回到登入頁、ctl down 後證據還在、沒有殘留程式、
  使用者的 Docker 和 Lima 沒動;另外跑過 ctl up --no-serve + --ask --json(含自動拒絕核准)和
  scratch-env --sample-state。
未驗證: 電腦版視窗的路(設定 › 手機與帳號 的開關和裝置清單、桌面上的允許卡片同步消失、ctl desktop-shot)
  ——會在使用者正在用的 Mac 螢幕上開視窗,這次不跑;帳號登入、推播通知、App 圖示數字——要 relay 帳號伺服器
  和真的手機;外觀顏色跟著電腦——要在桌面改;完整 cargo test、layout_audit:: 沒跑——沒有改 src/。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:21:43 +08:00
..
demo docs: README 重寫——跟上這一週的功能,圖從現在這版重拍 2026-11-18 08:10:55 +08:00
en version_0_1_1-alpha 2026-11-11 16:19:06 +08:00
feature-map feat: 驗證用 skill verify-anybot——隔離的 scratch AnyBot、假模型、無頭 Chrome 操作手機頁面 2026-11-18 10:21:43 +08:00
specs Rewrite decompilation comments as behaviour specs; move reverse-engineering docs out of the repo; drop third-party marks from UI strings (i18n tables synced) 2026-11-09 16:37:33 +08:00
architecture.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
install.md design: Bot 的電腦的桌面也換成思源黑體(第 14 版),拿掉粉圓 2026-11-16 22:18:32 +08:00
memory.md 記憶: each bot keeps its own, remembers like a person, and decides for itself 2026-11-11 09:35:59 +08:00
multi-device.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
plan-2026-11-computer-use.md Plan: smoother computer use and box logins that survive a rebuild 2026-11-06 22:06:49 +08:00
plan-2026-11-engineering.md refactor: 工具呼叫改成 TurnTool trait:28 個工具照原本的順序排成一張清單,不再是一長串 if 2026-11-17 13:43:57 +08:00
plan-2026-11-improvements.md 記憶: a page to see it, a few lines picked while typing, a local model 2026-11-11 07:46:50 +08:00
protocol.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
readme-style.md Readmes: the shape top-starred projects use, and no more overflow 2026-11-10 14:14:27 +08:00
release.md make, README and docs: build and install from source 2026-11-04 22:16:45 +08:00
skills.md version_0_1_1-alpha 2026-11-11 16:19:06 +08:00