Skip to content

Trust Model

Entangle’s trust model is not a checklist. It is the shape of the architecture. Each role owns the keys it signs with and nothing else; edges decide who may talk to whom; signed events and Host projection provide the audit trail.

  • Host Authority signs control commands: graph revisions, runner trust decisions, runtime assignments.
  • Runner identity signs hello, heartbeats, receipts, and observations.
  • User Node identity signs user task launches, replies, and approvals.
  • Node runtime identity signs A2A messages emitted by the running node.
  • Git principal signs or authenticates git operations only.
  • Operator identity authorizes Host API mutations through the bootstrap operator-token boundary; it does not replace User Node identity.

No actor speaks for another. The Host does not sign as a user. The user does not sign as a runner.

Typed edges decide who may delegate, review, escalate, or hand off. Effective edge routes are validated before a runner emits a task.handoff. Authority is graph-shaped; nothing routes outside the graph.

Secrets should remain outside browser bundles, URLs, non-secret runtime context, and durable logs.

  • Model and git credentials resolve through Host-controlled runtime context.
  • Secrets should reach runners through explicit secret delivery where applicable.
  • Git transport supports principal bindings without embedding raw token material in remote URLs.
  • Auth-mode selection is explicit per profile — there is no unsafe implicit default.

Signed Nostr events on dedicated rumor kinds are the operational record. NIP-59 wrapping protects metadata; signatures bind every event to a specific signer; dedup keys prevent replay.

Audit signal exposed today:

  • Host status and protected mutation events (host.operator_request.completed).
  • Runtime trace events: session, conversation, approval, artifact, runner-turn lifecycle.
  • Recovery events: history, controller updates.
  • Source-mutation evidence with approval scope.

This is pre-release operator audit signal. Compliance attestations are a separate hardening program.

The runtime gives operators clear identity, coordination, and audit boundaries:

  • optional ENTANGLE_HOST_OPERATOR_TOKEN bootstrap boundary with bearer-token propagation through Host client, CLI, and Studio;
  • Host-managed external principals for backend identities (e.g. git);
  • runtime isolation between runner processes and node workspaces;
  • NIP-59 wrapped Nostr events for A2A coordination;
  • audit-style host events for protected mutations;
  • runtime trace events for session, turn, approval, artifact, recovery evidence.

The federation layer includes:

  • stable User Node identity with signed task / reply / approval messages;
  • Host Authority key with status, export/import, rotation;
  • signed control / observe event lanes with verification and dedupe;
  • runner registry with explicit trust, revoke, and stale states;
  • projection store built from signed observations, removing implicit Host-reads-runner-filesystem trust.

Before production readiness claims, Entangle still needs:

  • real-provider secret handling validation;
  • production identity beyond bootstrap operator-token;
  • audit retention and SIEM-ready export;
  • backup/restore and disaster-recovery exercises;
  • security review and responsible disclosure process.

Email security@entangle.run with reproduction steps, affected commits, impact, and any relevant runtime evidence — events, traces, signed messages.