AnyBot/docs
王性驊 cc16b7df0f fix: http 帳號伺服器每個請求都開新連線才查得到;一個字的名字不能是數字;文件照實寫重試
第四輪(新的獨立審查,沒有 P0/P1):

- http 的帳號伺服器 client 不留連線(max_idle_connections 0):每個請求都開新的連線,所以每個請求都在
  開連線那一刻查。上一個 commit 說「workers 每一輪也一樣」其實不對——keep-alive 會重用同一條連線;現在才對。
  https 照舊。長連線(WebSocket)是每次連上、重連時查,連著的時候不中途重查,文件照這樣寫。
- 一個字的名字要以英文字母開頭、只有字母數字 - _:系統的解析器會把 134744072、0x8080808、01002004010
  讀成 8.8.8.8,這些不再當成 Docker 的名字。localhost 只有查到的位址都是 loopback 才算這台。
- phone.md、SECURITY.md、FEATURES.md:登入、還原、配對被擋時回到表單說原因;只有長連線、備用連線和
  --serve 的 ANYBOT_ACCOUNT 會自己再試。

已驗證: 完整 cargo test(金鑰清空、DOCKER_HOST 指到不存在)全綠(654 過、47 ignored 沒跑);cargo clippy
  --bin anybot --all-targets -- -D warnings 沒有警告;sh deploy/ci/lint-sh.sh 過。新測試各回退一次都抓到:
  連線池打開(三個請求只開一條連線)、一個字的規則改回「沒有點、不是 IpAddr」、localhost 改回照名字相信。
未驗證: 沒有接真的帳號伺服器(同上一輪的原因);手機頁面行為沒變,這輪沒有重跑 verify-anybot。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 11:52:23 +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: http 帳號伺服器每個請求都開新連線才查得到;一個字的名字不能是數字;文件照實寫重試 2026-11-18 11:52:23 +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