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
readonlyfrom:number
Defined in: src/core/agent/window/turns.ts:194
First turn index in the span; -1 when nothing may be removed.
ledgerFacts?
readonlyoptionalledgerFacts?: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?
readonlyoptionalobservations?: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
readonlyrefusals: readonlyWindowRefusal[]
Defined in: src/core/agent/window/turns.ts:197
to
readonlyto:number
Defined in: src/core/agent/window/turns.ts:196
Last turn index in the span (inclusive); -1 when nothing may be removed.
