Interface ApprovalDecision

Human's decision on a pending action.

interface ApprovalDecision {
    actionId: string;
    approved: boolean;
    rejectionReason?: string;
    selectedAlternativeId?: string;
    instructions?: string;
    decidedBy: string;
    decidedAt: Date;
    feedback?: string;
}

Properties

actionId: string

Original action ID

approved: boolean

Whether approved

rejectionReason?: string

If rejected, the reason

selectedAlternativeId?: string

If alternative selected, which one

instructions?: string

Human's additional instructions

decidedBy: string

Who made the decision

decidedAt: Date

Timestamp of decision

feedback?: string

Feedback for agent learning