Repository navigation
feat(web): a guest who holds Collaborate sends, queues and answers from the web client - #601
Closed
Jacksondr5 wants to merge 17 commits into
Closed
Jacksondr5 wants to merge 17 commits into
Jacksondr5 wants to merge 17 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Jacksondr5
added a commit
that referenced
this pull request
Oct 13, 2026
7 of 8 tasks
Jacksondr5
added a commit
that referenced
this pull request
Oct 13, 2026
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 13, 2026 07:02
a7d1a16 to
483b45f
Compare
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 13, 2026 07:37
483b45f to
f51d496
Compare
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 13, 2026 07:42
f51d496 to
1ca4400
Compare
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 13, 2026 08:21
1ca4400 to
c315de4
Compare
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 13, 2026 08:28
c315de4 to
403b67f
Compare
7 of 8 tasks
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 13, 2026 15:20
403b67f to
59dd1ef
Compare
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 14, 2026 01:45
7ec518d to
a7d982a
Compare
Jacksondr5
added a commit
that referenced
this pull request
Oct 14, 2026
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 14, 2026 02:32
a7d982a to
b4cdcbb
Compare
Jacksondr5
added a commit
that referenced
this pull request
Oct 14, 2026
The Share dialog's Collaborate choice, the level controls on the People page, a project's Sharing section and the thread panel, and the "Let … collaborate?" dialog, which confirms a name the person gave themselves before raising them. The Collaborate line says what a collaborator can do today: the in-app browser is not open to a guest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Text only, three answers to an approval, a follow-up that always queues, no stopping a run, and a queued edit sent as text. Nothing calls these yet; each upstream call is its own commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream edit awaiting Jackson's approval: ChatView.tsx, one import and the condition that draws the Stop button. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream edit awaiting Jackson's approval: ChatView.tsx, the command that saves an edited queued message passes through J5, which sends a guest's as text alone. Upstream's edit always carries attachments and context, which the server refuses from a guest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream edit awaiting Jackson's approval: ChatComposer.tsx, one import, one hook call, the attach control's condition, and one line that refuses files added by paste or drop with a plain message. The server refuses a guest's attachments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream edit awaiting Jackson's approval: ChatComposer.tsx, the menu's list is empty for a guest (one condition and its dependency). Each entry adds context or changes a setting, which the server refuses or drops from a guest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream edit awaiting Jackson's approval: ChatComposer.tsx, one line. A guest's message always queues behind running work, whatever follow-up behaviour the person has set for their own servers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream edit awaiting Jackson's approval: ChatComposer.tsx, one line. The approval's answers pass through J5, which leaves a guest Approve, Decline and Cancel; "for this session" and "always" are a member's to decide and the server refuses them from a guest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot answer Upstream edit awaiting Jackson's approval: ComposerPendingUserInputPanel.tsx, one line. Dismiss ignored the panel's `disabled`, so a View guest (and a member's connection without the operate permission) was offered a Dismiss the server refuses. This reads as a small upstream bug in its own right. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…server's record The author list is asked for only when a thread holds a text that begins as an authored message does, and again when the thread brings a new one. With it: the rules for a queued message (a guest changes and withdraws their own, never steers or reorders) and the text the queue shows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…guest changes only their own Upstream edit awaiting Jackson's approval: QueuedRunsControl.tsx, one import, the list of queued items passed through one J5 hook, and its answer on four conditions (reorder, Edit, Steer, Remove). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream edit, under the standing permission for one import and one or two lines that hide what a guest could only see refused: MessagesTimeline.tsx, one import and two lines in the button that rewinds a thread from a message. The server refuses a guest's rewind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main took case 74 and the server's case moved to 75, so this layer's case is 76. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…keeps refusing attachments The server now takes mentions and the other composer context from a Collaborate guest, on a message and on a queued edit, and still refuses attachments. So the @, $ and / menu opens for a guest as for anyone, and a guest's edit of a queued message goes as upstream builds it, context included. Two upstream edits are taken back out: the menu's condition in ChatComposer.tsx and the wrap of the queued-edit command in ChatView.tsx. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jacksondr5
force-pushed
the
j5code/share-ui-4-collaborate
branch
from
October 14, 2026 18:48
b4cdcbb to
f3b5cf5
Compare
Owner
Author
|
Closed unmerged, by Jackson's decision (2026-10-17). The product was redefined from first principles in #631 (People and access, and a reworked Shared conversations), which reverses most of this stack's guest restrictions. The parts that still apply (the author line and note, the launch wrap, the answer records, the cards and notices) will be carried into a single rebuild PR against the new definitions, after the next upstream advance. The branch is kept for reference. 🤖 Generated with Claude Code |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream edits, approved by Jackson (2026-10-13)
Seven edits inside upstream-owned files, each its own commit. Two earlier ones were taken back out in
cdc37e1462, when the server began to accept composer context from a guest: the condition that kept the @ / $ / slash menu closed, and the wrap that sent a guest's queued edit as text alone.b8131fa129ChatView.tsx, 1 import, 1 condition0918b3edd8ChatComposer.tsx, 1 import, 1 hook call, 1 line2cd8ea609cChatComposer.tsx, 1 line78b0487a5aChatComposer.tsx, 1 linecb0f870b21ComposerPendingUserInputPanel.tsx, 3 linesacbd8ae6e7QueuedRunsControl.tsx, 1 import, 5 lines added, 5 lines changed[Message from …]line; a guest is offered Edit, Steer, Remove and reorder on everyone's messages and each is refused2ddcc93600MessagesTimeline.tsx, 1 import, 2 linesDecisions
Known limits
$lists no skills./offers/playbookand/model, which a guest cannot use (the server ignores a guest's model). Hiding them takes one changed line in upstream's built-in slash list inChatComposer.tsx(a guest condition through the existingguestComposerhook), which is more than the standing permission covers, so they stay./compactfrom a guest reaches the agent as words under their name and nothing is compacted (seen live).Live testing of the final change
After the rebase onto #615 (#600 at
a1f88a47a7,f3b5cf5e35), on a rebuilt test home: a person joins a shared thread by its open link as "Bob", lands on it, and sees the two other people's messages as cards and the note as a notice, with no platform text; opening a second thread's open link, the page offers "Join as Bob" and "Not Bob?", and joining lands on that thread. Nothing visible changed, so no new images.On #600 at
f59b9d9a12, a rebuilt test home, a member, a Collaborate guest on the project, a Collaborate guest on one thread and a View guest, Claude Haiku and GPT-6-Luna, headless Chromium:threadrecord (seen on the wire:[title](t3-context://v1/thread/…)in the text and athreadrecord incontext). The guest's own bubble draws upstream's chip; the member's card shows its label. The agent read the thread.26263850b2): the editor held the words and the mention, the edit was accepted, and the edited message ran.@: "No matching files or folders." Nothing else to pick, so a guest could not be offered a thread they cannot read; that refusal was not exercised./compact: their own bubble shows/compact, the member sees the guest's card, and no compaction happens./playbook.Earlier runs of this layer (sharing with Collaborate, the queue, approvals, promotion, lowering to View) are below, as they were written at the time.
Problem
A guest could be given View only: Collaborate was listed as "coming soon", and the web client could not send for a guest, manage their queued messages, or answer a prompt the way the server allows (#533; Shared conversations AC8 to AC16). The server side is #598 to #600.
What changed
One thing differs from the design: on the People page the level control of a person who typed their own name was to be disabled with "Confirm their name first". It is enabled, and choosing Collaborate opens the dialog that confirms the name in the same step, as the design's section 3 describes.
UI changes
New states (no "before" exists for them; the Share dialog's earlier state, with Collaborate marked "coming soon", is in #592):
No before/after pair for the composer at rest: it looks the same on both sides of this PR, since the attach control is already absent for a guest (the server reports no file uploads to a guest's client).
Live testing
By the builder, first on
483b45fdd5over #600 at1fa38e2704; the three checks at the end on1ca4400d66over #600 ata479e1d3c6, a fresh test home, headless Chromium (the Browser panel host is unavailable), a member and a guest in separate profiles, real turns on Claude Haiku:The member shares a new thread with Collaborate and a purpose line; the link's meta reads "Collaborate on …".
The guest sends a message; the agent answers them by name. Requests between click and outcome:
orchestration.getThreadProjection, thenorchestration.dispatchCommand(message.dispatch), accepted. The command still carriesmodelSelectionanddispatchMode, which the server drops.The guest asks for a shell command outside their purpose line: the agent declines and names the member. After the member allows it, the approval appears for both; the guest's offers Approve, Decline, Cancel, the member's also "Always allow this session"; the guest approves and the run continues.
While the member's turn holds (
./scripts/hold.sh): the guest's message queues, the guest edits it (the composer holds their words, without the author line) and the edit reaches the member's queue; the member queues one, which the guest sees as "Jackson M.: …" with Edit, Steer and Remove disabled; the guest withdraws their own. No queue command of the guest's was refused.A guest's client sends upstream's
thread.visitwhen a message arrives and is refused; nothing shows to the guest.A person who joined by a join link as "Sam": the thread panel's level menu opens "Let Sam collaborate?" with the "they gave this name themselves" tag; saving it as "Sam T." renames, confirms and raises in one step, and Sam's open composer changes from the read-only sentence to the normal placeholder without a reload. Lowering Sam to View changes it back, again without a reload.
After the server's security changes, on the restacked tips: a Collaborate guest who opens a Crew seat beneath the Captain's thread finds the composer read-only there, with no note, cards or author lines; a guest lowered to View while a message of theirs is queued sees it leave the queue with no error, and the composer goes read-only; a guest named "Jackson (member)" is drawn as "Jackson" with the platform's "guest" tag.
A question prompt was exercised by the peer tester (see #602). A Crew roster is in #602. Tests: 4 new logic test files; the upstream
components/chattests pass (79 files).Observed, for the server's builder: the note that tells the agent who can write starts a turn of its own ("Understood. This thread is now shared…"), so the guest's first message queued behind it.
Upstream impact
FORK.md case 76 (75 until main took case 74 and the server's case moved up) and the file-table rows; a History line under D33. Every upstream edit is in the table at the top; Jackson approved them on 2026-10-13.
Checklist
FORK.mdin this PRClaude Opus 5.5, Claude Code harness in J5 Code.
🤖 Generated with Claude Code