chat_fetch_request.v1 [request_id, persona, room, event_id] and chat_fetch_receipt.v1
[request_id, outcome, room_id, image, receipt] with a closed 14-word outcome enum. The mouth
reads live membership, the full room state, and the event itself; takes content.url from the
event; fetches through fetchImage (one optional deadline signal added); decides info.sha256
against the computed hash before images.put; posts the contract's org.gamecult.file_received
as her own user (thread reply, else plain m.reference), idempotence read from Matrix.
One 15 s deadline owns the fetch; throwIfAborted and released() are the first step inside the
gate, as send does. Event id, room, and the sender-controlled album root must be path-safe
Matrix ids or nothing is built from them. Golden fixtures persona-chat-v7.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
An ack posted her m.read, so the receipt tracked the queue, not the model. The mouth now posts m.read only
at the event id Huginn reports in gamecult.persona.chat_read.v1, for an event it delivered to her in that
room, forward only, brake read fresh. The ack posts nothing. Presence is online within presenceGraceMs of
a read report, a send or an ack, unavailable after, offline under the brake; a change is PUT at once.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
m.image events in delivered messages are fetched as the receiving Persona,
classified by magic bytes, bounded by size and header pixel count, and stored
under IMAGE_STORE_ROOT/<persona>/<room hash>/<bytes hash>[.ext] (0640, dirs
2750). The delivery tuple gains index 11, nil or [path, mime, size, sha256];
the pending kind becomes gamecult.persona.chat_pending.v2 with Huginn's v3
golden bytes. Refusals keep the typed text line plus a fixed-word reason.
The mouth test homeserver is answered in-process so the suite runs under a
capped address space.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
m.image/m.file/m.audio/m.video reached Personas as a bare filename and
dropped content.url. The delivery text now leads with
[kind filename mime size url], then the caption. Applies to the delivery
and to context lines. Wire v1 is unchanged. Nothing is fetched: a Persona
turn is a tool-less text call.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>