Skip to content

Interface: PendingActionReviewDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PendingActionReviewDto

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

A pending action review record.

actionSort: string

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

Action type (e.g., “llm_generate”, “web_search”, “file_write”).


actionTermId: string

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

The action term ID.


optional agentId?: string | null

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

Agent ID that initiated the action (if applicable).

Set on every review an agent’s cognitive cycle queued, together with goalContextId, so list({ agentId }) finds it. Approving such a review re-runs that agent’s integrated cycle.


optional chain?: ApprovalChain | null

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

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


confidence: number

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

Action confidence score (0.0 - 1.0).


createdAt: string

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

When the review was created.


optional deadline?: string | null

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

Review deadline (RFC 3339), if set. A review an agent creates carries createdAt + defaultTimeoutSecs from the tenant’s action-review configuration. Past it, a decision is refused with 409 and the next deadline pass marks the review timed_out (or escalates it on an approval chain).


optional goalContextId?: string | null

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

Goal context ID that triggered this action. Set on an agent-queued review.


origin: ActionReviewOrigin

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

Where the review came from.


optional osfql?: string | null

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

The screened OSFQL a UI-action-origin review runs on approve. Absent for an agent-origin review.


priority: number

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

Computed priority score (0.0 - 1.0).


reason: ActionReviewReasonDto

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

Why this action requires review.


reviewId: string

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

Unique review ID.


status: ActionReviewStatusDto

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

Current status.


suggestedParams: Record<string, unknown>

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

Suggested input parameters for the action.