Files
amethyst/commons
Vitor PamplonaandClaude Opus 5 0e13a3b7a7 fix(relay-auth): say whose conversation the relay is holding back
The thread prompt read "It won't serve the rest of this conversation unless you
log in" without saying which conversation — and these prompts routinely surface
over the home feed or the settings screen, so "this" pointed at something the
reader did not have on screen at all.

The information was there and being discarded. Thread reads are `#e` against note
ids, which the assemblers either declare as `entityIds` or (ReactionsFilterAssembler)
only put in the filter's `e` tags; the deriver kept neither, emitting a bare
AuthPurpose(THREAD). It now carries those ids in a new `notes` field — separate
from `venues`, because a thread is not a room — and the dialog resolves them to
their authors through the same counterparty label the other purposes use, so the
sentence gets a name and an inline avatar.

"this conversation" survives only as the fallback for a thread whose notes are not
in the cache yet.

Verified on device: "It won't serve the rest of your conversation with Alice Peer
unless you log in."

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-12 13:46:18 -04:00
..