2.6 KiB
2.6 KiB
02 · 功能地圖索引(41 區 → 模組 → crate)
驗收用表格:重構後每一區的功能必須仍能由列出的 crate 組合支撐。 「驗證」欄 = 該區 feature-map 的 verify-anybot 步驟,重構每階段都要全跑(見 05)。
| feature-map 區 | 現有主要模組 | 目標 crate |
|---|---|---|
| account | profile setup secrets | core + ui + app-bin |
| activity | activity_ui oplog | ui + core |
| appearance | theme icons appearance | ui + shared |
| apps | macapps computer | platform-mac + core |
| autonomy | gate policy claims | core |
| bots | agent brains tools | core |
| box | cloudbox box/ | core + net |
| branch | branch.rs branch_ui | ui + core |
| browser | browser botbrowser preview web | browser |
| cards | cards_ui diagram | ui + core |
| channels | channels | channels |
| chat | chat_ui chat(bidi) | ui + net |
| claims | claims claims_ui | core + ui |
| computers | computer computers_ui desk x11 wl portal | platform-* + ui |
| connectors | mcp mcp_oauth hooks | core |
| deliver | deliver deliver_ui drops | channels + ui |
| files | files_ui docindex find attach | core + ui + channels |
| garden | garden | core |
| goal | goal goal_ui | core + ui |
| library | library_ui skills | ui + core |
| market | market_ui | ui |
| memory | memory memstore memory_ui | core + ui |
| models | model providers models_ui chatgpt m2v | core + ui |
| pages | pages pages_ui | app-bin + ui |
| pageview | embed web | browser |
| phone | phone phonefit | channels + net |
| plan | plan plan_ui | core + ui |
| profile | profile profile_ui | app-bin + ui |
| replay | replay checkpoints oplog | core + ui |
| routines | routines routines_ui triggers | core + ui |
| safety | safety landlock egress policy | core + platform-linux + net |
| sandbox | sandbox sandbox 測試 | core |
| schedule | schedule schedule_ui | core + ui |
| screen | screen desktop 截流 | channels + platform-* |
| server | httpd net tunnel remote lantls relay | net + relay |
| settings | settings_find setup | app-bin + ui |
| skills | skills teach | core |
| tasks | tasks tasks_ui | core + ui |
| team | teams teams_ui | core + ui |
| vault | vault vault_store secrets | core + ui |
| workflow | workflow workflow_ui | core + ui |
維護規則(沿用 CLAUDE.md)
- 重構不動行為,所以本表不需改 feature-map 內文;只在 crate 邊界變動時更新本表。
cargo test featuremap::繼續當鎖:新增/搬移工具、動作、設定分頁時,地圖與鎖檔同 commit。- 本表是 05 策略中「分區驗收」的清單來源:每階段搬完,只跑受影響區的 verify-anybot 步驟 + 全量
cargo test。