Structs§
- Agent
Loop Harness - Compaction
Policy - Optional compaction wiring: strategy + the model client used to run
the summarize request + the resolved context-window cap. All three
must travel together; without any of them the loop can’t make a
useful compaction decision.
AgentLoopHarness::with_compactioninstalls it once and the per-turn loop checks it between steps.