Watch
0
0
Fork
You've already forked hyperhive
0

hive-agent: HIVE_CACHE_TTL_SECS=0 disables the cache heuristic, and the harness warns at start when it is off

This commit is contained in:
damocles 2026-11-15 20:27:46 +01:00 • committed by mara
commit e076290eb1

View file

@ -190,7 +190,8 @@ still applies.
(`HIVE_AUTO_RESET_WATERMARK_TOKENS`, default **50% of the reported
window**, none until the API reports one) AND the time since the last turn
exceeds the assumed prompt-cache TTL (`HIVE_CACHE_TTL_SECS`, default
`3600`). Claude's prompt cache goes cold after a while; once it's cold,
`3600`; `0` turns the check off, so an idle session is always resumed, and
the harness logs a warning at start when it's off). Claude's prompt cache goes cold after a while; once it's cold,
`--resume`-ing a large session pays the full re-upload cost with no
benefit over starting fresh. `drive_turn` **archives** the current
session (same mechanism as the operator reset — rename `<uuid>.jsonl` →