Skip to content

Agent permissions

When Copilot or an external agent acts inside Cortiq, three independent permission surfaces decide what runs freely, what asks once, and what asks every time. This page explains all three, how grants surface as actionable cards, and where you manage them.

Cortiq treats its own tools as trusted but treats the wider machine as untrusted. An agent can author playbooks and data packages without asking, but it cannot reach outside its sandbox or place a real order without crossing a gate.

There are three distinct surfaces:

  1. The trade-execution gate — always on, for opening and closing real positions.
  2. The ACP filesystem sandbox — bounds a local agent’s built-in file and shell tools to allowed folders.
  3. The capability grant store — remembers one-time decisions for an ACP agent’s web, out-of-sandbox filesystem, and shell access.
SurfaceCoversDefault behavior
Trade-execution gateexecute_trade, execute_trade_actionAlways prompts; runs only on explicit approval.
Filesystem sandboxAn ACP agent’s built-in file / shell toolsAuto-allows inside the allowed roots; asks when a path is outside them.
Capability grant storeACP web, out-of-sandbox read/write, shellAsks once, then remembers; sensitive capabilities always ask.

Every real trade an agent attempts — open, modify, partial-close, close, cancel — passes through the trade gate. In the trusted-Cortiq posture, only execute_trade and execute_trade_action require approval; everything else (create / update / delete entities, generate, link) runs without a card.

When a trade tool fires, Cortiq raises an approval card in the Copilot dock, a Windows toast, and an actionable System Messages row. The trade body runs only on an explicit approve. A reject, expiry, timeout, or error denies it — fail-closed. This gate is independent of every other surface on this page and cannot be turned off by a capability grant.

When Copilot runs on a local ACP agent (Claude or Codex), that agent has its own built-in file-read, file-write, and shell tools. Cortiq sandboxes them to a set of allowed roots — by default the Cortiq project folder and the app’s data directory.

Inside those roots, the agent works freely with no prompt. The moment it points a tool at a path outside the roots — or runs a shell command with no resolvable path — Cortiq classifies the request and hands it to the capability grant store below. You only get asked when the agent reaches beyond its sandbox.

The grant store persists your decisions so a capability is granted once and auto-allowed on every future call, in any session. It exists so an agent doing legitimate web research doesn’t re-prompt — or hang unattended — on every call.

CapabilityWhat it coversAuto-mode eligible
WebThe agent’s built-in web fetch / search toolsYes — can auto-allow unattended
Filesystem (read, outside sandbox)Reading a path outside the allowed rootsNo — always asks
Filesystem (write, outside sandbox)Writing a path outside the allowed rootsNo — always asks
ShellA shell or command with no resolvable pathNo — always asks

Auto-mode (on by default) governs only the safe capability — web access. With auto-mode on and no one watching the screen, an ungranted web request auto-allows so a long-running agent never stalls, and the grant is recorded as an audit-trail entry. Turn auto-mode off and every ungranted capability prompts until you grant it explicitly, even web.

Sensitive capabilities — filesystem outside the sandbox, shell — always require your decision regardless of auto-mode. Auto-mode has no effect on trade execution; the trade gate is orthogonal.

When a capability needs your decision, Cortiq raises it three ways at once:

  • An action card in the Copilot dock.
  • A Windows toast.
  • An actionable Allow / Deny row in the System Messages inbox.

Resolving any one of them resolves the request. On Allow, Cortiq records the grant and the agent proceeds. On Deny — or if you leave it and the agent’s turn times out — the request fails closed.

The Agent permissions section of the Settings page is where you control all of this:

Agent permissions section in Settings, showing the auto-mode toggle and a list of granted capabilities

  • Auto-mode toggle — turn unattended auto-allow for safe capabilities on or off.
  • Granted capabilities list — every grant with its capability, when it was granted, and its source. Each row has a Revoke button; revoking removes the grant, and the next request re-prompts (or auto-allows again if auto-mode is on and the capability is safe).
TermMeaning
Allowed rootsThe folders an ACP agent’s built-in file/shell tools may touch without asking.
GrantA remembered decision that auto-allows a capability on future calls.
SourceHow a grant was created — an operator card or unattended auto-mode.
Fail-closedA denied, expired, or timed-out request never runs the tool.
  1. Cortiq Copilot — the assistant these permissions govern.
  2. System messages — where permission requests surface as actionable cards.
  3. MCP and agent integration — the same trade gate from an external client.