Repository navigation
Not planned
Description
Third of three pieces for share links. Depends on the view-one-thread issue.
Definitions: Shared conversations and Shared server AC13 (PR #529). Rulings: docs/j5/worklog/2026-10-09-multi-player-session.md (PR #509).
What this piece delivers
A guest with a Collaborate grant writes to the agent, and the agent knows who is speaking.
- Authors: each person's message reaches the agent with the name the server holds for them; private threads are unchanged (Shared conversations AC1, AC2).
- System notes: one when a thread first becomes shared, carrying the standing of members and guests and the optional line from the Share dialog; one when a collaborator is added, removed or leaves (AC3 to AC6).
- Prompts: any member or collaborator answers a question, approval or Crew roster prompt; first answer settles it; it shows who answered and the agent is told (AC8, AC9). A guest approves a roster as proposed and cannot edit it (AC10). A viewer sees prompts with no controls (AC11).
- The inbox ask is refused in a shared conversation, with the error text of AC13; a Crew's later requests reach members only (AC12).
- Queueing: a guest's message queues behind running work; a guest cannot steer, stop or interrupt (AC14, AC15).
- A guest edits and removes their own queued messages (AC16). Tentative: if this is a mess to build, fall back to all or nothing and say so on this issue.
- Reading: other people's messages render as cards with name and picture; pictures come from a GitHub username; initials are the fallback (AC17 to AC19).
- Preview: a collaborator opens and drives tabs for the thread; a guest's tabs hold no saved logins and a guest never takes over a tab that has them (Shared server AC13, AC16).
Findings to build on (read from the code, nothing run)
ws.tsrecords a client's message as from "the user" and nothing more; the dispatch handler closes over the session, which is where the author would be stamped.- J5 already names the sender of an agent-to-agent message in the text the agent reads; the author line follows that shape.
- A desktop app can host preview tabs itself, and upstream's split between watching and driving does not apply to those. A guest's tabs are expected to be the server's own; confirm it.
- Who answered a prompt is not recorded today.
Likely splits
Authors and system notes; prompts; queueing rules; message cards and pictures; preview for guests. Each can be its own PR.
Upstream
Stamping the author changes what upstream's message path records, and message cards touch upstream's timeline. Both need FORK.md entries and a look at the register of divergences.
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]Share links 3: a guest collaborates in a shared conversation[/-][+]Share links 4: a guest collaborates in a shared conversation[/+]Jacksondr5 commentedon Oct 11, 2026
Re-sliced on 2026-10-11: this is now the fourth of four, after #531, #532 and #535.
24 remaining items
bryantderosier commentedon Dec 1, 2026
Closing as superseded. #638 (
557750d3f9) rebuilt shared conversations around people with levels, not guests. That covered most of this:Driving preview tabs as a Collaborator came in #797. Profile pictures moved to #637.
Guests work differently now. A guest only proposes, and someone who can write sends it (
shared-conversations.md:22and AC24). Guest links belong to the J5 Connect gateway in #1281. So the guest-collaborates design here isn't something we're building anymore.