RemovalPlan

Interface: RemovalPlan

Defined in: src/core/agent/window/turns.ts:192

The span a removal will take, plus every refusal it had to name to get there.

Properties

from

readonly from: number

Defined in: src/core/agent/window/turns.ts:194

First turn index in the span; -1 when nothing may be removed.


ledgerFacts?

readonly optional ledgerFacts?: WindowObservations

Defined in: src/core/agent/window/turns.ts:209

What the ledger-fact pin did on this plan (9.102.0) — the same shape, with limit = keepLedgerFacts. Absent when it held nothing, which on an agent without .findings() is always.


observations?

readonly optional observations?: WindowObservations

Defined in: src/core/agent/window/turns.ts:203

What the last-tool-result pin did on this plan (9.57.0) — which turns it held and what the ceiling turned away. Absent when it held nothing, so a window with no pinnable result plans exactly as it did before.


refusals

readonly refusals: readonly WindowRefusal[]

Defined in: src/core/agent/window/turns.ts:197


to

readonly to: number

Defined in: src/core/agent/window/turns.ts:196

Last turn index in the span (inclusive); -1 when nothing may be removed.

On this page