MCP coverage and execution boundaries
Console users can configure Settings → Attention sound through the same
operator MCP API discovery/call tools: GET / PUT /v1/preferences/attention-sound
reads or writes the current user's {enabled: boolean} preference. The default is
OFF. GET /v1/notifications/attention is a bounded owner-filtered metadata feed;
it contains no conversation, credentials or approval arguments. Playback is local
to an open console, never a server speaker. Ordinary project-scoped MCP credentials
do not acquire these operator routes. See attention sound.
The same operator feed with ?view=navigation reports the exact owned Project
session question/permission count, even when sound is OFF. It exposes no prompt
text and does not trigger a status question or terminal attachment.
devctrl has two MCP entrypoints with different authority. Session MCP is scoped to one managed coding session. Operator MCP can administer the authenticated controller and operate registered local files and SSH connections.
| Entrypoint | Coverage | Boundary |
|---|---|---|
Session devctl |
Runtime/configuration, Services, ports, private-file resync, network inspection/approved changes, session settings, lifecycle, structured permission requests, waits, handoff, context tools, model routing and granted folders | The authenticated session, Project, workspace and owner; mutations retain exact-argument approval and Run checks |
Operator devctrl |
Typed toolchain, context tools, Skills, advisor, local-folder, Project-network and network-template tools; discovered controller JSON operations; existing CLI bridge | Existing controller credential, controller ownership/role checks, trusted checkout and operator-machine SSH/file access |
| Private OpenAI tunnel | controller_operations and controller_request through the existing server API |
Explicit recovery-operator grant; private per-run callback, outbound-only official runtime; no controller credential in the tunnel process |
| Provider MCP bindings | Methods published by an installed integration | Only the credential, allowed tools/methods, rate budget and binding granted to the session |
Session tools are registered in packages/contracts/src/index.ts and described by apps/mcp-server/src/main.ts. Operator tools live in apps/mcp-server/src/admin.ts and operator-tools.ts. The devctl-project-setup Skill explains which surface to use and includes an operator-workflow reference.
Catalog discovery reads recommendation metadata separately from installed skill
bindings. Operator GET /v1/skill-catalog/refresh includes the fixed daily public
source status and independent owned GitHub schedule. Failed fetches/validation
preserve the last usable data, and refresh does not change active assignments or
pinned bundles. Published discovery entries use digestKind:"metadata"; their
empty file inventory and unknown content/runtime checks cannot become an
installation or review content pin. See
catalog sources.
Session get_project_runtime includes cached container.managedDiskUsage:
scoped allocated-byte components, HOME breakdowns, timestamps and measurement
status, without raw host paths or credentials. The agent records completed
task resources in its existing shutdown manifest with readyForCleanup: true.
Operator MCP can discover the cleanup preview and cleanup controller routes,
or use run_devctl with session cleanup-preview followed by
session cleanup --manifest-hash <reviewed-hash> --ready-only. This does not
give a project-scoped agent operator authority or stop its session. See
managed disk usage and cleanup.
Integrations → Private MCP configures the optional
OpenAI Secure MCP Tunnel package on the controller server. ChatGPT can call the
operator API without a Claude/Codex Control Room session or a public MCP URL.
Runtime key and tunnel/workspace permissions are distinct from coding-agent
subscription authentication. This connection has full server operator authority;
tenant-scoped external connectors and a public Claude web MCP endpoint are not
implemented. Operator stdio MCP can discover its /v1/mcp-tunnels management
routes; supply credentials through the hidden console field, never chat.
Fresh Ubuntu/systemd root SSH installation prepares a private limited OS tooling account and verified Rootless Docker automatically. Operator MCP remains controller-authorized administration; it does not grant project sessions host sudo or access to that user's private native runner socket. This OS identity is separate from Server Users. Existing rootful deployments are not moved by an MCP call or fresh installer; see installation identities and compatibility mode.
Linked repositories
Session get_linked_repository_policy({}) reads only its authenticated current
repository's organization-linking rules. It accepts no Project/owner selector,
does not enumerate other repositories, and cannot edit Settings. Operator
linked_repository_policy uses fixed show, choices (owned projectId) and
save (complete revision-bound policy) actions on the existing routes.
Default links stay within the same canonical forge origin and namespace;
explicit cross-organization links require both ends selected. Existing ownership,
team/network/Git rights and account locks remain mandatory. The shared launch
chooser and final controller launch/resume checks use the same persisted policy.
Behavior, CLI and identity limits.
Account locks
Session get_project_account_locks({}) reads the authenticated repository's
current AI/Git administrator ceiling, owner narrowing, effective selections and
safe account choices. It accepts no Project/owner/actor selector and cannot save
policy. Native CLI uses devctl account-locks get, omitting PROJECT.
Operator project_account_locks offers fixed owned scopes, show and save
actions. Separate ceiling-targets, ceiling-scopes, ceiling-show and
ceiling-save require the canonical infrastructure operator administrator;
another administrator role or a caller-supplied target does not grant that role.
Saves retain exact own/effective revisions, current ownership and shared-account
checks. Null inherits one layer; an empty set denies all, and owner inheritance
cannot remove an administrator ceiling. Existing running providers and
credentials remain unchanged. The same registered /v1/project-account-locks
operations are discoverable through the existing operator catalog.
CLI, typed input and boundaries.
Discover and call controller operations
Same-provider subscription continuation uses the discovered
POST /v1/sessions/:id/account-transfer (stable UUID requestId, accountId,
expectedAccountId) and bounded GET status. The server owns process-stop
confirmation and native resume; a disconnected MCP/TUI/web client cannot abandon
an accepted transfer. Only the session owner's authorized accounts qualify.
Progress and failures remain visible in Projects. The legacy switch-account
route only changes stopped-session metadata and does not run this workflow.
Frozen cards can be removed through discovered DELETE /v1/sessions/:id with
the reviewed freezeId in the JSON body. Read the current Freeze first and
obtain explicit deletion intent; the ID protects against deleting a newer
snapshot. The controller requires confirmed stopped work and retains an
owner-scoped receipt at GET /v1/sessions/:id/freeze/deletion. This removes
the card and controller screen, while preserving repository files, native
history and shared archives. It never thaws or stops a provider as a side effect.
See Freeze / Thaw for retained-data and retry behavior.
controller_operations lists real authenticated routes from GET /v1/operator/operations. Filter by route text to find accounts, invitations, sharing, user allocations, folders, integrations, approvals, audit pages or compute. Routes guarded by operator, administrator and user authorization are included; agent heartbeat/credential delivery and session-token MCP routes are excluded. WebSocket routes are marked explicitly. New routes using these authorization handlers appear automatically.
The canonical infrastructure operator can discover GET /v1/controller/diagnostics
for bounded process memory, event-loop delay and operation timings, and
GET /v1/decisions/automatic/jobs for paged automatic-review history. The latter
also supports tenant-owned history with scoped counts. See
audit remediation for read-model and resource limits.
Discover GET/PUT /v1/events/stream/local to configure server-owned log outputs. Unix sockets use a generated private path and the current user's scope; shared controller stdout requires the recovery operator. Audit/network/MCP categories, owner/project filters and bounded health are available through the same route. Saving an output keeps collection running after all clients disconnect. This API returns metadata, not arbitrary files or journal bodies. See collector behavior and limits.
Account model controls are included: discover /v1/accounts/:accountId/models, /models/refresh and /model-preferences, then call the exact owned account/host route with controller_request. Keep native default as null; pinned choices require a current installed CLI catalog. Antigravity's ordered chain uses fresh shared quota evidence and checked server-side continuation. Session get_session_settings only inspects its own defaults/recovery state. See account models.
Weekly account attribution is available through the discovered
GET /v1/accounts/usage-breakdown operation (accountId, cursor, limit).
It separates native recorded tokens from provider subscription percentages and
checks both account and project ownership. Device enrollment and revocation use
POST/GET /v1/local-devices and DELETE /v1/local-devices/:id. Enrollment returns
independent private credentials once; never display, log or paste that response
into a session. Read the account usage and
HTTPS connection boundaries first.
The local launcher now accepts explicit HTTPS Exchange folder bindings in preview.
Enrollment does not install that launcher or select laptop folders. Diagnose the
owned client sync progress and current host state before reporting completion.
Exchange lease/phase/cleanup endpoints authenticate execution hosts and stay out
of ordinary session/operator MCP discovery; they are not a way to impersonate a
host or forward native stream bytes through a coding session.
Account display order uses discovered GET/PUT /v1/preferences/account-order.
Send the complete accountIds and current revision; conflicting client edits
require a fresh read. The preference is private to the authenticated controller
user and does not change launch/model defaults or authentication. Session MCP
does not expose this owner-wide preference. Console controls.
controller_request takes an exact operation ID from that catalog, separate pathParameters and query, and an optional JSON body. It calls the existing handler, preserving authentication, ownership, backend validation and business constraints. It cannot select another origin, provide arbitrary HTTP headers, follow redirects or upgrade its credential. Published route schemas are included when available; other routes retain their existing handler validation, so consult their documented payload before mutation.
Web Access discovery includes GET /v1/server/web-access/status and
POST /v1/server/web-access/link (empty JSON body). Both belong to the canonical
installation operator, not tenant administrators. Status describes the connected
controller's gateway and its usersEnabled, authMode and optional
authorizationExpiresAt; server-user polling never returns or mints an invitation.
The explicit link operation additionally requires a private infrastructure peer
and a matching server-user gateway running with status less than 15 seconds old.
It creates a fresh one-use operator invitation with a ten-minute lifetime.
Settings → Web Access → c copies the returned private URL using that gateway's current
origin; legacy operator-key mode retains its existing copy behavior. Operator MCP
redacts returned private keys, so use the console's explicit copy action rather
than expecting a usable bearer link in chat. A 403/503 remote status error does
not fall back to unrelated laptop IPC. Browser authentication.
Example after discovering the audit-page operation:
{"operation":"GET /v1/events/page","query":{"projectId":"example","limit":25}}
The CLI equivalent reads structured input from stdin:
devctl api operations sharing
devctl api call < request.json
Results contain HTTP status, ok and redacted result; failed HTTP responses are MCP tool errors. Requests are limited to 1 MiB. MCP results are bounded to 192 KiB before JSON-RPC wrapping; larger results return a controlled error without disconnecting the transport. Request a page or one resource instead. Credential fields, known bearer/input secrets and private URL keys are redacted. Do not submit secrets through chat; use references and official authentication flows. A timed-out operation may already have queued a job: inspect status before retrying. The bridge never retries mutations automatically.
Typed operator tools
| Tool | Operations |
|---|---|
project_local_folder |
connect an existing checkout/explicit empty replica folder, disconnect preserving files, sync-private-files from its registered source |
linked_repository_policy |
Inspect owner settings or filtered choices; save exact organization IDs/current revision without changing active sessions |
project_account_locks |
Read/save owned restrictions; canonical-operator target/user/group/repository ceilings remain separate and revision checked |
project_network_policy |
Inspect with projectId; replace the complete editable policy with optional policy |
network_policy_templates |
list includes official AI provider/domain references and mandatory agent hosts; create, update, delete, set-default retain private owner-scoped defaults |
upgrade_project_toolchain, context_tools |
Scoped CLI/context-tool installation and image preparation; selected installed-tool updates, private automatic-update policy and paged per-container tooling history |
skills_*, jev_* |
Existing Skills and bounded advisor workflows |
run_devctl |
Existing non-interactive CLI operations, including operator-local installers and credential import |
run_devctl distinguishes command deadlines from output-buffer limits,
self-signalled termination and ordinary nonzero exits. A deadline returns
ok: false and timedOut: true, including when the command handles SIGTERM
and exits zero. Deadline handling retains the native SIGTERM cleanup policy.
Existing checkouts are used directly; a matching registered checkout takes precedence over an intermediate replica. A new replica requires an explicitly selected empty folder. Remote sessions cannot choose arbitrary operator-machine paths. Private configuration is stored durably on the execution host; resync tools expose metadata, never file contents.
Context-tool updates and tooling history
Session configure_context_tools accepts action: "update", tools: ["rtk"]
through the existing exact one-shot approval. It updates only enabled, installed,
managed tools in that session's actual container, preserving selection and other
running sessions. A changed container or target version invalidates approval.
apply remains the complete-selection action; prepare-image prepares a cached
future image. None of these actions grants network/service access.
Graphify joins RTK, sgrep, ast-grep and Repomix in this registry. Session
configure_context_tools accepts optional
graphify: {storeInGit: false, updateStrategy: "manual"} with action: "apply".
Strategies are manual, after-commit and before-push; manual and ignored
graph output are the defaults. Approval binds both the requested settings and
the existing effective container policy. Operator context_tools accepts this
object on template, project and apply; other actions reject policy changes.
Code refresh does not upgrade the package or invoke a paid model. Hook changes
preserve existing user configuration, and devctrl never auto-commits graph files.
Read-only get_tooling_history returns {items,nextCursor} for the current
workspace only, with limit 1–50 and optional cursor / containerId. It covers
agent, context and observed runtime tooling; requested, installed and unknown
versions remain separate. It accepts no owner, project or workspace selector and
does not enqueue updates or scans.
Operator context_tools supports action: "history" with targetId and the
same page options, or action: "update" with targetId and tools. Read the
current owner's default-off automatic policy with action: "auto-update";
save only a complete policy: {enabled, tools}. Ordinary sessions cannot change
the owner's policy for other containers. The typed tool calls the same
authenticated GET/PUT /v1/context-tools/auto-update and workspace endpoints as
the console. Operator API discovery also exposes these routes. History loads
separately from normal UI state. Behavior and limits.
Session network tools
get_project_network_policy reports desired policy, mandatory agent hosts and observed per-container enforcement. A secondary repository also sees the primary container Project's network policy.
For a permanent addition of public websites, session
request_repository_network_access accepts hosts, a secret-free reason,
optional ports: [80,443] and an optional UUID idempotencyKey. The controller
binds the request to the authenticated owner and current primary repository
incarnation; arguments cannot name another Project. Hosts are public DNS names
or explicit leading *. patterns. The supported ports are always the complete
HTTP/HTTPS pair 80 and 443; private/metadata addresses, URLs, credentials and
arbitrary or narrower port sets are rejected.
The existing Approvals inbox shows the immutable requested hosts and allows selection of a host subset. Repository scope, permanence and safety constraints are mandatory. A manual operator or required team-administrator decision saves the selected additions directly in repository Network settings, preserving existing hosts. It queues supported gateway updates without restarting a session or container. General session approval automation does not authorize these destinations. This typed workflow has no separate apply button or native session-rule delivery step.
Poll get_repository_network_access_status({approvalId}) for status,
persisted, applied and the typed repositoryNetworkAccess receipt.
persisted is saved desired policy across sessions and container restarts;
queued still awaits host work. Only applied attests the matching gateway
revision; provision-error leaves the saved policy separate from failed or
unverified enforcement. An absent running gateway can leave the request saved
without an applied receipt. Remove hosts in Network settings to revoke persisted
access. A pending request can be withdrawn, and earlier prose/session approvals
retain their original scope. Approval UI and examples.
configure_project_network_policy takes the full policy and creates an ordinary one-shot approval. Retry identical arguments with approvalId after approval. Current policy and target container membership are bound into the preview revision; a concurrent change makes it stale. No session is restarted. Same-mode host changes reload on enforced containers; mode changes/legacy containers require explicit recreation. A secondary repository cannot change another Project's container policy. Tenant sessions can narrow their grant; broadening requires infrastructure operator action through a structured permission request and the operator network tool.
An updated broker can expose these tools under current authorization; native client visibility is separate. Current Codex TUI sessions can retain a startup allowlist or cached catalog, so reconnecting the broker does not prove that they imported new names. Use a client refresh only when that client supports it. The updated canonical credential-free built-in configuration removes its static filter for future Codex launches, not existing processes. See native catalog limits. Operator MCP method/tool policies still apply. An autonomous Run cannot use them to change its frozen capabilities.
Manually reviewed session command plans
Session request_permission accepts optional
mcpCommands: [{actionIndex, tool, arguments}]: at most 20 commands in a request
bounded to 12,000 UTF-8 JSON bytes. Discover names and exact JSON argument schemas with the
read-only get_permission_status({"commands":true}). The current registry is
configure_project_network_policy, grant_service, revoke_service,
apply_project_config, configure_context_tools, add_port_forward,
remove_port_forward, sync_project_files, apply_session_settings and
clear_session_settings. Session Settings commands require managed Claude/Codex;
discovery omits them for unsupported agents.
Every command array is controller-classified danger and requires manual
approval, even when the agent or Decisions declares low risk. The console shows
exact arguments. Each zero-based actionIndex refers to an action checkbox;
unchecking it skips that command. Operator
POST /v1/mcp/approvals/:id/approve accepts actionIndices, constraintIndices
and the reviewed planHash from the exact detail's commandPlan.hash. Missing or
stale hashes return 409, including from old clients that cannot render a plan.
Ordinary prose approvals keep their existing behavior.
The existing controller dispatchers execute selected steps sequentially with the UI closed, rechecking owner, approving actor, native session/generation, current configuration revisions and Run lease. A tenant cannot approve itself into operator authority; only the canonical infrastructure operator can approve additional tenant network destinations. No arbitrary shell, controller URL, credential provisioning or implicit provider restart is added.
get_permission_status({"approvalId":"..."}) reports a separate execution
object with plan state/hash, step states and accepted hostJobs outcomes. A
dispatcher success is not proof that its queued host job finished or a route is
reachable. Persisted started writes with unknown outcomes become uncertain and
are never automatically replayed; later steps stop and earlier writes are not
rolled back. Only a successful selected plan queues native rules delivery, whose
receipt remains separate. Retrying delivery cannot repeat command execution.
Withdrawal cancels remaining steps without undoing applied configuration.
Plain request_permission without commands still only delivers policy text; it
cannot reconfigure a gateway. Updated brokers can advertise schema changes after
reconnect, but the native client can retain its own name filter or cached schema.
Current Codex TUI catalog reload has not been verified. Preserve the provider and
container, use an already authorized session transport where available, and report
stale or unavailable native discovery. Catalog limits and
examples and review flow.
Access history tools
list_access_attempts reads a bounded page of the current repository/session's
network or MCP attempts. get_access_summary reads controller-side unique
address/server/method/tool counts with allowed, denied and upstream-error
outcomes. Their scope comes from the authenticated session; neither accepts an
arbitrary owner or another repository. Shared-workspace network traffic is
explicitly labeled and must not be claimed as one session's actions.
Use these reads to distinguish a policy denial from a permitted operation whose
upstream failed. Empty history is not proof of no traffic: legacy gateways,
direct packets blocked outside the proxy and bounded delivery gaps have explicit
coverage limits. Neither tool reveals URL paths, headers, credentials, MCP
arguments or response bodies, and reading history grants no additional access.
Operator MCP can discover /v1/access-attempts/page and /summary through the
existing operation catalog. Larger JSONL exports and authenticated resumable
streams retain their native interfaces. Formats, retention and limits.
Project activity
get_project_activity reads the cached Dashboard activity card for the authenticated session's repository only. It accepts no project, owner, path or time selectors. It includes daily cells, native recorded tokens, agents, Git commits and additions/deletions for today and trailing 7/30 UTC calendar days. Missing and partial history remains explicit; tokens are not subscription billing. This read does not launch a host scan. The Dashboard refreshes bounded host snapshots through GET /v1/dashboard/activity, which operator MCP can discover through controller_operations. Its token and commit Last timestamps are separate. Operator MCP can also change per-user Dashboard visibility through PUT /v1/dashboard/activity/visibility (projectIds, hidden); it does not change session access or the read-only session tool. Coverage and counting rules.
Resource history
get_resource_history is a read-only session tool accepting only period
(1h, 24h, 7d, 30d). It returns CPU/RAM and measured disk read/write
history for the authenticated shared workspace container, with observed totals,
sampled peaks and explicit gaps. It cannot select another workspace or host and
does not attribute shared-container consumption to individual sessions. Collection
continues server-side without a client. Operator MCP can discover
GET /v1/resource-history for tenant-filtered pages; whole-host history is
infrastructure-administrator-only. See resource history.
Control Room authority
Control Room reply playback is a local client presentation feature, not an MCP tool. Listen/Stop and default-off automatic reading use installed local voices; the server has no speech endpoint and cannot play audio on behalf of a session.
The optional Control Room session has a separate registered
administrator grant and four dedicated tools: control_operations discovers
actual JSON routes, control_request calls them, control_session_input
submits a prompt to another session, and control_session_output reads its
bounded, sanitized native conversation or terminal output without attachment,
input, focus changes or restart. They use the existing controller handlers,
MCP method/rate policies and access audit. Ordinary project session tokens cannot
acquire this authority. Revocation or loss of the administrator role disables
these tools without killing the provider process. Operator credentials remain
inside the controller; tool results redact secret values.
An existing MCP connection may still advertise the older three-tool catalog.
Discover GET /v1/sessions/:id/output with control_operations and call it
through control_request; the same read is available without restarting the
managing session.
Factual updates use the separately discovered
POST /v1/sessions/:id/notices and metadata receipt
GET /v1/sessions/:id/notices/:noticeId. These durable native notices wait for
safe input and do not create a permission approval, grant or authorization
document. They currently support Claude/Codex container sessions; see
factual session notices for identity fields and receipt states.
Server-wide operations require the canonical operator. Tenant administrators are
currently limited to controller-version reads and input/output for their own private sessions;
their role does not imply Host execution or access to neighboring containers.
The operator's Docker manager discovers POST /v1/control-room/docker through the
same catalog: list, inspect, logs, foreground exec, start, stop and restart use
short-lived, revocable host leases bound to the exact manager/native process.
Docker sockets and arbitrary daemon endpoints never enter Project containers.
Arguments/output are not persisted as durable commands; inspect omits environment,
raw commands, labels and host mount sources. Output is bounded and sanitized,
which does not make arbitrary sensitive file contents safe to request.
Operator API discovery also exposes the owner-scoped Control Room chat and voice
routes. GET /v1/control-room/chat reads bounded native user/assistant pages;
POST /v1/control-room/input submits reviewed text with a unique delivery ID.
These are the managing conversation's console interfaces, not a generic transcript
reader for arbitrary sessions. Audio recording still uses the native client
microphone adapter and explicit review; discovering the API does not start a
local microphone, record audio or submit a transcription automatically.
Control Room receives a versioned DEVCTRL.INVENTORY.md metadata index of its
visible projects, hosts, workspaces, sessions, accounts and connected resources.
The controller refreshes it on structural changes without an extra model turn.
GET /v1/control-room/inventory lists counts and available kinds; use kind,
limit and after for complete pages. The index excludes credentials, environment
values, document bodies, prompts and resource-use samples. It does not expand a
tenant administrator's allowed operations.
For focused configuration work, discover GET /v1/agent/catalog/page for metadata,
GET /v1/agent/docs/:id for a specific versioned document, and
PATCH /v1/agent/docs/:id for an expectedVersion-checked append, managed block or
explicit replacement. Document reads support offset, limit and version;
conflicting updates return 409 instead of overwriting newer permissions. Pending
approval metadata uses GET /v1/mcp/approvals/page with project/status filters and
an after cursor; read /v1/mcp/approvals/:id only for selected details. All routes
retain owner checks. Updating a document and delivering its live configuration
remain separate outcomes.
Native subagent telemetry includes each verified child's own current goal when
reported by its CLI. Neither parent goals nor prompt text stand in for that
evidence. inspect_current_project includes only the caller's own fresh
session.nativeGoal, with confirmed completed/total checklist counts when
available. Stale, replaced or mismatched native goals return null. Task bodies
and another session's goal are not included; token spend is not a completion
percentage. Native observations and limitations.
Native interfaces remain native
Controller JSON operations now have a general operator MCP path; this does not turn interactive terminals, browser/device login, binary Exchange transfers or unbounded audit streams into JSON tool calls. Use native attachment, login, upload/download and export interfaces for those transports. Returned private link keys are intentionally redacted. There is no arbitrary session host shell or secret-body read API. A policy approval, usable credential, reachable route and upstream permission remain separate facts.
Periodic session progress
inspect_current_project includes only the authenticated session’s own workStatus snapshot. Operator MCP can discover GET/PUT /v1/session-work-status/settings through controller_operations and call it with controller_request; settings remain scoped to the current console user. Native background questions use agent quota and are not ordinary user turns. See capture, scheduling and supported clients.
Network templates and domain checkboxes use the same complete allowedHosts
policy through MCP as through TUI/web. project_network_policy updates on supported
hosts return durable networkDelivery commands; read the policy's delivery and
reloadVerified, or poll exact command results, before claiming a live gateway
has applied it. Older hosts keep periodic reconciliation. Required CLI connectivity
is separate from optional provider domains. A template or network route does not
supply a model API key. See network scope and official sources.
Compaction and idle-container history
Session get_auto_compact_history reads all sessions in its authenticated
repository by default; scope:"session" explicitly selects its own conversation.
get_idle_container_history reads only its current shared workspace. Both accept
limit (1–50) and cursor, return nextCursor, and reject foreign selectors.
They perform no compaction, stop, input or policy mutation.
Operator MCP discovers GET /v1/auto-compact/history and
GET /v1/workspace-idle-shutdown/history through controller_operations.
Compaction uses owner-scoped projectId / sessionId filters; idle decisions use
owned workspaceId / hostId filters with AND semantics. The server pages these
histories separately from the general state payload. Compaction holds mean not
run, submission is separate from native completion, and absent after measurements
remain unknown. An idle-stop queue entry is separate from a host-confirmed receipt;
skipped stops preserve work. See lifecycle history (source access required).
Agents report their own actual completion through
report_session_handoff(outcome); that report cannot enable automation or grant
access. See Auto compact.
The same policy APIs cover Claude, Codex and Antigravity. A freshly observed
native goal with status: complete can establish completion without an extra
MCP report; progress at 100% alone cannot. Current explicit question/blocker
reports veto it. Antigravity confirms completion through owned native
checkpoints; exact checkpoint token measurements stay unavailable.
Optional agent packages advertise accountObservation, usageObservation and nativeUsageCommand in /v1/agent-clients. Only usageObservation promises a verified read-only collector; a slash-command hint alone does not. Antigravity verifies identity through Google userinfo, then a private account-UID helper reads official model-group quota JSON on verified CLI versions >=1.1.11. No model turn is requested. With no active sessions, an isolated account-only helper can let the official CLI renew expired native authorization; stopped/frozen workspaces are not started. /v1/usage exposes normalized modelQuotas with group/bucket identity, native window, optional reported periodSeconds, disabled state, remaining percentage and reset time. Missing fields remain absent; an unreported model-group period is never synthesized as quota evidence. /v1/accounts/refresh-usage schedules refresh on capable hosts; its optional JSON fields accountId and hostId restrict the request to one profile or host. Confirmed sign-in also schedules that targeted refresh immediately, with the periodic collector retained as a fallback. Keep Project labels, account identities and model-group limits distinct. Do not send arbitrary slash commands or invoke this command on older CLI versions as a generation prompt.
Menu preferences
Operator MCP discovers GET/PUT /v1/preferences/navigation for the current user’s menu visibility and order, with revision checks. Dashboard, Projects and Settings cannot be hidden. This changes presentation only, never authorization. See navigation menu.
Server-user administration also exposes user creation, host allocation, invitations and regular-user password resets through the authorized operation catalog. Self-service password login and remembered-device refresh are client authentication routes, not agent tools. Agents must never collect user passwords or refresh secrets. Personal TUI, web and app all retain controller-issued ownership. See server sign-in.
Secret management is available through discovered operator operations: POST /v1/secrets creates or upserts an encrypted secret (createOnly: true refuses an existing ID); PUT /v1/secrets/:id edits metadata or replaces a value; DELETE /v1/secrets/:id rejects referenced secrets. Update and deletion accept expectedUpdatedAt for concurrency protection. Reads and mutation responses contain metadata only. A missing replacement value preserves the ciphertext; an explicitly empty value is rejected. Existing SecretGrant ownership and lease checks still apply.
Selected agent CLIs
Owner-authorized GET/PUT /v1/preferences/agents is available through the same
operator discovery/call surface. The payload is exactly {revision, agents};
IDs come from the returned installed integration catalog and may be empty.
Preferences belong to the authenticated server user. A new revision applies to
future container starts/image rebuilds; it does not restart sessions or revoke
accounts. Ordinary project-session MCP cannot change owner-wide preferences.
CLI devctl agents list/use and the onboarding/shared Settings checkboxes use
the same controller contract. See selected agents.
Scoped Internet access packages
Operator discovery exposes the actual GET/PUT /v1/network-policy-packages/catalog and /selection contracts plus owned /scopes. Catalog writes and shared system defaults require a team administrator. Ordinary user scope is derived from the authenticated principal. Session get_project_network_policy includes configured/effective package authority; its approved mutation remains a full explicit policy replacement within the team-approved ceiling. Saved or queued policy is separate from a verified gateway reload. See network access packages.
The separate session request_policy_exception workflow sends
the current authority and up to eight additional DNS hosts into the existing
approval workflow. get_policy_exception_status reads only that session's
request. Administrator decision and explicit application remain separate:
approval_not_applied grants no access, and application needs trusted matching
revision/reload receipts. Review expiry is not a runtime network grant expiry.
See team policy exceptions (source access required) for the exact scope and
verification limits.
Context-tool enablement is separate from automatic binary updates. The operator catalog includes owner-scoped GET/PUT /v1/context-tools/defaults for system/template/project-group/repository inheritance, with compare-and-save revisions and immutable ownership checks. The shared Settings and Templates editors use these same operations; CLI context-tools defaults uses the same endpoint. Session MCP retains its narrower get_context_tools / approval-gated configure_context_tools container authority. Saving defaults does not grant installation or cross-tenant access. See Context tools.
Operator-only compute_provider_configuration lists, reads, saves or resets
declared nonsecret sandbox factory settings. Credentials use their separate
encrypted path. Settings are server-global and unavailable to tenant
administrators. Modal needs an existing App/image; Cloudflare needs a separately
deployed *.workers.dev bridge. API-only adapters retain the explicit
Docker-capable-host admission limit; saved configuration does not establish paid
provisioning. See sandbox configuration.
Configured review triggers
Session get_review_workflows reads effective selected-agent rules,
get_review_trigger_history pages this project's observed triggers, and
trigger_configured_review requests the configured reviewer for an exact
committed base/head with an idempotency key. Broker identity supplies project,
owner and source session; tool arguments cannot override them. Acceptance,
reviewer execution, trusted checks and the server gate remain separate.
Operator discovery exposes user defaults, project overrides, bounded workflow history and exact-subject trigger/gate routes with their actual contracts. Saving rules does not run a review or attest native model identity. Automatic hook installation remains limited to verified native local Git contexts with isolated configuration; ordinary local/managed Git contexts and external hook managers require manual integration. See review workflow settings.
Operator MCP also discovers GET / PUT /v1/preferences/agent-status-line for the authenticated owner’s ordered native CLI fields. GET reports selected-client capabilities; PUT uses the current preference revision. The requested layout defaults to new managed launches, preserves custom native layouts and explicit disable, and never restarts active providers. Ordinary project-session credentials do not acquire this global preference. See agent status lines (source access required).