Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: an unset fresh-session handle does not hold the soft handle up; docs vale fixes

This commit is contained in:
iris 2026-11-16 11:04:04 +01:00
commit 0db9868eee

View file

@ -37,9 +37,12 @@ swarmctl agent inference clear iris
percent of the context window above which a turn that finds the prompt cache
cold starts a fresh session instead of resuming, in place of the harness's
own 50%. It's a whole number from 5 to 100, and not above the soft limit when
both are set, since the agent compacts at the soft limit and the context would
you set both, since the agent compacts at the soft limit and the context would
never reach a higher threshold; the controller refuses a pair that crosses.
`set` has no flag for it either, and the dialog edits both on one slider.
With no soft limit set, the harness's own 75% applies, and the dialog keeps
the threshold at or below it. `HIVE_AUTO_RESET_WATERMARK_TOKENS` in the agent's
environment outranks the threshold. `set` has no flag for it either, and the
dialog edits both on one slider.
- `get` shows each field, naming the unset ones (or says the swarm sets
nothing for the agent), and then the model and effort the agent reports
running on, each with where it comes from.
@ -140,7 +143,7 @@ in-memory model or effort without writing `hyperhive-model` or
The same loop hands `soft_context_percent` to the Bus
(`set_soft_context_percent`), which the compaction policy reads when it decides
at turn end, and `fresh_session_percent` (`set_fresh_session_percent`), which
the pre-turn auto-reset reads; a key with no limit, or no key, clears it on the
the pre-turn autoreset reads; a key with no limit, or no key, clears it on the
next read.
The subagent daemon (`hive-subagent-mcp`'s `swarm_models`) reads