Skip to main content

Module actor_identity

Module actor_identity 

Source
Expand description

Shared actor-identity resolution (issue #567).

Single source of truth for “who is the caller”, consumed by the gate check, storage-token minting, comm attribution, and MCP strict-mode enforcement: those four sites must agree, so drift here is a silent trust-boundary bug.

Functions§

actor_is_unattributed
True when actor is the backward-compatible anonymous/local fallback and therefore unsafe for multi-actor comm attribution or strict-mode serving.
resolve_actor
Resolve an optional configured/request actor id string into the ActorRef used for gate checks, NamespaceToken minting, and comm attribution.
should_warn_unattributed_actor
Startup warning / strict-mode predicate for serving paths that load the comm pack: true when the resolved actor is unattributed AND "comm" is among the loaded packs.