v0.5.2 — Hardened No-Tools Recovery
Hive v0.5.2 Release Notes
Headline: Hardened No-Tools Recovery
A follow-up to v0.5.1 that incorporates review feedback on the no-tools recovery
path, plus the Phase 3 simulation core that landed on main.
What's Fixed
- Streaming recovery is scoped to pre-content failures: the OpenAI-compatible
adapter now recovers atool_use_failedonly when it happens before any text has
reached the caller, so a mid-stream error can never produce duplicated output. If a
recovery stream errors after emitting text, the terminal result preserves the text
already streamed. - Recovery no longer masks real errors: a
tool_use_failedon a request that
did offer tools (e.g. a malformed tool schema) is surfaced instead of being
swallowed by the recovery retry. - No mid-thread system messages: both the agent-layer wrap-up nudge and the
adapter's text-only recovery nudge are sent asuser-role messages, which strict
providers accept mid-conversation (some reject mid-threadsystemmessages). The
agent nudge is sent only for the wrap-up call and is not written to the logged
conversation.
Also Included
- Phase 3 simulation core: registry-driven world catalogs (events & jobs) and
wired simulation feedback loops.
Upgrade
pip install --upgrade hive-agentNo code changes required. The happy path (tools provided, or no error) is unchanged.