Anchorage API reference
    Preparing search index...
    interface TrustedAgentExecution {
        agentId: string;
        entryPath:
            | "approval.resume"
            | "http.start"
            | "signal.message"
            | "signal.queue"
            | "signal.reactive"
            | "signal.state"
            | "signal.notification"
            | "signal.wake"
            | "notification.dispatch"
            | "schedule.fire";
        principal: ExecutionPrincipal;
        resourceId: string;
        runId: string;
        safeContext?: Readonly<Record<string, unknown>>;
        threadId: string;
    }
    Index

    Properties

    agentId: string
    entryPath:
        | "approval.resume"
        | "http.start"
        | "signal.message"
        | "signal.queue"
        | "signal.reactive"
        | "signal.state"
        | "signal.notification"
        | "signal.wake"
        | "notification.dispatch"
        | "schedule.fire"

    WHO is executing. On an approval resume this is the restored original principal, never the reviewer who decided — so a human approval does not transfer that human's authority into the resumed run.

    resourceId: string
    runId: string
    safeContext?: Readonly<Record<string, unknown>>

    Non-reserved context accepted only from trusted internal entry paths. Public HTTP agent starts never populate this field.

    threadId: string