[T3-OMB] P3: Identity mapping: OMB bot ↔ T3 project namespace + per-bot Forgejo creds #24

Open
opened 2026-11-01 21:07:46 +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

Policy: one Forgejo user per logical unit / OMB bot; no shared Grok token; no Vaultwarden for specialists.

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

  • Define mapping: OMB bot id → T3 project namespace/prefix per environment → Forgejo user used for clone/push/PR.
  • Per-bot T3 credential (pairing/service token from #17 decision) stored in OMB per-bot secrets.
  • T3 project metadata tags owner bot id (t3ProjectFile or project settings) so the T3 UI shows ownership.
  • Migration/registration command to onboard a bot to an environment.

Out of scope

  • Creating Forgejo users (operator task, documented only).

Acceptance criteria

  • Mapping documented in docs/t3-omb/identity.md and enforced in config schema.
  • A bot can only use its own FJ credentials; test proves cross-bot credential use fails.
  • PRs created via T3 for a bot are authored by that bot's FJ user (verified on scratch repo).

Suggested approach

Reuse server/bot-profile.ts / server/bot-directory.ts for bot ids.

Dependencies

Test plan

  • Unit tests on mapping; manual PR authorship check.

Handoff for Claude

Never commit tokens; tests use fakes.

  • 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 Policy: one Forgejo user per logical unit / OMB bot; no shared Grok token; no Vaultwarden for specialists. 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 - Define mapping: OMB bot id → T3 project namespace/prefix per environment → Forgejo user used for clone/push/PR. - Per-bot T3 credential (pairing/service token from #17 decision) stored in OMB per-bot secrets. - T3 project metadata tags owner bot id (`t3ProjectFile` or project settings) so the T3 UI shows ownership. - Migration/registration command to onboard a bot to an environment. ## Out of scope - Creating Forgejo users (operator task, documented only). ## Acceptance criteria - [ ] Mapping documented in `docs/t3-omb/identity.md` and enforced in config schema. - [ ] A bot can only use its own FJ credentials; test proves cross-bot credential use fails. - [ ] PRs created via T3 for a bot are authored by that bot's FJ user (verified on scratch repo). ## Suggested approach Reuse `server/bot-profile.ts` / `server/bot-directory.ts` for bot ids. ## Dependencies - #21 - #20 ## Test plan - Unit tests on mapping; manual PR authorship check. ## Handoff for Claude Never commit tokens; tests use fakes. - 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#24
No description provided.