@runloop/remote-agents-sdk
    Preparing search index...

    Type Alias ItemGuardianApprovalReviewCompletedNotification

    [UNSTABLE] Temporary notification payload for approval auto-review. This shape is expected to change soon.

    type ItemGuardianApprovalReviewCompletedNotification = {
        action: GuardianApprovalReviewAction;
        completedAtMs: number;
        decisionSource: AutoReviewDecisionSource;
        review: GuardianApprovalReview;
        reviewId: string;
        startedAtMs: number;
        targetItemId: string | null;
        threadId: string;
        turnId: string;
    }
    Index

    Properties

    completedAtMs: number

    Unix timestamp (in milliseconds) when this review completed.

    decisionSource: AutoReviewDecisionSource
    reviewId: string

    Stable identifier for this review.

    startedAtMs: number

    Unix timestamp (in milliseconds) when this review started.

    targetItemId: string | null

    Identifier for the reviewed item or tool call when one exists.

    In most cases, one review maps to one target item. The exceptions are

    • execve reviews, where a single command may contain multiple execve calls to review (only possible when using the shell_zsh_fork feature)
    • network policy reviews, where there is no target item

    A network call is triggered by a CommandExecution item, so having a target_item_id set to the CommandExecution item would be misleading because the review is about the network call, not the command execution. Therefore, target_item_id is set to None for network policy reviews.

    threadId: string
    turnId: string