`selectHermesPermissionOptionId` handled only `acceptForSession` and
`accept`, so the valid `acceptAlways` decision fell through to the
agent's reject option — a permanent approval denied the tool call.
Both persistent decisions now map to `allow_always`, with the same
`allow_once` fallback.
`turn.started` was also published before prompt validation, so a
whitespace-only prompt or an attachment set with no images announced a
turn that then failed with no terminal event, leaving consumers with a
permanently running turn. Announcement now happens after both fallible
preparation steps (validation and session configuration) and is keyed on
a session-level announced flag, so a steer that overtakes a not-yet
announced turn still announces it exactly once. Preparation failures
release the turn claim so the next sendTurn opens a fresh turn.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QingonqJgq96d3byM5qRh9