Interface: LaneQueuedItemState<TIn>
Defined in: runtime/lane/lane-queued-item-state.ts:12
In-memory scheduling record for a work item tracked by LaneScheduler (SPEC.md §3.10).
Tracks the item's lifecycle status, prerequisite dependsOn keys, cumulative USD cost, approved budget ceiling, and active FlowExecutionContext when running.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Validated lane work item input type. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
activeFlowCtx? | public | FlowExecutionContext<TIn, unknown> | Active FlowExecutionContext while the run is executing. | runtime/lane/lane-queued-item-state.ts:38 |
approvedMaxCostUsd? | public | number | Effective USD budget ceiling (initially lane.maxCostUsd?.limitUsd, updated on human approval). | runtime/lane/lane-queued-item-state.ts:34 |
bootRecord? | public | InterruptedStepBootRecord | Optional interrupted step boot record pending recovery on next schedule pass. | runtime/lane/lane-queued-item-state.ts:40 |
costUsd | public | number | Cumulative USD cost accrued by the run. | runtime/lane/lane-queued-item-state.ts:32 |
dependsOn | public | readonly string[] | Prerequisite item keys (itemKeys) that must exit 'done' before this item starts or resumes. | runtime/lane/lane-queued-item-state.ts:30 |
enqueuedAtMs | readonly | number | Epoch milliseconds when the item was enqueued. | runtime/lane/lane-queued-item-state.ts:26 |
input | public | TIn | Latest validated work item input payload. | runtime/lane/lane-queued-item-state.ts:20 |
itemKey | readonly | string | Deduplication key (itemKey) returned by lane.keyMapper(input). | runtime/lane/lane-queued-item-state.ts:16 |
laneId | readonly | string | Enclosing LaneNode.id. | runtime/lane/lane-queued-item-state.ts:18 |
priorityBoost | public | number | Additional priority weight boost ('inherit-parent-with-boost'). | runtime/lane/lane-queued-item-state.ts:28 |
runId | readonly | string | Unique run identifier (runId). | runtime/lane/lane-queued-item-state.ts:14 |
scopeReceipt? | public | Record<string, unknown> | Final scope receipt (TReceipt) captured when the run completed or sealed. | runtime/lane/lane-queued-item-state.ts:36 |
status | public | | "RUNNING" | "COMPLETED" | "SUSPENDED" | "FAILED" | "QUEUED" | "WAITING" | "CANCELLED" | "ABANDONED" | Current lifecycle status of the item inside the lane. | runtime/lane/lane-queued-item-state.ts:22 |
terminalExitState? | public | string | Terminal exit state label (flow.exitState, waitFor.onAbandonedState, retry.orFailState, or 'cancelled'). | runtime/lane/lane-queued-item-state.ts:24 |