Get release news

Known limitations

Known limitations. Each one is a case where the runtime is weaker than the rest of these docs could lead you to assume.

On this page

Important

Read these before you rely on anything else in these docs.

Known limitations: where a field looks stronger than the runtime is1 · Human gates match tool names by exact string, nothing elseAmong calls that pass through the gate, a gate fires only on a byte-exact match to the MCPtool name: no semantic, prefix or wildcard matching. An entry no declared tools list nameswarns at validate and run time, unless a declared server has no tools list.pkg/manifest/manifest.go · cmd/constle/gates.go2 · Traffic to allowed_hosts is outside the MCP gateTraffic to hosts you allow isn’t gated. If an allowed host shares a server with an MCPserver, a request can reach that MCP server past the gate. It isn’t metered for spendingeither, direct LLM API calls included.internal/mcpgate/metering.go · internal/sandbox/docker.go3 · max_per_month_usd and egress are warned about, not enforcedvalidate and run say so whenever an Agentfile sets them. Only max_per_run_usd andmax_per_day_usd are enforced, on priced tool calls that pass through the gate, andallowed_hosts is the proxy’s whole allowlist.pkg/manifest/declared.go · cmd/constle/main.go4 · A2A replay state lives in the invoking user’s home directorySeen message IDs survive a restart but are not shared between machines or home directories:one identity listening from several can have a request replayed once per home directorywithin ±5 minutes.internal/a2a/listener.go · internal/a2a/replay_store.go5 · Docker: a credential value must fit on one lineA value with a line break, a NUL byte or invalid UTF-8, or longer than about 64 KiB, makesconstle run refuse to start on Docker, naming the variable, never the value. Firecrackeraccepts such values.internal/sandbox/docker_envfile.go6 · The audit log proves each entry, not that the log is completeA log with its last entries cut, or an older or another complete log signed by the same key,still verifies. Events from a run’s final moments can be missing. Keep a copy or its hashoff the host.internal/audit/verify.go · internal/audit/squid.go7 · Docker: the agent shares the host kernelIts isolation is the network level. A kernel exploit from inside the container is an escapeto the host. isolation: kernel runs it on Firecracker instead.internal/sandbox/docker.go · internal/sandbox/detect.go8 · A run that starts can end another that is starting or finishingCleanup does not check whether another constle run is still starting or finishing a run.Constle warns, and a run that cannot read its proxy’s log does not report success.internal/sandbox/docker.go · cmd/constle/main.go9 · A line typed ahead can answer an approval promptAn answer typed ahead, or a late answer to an earlier prompt, can be read as the answer to alater one. Answer a prompt only after reading it.internal/mcpgate/approver.go Known limitations: where a field looks stronger than the runtime is1 · Human gates match toolnames by exact string,nothing elseAmong calls that pass through the gate, agate fires only on a byte-exact match to theMCP tool name: no semantic, prefix orwildcard matching. An entry no declaredtools list names warns at validate and runtime, unless a declared server has no toolslist.pkg/manifest/manifest.go ·cmd/constle/gates.go2 · Traffic to allowed_hostsis outside the MCP gateTraffic to hosts you allow isn’t gated. Ifan allowed host shares a server with an MCPserver, a request can reach that MCP serverpast the gate. It isn’t metered for spendingeither, direct LLM API calls included.internal/mcpgate/metering.go ·internal/sandbox/docker.go3 · max_per_month_usd andegress are warned about, notenforcedvalidate and run say so whenever anAgentfile sets them. Only max_per_run_usdand max_per_day_usd are enforced, on pricedtool calls that pass through the gate, andallowed_hosts is the proxy’s wholeallowlist.pkg/manifest/declared.go · cmd/constle/main.go4 · A2A replay state lives inthe invoking user’s homedirectorySeen message IDs survive a restart but arenot shared between machines or homedirectories: one identity listening fromseveral can have a request replayed once perhome directory within ±5 minutes.internal/a2a/listener.go ·internal/a2a/replay_store.go5 · Docker: a credentialvalue must fit on one lineA value with a line break, a NUL byte orinvalid UTF-8, or longer than about 64 KiB,makes constle run refuse to start on Docker,naming the variable, never the value.Firecracker accepts such values.internal/sandbox/docker_envfile.go6 · The audit log proves eachentry, not that the log iscompleteA log with its last entries cut, or an olderor another complete log signed by the samekey, still verifies. Events from a run’sfinal moments can be missing. Keep a copy orits hash off the host.internal/audit/verify.go ·internal/audit/squid.go7 · Docker: the agent sharesthe host kernelIts isolation is the network level. A kernelexploit from inside the container is anescape to the host. isolation: kernel runsit on Firecracker instead.internal/sandbox/docker.go ·internal/sandbox/detect.go8 · A run that starts can endanother that is starting orfinishingCleanup does not check whether anotherconstle run is still starting or finishing arun. Constle warns, and a run that cannotread its proxy’s log does not reportsuccess.internal/sandbox/docker.go ·cmd/constle/main.go9 · A line typed ahead cananswer an approval promptAn answer typed ahead, or a late answer toan earlier prompt, can be read as the answerto a later one. Answer a prompt only afterreading it.internal/mcpgate/approver.go
Known limitations · each row links to its section below
Text description

1. Human gates match tool names by exact string, nothing else. Among calls that pass through the gate, a gate fires only on a byte-exact match to the MCP tool name: no semantic, prefix or wildcard matching. An entry no declared tools list names warns at validate and run time, unless a declared server has no tools list. pkg/manifest/manifest.go · cmd/constle/gates.go

2. Traffic to allowed_hosts is outside the MCP gate. Traffic to hosts you allow isn’t gated. If an allowed host shares a server with an MCP server, a request can reach that MCP server past the gate. It isn’t metered for spending either, direct LLM API calls included. internal/mcpgate/metering.go · internal/sandbox/docker.go

3. max_per_month_usd and egress are warned about, not enforced. validate and run say so whenever an Agentfile sets them. Only max_per_run_usd and max_per_day_usd are enforced, on priced tool calls that pass through the gate, and allowed_hosts is the proxy’s whole allowlist. pkg/manifest/declared.go · cmd/constle/main.go

4. A2A replay state lives in the invoking user’s home directory. Seen message IDs survive a restart but are not shared between machines or home directories: one identity listening from several can have a request replayed once per home directory within ±5 minutes. internal/a2a/listener.go · internal/a2a/replay_store.go

5. Docker: a credential value must fit on one line. A value with a line break, a NUL byte or invalid UTF-8, or longer than about 64 KiB, makes constle run refuse to start on Docker, naming the variable, never the value. Firecracker accepts such values. internal/sandbox/docker_envfile.go

6. The audit log proves each entry, not that the log is complete. A log with its last entries cut, or an older or another complete log signed by the same key, still verifies. Events from a run’s final moments can be missing. Keep a copy or its hash off the host. internal/audit/verify.go · internal/audit/squid.go

7. Docker: the agent shares the host kernel. Its isolation is the network level. A kernel exploit from inside the container is an escape to the host. isolation: kernel runs it on Firecracker instead. internal/sandbox/docker.go · internal/sandbox/detect.go

8. A run that starts can end another that is starting or finishing. Cleanup does not check whether another constle run is still starting or finishing a run. Constle warns, and a run that cannot read its proxy’s log does not report success. internal/sandbox/docker.go · cmd/constle/main.go

9. A line typed ahead can answer an approval prompt. An answer typed ahead, or a late answer to an earlier prompt, can be read as the answer to a later one. Answer a prompt only after reading it. internal/mcpgate/approver.go

1. Human gates match MCP tool names by exact string, and nothing elseLink to this section

Among calls that pass through the gate, human_gates.require_approval_for gates one when an entry is a byte-exact, case-sensitive match for the params.name of a tools/call request on a server declared under mcp.servers. The tool name is the only protocol-level identifier the gate proxy sees, and exact match is the only mapping that is deterministic and auditable: there is no semantic matching, no prefix matching, no wildcards.

What this means for you: an entry like external_transfer gates nothing unless an MCP server actually exposes a tool named exactly external_transfer. Constle warns at both validate and run time about an entry that matches no tool in any declared server's tools list, so an unenforceable gate is loud rather than silent, but it is still unenforceable. If a declared server has no tools list, Constle can't know which tools it exposes, and gives no such warning.

Source: pkg/manifest/manifest.go (HumanGates.RequireApprovalFor, "MAPPING CONTRACT"), cmd/constle/gates.go.

2. Traffic to allowed_hosts is outside the MCP gateLink to this section

In plain words: Traffic to hosts you allow isn't gated. If an allowed host shares a server with an MCP server, a request can reach that MCP server past the gate.

Cost is metered only at the MCP gate proxy, on priced tool calls that pass through the gate, against the pricing block a server declares. Ordinary HTTPS to a host in network.allowed_hosts, including every direct call to an LLM API, is allowlisted and not counted toward any spending cap.

This is a deliberate privacy trade-off, not an oversight: metering that traffic would require Constle to TLS-intercept the agent's connections and read their contents, and Constle refuses to do that. The consequence is real and you should size it: an agent that spends money over allowed_hosts rather than through a priced MCP server has no spending enforcement at all. That is exactly the case the quickstart's example hits, and why it prints spending limits are declared but NOT enforced.

An allowed host's HTTPS tunnel can carry a request for another name the same server answers for, including a declared MCP server's, and that request reaches it past the gate. The gate proxy only sees MCP, and human gates hold only calls that pass through the gate, so they do not apply to that traffic either.

Source: pkg/manifest/manifest.go (Spending, "Enforcement scope"), internal/mcpgate/metering.go, internal/sandbox/docker.go and internal/sandbox/firecracker_net.go (the proxy's allowlist).

3. max_per_month_usd and sandbox.network.egress are warned about, not enforcedLink to this section

max_per_month_usd is accepted by the parser and validated as a decimal amount. Nothing enforces it. Declaring it produces an explicit warning and no monthly ledger exists. max_per_run_usd and max_per_day_usd are enforced on priced tool calls that pass through the gate (the daily one, which needs identity.did, durably, across runs, keyed by DID).

sandbox.network.egress parses and defaults to restricted, any non-empty value is accepted, and then nothing reads it. All egress enforcement is derived solely from network.allowed_hosts, which becomes the Squid dstdomain allowlist. An empty list admits no host at the proxy. Constle's own gates stay reachable, and on Docker so does Docker's embedded resolver, whose forwarding of outside names is untested.

So egress: open and egress: none both parse cleanly, change nothing about what the agent can reach, and still render as restricted in the run summary. The run summary's label is deliberately not derived from the field: deriving it would display a value the runtime ignores.

Treat allowed_hosts as the entire proxy policy. An empty or absent allowed_hosts admits no host at the proxy. Constle's own gates stay reachable, and on Docker so does Docker's embedded resolver. egress is documentation, and constle validate and constle run say so whenever an Agentfile sets it.

Source: pkg/manifest/manifest.go (Spending.MaxPerMonthUSD), pkg/manifest/declared.go, cmd/constle/declared.go, cmd/constle/main.go (renderRunSummary, "KNOWN GAP").

4. A2A replay state lives in the invoking user's home directoryLink to this section

The A2A listener accepts requests only: an envelope that answers another message (in_reply_to set) is refused there, because a response travels back on the HTTP exchange of the call it answers. For every request, the listener rejects a msg_id it has already seen and a timestamp more than ±5 minutes from the local clock. The seen IDs are durable: the id of every request that passes this check is persisted under ~/.constle/a2a/replay/, including a request then shed with a 503 because the peer's inbox quota is full (a retry needs a new msg_id), so the check spans process restarts and concurrent runs of the same identity, and the listener fails closed (a retryable 503) if that state cannot be read or written. A response is neither window-checked nor recorded. It is accepted only on the exchange of the call it answers, and only if it quotes that call's fresh msg_id. What the seen set does not span is machines or home directories: it lives in the invoking user's home directory and is not replicated.

What this means: if the same identity listens from more than one home directory, a request captured in flight can be replayed once per home directory, provided each replay lands inside the 5-minute timestamp window.

Source: internal/a2a/listener.go (servePublic), internal/a2a/envelope.go (replayGuard), internal/a2a/replay_store.go.

5. On the Docker backend, a credential value must fit on one lineLink to this section

The Docker backend hands the declared credentials to the container as an env file the docker client reads (--env-file), so that neither the values nor the declared names ever enter the client's own argv or environment. That format has no quoting or escaping, so a value it cannot carry unchanged is refused rather than altered: one containing a line feed, a carriage return or a NUL byte, one that is not valid UTF-8, or one whose NAME=VALUE line is longer than 65,535 bytes. constle run stops before it creates anything, and the message names the variable and the reason, never the value.

What this means for you: a multi-line credential such as a PEM private key cannot be passed as-is on the Docker backend. Encode it (base64, for example) and decode it inside the agent, or run on the Firecracker backend, whose environment file quotes each value and accepts all of these.

Source: internal/sandbox/docker_envfile.go (renderDockerEnvFile).

6. The audit log proves each entry, not that the log is completeLink to this section

With an identity, each entry is signed and carries the hash of the line before it, so constle audit verify reports an entry that was changed, inserted, reordered or deleted with another after it. Nothing records how many entries a log should have, so a log whose last entries were cut off is still a valid chain, and verifies. For the same reason, constle audit verify cannot tell whether the file it is given is the current one: an older copy of the same log, or another complete log signed by the same key, verifies too. To prove a log was not later cut short or replaced, keep a copy or its hash where the agent's host cannot change it.

The audit log can miss network events from the end of a run even when the run reports success: Constle reads the proxy's log while the proxy is still running, so requests made in the run's final moments, and tunnels still open then, can be missing.

An MCP or A2A gate event from a call the agent made that is still in progress when the run ends can be missing from the audit log even when the run reports success: the gate stops without waiting for such a call, other than a priced MCP call already sent to its server, whose charge it waits for.

Source: internal/audit/verify.go, internal/audit/squid.go, internal/mcpgate/gate.go (Close), internal/a2a/gate.go (Close), cmd/constle/main.go.

7. On the Docker backend, the agent shares the host kernelLink to this section

A container is isolated from the host by namespaces, cgroups and the proxy, not by a separate kernel: that is the network isolation level. A kernel vulnerability reachable from inside the container is an escape to the host. The Firecracker backend gives each run its own kernel in a microVM. isolation: kernel selects it, and the run fails closed where it is unavailable.

Source: internal/sandbox/docker.go, internal/sandbox/detect.go.

8. A run that starts can end another that is starting or finishingLink to this section

Before a run creates its own sandbox, it cleans up after runs that were killed. On Docker it removes the containers of every Constle run with a container that has stopped or has not yet started. On Firecracker it removes everything left of a run whose microVM has exited, and the run directory of one that has written no state and whose directory has not changed for a minute. It does not check whether that run is still being started or finished by another constle run. A run caught starting can fail to start, and a run caught finishing can lose its agent's output and its proxy's log. Constle warns about each, and a run that cannot read its proxy's log does not report success.

What this means for you: do not start a run while another on the same host is starting or finishing.

Source: internal/sandbox/docker.go, internal/sandbox/firecracker_state.go, cmd/constle/main.go.

9. A line typed at the terminal before an approval prompt appears can answer itLink to this section

The terminal approver reads its answers from a reader of standard input that runs for the whole run. When a prompt begins, it drops the lines already read, but a line still on its way, typed ahead or answering an earlier prompt late, can be read as the answer to this one.

What this means for you: answer a prompt only after reading it. A signed decision from your own endpoint is bound to the call it answers (Human gates).

Source: internal/mcpgate/approver.go (beginPrompt, readAnswer).

Scope, by designLink to this section

These are not gaps between a field and the runtime, so they are not numbered with the list above. They are choices, stated here so you don't have to find them:

  • No filesystem policy. The agent's file access comes from its image. capabilities is not a permission system, and there is no gate on file writes, because writes have no chokepoint outside the sandbox. sandbox.disk_mb is declared, not applied, and validate says so.
  • Declared credentials enter the sandbox. The variables named under credentials are passed in as environment variables, so the agent can read the API keys you declare. What stays on the host is listed in Architecture.
  • Egress is per sandbox, not per program. Through the proxy, every process inside the sandbox reaches the same allowed hosts.
  • No TLS interception. Constle decides on destination names and never intercepts the agent's TLS, which is why traffic to allowed hosts has no per-path rules, no spend metering and no gate (limitation 2).

Firecracker: reading results backLink to this section

When a Firecracker run ends, the host reads the agent's exit code and log out of the guest's workspace image with debugfs. Every byte of that image's filesystem metadata is the guest's to choose, so the parsing is hardened: it runs as a dedicated account that owns no files, with no capabilities, no supplementary groups and no_new_privs, a reset environment, resource limits, an empty session keyring, a wall-clock timeout, and fresh PID, mount, network and IPC namespaces for every read. The image is handed over as an open descriptor, never by path. What remains:

  • There is no chroot: the reader can read whatever its account can read on the host.
  • It keeps the kernel interfaces of an unprivileged process, including creating a user namespace of its own.
  • Memory is limited per process (address space), not across its processes as a whole.
  • What it can reach on the host outside its network namespace, local sockets for instance, has not been verified.
  • If constle itself dies mid-read, the reader is killed through a parent-death signal, which it can clear.

This bounds what a parser compromised by a hostile image could do. It does not remove the host-side parsing.

Source: internal/sandbox/firecracker_reader_linux.go.