Skip to content

Interface: ApprovalChain

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ApprovalChain

Defined in: src/types/action-reviews.ts:126

The approval chain a review waits on, when its decision is gated by one.

approvedBy: string[]

Defined in: src/types/action-reviews.ts:135

Roles that approved so far, in order.


decisionType: string

Defined in: src/types/action-reviews.ts:128

Decision type the chain governs.


escalations: string[]

Defined in: src/types/action-reviews.ts:139

Escalations the chain went through, each as from → to (reason).


optional expectedRole?: string | null

Defined in: src/types/action-reviews.ts:137

The role expected next; absent when the chain is complete.


roles: string[]

Defined in: src/types/action-reviews.ts:133

Roles that must approve, in order (after any escalation, the current expectation at each position).