Desktop's composer adds `display_kind: 'hidden'` to widget intents (goal
control, inline-preview decisions, first-run kickoffs) and `title_preview` to
every paste of 3,000+ characters. The canonical contract and the handler's
closed key set refused both with 4001 invalid_params, which is not a
pre-admission downgrade code: the send failed and Retry failed the same way.
Both fields are now part of the canonical contract and are committed with the
admission row as `display_v1` (gateway/session_display.py), like the surface:
- only `hidden` is client-authorable; any other kind is refused, never
rendered, so stripped or mistyped presentation cannot turn machine text into
a visible user bubble;
- the committed presentation binds to the executing admission's own event
(message_id == admission_id), never to a /queue follow-up on the same task;
- the hidden row persists display_kind=hidden and the preview rides the user
row's display_metadata (titler input only, never model input), in process
and in a managed child (re-validated across the bootstrap like surface_v1).
`extra="forbid"` is unchanged everywhere else.
Regression: real AuthorityConnection admission (paste, hidden, plain, minted
kind refused) plus a real gateway.run daemon over the WS (hidden row typed
hidden; preview persisted, absent from every model request). Red on r10-base
(4001 fields=['title_preview']), green after.
Review: https://github.com/NousResearch/hermes-agent/pull/106742#pullrequestreview-5475590057