Interface: LimitExceededFlushParams<THandle>
Defined in: runtime/policy/limit-exceeded-flush-params.ts:47
Parameters for executing the 4-step crash-safe .onLimitExceeded() sequence (SPEC.md §3.5).
Consolidates the active AgentContinuationFrame, PendingToolBatch, PolicyLimitExceededConfig, ModelDriver, LedgerStore, TopologyStore, ServiceSessionRegistry, and optional .replaceWith() promotion.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
agentFrame | readonly | AgentContinuationFrame | Active AgentContinuationFrame being flushed and aborted. | runtime/policy/limit-exceeded-flush-params.ts:49 |
baseScopeCheckpoint? | readonly | string | Optional base scope checkpoint restored when no abortHook is configured. | runtime/policy/limit-exceeded-flush-params.ts:71 |
continuationQueue? | readonly | StepContinuationQueue | Optional StepContinuationQueue serializing updateContinuationStack writes. | runtime/policy/limit-exceeded-flush-params.ts:65 |
ctx | readonly | StepExecutionContext<THandle> | Step execution context providing runId, stepExecId, scopeHandle, scope, and registry. | runtime/policy/limit-exceeded-flush-params.ts:75 |
ledgerStore | readonly | LedgerStore | Durable LedgerStore persisting wire frames, continuation stacks, and step transitions. | runtime/policy/limit-exceeded-flush-params.ts:63 |
limitConfig | readonly | PolicyLimitExceededConfig<THandle> | Policy .onLimitExceeded() configuration specifying flushInterrupt and optional abortHook. | runtime/policy/limit-exceeded-flush-params.ts:55 |
modelDriver | readonly | ModelDriver | Active ModelDriver instance. | runtime/policy/limit-exceeded-flush-params.ts:59 |
modelNode | readonly | ModelASTNode | Active ModelASTNode used for the toolChoice: 'none' flush turn. | runtime/policy/limit-exceeded-flush-params.ts:57 |
outerFrames? | readonly | readonly ContinuationFrame[] | Outer continuation frames (loop-frame, etc.) prefixing agentFrame in LedgerStore. | runtime/policy/limit-exceeded-flush-params.ts:51 |
pendingToolBatch? | readonly | PendingToolBatch | Optional unfinished PendingToolBatch whose remainingCalls must be synthesized as [Aborted: Limit Exceeded]. | runtime/policy/limit-exceeded-flush-params.ts:53 |
replacementPromotion? | readonly | LimitExceededReplacementConfig | Optional .replaceWith() promotion configuration executed in Step 4. | runtime/policy/limit-exceeded-flush-params.ts:77 |
serviceRegistry? | readonly | ServiceSessionRegistry | Optional ServiceSessionRegistry quiesced in Step 3. | runtime/policy/limit-exceeded-flush-params.ts:69 |
topologyStore? | readonly | TopologyStore | Optional TopologyStore whose step-scoped overlay is reset in Step 3. | runtime/policy/limit-exceeded-flush-params.ts:67 |
tripReason | readonly | string | Diagnostic reason explaining which quantitative limit or quota tripwire tripped. | runtime/policy/limit-exceeded-flush-params.ts:73 |
wirePrefix? | readonly | CompiledWirePrefix | Optional pinned CompiledWirePrefix for the actor. | runtime/policy/limit-exceeded-flush-params.ts:61 |