AnyBot/docs
王性驊 755b877d24 fix: 等你允許的卡片第四輪——螢幕電腦照樣跑自己的 Notification hook;新卡重新送到手機有測試
獨立審查(8426638,沒有 P0/P1)提的:
- 第三輪的退步:螢幕電腦不推到手機時,連自己的 Notification hook 也跳過了(remote::notify_about 先叫
  hooks::notification 才推)。hooks 是每台電腦自己的(那台資料夾的 hooks/hooks.json),safety 寫
  「Notification 跟著通知跑」:螢幕電腦現在照樣跑自己的 hook,只有推到手機那一步是大腦的。沒有加測試:
  整段通知只在非示範模式跑(測試用示範的 App),hook 又是在執行緒上跑使用者自己的程式。
- 新測試 a_card_in_anothers_place_is_published_again:同一個 call_0、同樣的字的新卡(和支線的新卡)
  會讓手機畫面的簽章改變、重新送出,手機和螢幕電腦才拿得到新卡的 key(不然每個回答都被擋)。
- verify-approval-routing 的 REPLAY 補上 a_question_in_anothers_place_starts_with_nothing_picked、
  the_answer_after_direct_mode_let_its_card_through_says_nothing 和上面的新測試(共 10 個);「沒有
  放進模型」寫上螢幕電腦照樣跑自己的 hook;對過模型後 rehash(這個 commit 就是新的同步 commit)。
- 功能地圖 chat:換成另一張問題卡(就算編號一樣)就從第一題、什麼都沒選重新開始。

已驗證: 完整 cargo test(env -u 各家金鑰、DOCKER_HOST=unix:///nonexistent、ANYBOT_HF_BASE=http://127.0.0.1:9)649 passed、0 failed,含 featuremap::、layout_audit::、tool_specs_are_locked、approval_decisions_are_characterized(鎖檔沒改);cargo clippy --bin anybot --all-targets -D warnings;deploy/ci/lint-sh.sh;run.sh 先報 brain.new_approval_keyed 改過(結束碼 3),照技能對過(螢幕電腦還是不推到手機,只多跑自己的 hook,模型不變)後 rehash,run.sh --replay:沒有漂移、AllSurfaces 通過(421324 個狀態)、CanAnswer 找到三個地方都答得到、10 個重走測試通過;簽章拿掉主線卡的 key、拿掉支線卡的 key,新測試都抓到,改回後一致
未驗證: 螢幕電腦的 Notification hook 真的跑(要非示範模式的螢幕電腦和一個 hook,沒有實機);手機頁面看得到的行為這一輪沒變,沒有重跑 verify-anybot;--ignored 的實機測試(留給人跑)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 11:45:57 +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 fix: 等你允許的卡片第四輪——螢幕電腦照樣跑自己的 Notification hook;新卡重新送到手機有測試 2026-11-18 11:45:57 +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