Interface: PoolSelectionContext
Defined in: ast/pool-selection-context.ts:7
Contextual metadata passed to a pool selection strategy during candidate resolution.
Carries the active runId, retry attempt counter, wall-clock timestamp, and any sticky candidate identifier previously bound to runId.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
nowMs | readonly | number | Current wall-clock timestamp in milliseconds. | ast/pool-selection-context.ts:15 |
poolId | readonly | string | Identifier of the capacity pool being queried. | ast/pool-selection-context.ts:9 |
retryAttempt | readonly | number | Zero-based retry or loop escalation attempt index. | ast/pool-selection-context.ts:13 |
runId | readonly | string | Identifier of the active flow run requesting a candidate. | ast/pool-selection-context.ts:11 |
stickyCandidateId? | readonly | string | Previously acquired candidate identifier for run-sticky seat affinity, if any. | ast/pool-selection-context.ts:17 |