@usine/orchestrator/operator
Classes
Section titled “Classes”AgentFailureView
Section titled “AgentFailureView”An agent failure message safe to display to the operator.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AgentFailureView(…
args):AgentFailureView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”message
Section titled “message”
readonlymessage:string
ApprovalNeed
Section titled “ApprovalNeed”An operator approval is required before this Run can proceed.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ApprovalNeed(…
args):ApprovalNeed
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyid:string
readonlyloop:string&Brand<"LoopName">
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
readonlyrunId:string&Brand<"RunId">
AttemptView
Section titled “AttemptView”One Attempt’s identity, Worker, effective brain, start time, optional terminal outcome, and salvaged work.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AttemptView(…
args):AttemptView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyagent:string&Brand<"AgentName">
readonlybrain:BrainSpec
readonlyid:string&Brand<"AttemptId">
number
Section titled “number”
readonlynumber:number&Brand<"AttemptNumber">
operatorIntervened
Section titled “operatorIntervened”
readonlyoperatorIntervened:boolean
outcome
Section titled “outcome”
readonlyoutcome:SucceededAttemptView|FailedAttemptView|CanceledAttemptView|null
salvage
Section titled “salvage”
readonlysalvage:SalvagePushed|SalvageRetained|null
startedAt
Section titled “startedAt”
readonlystartedAt:string
readonlytask:string&Brand<"AttemptTask">
worker
Section titled “worker”
readonlyworker:string&Brand<"WorkerName">
BoardItemLink
Section titled “BoardItemLink”An Item linked to a Task, with its own title and external destination.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardItemLink(…
args):BoardItemLink
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”itemKey
Section titled “itemKey”
readonlyitemKey:string&Brand<"ItemKey">
readonlykind:"issue"|"pr"
number
Section titled “number”
readonlynumber:number&Brand<"ItemNumber">
readonlytitle:string
readonlyurl:string
BoardItemNotFoundError
Section titled “BoardItemNotFoundError”The requested Item is absent from the Project’s Board.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardItemNotFoundError(…
args):BoardItemNotFoundError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyitem:number&Brand<"ItemNumber">
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
BoardLaneNotFoundError
Section titled “BoardLaneNotFoundError”The requested destination lane is absent from the Project’s Board.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardLaneNotFoundError(…
args):BoardLaneNotFoundError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlylane:string&Brand<"BoardLaneId">
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
BoardLaneReadOnlyError
Section titled “BoardLaneReadOnlyError”The requested destination lane does not accept label-based moves.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardLaneReadOnlyError(…
args):BoardLaneReadOnlyError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlylane:string&Brand<"BoardLaneId">
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
BoardMove
Section titled “BoardMove”An operator request to move one Project Item into a destination lane.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardMove(…
args):BoardMove
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyitem:number&Brand<"ItemNumber">
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
toLane
Section titled “toLane”
readonlytoLane:string&Brand<"BoardLaneId">
BoardProjectionError
Section titled “BoardProjectionError”An Item projection could not produce a Board card; other Items remain available.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardProjectionError(…
args):BoardProjectionError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”itemKey
Section titled “itemKey”
readonlyitemKey:string&Brand<"ItemKey">
message
Section titled “message”
readonlymessage:string
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
BoardProjectionNeed
Section titled “BoardProjectionNeed”An Item could not be displayed on its Board and needs operator attention.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardProjectionNeed(…
args):BoardProjectionNeed
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”failure
Section titled “failure”
readonlyfailure:BoardProjectionError
readonlyid:string
BoardProjectNotFoundError
Section titled “BoardProjectNotFoundError”The requested Project is absent from the operator overview.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardProjectNotFoundError(…
args):BoardProjectNotFoundError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
BoardTaskView
Section titled “BoardTaskView”A Task projected from linked Items. The current Item determines the key, lane, labels, and move destination; the first issue supplies the Task title.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardTaskView(…
args):BoardTaskView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”conflicting
Section titled “conflicting”
readonlyconflicting:boolean
The current Item is an open pull request whose branch conflicts with its base.
itemKey
Section titled “itemKey”
readonlyitemKey:string&Brand<"ItemKey">
readonlyitems: readonlyBoardItemLink[]
readonlykind:"issue"|"pr"
labels
Section titled “labels”
readonlylabels: readonly (string&Brand<"GitHubLabelName">)[]
needsYou
Section titled “needsYou”
readonlyneedsYou:boolean
number
Section titled “number”
readonlynumber:number&Brand<"ItemNumber">
readonlyrun:RunView|null
readonlyruns: readonlyRunView[]
Every saved Run for the visible Items, ordered from earliest to latest.
readonlystate:"issue-open"|"issue-closed"|"pr-open"|"pr-closed"|"pr-merged"
readonlytitle:string
readonlyurl:string
BoardView
Section titled “BoardView”The Project’s lanes and the Item failures encountered while constructing their cards.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BoardView(…
args):BoardView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”failures
Section titled “failures”
readonlyfailures: readonlyBoardProjectionError[]
readonlylanes: readonly (WritableBoardLaneView|ReadOnlyBoardLaneView)[]
CanceledAttemptView
Section titled “CanceledAttemptView”An Attempt that ended after cancellation.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CanceledAttemptView(…
args):CanceledAttemptView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props?: object, options?: MakeOptions] |
Returns
Section titled “Returns”ChildSessionBudgetFailureView
Section titled “ChildSessionBudgetFailureView”The configured child-session budget and the spawn count that exceeded it.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ChildSessionBudgetFailureView(…
args):ChildSessionBudgetFailureView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”attemptedChildren
Section titled “attemptedChildren”
readonlyattemptedChildren:number&Brand<"ChildSessionCount">
maxChildren
Section titled “maxChildren”
readonlymaxChildren:number&Brand<"ChildSessionBudget">
ColdTranscriptRequest
Section titled “ColdTranscriptRequest”Requests the newest bounded transcript window when opening a Run.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ColdTranscriptRequest(…
args):ColdTranscriptRequest
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props?: object, options?: MakeOptions] |
Returns
Section titled “Returns”CycleBudgetNeed
Section titled “CycleBudgetNeed”An Item stopped opening Runs and requires an explicit reset of its shared cycle budget.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CycleBudgetNeed(…
args):CycleBudgetNeed
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyask:CycleBudgetAsk
readonlyid:string
itemLabel
Section titled “itemLabel”
readonlyitemLabel:string
itemUrl
Section titled “itemUrl”
readonlyitemUrl:string|null
DefectFailureView
Section titled “DefectFailureView”A captured programmer defect requiring operator intervention; the original cause stays behind this boundary.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DefectFailureView(…
args):DefectFailureView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”message
Section titled “message”
readonlymessage:string
EarlierTranscriptRequest
Section titled “EarlierTranscriptRequest”Requests an earlier page before a sequence within one Attempt.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new EarlierTranscriptRequest(…
args):EarlierTranscriptRequest
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
before
Section titled “before”
readonlybefore:number&Brand<"TranscriptSequence">
EditAndRetry
Section titled “EditAndRetry”The operator’s replacement task and selected roster member; the server derives the Agent’s persona and brain.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new EditAndRetry(…
args):EditAndRetry
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyagent:string&Brand<"AgentName">
readonlytask:string&Brand<"AttemptTask">
FailedAttemptView
Section titled “FailedAttemptView”An Attempt that ended with a failure the operator can inspect.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FailedAttemptView(…
args):FailedAttemptView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”failure
Section titled “failure”
readonlyfailure:InfraFailureView|DefectFailureView|AgentFailureView|RunawayFailureView|ChildSessionBudgetFailureView
FailedTranscriptView
Section titled “FailedTranscriptView”An Attempt failure recorded in the transcript with displayable details only.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FailedTranscriptView(…
args):FailedTranscriptView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”failure
Section titled “failure”
readonlyfailure:InfraFailureView|DefectFailureView|AgentFailureView|RunawayFailureView|ChildSessionBudgetFailureView
InfraFailureView
Section titled “InfraFailureView”An infra failure as the operator sees it; the defect cause stays behind this boundary.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InfraFailureView(…
args):InfraFailureView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”message
Section titled “message”
readonlymessage:string
LabelView
Section titled “LabelView”A repository label as GitHub shows it. Color is null for catalogs stored before colors were kept.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LabelView(…
args):LabelView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlycolor:string|null
description
Section titled “description”
readonlydescription:string|null
readonlyname:string&Brand<"GitHubLabelName">
LoopView
Section titled “LoopView”A Loop’s authored trigger and Agent together with its runtime pause state.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LoopView(…
args):LoopView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyagent:string&Brand<"AgentName">
readonlyname:string&Brand<"LoopName">
paused
Section titled “paused”
readonlypaused:boolean
trigger
Section titled “trigger”
readonlytrigger:string
NeedsSetupOverview
Section titled “NeedsSetupOverview”An overview available during setup, including the error that prevents normal operation.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NeedsSetupOverview(…
args):NeedsSetupOverview
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”errorTag
Section titled “errorTag”
readonlyerrorTag:string
readonlyloops: readonlyLoopView[]
needsYou
Section titled “needsYou”
readonlyneedsYou: readonly (CycleBudgetNeed|ApprovalNeed|BoardProjectionNeed|RunFailureNeed|PollFailureNeed|PreflightFindingNeed|ScheduleFailureNeed)[]
projects
Section titled “projects”
readonlyprojects: readonlyProjectView[]
Operator
Section titled “Operator”The operator’s view of the factory and actions for approving, retrying, canceling, and directing work.
Extends
Section titled “Extends”Context.ServiceClass
Properties
Section titled “Properties”Service
Section titled “Service”
readonlyService:object&object
The service’s operations: what yield* Operator returns.
Type Declaration
Section titled “Type Declaration”detail
Section titled “detail”
readonlydetail: (runId,request?) =>Effect.Effect<RunDetailView,OperatorObservationError>
Reads one Run and a bounded transcript page; request selects the latest, newer, or earlier activity.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
runId |
RunId |
request? |
TranscriptRequest |
Returns
Section titled “Returns”Effect.Effect<RunDetailView, OperatorObservationError>
overview
Section titled “overview”
readonlyoverview: (instance) =>Effect.Effect<ReadyOverview,OperatorObservationError>
Builds the supplied instance’s Projects, Boards, Runs, and items needing operator attention.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
instance |
LoadedInstance |
Returns
Section titled “Returns”Effect.Effect<ReadyOverview, OperatorObservationError>
approve
Section titled “approve”
readonlyapprove: (runId) =>Effect.Effect<void,OperatorError>
Records approval for a waiting Run; execution still waits for Worker capacity.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
runId |
RunId |
Returns
Section titled “Returns”Effect.Effect<void, OperatorError>
cancel
Section titled “cancel”
readonlycancel: (runId) =>Effect.Effect<void,OperatorError>
Cancels an open Run and interrupts its current Attempt; an already closed Run is unchanged.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
runId |
RunId |
Returns
Section titled “Returns”Effect.Effect<void, OperatorError>
editAndRetry
Section titled “editAndRetry”
readonlyeditAndRetry: (instance,runId,edit) =>Effect.Effect<void,OperatorError>
Atomically amends a failed Run before requesting its next Attempt.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
instance |
LoadedInstance |
runId |
RunId |
edit |
EditAndRetry |
Returns
Section titled “Returns”Effect.Effect<void, OperatorError>
intervene
Section titled “intervene”
readonlyintervene: (instance,runId,input) =>Effect.Effect<void,OperatorError>
Delivers an attributed action through a live session’s Attempt channel.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
instance |
LoadedInstance |
runId |
RunId |
input |
SessionIntervention |
Returns
Section titled “Returns”Effect.Effect<void, OperatorError>
moveBoardItem
Section titled “moveBoardItem”
readonlymoveBoardItem: (instance,move) =>Effect.Effect<void,BoardMoveError>
Swaps lane labels on GitHub and hints an authoritative refresh of its Board position and Loop matches.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
instance |
LoadedInstance |
move |
BoardMove |
Returns
Section titled “Returns”Effect.Effect<void, BoardMoveError>
readonlypause: (loop) =>Effect.Effect<LoopRuntimeState,EnginePersistenceError>
Pauses new work for a Loop while its existing Runs continue.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
loop |
LoopName |
Returns
Section titled “Returns”Effect.Effect<LoopRuntimeState, EnginePersistenceError>
resetCycleBudget
Section titled “resetCycleBudget”
readonlyresetCycleBudget: (askId) =>Effect.Effect<void,OperatorError>
Answers the Item’s current cycle Ask; polling refreshes its state before more Runs open.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
askId |
CycleBudgetAskId |
Returns
Section titled “Returns”Effect.Effect<void, OperatorError>
resolveFailure
Section titled “resolveFailure”
readonlyresolveFailure: (runId,attemptId) =>Effect.Effect<void,OperatorError>
Resolves attention for the failed Attempt displayed to the operator; stale requests are rejected.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
runId |
RunId |
attemptId |
AttemptId |
Returns
Section titled “Returns”Effect.Effect<void, OperatorError>
readonlyretry: (runId) =>Effect.Effect<void,OperatorError>
Requests a new Attempt for a failed Run using its effective task and Agent.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
runId |
RunId |
Returns
Section titled “Returns”Effect.Effect<void, OperatorError>
unpause
Section titled “unpause”
readonlyunpause: (loop) =>Effect.Effect<LoopRuntimeState,EnginePersistenceError>
Allows the Loop’s triggers to open new Runs again.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
loop |
LoopName |
Returns
Section titled “Returns”Effect.Effect<LoopRuntimeState, EnginePersistenceError>
readonlystaticlayer:Layer<Operator,never,CycleBudgets|RunEngine|ItemProjectionReader|LoopControl|RepositoryLabelProjectionReader|RunReader|GitHubItemWriter|PollingTriggers|ScheduleTriggers>
OperatorObservation
Section titled “OperatorObservation”The read-only operator surface. It needs no trigger execution to build.
Extends
Section titled “Extends”Context.ServiceClass
Properties
Section titled “Properties”Service
Section titled “Service”
readonlyService:object
The service’s operations: what yield* OperatorObservation returns.
detail
Section titled “detail”
readonlydetail: (runId,request?) =>Effect.Effect<RunDetailView,OperatorObservationError>
Reads one Run and a bounded transcript page; request selects the latest, newer, or earlier activity.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
runId |
RunId |
request? |
TranscriptRequest |
Returns
Section titled “Returns”Effect.Effect<RunDetailView, OperatorObservationError>
overview
Section titled “overview”
readonlyoverview: (instance) =>Effect.Effect<ReadyOverview,OperatorObservationError>
Builds the supplied instance’s Projects, Boards, Runs, and items needing operator attention.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
instance |
LoadedInstance |
Returns
Section titled “Returns”Effect.Effect<ReadyOverview, OperatorObservationError>
readonlystaticlayer:Layer<OperatorObservation,never,CycleBudgets|ItemProjectionReader|LoopControl|RepositoryLabelProjectionReader|RunReader|PollingTriggers|ScheduleTriggers>
PollFailureNeed
Section titled “PollFailureNeed”Repository polling failed and needs operator attention.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PollFailureNeed(…
args):PollFailureNeed
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”failure
Section titled “failure”
readonlyfailure:RepositoryPollFailure
readonlyid:string
PreflightFindingNeed
Section titled “PreflightFindingNeed”A declared repository label could not be provisioned or confirmed.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PreflightFindingNeed(…
args):PreflightFindingNeed
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”finding
Section titled “finding”
readonlyfinding:LabelPreflightFinding
readonlyid:string
ProjectView
Section titled “ProjectView”A managed repository with its Runs, Board, label catalog, and preflight findings.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ProjectView(…
args):ProjectView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyboard:BoardView
labels
Section titled “labels”
readonlylabels: readonlyLabelView[]
The repository’s label catalog, used to color badges on cards and lanes.
preflightFindings
Section titled “preflightFindings”
readonlypreflightFindings: readonlyLabelPreflightFinding[]
Failures from provisioning this Project’s declared labels; they do not block the Board.
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
readonlyruns: readonlyRunView[]
status
Section titled “status”
readonlystatus:"clear"|"active"|"needs-you"
ReadOnlyBoardLaneView
Section titled “ReadOnlyBoardLaneView”A lane that groups Items without accepting label-based moves.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ReadOnlyBoardLaneView(…
args):ReadOnlyBoardLaneView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyid:string&Brand<"BoardLaneId">
readonlyitems: readonlyBoardTaskView[]
readonlyname:string&Brand<"LaneName">
origin
Section titled “origin”
readonlyorigin:"authored"|"proposed"|"fallback"
sources
Section titled “sources”
readonlysources: readonly (LabelLaneSource|StateLaneSource)[]
ReadyOverview
Section titled “ReadyOverview”The Projects, Loops, and operator needs of a configured factory.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ReadyOverview(…
args):ReadyOverview
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyloops: readonlyLoopView[]
needsYou
Section titled “needsYou”
readonlyneedsYou: readonly (CycleBudgetNeed|ApprovalNeed|BoardProjectionNeed|RunFailureNeed|PollFailureNeed|PreflightFindingNeed|ScheduleFailureNeed)[]
projects
Section titled “projects”
readonlyprojects: readonlyProjectView[]
RosterAgentNotFoundError
Section titled “RosterAgentNotFoundError”The requested Agent is absent from the loaded instance roster.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RosterAgentNotFoundError(…
args):RosterAgentNotFoundError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyagent:string&Brand<"AgentName">
message
Section titled “message”
readonlymessage:string
RunawayFailureView
Section titled “RunawayFailureView”The wall-clock or token ceiling that stopped an Attempt.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RunawayFailureView(…
args):RunawayFailureView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”ceiling
Section titled “ceiling”
readonlyceiling:"wall-clock"|"tokens"
RunDetailView
Section titled “RunDetailView”A Run summary with its triggering Event payload and a bounded portion of its transcript.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RunDetailView(…
args):RunDetailView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”earlierTranscript
Section titled “earlierTranscript”
readonlyearlierTranscript: readonlyTranscriptPageCursor[]
eventDedupKey
Section titled “eventDedupKey”
readonlyeventDedupKey:string
eventPayload
Section titled “eventPayload”
readonlyeventPayload:Json
readonlyrun:RunView
sessionState
Section titled “sessionState”
readonlysessionState: readonlyTranscriptEventView[]
Current session controls remain available when their last activity predates the transcript page.
transcript
Section titled “transcript”
readonlytranscript: readonlyTranscriptEventView[]
RunFailureNeed
Section titled “RunFailureNeed”A failed Run requires an operator decision, with its displayable failure details.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RunFailureNeed(…
args):RunFailureNeed
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”failure
Section titled “failure”
readonlyfailure:InfraFailureView|DefectFailureView|AgentFailureView|RunawayFailureView|ChildSessionBudgetFailureView
readonlyid:string
readonlyloop:string&Brand<"LoopName">
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
readonlyrunId:string&Brand<"RunId">
RunView
Section titled “RunView”A Run summary with its Attempts, result links, and currently available operator actions.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RunView(…
args):RunView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyagent:string&Brand<"AgentName">
attempts
Section titled “attempts”
readonlyattempts: readonlyAttemptView[]
canApprove
Section titled “canApprove”
readonlycanApprove:boolean
canCancel
Section titled “canCancel”
readonlycanCancel:boolean
canResolveFailure
Section titled “canResolveFailure”
readonlycanResolveFailure:boolean
The latest failed Attempt still requests attention; retry availability is independent.
canRetry
Section titled “canRetry”
readonlycanRetry:boolean
readonlyid:string&Brand<"RunId">
itemKey
Section titled “itemKey”
readonlyitemKey:string&Brand<"ItemKey">
readonlyloop:string&Brand<"LoopName">
loopPaused
Section titled “loopPaused”
readonlyloopPaused:boolean
openedAt
Section titled “openedAt”
readonlyopenedAt:string
pullRequestUrl
Section titled “pullRequestUrl”
readonlypullRequestUrl:string|null
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
resultMessage
Section titled “resultMessage”
readonlyresultMessage:string|null
readonlystate:"Succeeded"|"Failed"|"Canceled"|"Running"|"Pending"|"Waiting"|"Queued"
readonlytask:string
ScheduleFailureNeed
Section titled “ScheduleFailureNeed”A scheduled Loop could not evaluate or submit its work.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ScheduleFailureNeed(…
args):ScheduleFailureNeed
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”failure
Section titled “failure”
readonlyfailure:ScheduleAgentFailure|ScheduleTickFailure|ScheduleCronFailure
readonlyid:string
SessionIntervention
Section titled “SessionIntervention”An action for a specific live Attempt and session, so stale controls cannot target a new Attempt.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SessionIntervention(…
args):SessionIntervention
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”action
Section titled “action”
readonlyaction:Steer|Interrupt|OperatorMessage|Release
attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
target
Section titled “target”
readonlytarget:ParentTarget|ChildTarget
SucceededAttemptView
Section titled “SucceededAttemptView”An Attempt that completed successfully.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SucceededAttemptView(…
args):SucceededAttemptView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props?: object, options?: MakeOptions] |
Returns
Section titled “Returns”TailTranscriptRequest
Section titled “TailTranscriptRequest”Requests transcript events after the last observed sequence.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TailTranscriptRequest(…
args):TailTranscriptRequest
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyafter:number&Brand<"TranscriptSequence">
TranscriptAttemptNotFoundError
Section titled “TranscriptAttemptNotFoundError”The requested Attempt is absent from the Run whose transcript is being read.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TranscriptAttemptNotFoundError(…
args):TranscriptAttemptNotFoundError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”TranscriptAttemptNotFoundError
Properties
Section titled “Properties”attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
readonlyrunId:string&Brand<"RunId">
TranscriptEventView
Section titled “TranscriptEventView”A persisted Attempt channel message with its sequence, direction, and receipt time.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TranscriptEventView(…
args):TranscriptEventView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
direction
Section titled “direction”
readonlydirection:"inbound"|"outbound"
operator?
Section titled “operator?”
readonlyoptionaloperator?:string
payload
Section titled “payload”
readonlypayload:Steer|Interrupt|OperatorMessage|Release|Started|SessionEvent|Final|Interrupted|Cancel|InterventionApplied|InterventionRejected|FailedTranscriptView
receivedAt
Section titled “receivedAt”
readonlyreceivedAt:string
sequence
Section titled “sequence”
readonlysequence:number&Brand<"TranscriptSequence">
target?
Section titled “target?”
readonlyoptionaltarget?:ParentTarget|ChildTarget
TranscriptPageCursor
Section titled “TranscriptPageCursor”Where the next earlier transcript page starts, scoped to one Attempt.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TranscriptPageCursor(…
args):TranscriptPageCursor
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
before
Section titled “before”
readonlybefore:number&Brand<"TranscriptSequence">
WritableBoardLaneView
Section titled “WritableBoardLaneView”An authored lane the operator can move Items into by applying its configured GitHub labels.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new WritableBoardLaneView(…
args):WritableBoardLaneView
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyid:string&Brand<"BoardLaneId">
readonlyitems: readonlyBoardTaskView[]
labels
Section titled “labels”
readonlylabels: readonly (string&Brand<"GitHubLabelName">)[]
readonlyname:string&Brand<"LaneName">
origin
Section titled “origin”
readonlyorigin:"authored"
sources
Section titled “sources”
readonlysources: readonly (LabelLaneSource|StateLaneSource)[]
Type Aliases
Section titled “Type Aliases”AttemptOutcomeView
Section titled “AttemptOutcomeView”AttemptOutcomeView = typeof
AttemptOutcomeView.Type
The terminal outcome displayed for an Attempt; a live Attempt has no outcome.
BoardLaneId
Section titled “BoardLaneId”BoardLaneId = typeof
BoardLaneId.Type
Identifies a lane within a Project’s Board for operator moves.
BoardLaneOrigin
Section titled “BoardLaneOrigin”BoardLaneOrigin = typeof
BoardLaneOrigin.Type
Whether a lane came from authored settings, a proposal, or default grouping.
BoardLaneView
Section titled “BoardLaneView”BoardLaneView = typeof
BoardLaneView.Type
A displayed lane whose variant determines whether operator moves are supported.
BoardMoveError
Section titled “BoardMoveError”BoardMoveError =
BoardItemNotFoundError|BoardLaneNotFoundError|BoardLaneReadOnlyError|BoardProjectNotFoundError|EnginePersistenceError|GitHubAppError
FactoryOverview
Section titled “FactoryOverview”FactoryOverview = typeof
FactoryOverview.Type
The operator overview, distinguished by whether factory setup is complete.
FailureView
Section titled “FailureView”FailureView = typeof
FailureView.Type
An Attempt failure with only the details the operator can inspect.
NeedView
Section titled “NeedView”NeedView = typeof
NeedView.Type
One reason the factory asks for operator attention in the overview.
OperatorError
Section titled “OperatorError”OperatorError =
RosterAgentNotFoundError|RunEngineError|TranscriptAttemptNotFoundError|BoardMoveError|CycleBudgetResetRejectedError
OperatorObservationError
Section titled “OperatorObservationError”OperatorObservationError =
RunStoreError|TranscriptAttemptNotFoundError
ProjectStatus
Section titled “ProjectStatus”ProjectStatus = typeof
ProjectStatus.Type
The Project’s summary indicator for activity or required operator attention.
RunStateTag
Section titled “RunStateTag”RunStateTag = typeof
RunStateTag.Type
The persisted Run lifecycle state as exposed in operator views.
TranscriptPayload
Section titled “TranscriptPayload”TranscriptPayload = typeof
TranscriptPayload.Type
Attempt channel messages exposed to the operator, with defect causes removed from failures.
TranscriptRequest
Section titled “TranscriptRequest”TranscriptRequest = typeof
TranscriptRequest.Type
Selects the initial window, live tail, or earlier page of a Run transcript.
Variables
Section titled “Variables”AttemptOutcomeView
Section titled “AttemptOutcomeView”
constAttemptOutcomeView:Schema.Union<readonly [typeofSucceededAttemptView, typeofFailedAttemptView, typeofCanceledAttemptView]>
The terminal outcome displayed for an Attempt; a live Attempt has no outcome.
BoardLaneId
Section titled “BoardLaneId”
constBoardLaneId:Schema.brand<Schema.NonEmptyString,"BoardLaneId">
Identifies a lane within a Project’s Board for operator moves.
BoardLaneOrigin
Section titled “BoardLaneOrigin”
constBoardLaneOrigin:Schema.Literals<readonly ["authored","proposed","fallback"]>
Whether a lane came from authored settings, a proposal, or default grouping.
BoardLaneView
Section titled “BoardLaneView”
constBoardLaneView:Schema.Union<readonly [typeofWritableBoardLaneView, typeofReadOnlyBoardLaneView]>
A displayed lane whose variant determines whether operator moves are supported.
FactoryOverview
Section titled “FactoryOverview”
constFactoryOverview:Schema.Union<readonly [typeofReadyOverview, typeofNeedsSetupOverview]>
The operator overview, distinguished by whether factory setup is complete.
FailureView
Section titled “FailureView”
constFailureView:Schema.Union<readonly [typeofInfraFailureView, typeofDefectFailureView, typeofAgentFailureView, typeofRunawayFailureView, typeofChildSessionBudgetFailureView]>
An Attempt failure with only the details the operator can inspect.
NeedView
Section titled “NeedView”
constNeedView:Schema.Union<readonly [typeofCycleBudgetNeed, typeofApprovalNeed, typeofBoardProjectionNeed, typeofRunFailureNeed, typeofPollFailureNeed, typeofPreflightFindingNeed, typeofScheduleFailureNeed]>
One reason the factory asks for operator attention in the overview.
ProjectStatus
Section titled “ProjectStatus”
constProjectStatus:Schema.Literals<readonly ["clear","active","needs-you"]>
The Project’s summary indicator for activity or required operator attention.
RunStateTag
Section titled “RunStateTag”
constRunStateTag:Schema.Literals<readonly ["Pending","Waiting","Queued","Running","Succeeded","Failed","Canceled"]>
The persisted Run lifecycle state as exposed in operator views.
TranscriptPayload
Section titled “TranscriptPayload”
constTranscriptPayload:Schema.Union<readonly [typeofStarted, typeofSessionEvent, typeofFinal, typeofFailedTranscriptView, typeofInterrupted, typeofSteer, typeofInterrupt, typeofOperatorMessage, typeofRelease, typeofCancel, typeofInterventionApplied, typeofInterventionRejected]>
Attempt channel messages exposed to the operator, with defect causes removed from failures.
TranscriptRequest
Section titled “TranscriptRequest”
constTranscriptRequest:Schema.Union<readonly [typeofColdTranscriptRequest, typeofTailTranscriptRequest, typeofEarlierTranscriptRequest]>
Selects the initial window, live tail, or earlier page of a Run transcript.