Watch
0
0
Fork
You've already forked hyperhive
0

hive-agent: tests for the unknown-window paths, and the two vale errors

This commit is contained in:
damocles 2026-11-15 20:30:37 +01:00 • committed by mara
commit c45615a555

View file

@ -63,7 +63,7 @@ The context window is whatever the model reports once a turn completes
(`modelUsage.*.contextWindow`, `Bus::api_context_window`). The harness keeps no
per-model table of window sizes: until the first turn of a process completes the
window is unknown, and what depends on it waits (the compaction watermarks, the
auto-reset, the `compact` tool, the context fill the swarm shows).
autoreset, the `compact` tool, the context fill the swarm shows).
The window drives watermarks; no web endpoint serves it.
@ -188,7 +188,7 @@ still applies.
- **Auto session-reset** — a third path (`turn::maybe_auto_reset`,
pre-turn) that fires when both conditions hold: context is ≥ a watermark
(`HIVE_AUTO_RESET_WATERMARK_TOKENS`, default **50% of the reported
window**, none before one is reported) AND the time since the last turn
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,
`--resume`-ing a large session pays the full re-upload cost with no