Interface: PendingActionReviewDto
@kortexya/reasoninglayer / PendingActionReviewDto
Interface: PendingActionReviewDto
Section titled “Interface: PendingActionReviewDto”Defined in: src/types/action-reviews.ts:224
A pending action review record.
Properties
Section titled “Properties”actionSort
Section titled “actionSort”actionSort:
string
Defined in: src/types/action-reviews.ts:226
Action type (e.g., “llm_generate”, “web_search”, “file_write”).
actionTermId
Section titled “actionTermId”actionTermId:
string
Defined in: src/types/action-reviews.ts:228
The action term ID.
agentId?
Section titled “agentId?”
optionalagentId?:string|null
Defined in: src/types/action-reviews.ts:237
Agent ID that initiated the action (if applicable).
Remarks
Section titled “Remarks”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.
chain?
Section titled “chain?”
optionalchain?: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
Section titled “confidence”confidence:
number
Defined in: src/types/action-reviews.ts:239
Action confidence score (0.0 - 1.0).
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/action-reviews.ts:241
When the review was created.
deadline?
Section titled “deadline?”
optionaldeadline?: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).
goalContextId?
Section titled “goalContextId?”
optionalgoalContextId?:string|null
Defined in: src/types/action-reviews.ts:251
Goal context ID that triggered this action. Set on an agent-queued review.
origin
Section titled “origin”origin:
ActionReviewOrigin
Defined in: src/types/action-reviews.ts:263
Where the review came from.
osfql?
Section titled “osfql?”
optionalosfql?: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
Section titled “priority”priority:
number
Defined in: src/types/action-reviews.ts:253
Computed priority score (0.0 - 1.0).
reason
Section titled “reason”reason:
ActionReviewReasonDto
Defined in: src/types/action-reviews.ts:255
Why this action requires review.
reviewId
Section titled “reviewId”reviewId:
string
Defined in: src/types/action-reviews.ts:257
Unique review ID.
status
Section titled “status”status:
ActionReviewStatusDto
Defined in: src/types/action-reviews.ts:259
Current status.
suggestedParams
Section titled “suggestedParams”suggestedParams:
Record<string,unknown>
Defined in: src/types/action-reviews.ts:261
Suggested input parameters for the action.