diff --git a/docs/tools/matrix.md b/docs/tools/matrix.md index 533df340..f140e857 100644 --- a/docs/tools/matrix.md +++ b/docs/tools/matrix.md @@ -112,8 +112,8 @@ Every matrix tool above takes an optional `account` parameter (a name from this map, or a linked account's) to act as that identity instead of the primary one. -Declaring an extra account also changes what the agent *receives*: wake -bodies and invite todos gain an `[acct:]` prefix — see +Declaring an extra account also changes what the agent *receives*: the +summaries of unread-room and invite todos gain an `[acct:]` prefix — see [Architecture](#architecture) below. ## Architecture @@ -147,9 +147,10 @@ The summary depends on the room's unread state: use read_room to view, mark_read to clear` **Multi-account prefix**: when the daemon serves more than one account -(`services.hyperhive.agent.matrixAccounts`), it prefixes every wake body and every invite todo -below with `[acct:] `, so a wake arrives as -`[acct:ccc] [matrix] in : …`. A single-account agent gets the +(`services.hyperhive.agent.matrixAccounts`), it prefixes the summary of every +unread-room todo above and every invite todo below with `[acct:] `, so +`get_loose_ends` shows +`- todo # [matrix , …]: [acct:ccc] [matrix] in : …`. A single-account agent gets the formats exactly as written — the daemon adds nothing — which is why matching on a leading `[matrix]` works right up until you declare a second account.