Independent Control Room chats

Control Room can retain multiple repository-free administrative conversations for each administrator. Each chat has its own registered native session, private project/workspace, operation statistics and input receipts. Selecting another chat changes the console view; it does not stop a process, revoke its authority or move its conversation history.

The existing administrative boundaries still apply. Ordinary users cannot open Control Room. Tenant administrators retain only their existing scoped operations; server-wide operations require the canonical operator. Creating more chats does not expand any user's permissions or share agent credentials between users.

Existing installations

The first read migrates the singleton control-room:<owner> record to a versioned chat registry. Its existing grant, revision, session, workspace, native history and statistics become the main chat named Main. The migration queues no launch, stop, restart or input. A fresh installation also starts with an unstarted Main entry.

The record retains selected grant and stats aliases for compatibility. Explicit legacy grant revocations remain authoritative. New conversations receive stable opaque IDs; names are presentation labels, never host paths. The operator runtime accepts only the managed owner/chat hash namespace and preserves the existing physical-directory and symlink checks. Main keeps its original namespace.

Defaults remain global to the administrator. Settings select the host, agent, account, execution mode and model for a future start. Working chats retain their own process/account identity. Each additional chat starts in an independent private workspace. A stopped compatible chat can resume its exact retained provider session through the existing durable launch path.

API and MCP discovery

The existing authenticated operator API exposes:

Operation Behavior
GET /v1/control-room/chats List owned chats and selectedChatId
POST /v1/control-room/chats Create/select an unstarted chat; optional name
GET /v1/control-room/chats/:chatId Read one pinned chat overview
POST /v1/control-room/chats/:chatId/select Change console selection
PATCH /v1/control-room/chats/:chatId Change its name
DELETE /v1/control-room/chats/:chatId Accept explicit, durable stop/cleanup/deletion of this chat
POST /v1/control-room/chats/:chatId/start Start or resume only this chat
POST /v1/control-room/chats/:chatId/revoke Revoke only this chat's authority; preserve the process
GET /v1/control-room/chats/:chatId/chat Read bounded native conversation history
POST /v1/control-room/chats/:chatId/input Submit one idempotent message to this chat
POST /v1/control-room/chats/:chatId/interrupt Submit one guarded native interrupt

Legacy singleton paths resolve the selected chat when the request begins. Clients that retain a chat view must use the explicit ID paths. History reads and pending submissions stay pinned across later selection changes, and recheck the current native identity and authority before delivering input. Input receipts and short input locks are independent across chats. Native history remains on the execution host; the controller does not create a second transcript store.

Session MCP authorization searches all valid registered grants, including chats that are not selected. Statistics belong to the calling session's chat. Inventory updates and input-context hints have separate native identity fences for each manager. Revoking one manager prevents its MCP operations and new prompts while other managers keep working; its own history remains readable to its owner.

The same routes are discoverable through existing operator MCP API discovery and Control Room's control_operations / control_request tools. No additional server token is placed inside a workspace.

First input and launch retries

A native CLI may create its conversation UUID only after receiving its first prompt. A registered, running process can therefore accept its first message before that UUID exists. Starting processes, offline hosts, revoked grants and native permission choices remain unavailable. The controller never reads another account's transcript to fill an empty chat.

Input receipts retain the exact account, session and process generation. After UUID discovery, a receipt is linked only to one unique native user message with the actual submitted-text hash and a bounded submission timestamp. Inventory hints may be prepended to the submitted prompt; the interface retains the original human message. Missing account proof, ambiguous candidates or changed process identity remain uncertain. A retry with the same delivery ID never resends input.

The shared console starts a newly accepted chat with the configured host/account. If launch fails, that same chat remains selected for a visible retry. Retrying a start does not create a second chat. Direct API creation remains metadata-only; API clients explicitly call the pinned start route.

Automatic operator tasks

An automatic operator request uses a separate task chat with an exact request and approval binding. Creating or scheduling that task never changes the human's selected chat or messenger routes. Task chats remain read-only after completion. Their history and terminal are available for inspection, with terminal access restricted to observation. Composer input, voice submission and native interrupts cannot steer that assigned task.

Open the task's approval to cancel an unsubmitted request or request a pause. Submitted or uncertain work is not reported as cancelled, rolled back or safe to delete until its actual execution outcome has been resolved. Pause requests are held on the existing task record, including older explicitly dispatched tasks. This includes a task chat whose native conversation is still starting and has no UUID yet.

Completed system-created task chats use the owner's existing Idle containers policy and grace period (15 minutes by default) for server-side retirement. The controller requires the exact terminal task record and a fresh, unchanged idle native identity. A selected chat, connected viewer or explicit messenger route retains the chat. Human chats are never retired by this rule. Uncertain identity or active native work also retains the environment for inspection. Retirement uses the same persisted deletion stages below and preserves operator result, requester-notification state and native CLI history independently.

Task chats cannot be selected as messenger destinations, and older task routes cannot submit new input. Start a human chat for a new conversation.

Delete a chat

Choose Delete chat, review the selected name/session and confirm Stop and delete. Deletion uses the existing server-side stop and cleanup commands:

  1. Revoke only this chat's administrative grant and shared viewers.
  2. Stop its exact registered native process and wait for host confirmation.
  3. Clean its registered session resources and remove its controller session row.
  4. Stop its empty private environment when no other active session uses it.
  5. Remove the chat from the registry and disable messenger routes targeting it.

The chat stays visible with a stage, elapsed time and retryable failure until the host confirms the required operations. A cleanup deferred by an active registered workload retains the chat/session/container and its original durable command. The host reports bounded wait progress; acceptance is not completed cleanup. Closing the view or disconnecting the client does not cancel an accepted deletion. The controller resumes saved stages after restart. Active operator tasks prevent deletion and identify their exact approval and safe action. A changed native account/process is never silently substituted for the reviewed deletion target.

The delete request supplies the reviewed sessionId, providerSessionId and generation (nullable for an empty chat), plus stopWork: true for a running process. retry: true retries the saved failed stage. A pending response returns HTTP 202 and its deletion status. A completed request returns deleted: true.

This removes console metadata and controller input receipts. Account credentials, repository files and native CLI history remain; this is not a secure erase of the agent's transcript. An active sibling session retains its environment. Deleting the last chat creates a genuinely new, unstarted New chat placeholder with a new identity. The deleted chat's old ID never becomes Main again.

Messenger destinations

Each supported messenger has an explicit chat destination:

Supported provider IDs are telegram, slack and teams. Existing enabled routes migrate to Main. Selecting a different console chat never silently reroutes a bot. Routing updates preserve global model/account defaults and bot credentials. The messenger bridge exposes only its configured active Control Room conversation and rejects preview/input for other managing chats. Ordinary project session behavior is unchanged. Revoking the chosen chat disables its messenger control until it is explicitly reauthorized or another owned chat is selected as the destination.

Verification

Disposable controller tests cover unchanged live migration, separate workspaces, rename/selection, per-chat statistics and revocation, in-flight read/input selection races, independent receipts and concurrent submissions, revocation before input, explicit messenger routing, cross-owner isolation and persistence across reloads. Runtime tests verify the private chat namespace and reject other owners, path escapes and malformed suffixes. Existing Control Room, native chat, inventory and messenger tests remain applicable. Tests use local stores and synthetic native history; they require no paid agent or messenger account.