contextWindowCap property

int? contextWindowCap
final

Owner-side effective context override (agent.contextWindowCap, issues #273/#729), threaded into the Agent (loop guard) and into every consumer of the effective window (compaction thresholds, ctx meter/footer). Below the catalog window it clamps down; above it, it raises the effective window to the served truth. null = uncapped.

Implementation

final int? contextWindowCap;