Skip to content

A reader's grade reaches the app: the endpoint tells a reader their rank, so the composer is disabled below Converse before the first send #526

Open

Description

@SSFSKIM

A reader of a session shared with them can't know their grade before they act. So below Converse, the composer stays enabled until the first refused send. This is the part of #525's third exit that #525's fix, built with no wire change, leaves open.

Cites: docs/doperpowers/plans/2026-10-28-p5-o8-org-interface.md §M6b and §Q (O8, P5 docs/doperpowers/plans/2026-10-27-p5-org.md); board #525.

What the app knows today (the #525 worker's reading at master bd2b59b):

  • A listing carries the session's owners, and audience ids for private sessions only. It carries no grades.
  • Every call is graded list or view (src/endpoint/authorize.ts:479). Anything else needs an act, so nothing can test for converse short of a real send.
  • So the app learns a reader's grade only from refusals. A refused subscription tells it the reader is below View. A refused send's act tells it the reader is below Converse.

Exit: the endpoint tells a reader their rank on a session. That could be a rank on the subscription's answer, or on endpoint.listings' rows; the design picks one. Then the composer is disabled below Converse before any press, with a line naming the grade needed and whom to ask, and the pane at Can message needs no refused subscription to know it. A rank change (a share raised or lowered) reaches the reader without a reopen.

The same gap holds for a prompt's author, so it is designed here too. No prompt carries its author on either lane: transcript rows have origin human or peer only, and the endpoint doesn't record the reader with a send. #525's rule names a prompt "you" when the reader owns the session or this app sent it in this run, and otherwise names the session's owners. Three residuals follow. A Converse sharee's prompt reads as the owner's to another reader. After a reload, a reader's own earlier sends read as the owner's. And the owner sees a Converse sharee's prompts as "you". Exit: each prompt sent through a converse act records its member, and every reader sees it labelled with its real author.

Edges: this moves the wire (src/shared/ipc, WIRE_MINOR) and src/endpoint, so it starts after O8 M4b lands, which takes WIRE_MINOR 33. The rank must say no more than the reader is already entitled to know: their own grade on a session they can see.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    on Nov 8, 2026
  2. SSFSKIM commented on Nov 8, 2026

    @SSFSKIM
    OwnerAuthor

    Residue from #525's fix (PR #530). The second review, of the fix wave, found three timing edges in the app's local record of the prompts it sent. Author-on-the-wire replaces that record, so they are left for this ticket. (1) The local own-prompt record's writes aren't fenced to the sending member. A send still awaiting its reply at a member switch, or a lane A delivery re-noted after the switch (deliveries are kept 60 s), is recorded under the new member, so the previous member's prompt reads "Your message" to the new reader. It needs a member switch in one app within about a minute of a send. (2) A queued own send loses its uuid when its pane is closed at submit, because the queue subscription stops with the last pane. (3) It also loses its uuid when the queue event carrying the uuid arrives before the send's reply carries its queueId. (2) and (3) make the reader's own prompt read as the owner's, as after a reload. None of them touches grades, the composer or the Can message pane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions