Interface: GovernancePipelineJobResponse
@kortexya/reasoninglayer / GovernancePipelineJobResponse
Interface: GovernancePipelineJobResponse
Section titled “Interface: GovernancePipelineJobResponse”Defined in: src/types/governance.ts:975
A stored job.
Remarks
Section titled “Remarks”SDK schema keys are camelCase; native wire keys are snake_case.
Properties
Section titled “Properties”cancelRequestedAt?
Section titled “cancelRequestedAt?”
optionalcancelRequestedAt?:string|null
Defined in: src/types/governance.ts:979
When a cancellation was requested.
cancelRequestedBy?
Section titled “cancelRequestedBy?”
optionalcancelRequestedBy?:string|null
Defined in: src/types/governance.ts:981
Who requested it (user:<uuid>).
context
Section titled “context”context:
GovernancePipelineJobPin[]
Defined in: src/types/governance.ts:983
The plugin pins its units keep equal.
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/governance.ts:985
When (database clock).
createdBy
Section titled “createdBy”createdBy:
string
Defined in: src/types/governance.ts:987
Who created it (user:<uuid>).
endedAt?
Section titled “endedAt?”
optionalendedAt?:string|null
Defined in: src/types/governance.ts:989
When it ended.
engineBuilds
Section titled “engineBuilds”engineBuilds:
string[]
Defined in: src/types/governance.ts:992
Every build that executed or natively replayed its units, oldest first.
jobId:
string
Defined in: src/types/governance.ts:994
The job (also its job term’s id).
Defined in: src/types/governance.ts:996
Its kind.
parameters
Section titled “parameters”parameters:
GovernancePipelineJobParameters
Defined in: src/types/governance.ts:998
Its declared parameters.
replayBuild?
Section titled “replayBuild?”
optionalreplayBuild?:string|null
Defined in: src/types/governance.ts:1000
The build replaying the committed units now.
replayCursor?
Section titled “replayCursor?”
optionalreplayCursor?:number|null
Defined in: src/types/governance.ts:1002
How many committed units that build verified.
replayed
Section titled “replayed”replayed:
boolean
Defined in: src/types/governance.ts:977
Whether this answer replays an earlier identical request (Idempotency-Replayed: true).
state:
string
Defined in: src/types/governance.ts:1005
runnable, completed or incomplete. A job that is not
completed is never complete, whatever its units.
stopDetail?
Section titled “stopDetail?”
optionalstopDetail?:Record<string,unknown> |null
Defined in: src/types/governance.ts:1007
What the stop names.
stopReason?
Section titled “stopReason?”
optionalstopReason?:string|null
Defined in: src/types/governance.ts:1014
Why it ended incomplete: cancelled, replay_mismatch,
drift_detected, context_changed, unit_failed,
input_unavailable, authority_revoked, page_limit (an
acquisition cut at max_pages with a continuation left: its pages are
run, nothing is withdrawn) or provider_failed (the provider refused,
failed or answered an error; the failed page is never a capture).
unitCount
Section titled “unitCount”unitCount:
number
Defined in: src/types/governance.ts:1016
How many units committed.