Skip to content

@usine/orchestrator/operator

An agent failure message safe to display to the operator.

  • Schema.Class

new AgentFailureView(…args): AgentFailureView

Parameter Type
…args [props: object, options?: MakeOptions]

AgentFailureView

readonly message: string


An operator approval is required before this Run can proceed.

  • Schema.Class

new ApprovalNeed(…args): ApprovalNeed

Parameter Type
…args [props: object, options?: MakeOptions]

ApprovalNeed

readonly id: string

readonly loop: string & Brand<"LoopName">

readonly repository: string & Brand<"RepositoryName">

readonly runId: string & Brand<"RunId">


One Attempt’s identity, Worker, effective brain, start time, optional terminal outcome, and salvaged work.

  • Schema.Class

new AttemptView(…args): AttemptView

Parameter Type
…args [props: object, options?: MakeOptions]

AttemptView

readonly agent: string & Brand<"AgentName">

readonly brain: BrainSpec

readonly id: string & Brand<"AttemptId">

readonly number: number & Brand<"AttemptNumber">

readonly operatorIntervened: boolean

readonly outcome: SucceededAttemptView | FailedAttemptView | CanceledAttemptView | null

readonly salvage: SalvagePushed | SalvageRetained | null

readonly startedAt: string

readonly task: string & Brand<"AttemptTask">

readonly worker: string & Brand<"WorkerName">


An Item linked to a Task, with its own title and external destination.

  • Schema.Class

new BoardItemLink(…args): BoardItemLink

Parameter Type
…args [props: object, options?: MakeOptions]

BoardItemLink

readonly itemKey: string & Brand<"ItemKey">

readonly kind: "issue" | "pr"

readonly number: number & Brand<"ItemNumber">

readonly title: string

readonly url: string


The requested Item is absent from the Project’s Board.

  • Schema.Class

new BoardItemNotFoundError(…args): BoardItemNotFoundError

Parameter Type
…args [props: object, options?: MakeOptions]

BoardItemNotFoundError

readonly item: number & Brand<"ItemNumber">

readonly repository: string & Brand<"RepositoryName">


The requested destination lane is absent from the Project’s Board.

  • Schema.Class

new BoardLaneNotFoundError(…args): BoardLaneNotFoundError

Parameter Type
…args [props: object, options?: MakeOptions]

BoardLaneNotFoundError

readonly lane: string & Brand<"BoardLaneId">

readonly repository: string & Brand<"RepositoryName">


The requested destination lane does not accept label-based moves.

  • Schema.Class

new BoardLaneReadOnlyError(…args): BoardLaneReadOnlyError

Parameter Type
…args [props: object, options?: MakeOptions]

BoardLaneReadOnlyError

readonly lane: string & Brand<"BoardLaneId">

readonly repository: string & Brand<"RepositoryName">


An operator request to move one Project Item into a destination lane.

  • Schema.Class

new BoardMove(…args): BoardMove

Parameter Type
…args [props: object, options?: MakeOptions]

BoardMove

readonly item: number & Brand<"ItemNumber">

readonly repository: string & Brand<"RepositoryName">

readonly toLane: string & Brand<"BoardLaneId">


An Item projection could not produce a Board card; other Items remain available.

  • Schema.Class

new BoardProjectionError(…args): BoardProjectionError

Parameter Type
…args [props: object, options?: MakeOptions]

BoardProjectionError

readonly itemKey: string & Brand<"ItemKey">

readonly message: string

readonly repository: string & Brand<"RepositoryName">


An Item could not be displayed on its Board and needs operator attention.

  • Schema.Class

new BoardProjectionNeed(…args): BoardProjectionNeed

Parameter Type
…args [props: object, options?: MakeOptions]

BoardProjectionNeed

readonly failure: BoardProjectionError

readonly id: string


The requested Project is absent from the operator overview.

  • Schema.Class

new BoardProjectNotFoundError(…args): BoardProjectNotFoundError

Parameter Type
…args [props: object, options?: MakeOptions]

BoardProjectNotFoundError

readonly repository: string & Brand<"RepositoryName">


A Task projected from linked Items. The current Item determines the key, lane, labels, and move destination; the first issue supplies the Task title.

  • Schema.Class

new BoardTaskView(…args): BoardTaskView

Parameter Type
…args [props: object, options?: MakeOptions]

BoardTaskView

readonly conflicting: boolean

The current Item is an open pull request whose branch conflicts with its base.

readonly itemKey: string & Brand<"ItemKey">

readonly items: readonly BoardItemLink[]

readonly kind: "issue" | "pr"

readonly labels: readonly (string & Brand<"GitHubLabelName">)[]

readonly needsYou: boolean

readonly number: number & Brand<"ItemNumber">

readonly run: RunView | null

readonly runs: readonly RunView[]

Every saved Run for the visible Items, ordered from earliest to latest.

readonly state: "issue-open" | "issue-closed" | "pr-open" | "pr-closed" | "pr-merged"

readonly title: string

readonly url: string


The Project’s lanes and the Item failures encountered while constructing their cards.

  • Schema.Class

new BoardView(…args): BoardView

Parameter Type
…args [props: object, options?: MakeOptions]

BoardView

readonly failures: readonly BoardProjectionError[]

readonly lanes: readonly (WritableBoardLaneView | ReadOnlyBoardLaneView)[]


An Attempt that ended after cancellation.

  • Schema.Class

new CanceledAttemptView(…args): CanceledAttemptView

Parameter Type
…args [props?: object, options?: MakeOptions]

CanceledAttemptView


The configured child-session budget and the spawn count that exceeded it.

  • Schema.Class

new ChildSessionBudgetFailureView(…args): ChildSessionBudgetFailureView

Parameter Type
…args [props: object, options?: MakeOptions]

ChildSessionBudgetFailureView

readonly attemptedChildren: number & Brand<"ChildSessionCount">

readonly maxChildren: number & Brand<"ChildSessionBudget">


Requests the newest bounded transcript window when opening a Run.

  • Schema.Class

new ColdTranscriptRequest(…args): ColdTranscriptRequest

Parameter Type
…args [props?: object, options?: MakeOptions]

ColdTranscriptRequest


An Item stopped opening Runs and requires an explicit reset of its shared cycle budget.

  • Schema.Class

new CycleBudgetNeed(…args): CycleBudgetNeed

Parameter Type
…args [props: object, options?: MakeOptions]

CycleBudgetNeed

readonly ask: CycleBudgetAsk

readonly id: string

readonly itemLabel: string

readonly itemUrl: string | null


A captured programmer defect requiring operator intervention; the original cause stays behind this boundary.

  • Schema.Class

new DefectFailureView(…args): DefectFailureView

Parameter Type
…args [props: object, options?: MakeOptions]

DefectFailureView

readonly message: string


Requests an earlier page before a sequence within one Attempt.

  • Schema.Class

new EarlierTranscriptRequest(…args): EarlierTranscriptRequest

Parameter Type
…args [props: object, options?: MakeOptions]

EarlierTranscriptRequest

readonly attemptId: string & Brand<"AttemptId">

readonly before: number & Brand<"TranscriptSequence">


The operator’s replacement task and selected roster member; the server derives the Agent’s persona and brain.

  • Schema.Class

new EditAndRetry(…args): EditAndRetry

Parameter Type
…args [props: object, options?: MakeOptions]

EditAndRetry

readonly agent: string & Brand<"AgentName">

readonly task: string & Brand<"AttemptTask">


An Attempt that ended with a failure the operator can inspect.

  • Schema.Class

new FailedAttemptView(…args): FailedAttemptView

Parameter Type
…args [props: object, options?: MakeOptions]

FailedAttemptView

readonly failure: InfraFailureView | DefectFailureView | AgentFailureView | RunawayFailureView | ChildSessionBudgetFailureView


An Attempt failure recorded in the transcript with displayable details only.

  • Schema.Class

new FailedTranscriptView(…args): FailedTranscriptView

Parameter Type
…args [props: object, options?: MakeOptions]

FailedTranscriptView

readonly failure: InfraFailureView | DefectFailureView | AgentFailureView | RunawayFailureView | ChildSessionBudgetFailureView


An infra failure as the operator sees it; the defect cause stays behind this boundary.

  • Schema.Class

new InfraFailureView(…args): InfraFailureView

Parameter Type
…args [props: object, options?: MakeOptions]

InfraFailureView

readonly message: string


A repository label as GitHub shows it. Color is null for catalogs stored before colors were kept.

  • Schema.Class

new LabelView(…args): LabelView

Parameter Type
…args [props: object, options?: MakeOptions]

LabelView

readonly color: string | null

readonly description: string | null

readonly name: string & Brand<"GitHubLabelName">


A Loop’s authored trigger and Agent together with its runtime pause state.

  • Schema.Class

new LoopView(…args): LoopView

Parameter Type
…args [props: object, options?: MakeOptions]

LoopView

readonly agent: string & Brand<"AgentName">

readonly name: string & Brand<"LoopName">

readonly paused: boolean

readonly trigger: string


An overview available during setup, including the error that prevents normal operation.

  • Schema.Class

new NeedsSetupOverview(…args): NeedsSetupOverview

Parameter Type
…args [props: object, options?: MakeOptions]

NeedsSetupOverview

readonly errorTag: string

readonly loops: readonly LoopView[]

readonly needsYou: readonly (CycleBudgetNeed | ApprovalNeed | BoardProjectionNeed | RunFailureNeed | PollFailureNeed | PreflightFindingNeed | ScheduleFailureNeed)[]

readonly projects: readonly ProjectView[]


The operator’s view of the factory and actions for approving, retrying, canceling, and directing work.

  • Context.ServiceClass

readonly Service: object & object

The service’s operations: what yield* Operator returns.

readonly detail: (runId, request?) => Effect.Effect<RunDetailView, OperatorObservationError>

Reads one Run and a bounded transcript page; request selects the latest, newer, or earlier activity.

Parameter Type
runId RunId
request? TranscriptRequest

Effect.Effect<RunDetailView, OperatorObservationError>

readonly overview: (instance) => Effect.Effect<ReadyOverview, OperatorObservationError>

Builds the supplied instance’s Projects, Boards, Runs, and items needing operator attention.

Parameter Type
instance LoadedInstance

Effect.Effect<ReadyOverview, OperatorObservationError>

readonly approve: (runId) => Effect.Effect<void, OperatorError>

Records approval for a waiting Run; execution still waits for Worker capacity.

Parameter Type
runId RunId

Effect.Effect<void, OperatorError>

readonly cancel: (runId) => Effect.Effect<void, OperatorError>

Cancels an open Run and interrupts its current Attempt; an already closed Run is unchanged.

Parameter Type
runId RunId

Effect.Effect<void, OperatorError>

readonly editAndRetry: (instance, runId, edit) => Effect.Effect<void, OperatorError>

Atomically amends a failed Run before requesting its next Attempt.

Parameter Type
instance LoadedInstance
runId RunId
edit EditAndRetry

Effect.Effect<void, OperatorError>

readonly intervene: (instance, runId, input) => Effect.Effect<void, OperatorError>

Delivers an attributed action through a live session’s Attempt channel.

Parameter Type
instance LoadedInstance
runId RunId
input SessionIntervention

Effect.Effect<void, OperatorError>

readonly moveBoardItem: (instance, move) => Effect.Effect<void, BoardMoveError>

Swaps lane labels on GitHub and hints an authoritative refresh of its Board position and Loop matches.

Parameter Type
instance LoadedInstance
move BoardMove

Effect.Effect<void, BoardMoveError>

readonly pause: (loop) => Effect.Effect<LoopRuntimeState, EnginePersistenceError>

Pauses new work for a Loop while its existing Runs continue.

Parameter Type
loop LoopName

Effect.Effect<LoopRuntimeState, EnginePersistenceError>

readonly resetCycleBudget: (askId) => Effect.Effect<void, OperatorError>

Answers the Item’s current cycle Ask; polling refreshes its state before more Runs open.

Parameter Type
askId CycleBudgetAskId

Effect.Effect<void, OperatorError>

readonly resolveFailure: (runId, attemptId) => Effect.Effect<void, OperatorError>

Resolves attention for the failed Attempt displayed to the operator; stale requests are rejected.

Parameter Type
runId RunId
attemptId AttemptId

Effect.Effect<void, OperatorError>

readonly retry: (runId) => Effect.Effect<void, OperatorError>

Requests a new Attempt for a failed Run using its effective task and Agent.

Parameter Type
runId RunId

Effect.Effect<void, OperatorError>

readonly unpause: (loop) => Effect.Effect<LoopRuntimeState, EnginePersistenceError>

Allows the Loop’s triggers to open new Runs again.

Parameter Type
loop LoopName

Effect.Effect<LoopRuntimeState, EnginePersistenceError>

readonly static layer: Layer<Operator, never, CycleBudgets | RunEngine | ItemProjectionReader | LoopControl | RepositoryLabelProjectionReader | RunReader | GitHubItemWriter | PollingTriggers | ScheduleTriggers>


The read-only operator surface. It needs no trigger execution to build.

  • Context.ServiceClass

readonly Service: object

The service’s operations: what yield* OperatorObservation returns.

readonly detail: (runId, request?) => Effect.Effect<RunDetailView, OperatorObservationError>

Reads one Run and a bounded transcript page; request selects the latest, newer, or earlier activity.

Parameter Type
runId RunId
request? TranscriptRequest

Effect.Effect<RunDetailView, OperatorObservationError>

readonly overview: (instance) => Effect.Effect<ReadyOverview, OperatorObservationError>

Builds the supplied instance’s Projects, Boards, Runs, and items needing operator attention.

Parameter Type
instance LoadedInstance

Effect.Effect<ReadyOverview, OperatorObservationError>

readonly static layer: Layer<OperatorObservation, never, CycleBudgets | ItemProjectionReader | LoopControl | RepositoryLabelProjectionReader | RunReader | PollingTriggers | ScheduleTriggers>


Repository polling failed and needs operator attention.

  • Schema.Class

new PollFailureNeed(…args): PollFailureNeed

Parameter Type
…args [props: object, options?: MakeOptions]

PollFailureNeed

readonly failure: RepositoryPollFailure

readonly id: string


A declared repository label could not be provisioned or confirmed.

  • Schema.Class

new PreflightFindingNeed(…args): PreflightFindingNeed

Parameter Type
…args [props: object, options?: MakeOptions]

PreflightFindingNeed

readonly finding: LabelPreflightFinding

readonly id: string


A managed repository with its Runs, Board, label catalog, and preflight findings.

  • Schema.Class

new ProjectView(…args): ProjectView

Parameter Type
…args [props: object, options?: MakeOptions]

ProjectView

readonly board: BoardView

readonly labels: readonly LabelView[]

The repository’s label catalog, used to color badges on cards and lanes.

readonly preflightFindings: readonly LabelPreflightFinding[]

Failures from provisioning this Project’s declared labels; they do not block the Board.

readonly repository: string & Brand<"RepositoryName">

readonly runs: readonly RunView[]

readonly status: "clear" | "active" | "needs-you"


A lane that groups Items without accepting label-based moves.

  • Schema.Class

new ReadOnlyBoardLaneView(…args): ReadOnlyBoardLaneView

Parameter Type
…args [props: object, options?: MakeOptions]

ReadOnlyBoardLaneView

readonly id: string & Brand<"BoardLaneId">

readonly items: readonly BoardTaskView[]

readonly name: string & Brand<"LaneName">

readonly origin: "authored" | "proposed" | "fallback"

readonly sources: readonly (LabelLaneSource | StateLaneSource)[]


The Projects, Loops, and operator needs of a configured factory.

  • Schema.Class

new ReadyOverview(…args): ReadyOverview

Parameter Type
…args [props: object, options?: MakeOptions]

ReadyOverview

readonly loops: readonly LoopView[]

readonly needsYou: readonly (CycleBudgetNeed | ApprovalNeed | BoardProjectionNeed | RunFailureNeed | PollFailureNeed | PreflightFindingNeed | ScheduleFailureNeed)[]

readonly projects: readonly ProjectView[]


The requested Agent is absent from the loaded instance roster.

  • Schema.Class

new RosterAgentNotFoundError(…args): RosterAgentNotFoundError

Parameter Type
…args [props: object, options?: MakeOptions]

RosterAgentNotFoundError

readonly agent: string & Brand<"AgentName">

readonly message: string


The wall-clock or token ceiling that stopped an Attempt.

  • Schema.Class

new RunawayFailureView(…args): RunawayFailureView

Parameter Type
…args [props: object, options?: MakeOptions]

RunawayFailureView

readonly ceiling: "wall-clock" | "tokens"


A Run summary with its triggering Event payload and a bounded portion of its transcript.

  • Schema.Class

new RunDetailView(…args): RunDetailView

Parameter Type
…args [props: object, options?: MakeOptions]

RunDetailView

readonly earlierTranscript: readonly TranscriptPageCursor[]

readonly eventDedupKey: string

readonly eventPayload: Json

readonly run: RunView

readonly sessionState: readonly TranscriptEventView[]

Current session controls remain available when their last activity predates the transcript page.

readonly transcript: readonly TranscriptEventView[]


A failed Run requires an operator decision, with its displayable failure details.

  • Schema.Class

new RunFailureNeed(…args): RunFailureNeed

Parameter Type
…args [props: object, options?: MakeOptions]

RunFailureNeed

readonly failure: InfraFailureView | DefectFailureView | AgentFailureView | RunawayFailureView | ChildSessionBudgetFailureView

readonly id: string

readonly loop: string & Brand<"LoopName">

readonly repository: string & Brand<"RepositoryName">

readonly runId: string & Brand<"RunId">


A Run summary with its Attempts, result links, and currently available operator actions.

  • Schema.Class

new RunView(…args): RunView

Parameter Type
…args [props: object, options?: MakeOptions]

RunView

readonly agent: string & Brand<"AgentName">

readonly attempts: readonly AttemptView[]

readonly canApprove: boolean

readonly canCancel: boolean

readonly canResolveFailure: boolean

The latest failed Attempt still requests attention; retry availability is independent.

readonly canRetry: boolean

readonly id: string & Brand<"RunId">

readonly itemKey: string & Brand<"ItemKey">

readonly loop: string & Brand<"LoopName">

readonly loopPaused: boolean

readonly openedAt: string

readonly pullRequestUrl: string | null

readonly repository: string & Brand<"RepositoryName">

readonly resultMessage: string | null

readonly state: "Succeeded" | "Failed" | "Canceled" | "Running" | "Pending" | "Waiting" | "Queued"

readonly task: string


A scheduled Loop could not evaluate or submit its work.

  • Schema.Class

new ScheduleFailureNeed(…args): ScheduleFailureNeed

Parameter Type
…args [props: object, options?: MakeOptions]

ScheduleFailureNeed

readonly failure: ScheduleAgentFailure | ScheduleTickFailure | ScheduleCronFailure

readonly id: string


An action for a specific live Attempt and session, so stale controls cannot target a new Attempt.

  • Schema.Class

new SessionIntervention(…args): SessionIntervention

Parameter Type
…args [props: object, options?: MakeOptions]

SessionIntervention

readonly action: Steer | Interrupt | OperatorMessage | Release

readonly attemptId: string & Brand<"AttemptId">

readonly target: ParentTarget | ChildTarget


An Attempt that completed successfully.

  • Schema.Class

new SucceededAttemptView(…args): SucceededAttemptView

Parameter Type
…args [props?: object, options?: MakeOptions]

SucceededAttemptView


Requests transcript events after the last observed sequence.

  • Schema.Class

new TailTranscriptRequest(…args): TailTranscriptRequest

Parameter Type
…args [props: object, options?: MakeOptions]

TailTranscriptRequest

readonly after: number & Brand<"TranscriptSequence">


The requested Attempt is absent from the Run whose transcript is being read.

  • Schema.Class

new TranscriptAttemptNotFoundError(…args): TranscriptAttemptNotFoundError

Parameter Type
…args [props: object, options?: MakeOptions]

TranscriptAttemptNotFoundError

readonly attemptId: string & Brand<"AttemptId">

readonly runId: string & Brand<"RunId">


A persisted Attempt channel message with its sequence, direction, and receipt time.

  • Schema.Class

new TranscriptEventView(…args): TranscriptEventView

Parameter Type
…args [props: object, options?: MakeOptions]

TranscriptEventView

readonly attemptId: string & Brand<"AttemptId">

readonly direction: "inbound" | "outbound"

readonly optional operator?: string

readonly payload: Steer | Interrupt | OperatorMessage | Release | Started | SessionEvent | Final | Interrupted | Cancel | InterventionApplied | InterventionRejected | FailedTranscriptView

readonly receivedAt: string

readonly sequence: number & Brand<"TranscriptSequence">

readonly optional target?: ParentTarget | ChildTarget


Where the next earlier transcript page starts, scoped to one Attempt.

  • Schema.Class

new TranscriptPageCursor(…args): TranscriptPageCursor

Parameter Type
…args [props: object, options?: MakeOptions]

TranscriptPageCursor

readonly attemptId: string & Brand<"AttemptId">

readonly before: number & Brand<"TranscriptSequence">


An authored lane the operator can move Items into by applying its configured GitHub labels.

  • Schema.Class

new WritableBoardLaneView(…args): WritableBoardLaneView

Parameter Type
…args [props: object, options?: MakeOptions]

WritableBoardLaneView

readonly id: string & Brand<"BoardLaneId">

readonly items: readonly BoardTaskView[]

readonly labels: readonly (string & Brand<"GitHubLabelName">)[]

readonly name: string & Brand<"LaneName">

readonly origin: "authored"

readonly sources: readonly (LabelLaneSource | StateLaneSource)[]

AttemptOutcomeView = typeof AttemptOutcomeView.Type

The terminal outcome displayed for an Attempt; a live Attempt has no outcome.


BoardLaneId = typeof BoardLaneId.Type

Identifies a lane within a Project’s Board for operator moves.


BoardLaneOrigin = typeof BoardLaneOrigin.Type

Whether a lane came from authored settings, a proposal, or default grouping.


BoardLaneView = typeof BoardLaneView.Type

A displayed lane whose variant determines whether operator moves are supported.


BoardMoveError = BoardItemNotFoundError | BoardLaneNotFoundError | BoardLaneReadOnlyError | BoardProjectNotFoundError | EnginePersistenceError | GitHubAppError


FactoryOverview = typeof FactoryOverview.Type

The operator overview, distinguished by whether factory setup is complete.


FailureView = typeof FailureView.Type

An Attempt failure with only the details the operator can inspect.


NeedView = typeof NeedView.Type

One reason the factory asks for operator attention in the overview.


OperatorError = RosterAgentNotFoundError | RunEngineError | TranscriptAttemptNotFoundError | BoardMoveError | CycleBudgetResetRejectedError


OperatorObservationError = RunStoreError | TranscriptAttemptNotFoundError


ProjectStatus = typeof ProjectStatus.Type

The Project’s summary indicator for activity or required operator attention.


RunStateTag = typeof RunStateTag.Type

The persisted Run lifecycle state as exposed in operator views.


TranscriptPayload = typeof TranscriptPayload.Type

Attempt channel messages exposed to the operator, with defect causes removed from failures.


TranscriptRequest = typeof TranscriptRequest.Type

Selects the initial window, live tail, or earlier page of a Run transcript.

const AttemptOutcomeView: Schema.Union<readonly [typeof SucceededAttemptView, typeof FailedAttemptView, typeof CanceledAttemptView]>

The terminal outcome displayed for an Attempt; a live Attempt has no outcome.


const BoardLaneId: Schema.brand<Schema.NonEmptyString, "BoardLaneId">

Identifies a lane within a Project’s Board for operator moves.


const BoardLaneOrigin: Schema.Literals<readonly ["authored", "proposed", "fallback"]>

Whether a lane came from authored settings, a proposal, or default grouping.


const BoardLaneView: Schema.Union<readonly [typeof WritableBoardLaneView, typeof ReadOnlyBoardLaneView]>

A displayed lane whose variant determines whether operator moves are supported.


const FactoryOverview: Schema.Union<readonly [typeof ReadyOverview, typeof NeedsSetupOverview]>

The operator overview, distinguished by whether factory setup is complete.


const FailureView: Schema.Union<readonly [typeof InfraFailureView, typeof DefectFailureView, typeof AgentFailureView, typeof RunawayFailureView, typeof ChildSessionBudgetFailureView]>

An Attempt failure with only the details the operator can inspect.


const NeedView: Schema.Union<readonly [typeof CycleBudgetNeed, typeof ApprovalNeed, typeof BoardProjectionNeed, typeof RunFailureNeed, typeof PollFailureNeed, typeof PreflightFindingNeed, typeof ScheduleFailureNeed]>

One reason the factory asks for operator attention in the overview.


const ProjectStatus: Schema.Literals<readonly ["clear", "active", "needs-you"]>

The Project’s summary indicator for activity or required operator attention.


const RunStateTag: Schema.Literals<readonly ["Pending", "Waiting", "Queued", "Running", "Succeeded", "Failed", "Canceled"]>

The persisted Run lifecycle state as exposed in operator views.


const TranscriptPayload: Schema.Union<readonly [typeof Started, typeof SessionEvent, typeof Final, typeof FailedTranscriptView, typeof Interrupted, typeof Steer, typeof Interrupt, typeof OperatorMessage, typeof Release, typeof Cancel, typeof InterventionApplied, typeof InterventionRejected]>

Attempt channel messages exposed to the operator, with defect causes removed from failures.


const TranscriptRequest: Schema.Union<readonly [typeof ColdTranscriptRequest, typeof TailTranscriptRequest, typeof EarlierTranscriptRequest]>

Selects the initial window, live tail, or earlier page of a Run transcript.