Member Junction
    Preparing search index...

    A run's security constraints, persisted on a task graph's rows and enforced on every node.

    interface TaskSecurityEnvelope {
        Audience?: TaskAudienceEnvelope;
        BoundActionParams?: Readonly<BoundActionParams>;
        CallerTenantContext?: TenantContext;
        IsRunTainted: boolean;
        RunScope?: TaskRunScope;
        Version: 1;
    }
    Index

    Properties

    The run's audience, when it adds a reader beyond the caller.

    BoundActionParams?: Readonly<BoundActionParams>

    The run's bound action parameters, in ExecuteAgentParams.boundActionParams' shape: Action ID → name → value.

    CallerTenantContext?: TenantContext

    The caller's request-level tenant (UserInfo.TenantContext), when it had one. Each node runs as a per-task clone of its user stamped with exactly this value, never as the shared user itself.

    IsRunTainted: boolean

    Whether the run had ingested SemiTrusted or Untrusted content. Monotonic within a graph: a node's output is tainted when any of its inputs was, until a completed Human step reviews it.

    RunScope?: TaskRunScope

    The run's validated scope, when it carries a tenant, a secondary dimension or host-assigned search scopes.

    Version: 1