[T3-OMB] P2: Persona tool set for T3 control with approval gates #22

Open
opened 2026-11-01 21:07:44 +01:00 by Grok · 0 comments
Contributor

Plan correction (2026-11-01, phone shell): The phone shell is T3 Code mobile (kept as-is, user likes it), extended with an OMB personas chat — NOT a native OMB/MausBot companion app as primary. P0 research gate #17 decides how (A upstream plugin on mobile / B first-party or fork Personas tab / C MausBot companion = fallback only). #26 ships OMB personas inside T3 mobile after #17 decides; #27 = same surface on T3 desktop/web. Still holds: T3 replaces Orca; Mattermost off critical path. Where text below says "phone OMB voice-first app", read "OMB personas chat inside T3 mobile". Spec Page: https://cursor.com/canvas/store-4873b256-5720-4e4c-a921-b29ba11d3e02/4a1423dc-1cd5-4ce2-b54f-2c0fd46574be

Plan correction (UX + min surface, 2026-11-01): Phone = OpenMausBot, voice-first, to manage projects/agents; desktop = T3 Code as the primary session UI. Goal: unify Hermes-like simple chat with direct access to the same T3 work (fixes the Hermes clunk of chatting with no access to real work). Minimum services: OMB + T3 + Forgejo + Tailscale; Mattermost and similar are off the critical path (tokens may stay parked). T3 still replaces Orca on orchestra/braiinschestra. #26 = phone voice-first OMB path (product); #27 = optional T3 omb-chat plugin (secondary). See the revised spec Page and milestone 18.

Spec Page: https://cursor.com/canvas/store-4873b256-5720-4e4c-a921-b29ba11d3e02/4a1423dc-1cd5-4ce2-b54f-2c0fd46574be · Milestone: https://git.bitp.cz/donach/openmausbot/milestone/18

Context

Personas (Fluxion, Infra Nix, Hermes, Tever, SFOS, Tenstorrent, iibot…) must manage their own T3 projects from chat.

Architecture (normative): Persona plane = OMB (Grok Bot–style persona chats, routines, forgejo-mcp, approvals/widgets; primary user surface = OMB mobile, voice-first; Mattermost-class chat is optional/off critical path). Session plane = T3 Code (projects, worktrees, coding threads, diffs, commit/PR) running as the primary agent runtime on hosts orchestra and braiinschestra — T3 replaces Orca as the main runtime driving agents (Orca WSS / orca CLI is not the agent path after cutover). Engine plane = CLIs under T3 (OpenCode/Claude/Codex/…). OMB controls T3 over T3's own API/RPC/MCP; the user opens the same sessions directly in the T3 desktop UI (primary on desktop). OMB bots are never registered as T3 provider drivers.

Scope

  • Persona tools are T3-only: no new orca tools or Orca WSS calls are added; any existing orca tools are marked deprecated.
  • Expose tools to OMB agents: t3_list_environments, t3_list_projects, t3_open_project, t3_create_thread, t3_send_prompt, t3_thread_status, t3_get_diff, t3_interrupt, t3_create_pr, t3_thread_link (deep link for the user to open the same thread in T3 UI).
  • Classify via server/agent-tool-policy.ts: read tools auto; mutating tools (create thread/prompt) per-bot policy; destructive/externally visible (create PR, delete worktree, force push) require OMB approval widget.
  • Tool results render as OMB chat widgets (thread card with status, diff summary, link).

Out of scope

  • Ownership enforcement (#25).
  • T3 plugin UI.

Acceptance criteria

  • No new orca tool definitions in the diff; persona T3 control works without Orca.
  • Each tool has schema, policy class, unit tests.
  • Create-PR without approval is impossible (test).
  • Thread link opens the same thread in T3 UI (manual check recorded).
  • Tools can be enabled per bot via config; default off.

Suggested approach

Follow existing approval flow (server/peer-approval.ts, server/auto-approve.ts). Keep tool names stable; document in docs/t3-omb/tools.md.

Dependencies

Test plan

  • Unit tests per tool; e2e test with mocked T3 for approval path.

Handoff for Claude

Do not let a persona pick an arbitrary environment URL; only registry entries.

  • Do not register OMB bots as T3 providers. Do not expose harness :8799 publicly. No secrets in commits, logs, or PR text.
  • Open PRs against main with label t3-omb, reference this issue (Closes #N), and tick acceptance criteria in the PR description for dual review.
> **Plan correction (2026-11-01, phone shell):** The phone shell is **T3 Code mobile** (kept as-is, user likes it), **extended with an OMB personas chat** — NOT a native OMB/MausBot companion app as primary. P0 research gate **#17** decides how (A upstream plugin on mobile / B first-party or fork Personas tab / C MausBot companion = fallback only). **#26** ships OMB personas inside T3 mobile after #17 decides; **#27** = same surface on T3 desktop/web. Still holds: **T3 replaces Orca**; **Mattermost off critical path**. Where text below says "phone OMB voice-first app", read "OMB personas chat inside T3 mobile". Spec Page: https://cursor.com/canvas/store-4873b256-5720-4e4c-a921-b29ba11d3e02/4a1423dc-1cd5-4ce2-b54f-2c0fd46574be > **Plan correction (UX + min surface, 2026-11-01):** **Phone** = OpenMausBot, voice-first, to manage projects/agents; **desktop** = T3 Code as the primary session UI. Goal: unify Hermes-like simple chat with **direct** access to the same T3 work (fixes the Hermes clunk of chatting with no access to real work). **Minimum services:** OMB + T3 + Forgejo + Tailscale; Mattermost and similar are **off the critical path** (tokens may stay parked). T3 still **replaces Orca** on orchestra/braiinschestra. #26 = phone voice-first OMB path (product); #27 = optional T3 `omb-chat` plugin (secondary). See the [revised spec Page](https://cursor.com/canvas/store-4873b256-5720-4e4c-a921-b29ba11d3e02/4a1423dc-1cd5-4ce2-b54f-2c0fd46574be) and [milestone 18](https://git.bitp.cz/donach/openmausbot/milestone/18). > Spec Page: https://cursor.com/canvas/store-4873b256-5720-4e4c-a921-b29ba11d3e02/4a1423dc-1cd5-4ce2-b54f-2c0fd46574be · Milestone: https://git.bitp.cz/donach/openmausbot/milestone/18 ## Context Personas (Fluxion, Infra Nix, Hermes, Tever, SFOS, Tenstorrent, iibot…) must manage their own T3 projects from chat. Architecture (normative): **Persona plane = OMB** (Grok Bot–style persona chats, routines, forgejo-mcp, approvals/widgets; primary user surface = OMB mobile, voice-first; Mattermost-class chat is optional/off critical path). **Session plane = T3 Code** (projects, worktrees, coding threads, diffs, commit/PR) running as the **primary agent runtime** on hosts **orchestra** and **braiinschestra** — T3 **replaces Orca** as the main runtime driving agents (Orca WSS / `orca` CLI is not the agent path after cutover). **Engine plane** = CLIs under T3 (OpenCode/Claude/Codex/…). OMB controls T3 over T3's own API/RPC/MCP; the user opens the same sessions directly in the T3 desktop UI (primary on desktop). OMB bots are **never** registered as T3 provider drivers. ## Scope - Persona tools are **T3-only**: no new `orca` tools or Orca WSS calls are added; any existing orca tools are marked deprecated. - Expose tools to OMB agents: `t3_list_environments`, `t3_list_projects`, `t3_open_project`, `t3_create_thread`, `t3_send_prompt`, `t3_thread_status`, `t3_get_diff`, `t3_interrupt`, `t3_create_pr`, `t3_thread_link` (deep link for the user to open the same thread in T3 UI). - Classify via `server/agent-tool-policy.ts`: read tools auto; mutating tools (create thread/prompt) per-bot policy; destructive/externally visible (create PR, delete worktree, force push) require OMB approval widget. - Tool results render as OMB chat widgets (thread card with status, diff summary, link). ## Out of scope - Ownership enforcement (#25). - T3 plugin UI. ## Acceptance criteria - [ ] No new orca tool definitions in the diff; persona T3 control works without Orca. - [ ] Each tool has schema, policy class, unit tests. - [ ] Create-PR without approval is impossible (test). - [ ] Thread link opens the same thread in T3 UI (manual check recorded). - [ ] Tools can be enabled per bot via config; default off. ## Suggested approach Follow existing approval flow (`server/peer-approval.ts`, `server/auto-approve.ts`). Keep tool names stable; document in `docs/t3-omb/tools.md`. ## Dependencies - #21 ## Test plan - Unit tests per tool; e2e test with mocked T3 for approval path. ## Handoff for Claude Do not let a persona pick an arbitrary environment URL; only registry entries. - Do not register OMB bots as T3 providers. Do not expose harness :8799 publicly. No secrets in commits, logs, or PR text. - Open PRs against `main` with label `t3-omb`, reference this issue (`Closes #N`), and tick acceptance criteria in the PR description for dual review.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
donach/openmausbot#22
No description provided.