Anchorage API reference
    Preparing search index...

    Version 2 carries an ExecutionPrincipal where version 1 carried an ApprovalActor. There is deliberately no v1 upgrade path: a run started from schedule.fire stored the fabricated role: 'operator' that this work exists to remove, so reading a v1 record back as a human principal would launder that authority through a migration. validRunRecord rejects v1 and the run fails closed — a suspended pre-upgrade agent run cannot resume.

    interface AgentRunRecord {
        agentId: string;
        originEntryPath:
            | "approval.resume"
            | "http.start"
            | "signal.message"
            | "signal.queue"
            | "signal.reactive"
            | "signal.state"
            | "signal.notification"
            | "signal.wake"
            | "notification.dispatch"
            | "schedule.fire";
        principal: ExecutionPrincipal;
        version: 2;
    }
    Index

    Properties

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