Complexity Eater assumes the people and agents in a room do not all trust each other, and that a transport provider can see that a connection exists. It does not assume a global operator. Local use has no account, no telemetry, and no required network.

Assets

  • The markdown substrate and its history.
  • Invitation secrets and session ids.
  • The host’s approval and the right to remove a participant.
  • The metadata database beside the file.

Boundaries

An invitation names capabilities, an expiry, and a use count. Redeeming it creates a participant and a session. The session is what later requests present. The invitation secret is not a bearer token for workspace routes.

The owner page and the session ingress are different sockets. The owner cookie is not set on the ingress. It is set only when the browser opens the one-time token printed with the room. The owner listener accepts 127.0.0.1, localhost, and ::1 for that port, and rejects a foreign Host, a foreign Origin on a mutating request, and Sec-Fetch-Site: cross-site. A plugin is allowed to forward the ingress only.

admin and * may approve, invite, remove, and overwrite the document. A default agent cannot. HTTP reads the actor from the cookie or the Authorization bearer. A field in the JSON body cannot pick a different actor.

Committing a proposal requires commit and an approved proposal. Review requires approve and a proposal that is still pending. A stale base version does not land; the proposal becomes conflicted and the caller receives stale_version.

What the transport is allowed to know

The plugin sees its own endpoint because it has to dial. Diagnostics, events, and MCP discovery do not echo that address, the invitation secret, or the session id. Event payloads also omit document bodies and proposal change bodies. Logs from the HTTP adapter record the path, the status code, and the duration. They do not record the Authorization header or the body.

An event stream and a resource-update notification are not writes. They cannot approve, commit, or invite. A cursor or a resource URI does not authenticate the caller. The session does, and it is checked again while the stream is open. One room’s engine does not publish into another’s subscribers.

Tailcat is a subprocess. This binary does not implement Tailcat’s cryptography. A missing or crashed tailcat process is transport_unavailable. It is not a fallback to an open listener.

ce ui is a second loopback listener, the management page. It is not the owner port and not the session ingress. Its cookie is ce_ui_session, set only after the one-time token in the printed URL. Mutating requests reject a foreign Host, a foreign Origin, and Sec-Fetch-Site: cross-site. The page refuses a non-loopback bind. Enabling a tunnel or a private-network preference requires an explicit confirmation. The tunnel origin is the room ingress, never the management port.

Cloudflare Tunnel, when started from that page, is a cloudflared child process. This binary does not store API tokens or the cloudflared login certificate. Traffic for a quick tunnel passes through Cloudflare. The provider can see that a connection exists. A hostname is not a workspace session. Cf-Access-Jwt-Assertion and Cf-Access-Authenticated-User-Email are not accepted as identity. Invitation and revocation stay in the engine.

Abuse cases covered by tests

  • Spent, expired, revoked, and legacy plaintext invitations.
  • A second join after a successful redeem.
  • A dial that never connects, which must leave used_count at 0.
  • An agent raw commit and an agent review, both denied.
  • A reader path hidden from non-admin status.
  • Transport address stripped from diagnostics, history, banners, and MCP discovery.
  • Event payloads omit invitation secrets, session ids, and proposal bodies.
  • Observe and MCP subscriptions stay inside the authenticated room.
  • A task id is not a credential. tasks/get and tasks/cancel require the owner, the assignee, or admin. A stranger and a missing id return the same error.
  • Task notifications go only to a listen stream that named that task and whose session can read it. A session from another sidecar is not a member of this one.
  • Handoff and task event payloads omit result text, prompts, and input responses. The handoff row keeps the result for participants who can read the room.
  • Review questions accept a closed set of kinds and string options. Unknown fields, including any UI or script payload, are invalid_request. The page renders prompts and answers as text. An answer is sidecar state and does not change the markdown. A read-only session cannot answer. Closing a question or completing the review still requires approve. Event payloads carry ids and status, not the answer text.
  • A non-loopback bind refused.
  • Core crates forbidden from naming transport vendors.
  • Session files written with mode 0600 under a 0700 directory on Unix.
  • MCP tools filtered by capability. workspace_review is absent from a default agent tool list.
  • review_open omits the document body from the model-visible brief. review_section still requires read when a host ignores visibility: ["app"]. The UI template has no external origins. A stale approved proposal returns stale_version and leaves the markdown file unchanged.

Header mismatch, oversized Content-Length (413 limit_exceeded), and the per-bearer rate limit are implemented in the HTTP adapter. They do not yet have a dedicated test.

Out of scope for the local product

A malicious host can read the substrate; they already have the file. A person who can run code as the host user can read the sidecar database. Tenant isolation matters for a future multi-tenant host and is not a property of a single-user process.

No phone-home, no central identity, and no license check runs in ce serve.

Binary, image, and dependency controls are in the supply-chain page.