Praetor Web / Mobile / Telegram 跨端規格 v0.1

狀態:設計稿

這份文件專門定義 Praetor 的三個使用介面:

重點不是做三套平行產品,而是定義:

1. 核心原則

Praetor 的三端不應該是三個獨立產品。

它們應該是同一個公司控制系統的三種入口:

三端的共同原則:

1. 使用者主要透過 Praetor CEO 指揮公司

2. Web 可管理 Agent 的責任、狀態、上下級、任務與授權;Mobile / Telegram 只做摘要與低風險操作

3. 高風險行為不能在低上下文介面內直接完成

4. 資訊先摘要,再允許下鑽

5. 三端共享同一個 mission / decision / memory 真相來源

2. 三端定位總結

| Surface | 角色定位 | 適合做什麼 | 不適合做什麼 |

|---|---|---|---|

| Web | 完整控制台 | 深度管理、文件檢視、會議、設定、深入任務 | 極短頻快速通知 |

| Mobile Web | 輕量 executive dashboard | 查看狀態、快速批准、簡短互動 | 複雜設定、重度文件作業 |

| Telegram | 快速通知與指令通道 | 接通知、簡報、快速 approve、簡短提問 | 高風險操作、全量資料檢視、複雜管理 |

3. 全域跨端規則

3.1 Canonical surface

唯一完整 control plane 是 Web。

這代表:

3.2 Praetor-centered routing

三端預設互動都應是:

User -> Praetor CEO -> Agent employees

而不是:

User -> Dev Agent

User -> Finance Agent

User -> Reviewer

若要支援 specialist interaction,也必須是:

Talk to X via Praetor

這表示使用者知道自己在和哪個 Agent 溝通,但仍由 Praetor CEO 維持上下文、權限與責任鏈。

3.3 Risk-based surface gating

建議根據風險決定在哪一端允許操作:

Low risk

可在 Web / Mobile / Telegram 完成:

Medium risk

Web / Mobile 可完成,Telegram 只通知或只做簡化版:

High risk

只能在 Web 完成:

3.4 Identity consistency

三端都應使用同一個 executive identity:

不要在不同端突然變成:

4. Web 正式功能邊界

4.1 定位

Web 是:

Praetor Office

也就是董事長辦公室與完整控制台。

4.2 Web 必須承擔的功能

A. 完整公司總覽

B. 完整 Praetor 對話

C. 任務透明度

D. 公司記憶管理

E. 模型與成本透明度

F. 全域治理與設定

4.3 Web 禁止簡化過度的地方

Web 不應只剩:

因為那樣會破壞 Praetor 的產品差異化。

Web 必須讓使用者感覺:

4.4 Web 不應預設暴露的東西

5. Mobile Web 正式功能邊界

5.1 定位

Mobile Web 是:

Praetor Mobile Briefing

它不是桌面版縮小,而是「隨身 executive dashboard」。

5.2 Mobile 應該承擔的核心功能

A. 今日簡報

B. 快速決策

C. 簡短對話

D. Meeting Summary 閱讀

E. 通知後快速處理

5.3 Mobile 不應承擔的功能

5.4 Mobile 的互動原則

6. Telegram 正式功能邊界

6.1 定位

Telegram 是:

Praetor Direct Line

它是通知、回應、簡短命令的窄入口,不是完整產品面。

6.2 Telegram 應該做什麼

A. 主動通知

例如:

B. 快速查詢

例如:

C. 快速回覆

例如:

D. 引導回 Web

高風險事項應用:

6.3 Telegram 不應該做什麼

6.4 Telegram 的產品價值

Telegram 不是要替代 Web。

它的價值是:

7. 跨端導流規則

7.1 Telegram -> Mobile / Web

應跳轉的情況:

7.2 Mobile -> Web

應跳轉的情況:

7.3 Web -> Telegram

可主動設定:

8. Web 文字版 Wireframe

8.1 Web 首頁 / Praetor Page

┌──────────────────────────────────────────────────────────────┐
│ Praetor Office                                               │
│ Company: Praetor Studio | Mode: Subscription Executor        │
│ Active Model: Codex CLI | Pending Decisions: 2               │
├──────────────────────────────────────────────────────────────┤
│ Praetor Briefing                                             │
│ - 3 active missions                                          │
│ - 1 blocked item                                             │
│ - 2 approvals waiting                                        │
│ - 4 tasks progressing normally                               │
├───────────────────────────────┬──────────────────────────────┤
│ Praetor Chat                  │ Decision Queue               │
│                               │ - Approve budget refinement  │
│ You ↔ Praetor                 │ - Approve file overwrite     │
│                               │                              │
│ [Start project] [Briefing]    │ [Approve] [Review] [Defer]   │
│ [Meeting] [Status]            │                              │
├───────────────────────────────┴──────────────────────────────┤
│ Suggested Actions                                             │
│ - Continue paused mission                                     │
│ - Review Project Alpha                                        │
│ - Delay low-priority work                                     │
└──────────────────────────────────────────────────────────────┘

8.2 Web Overview Page

┌──────────────────────────────────────────────────────────────┐
│ Overview                                                     │
├──────────────────────────────────────────────────────────────┤
│ KPIs                                                         │
│ 6 Active Projects | 8 Running Tasks | 2 Pending Decisions    │
│ 1 Blocked Item | 14 Outputs This Week | 3 Memory Updates     │
├──────────────────────────────────────────────────────────────┤
│ On Track            Needs Attention      Waiting For Owner   │
│ - Project A         - Budget missing     - Strategy review   │
│ - Project C         - One blocked task   - Approval X        │
├──────────────────────────────────────────────────────────────┤
│ Timeline                                                     │
│ Today | This Week | Upcoming Checkpoints                     │
├──────────────────────────────────────────────────────────────┤
│ Project Snapshot                                             │
│ [Alpha] [Beta] [Gamma]                                       │
├──────────────────────────────────────────────────────────────┤
│ Recent Deliverables                                          │
│ - Budget draft                                               │
│ - Contract summary                                           │
│ - Wiki update                                                │
└──────────────────────────────────────────────────────────────┘

8.3 Web Task Detail Page

┌──────────────────────────────────────────────────────────────┐
│ Mission: Build Website                                       │
│ Owner: Praetor | Manager: PM(auto) | Status: Review          │
├──────────────────────────────────────────────────────────────┤
│ Progress                                                     │
│ - Structure completed                                        │
│ - Draft homepage generated                                   │
│ - QA pending                                                 │
├──────────────────────────────────────────────────────────────┤
│ Checkpoints                                                  │
│ - before_completion : pending                                │
├──────────────────────────────────────────────────────────────┤
│ Outputs                                                      │
│ - /Projects/Website/PROJECT.md                               │
│ - /Projects/Website/TASKS.md                                 │
├──────────────────────────────────────────────────────────────┤
│ Activity Log                                                 │
│ - Dev role executed via codex_cli                            │
│ - Reviewer flagged missing budget                            │
├──────────────────────────────────────────────────────────────┤
│ [Ask Praetor] [Open Meeting] [Approve] [Pause]               │
└──────────────────────────────────────────────────────────────┘

9. Mobile 文字版 Wireframe

9.1 Mobile Home

┌──────────────────────────────┐
│ Praetor Mobile               │
├──────────────────────────────┤
│ Today's Briefing             │
│ - 2 approvals waiting        │
│ - 1 mission paused           │
│ - 3 running normally         │
├──────────────────────────────┤
│ Need Your Decision           │
│ [Approve budget]             │
│ [Review paused mission]      │
├──────────────────────────────┤
│ Active Missions              │
│ - Project Alpha              │
│ - Website Build              │
├──────────────────────────────┤
│ Quick Ask                    │
│ [What is blocked?]           │
│ [Summarize today]            │
│ [Ask Praetor...]             │
└──────────────────────────────┘

9.2 Mobile Approval Detail

┌──────────────────────────────┐
│ Approval Needed              │
├──────────────────────────────┤
│ Mission: Build Website       │
│ Reason: Budget planning      │
│ Impact: Medium               │
├──────────────────────────────┤
│ Completed                    │
│ - Structure done             │
│ - Draft plan written         │
├──────────────────────────────┤
│ Next                         │
│ - refine timeline            │
│ - update wiki                │
├──────────────────────────────┤
│ [Approve] [Reject] [Ask]     │
│ [Open in Web]                │
└──────────────────────────────┘

10. Telegram 文字版 Wireframe

10.1 主動通知

Praetor:
You have 1 decision waiting.

Mission: Build Website
Reason: Budget refinement required
Impact: Medium

[Approve]
[Ask for summary]
[Open in Web]

10.2 快速 briefing

User:
/briefing

Praetor:
Today's company status:
- 3 active missions
- 1 blocked task
- 2 approvals waiting

Most urgent:
Budget approval for Build Website

[Show decisions]
[Show blocked]
[Open dashboard]

10.3 Mission paused

Praetor:
Mission paused: Build Invoice Tool

Reason:
Token budget reached

Completed:
- project structure created
- first draft written

Next:
- refine parser
- run review

[Continue]
[Increase budget]
[Ask for summary]
[Open in Web]

11. Web Interaction Flow

11.1 Flow: Start New Mission

1. 使用者進入 Praetor 頁

2. 點 Start a new project

3. 輸入目標

4. Praetor 回:

- 理解的任務

- 建議的第一輪工作

- 哪些會自動做

- 哪些會停下來問

5. 使用者確認

6. 系統建立 mission

7. 跳到 mission detail 或保持在 Praetor 頁顯示 briefing

11.2 Flow: Review Blocked Mission

1. 使用者在 Overview 看到 blocked item

2. 點進 Task detail

3. 看:

- blocked reason

- current outputs

- review notes

4. 點 Ask Praetor

5. Praetor 提供:

- blocked cause

- options

- recommendation

6. 使用者決定:

- continue

- redirect

- stop

11.3 Flow: Strategic Meeting

1. 使用者在 Praetor chat 輸入:Let's review Project Alpha

2. Praetor 建議會議議程

3. 使用者確認

4. 系統建立 meeting

5. 產出 structured summary

6. 顯示:

- summary

- risks

- decisions needed

- follow-ups

12. Mobile Interaction Flow

12.1 Flow: Quick Approval

1. 使用者手機打開 mobile web

2. 首頁看到 Need Your Decision

3. 點進 approval card

4. 看簡短摘要

5. 點:

- approve

- reject

- ask

6. 系統更新 approval state

7. 回到 mobile home 顯示新 briefing

12.2 Flow: Ask Current Status

1. 使用者打開 mobile

2. 點 What is blocked?

3. Praetor 回短摘要

4. 若需要 deeper detail,提供 Open in Web

13. Telegram Interaction Flow

13.1 Flow: Approval via Telegram

1. Praetor 發送通知

2. 使用者點 Approve

3. 系統檢查:

- approval category

- current risk policy

4. 若屬 low / medium risk 且允許 Telegram:

- 直接批准

5. 若屬 high risk:

- 回覆摘要

- 附 Open in Web

13.2 Flow: Quick Status Request

1. 使用者輸入 /status

2. Praetor 回:

- active missions

- blocked items

- pending decisions

3. 若使用者輸入 show project alpha

4. 回傳精簡 summary

5. 如需全文或附件,給 deep link

14. 通知策略

14.1 Web

適合:

14.2 Mobile

適合:

14.3 Telegram

適合:

14.4 不應該通知過量

預設應只推送:

不應推送:

15. 安全與隱私邊界

15.1 Web

可承載最高風險操作。

但仍需:

15.2 Mobile

可做中風險以內互動,但高風險最好仍要求 Web confirm。

15.3 Telegram

Telegram 應視為低上下文介面。

原則:

絕不應預設在 Telegram 允許:

16. 穩定性與產品取捨

16.1 為什麼不讓三端功能一樣

優點:

缺點:

判斷:

16.2 為什麼 Web 要是 canonical surface

優點:

缺點:

判斷:

17. MVP 建議範圍

P1

P2

P3

18. 最後結論

Praetor 的三端應該是:

這三端不應該互相競爭,而應該共同維持同一件事情:

讓使用者始終透過 Praetor 管理整間 AI 公司,而不是被一堆 agent 與低層流程反過來管理。