Trust and recovery boundaries
One platform, distinct responsibilities. Explore the structure, follow a Task, and inspect where execution and trust boundaries sit.
ARCHITECTURE / 04
Trust & recovery
Separate user authorization, model credentials, execution identity and recoverable data. Dashed pending cards describe public contracts that are still incomplete.
3 supporting components are available in the full architecture.
Explore by component
Expand a component for its role and limits. The reading steps below describe the flow.
READ THE FLOW
How to read this view
- 01
Authenticate the application and check the resource's tenant/project boundary before acting.
- 02
Resolve model credentials only for the admitted route and purpose; keep them out of independent execution Hosts.
- 03
Use execution identity, approvals and fencing within the currently trusted service boundary.
- 04
Recover from persisted state, verified files and reconciled tool outcomes; distinguish lease recovery from an explicit retry.
- 05
Treat NT-2 and NT-3 as pending contracts, and verify interactive-input capability in the deployed Worker.
Boundary review: 2026-11-27. States describe implemented contracts, not a live inventory or acceptance certificate. Motion follows your reduced-motion preference.
Understanding the architecture means following authorization, credentials, execution identity and recovery data together. Implemented contracts, configured execution resources and pending public contracts use different markers. A connection does not prove universal third-party signature verification or production qualification of every deployment.
User, product and platform authority
The product backend authorizes end users and business-session ownership. The platform checks application identity, scopes, tenant/project access and resource authority. Customer labels, external_subject_hash, Task IDs and directory names are correlation, not authorization.
A Workspace is long-lived context; a Worktree is an execution file branch. Separate Conversations do not automatically create separate tenant authority, and a native directory is not an OS sandbox for untrusted code. Define Workspace/project, files, browser state, Artifact and memory scope for sensitive customers. See Execution identity and isolation.
Model credentials and execution identity
Vault stores credential material; platform resources retain references. The Secret Broker authorizes resolution and audit using service identity, admitted resources and purpose. The Worker/engine uses model credentials for its admitted route; independent Hosts, HTTP Executors, work directories and model arguments do not receive them. Repository and tool credentials have their own grants.
Stable execution IDs, request digests, execution leases and service identities support correlation, deduplication and fencing. Current HTTP Executors still rely on a trusted Gateway, protected transport and service credentials. A request hash is not a signature. MCP OAuth authorizes MCP access; it does not independently prove Task/Run/business-session ownership.
Durable facts and recovery
The Control Plane persists task state, outcomes and authorization. Files, engine history and recovery content follow their own lifecycle. Fence expired owners; replacement Workers recover verified material and reconcile uncertain external side effects before retrying operations.
Lease recovery and explicit retry are different transitions. Recovering one Run does not create another Run; an explicit retry can create a new attempt. Missing snapshots, wrong digests or corrupt recovery content must fail clearly. Reconnecting clients re-read snapshots, events and versions rather than infer success from logs or animation.
Memory proposals, independent review and publication are separate steps. Model output cannot expand memory visibility or approve its own candidate. See Production integration and Security and Secrets.
Explicit capability gaps
- NT-2: independent execution proof. A general per-call credential and third-party Task/Run/project verification contract remains incomplete. The trusted service route is not a delivered cross-organization proof protocol.
- NT-3: public history gaps. A complete public retention-floor, explicit-gap and atomic snapshot-watermark contract remains separate backend work. Existing pagination, SSE and reconnect support do not mean unlimited history retention.
- Live interactive input. Source APIs/state transitions, deployment enablement and real Worker qualification are separate states. Verify the running capability rather than infer enablement from this map.
These limits do not remove existing authentication, durable state, paginated events or trusted execution. Choose supported routes from the Native Task contract and deployment availability, and qualify access denial and recovery with two controlled customers/sessions.