The harness should include a handler that periodically injects context usage data into the most recent user or assistant message and injects a system prompt section encouraging models to proactively use their compaction machinery. We could also add a mandatory compaction threshold that forces a compaction tool call when more than a certain fraction is used.
Related to but distinct from #609 #698
The harness should include a handler that periodically injects context usage data into the most recent user or assistant message and injects a system prompt section encouraging models to proactively use their compaction machinery. We could also add a mandatory compaction threshold that forces a compaction tool call when more than a certain fraction is used.
Related to but distinct from #609 #698