Interface: PendingActionReviewDto
@kortexya/reasoninglayer / PendingActionReviewDto
Interface: PendingActionReviewDto
Section titled “Interface: PendingActionReviewDto”Defined in: src/types/action-reviews.ts:231
A pending action review record.
Properties
Section titled “Properties”actionSort
Section titled “actionSort”actionSort:
string
Defined in: src/types/action-reviews.ts:233
Action type (e.g., “llm_generate”, “web_search”, “file_write”).
actionTermId
Section titled “actionTermId”actionTermId:
string
Defined in: src/types/action-reviews.ts:235
The action term ID.
agentId?
Section titled “agentId?”
optionalagentId?:string|null
Defined in: src/types/action-reviews.ts:244
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:277
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:246
Action confidence score (0.0 - 1.0).
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/action-reviews.ts:248
When the review was created.
deadline?
Section titled “deadline?”
optionaldeadline?:string|null
Defined in: src/types/action-reviews.ts:256
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:258
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:270
Where the review came from.
osfql?
Section titled “osfql?”
optionalosfql?:string|null
Defined in: src/types/action-reviews.ts:275
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:260
Computed priority score (0.0 - 1.0).
reason
Section titled “reason”reason:
ActionReviewReasonDto
Defined in: src/types/action-reviews.ts:262
Why this action requires review.
reviewId
Section titled “reviewId”reviewId:
string
Defined in: src/types/action-reviews.ts:264
Unique review ID.
status
Section titled “status”status:
ActionReviewStatusDto
Defined in: src/types/action-reviews.ts:266
Current status.
suggestedParams
Section titled “suggestedParams”suggestedParams:
Record<string,unknown>
Defined in: src/types/action-reviews.ts:268
Suggested input parameters for the action.