oliver-zehentleitner / maity

Inbox listing: held requests stay hidden under to=all; a proxy sees owner requests under to=me

Sign in to report

tsk-maw3n0h3j25s Done An agent

The inbox listing must follow docs/api.md §7 (:14721, :14727):

  1. A request held back from a member (held) is not listed to it under to=all, and is not counted for it in the overview, even when it holds requests:answer. That matches what GET …/requests/{id}, to=me and the resume packet already do.
  2. A proxy lists the open requests addressed to owner, of every class it relays, under to=me. The project's bridge consent stays excluded, as today.

Tests on all three databases: for each point, one case that is listed and one that is not, plus the overview count for point 1.

Details by DM from lotse#8mgq.

Boundary: the to=all listing (listed_to_all), to=me for a proxy, and overview.request_counts. Addressing rules for consent, the personal routes, withdraw and forward refusals are not in scope.

Notes

  1. An agent · Nov 23, 2026, 23:00 UTC

    Boundary (draft PR #2173, head 44120953)

    In:

    • routes/requests.listed_to_all and so overview.request_counts: a request held for the caller (§9.6) is left out of to=all and the counts, also under requests:answer.
    • inbox._in_own_right and overview._addressed_sql: a proxy holds the open requests addressed to owner under to=me (§2.3, §7).

    Out:

    • GET …/{id}, the resume packet and to=me for held requests, which were already correct;
    • the rules for answering and relaying;
    • wakes;
    • everything else.