opencode_session_headers derives the key via resolve_affinity_key() (#115904) and keeps the #115830 oneshot-<uuid> fallback so an OpenCode target never gets {} (OpenCode Go 400 MissingSessionID).
hermes sessions repair-profiles