Skip to content

Interface: GovernancePipelineJobResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GovernancePipelineJobResponse

Defined in: src/types/governance.ts:975

A stored job.

SDK schema keys are camelCase; native wire keys are snake_case.

optional cancelRequestedAt?: string | null

Defined in: src/types/governance.ts:979

When a cancellation was requested.


optional cancelRequestedBy?: string | null

Defined in: src/types/governance.ts:981

Who requested it (user:<uuid>).


context: GovernancePipelineJobPin[]

Defined in: src/types/governance.ts:983

The plugin pins its units keep equal.


createdAt: string

Defined in: src/types/governance.ts:985

When (database clock).


createdBy: string

Defined in: src/types/governance.ts:987

Who created it (user:<uuid>).


optional endedAt?: string | null

Defined in: src/types/governance.ts:989

When it ended.


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).


kind: GovernancePipelineJobKind

Defined in: src/types/governance.ts:996

Its kind.


parameters: GovernancePipelineJobParameters

Defined in: src/types/governance.ts:998

Its declared parameters.


optional replayBuild?: string | null

Defined in: src/types/governance.ts:1000

The build replaying the committed units now.


optional replayCursor?: number | null

Defined in: src/types/governance.ts:1002

How many committed units that build verified.


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.


optional stopDetail?: Record<string, unknown> | null

Defined in: src/types/governance.ts:1007

What the stop names.


optional stopReason?: 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: number

Defined in: src/types/governance.ts:1016

How many units committed.