Skip to content

Live private NodeAgent + multi-room + 3-user concurrent-collab eval - #3

Merged
HomenShum merged 1 commit into
mainfrom
audit/optimistic-ux-wave1
Jun 9, 2026
Merged

HomenShum merged 1 commit into
mainfrom
audit/optimistic-ux-wave1

Conversation

@HomenShum

Copy link
Copy Markdown
Owner

Wires the live private NodeAgent (the gap the multi-user eval first surfaced) and ships the multi-room entry + the 3-user concurrent-collaboration eval.

Private agent

  • convex/agent.ts:runPrivateAgent — per-user consult: reads the room as bounded context, ONE model call (tools: [], no canonical writes), posts to the requester's own private channel via the trusted internal messages.postPrivateAgentReply (ensures every member, not just the host, has a private session). Output stays private until promoted; distinct from the public runRoomAgent.
  • Frontend: store.askPrivateAgent + Chat.tsx trigger on any private-panel message in live mode.

Multi-room + eval

  • App.tsx: ?create=CODE / ?room=CODE / ?name=NAME (seeds a shared Q3 sheet on create); default still joins Q3DEMO. Artifact.tsx: data-cell-key on sheet cells.
  • e2e/three-user-collab.spec.ts + docs/eval/THREE_USER_COLLAB.md: 3 users, one brand-new room — concurrent chat, parallel + same-cell CAS edits, public agent, private agent — with per-view screenshots.

Verified (live backend + prod)

  • Eval green: same-cell CAS converges (winner varies, always converges), public agent visible to all 3 views, private agent replies isolated (Maya sees it; Dev/Sam don't) — confirmed in the committed screenshots.
  • Deployed: convex dev --once (backend) + vercel --prod (frontend); prod-smoked on https://noderoom.live (private agent replied with a room-grounded answer).
  • typecheck (app + convex) clean.

🤖 Generated with Claude Code

…ncurrent-collab eval

Private agent: convex/agent.ts runPrivateAgent (reads room context, ONE model call, no tools so no canonical writes) posts to the requester's own private channel via the trusted internal messages.postPrivateAgentReply (which ensures every member — not just the host — has a private session). Frontend: store.askPrivateAgent + Chat.tsx triggers it for any private-panel message in live mode.

Multi-room: App.tsx ConvexApp supports ?create=CODE / ?room=CODE / ?name=NAME (seeds a shared Q3 sheet on create); default still joins Q3DEMO. Artifact.tsx: data-cell-key on sheet cells (E2E selector).

Eval: e2e/three-user-collab.spec.ts + docs/eval/THREE_USER_COLLAB.md — 3 users, one brand-new room, concurrent chat + parallel/same-cell CAS edits + public agent + private agent, with per-view screenshots. Verified live: same-cell converges, public agent visible to all, private agent replies isolated. Prod-smoked on noderoom.live.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@vercel

vercel Bot commented Jun 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
noderoom Ready Ready Preview, Comment Jun 9, 2026 8:39pm

Request Review

@HomenShum
HomenShum merged commit a9b0a1e into main Jun 9, 2026
5 checks passed
HomenShum added a commit that referenced this pull request Jun 28, 2026
feat(chat): reading-column cap + full-width mobile agent replies + memoized markdown (audit #3/#8)
HomenShum added a commit that referenced this pull request Jun 29, 2026
…d) + code-fence buffer & copy (#3/#4/#8)

The fleet's Chat refactor dropped #3 (68ch reading column) and #4 (Stop/Regenerate); re-applied both onto
the current composer (send swaps to Stop wired to cancelJob while longJobActive; Regenerate chip re-runs
the last @NodeAgent request). #8: unterminated code fences mid-stream render as plain text (no longer eat
the rest of the reply) + a hover Copy button on each code block.

Typecheck/build clean.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum added a commit that referenced this pull request Jun 29, 2026
fix(chat): re-assert reading column + Stop/Regenerate + code-fence buffer/copy (#3/#4/#8)

This branch was successfully deployed

1 active deployment
Preview — f1899809 Deployed Jun 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant