Repository navigation
Optimistic-UI honesty, E2E dogfood harness, and in-app guided tour - #1
Merged
Merged
Conversation
Wave 1 (honest-status + optimism): messages.update returns a discriminated {ok,reason}; RoomStore wrappers stop swallowing failures (chat send failed-state + retry, message-edit made optimistic, proposal approve surfaces CAS conflicts in a persistent banner, job cancel/retry + addResearchRows get pending/failure UX); chat bubbles keyed by clientMsgId to kill the confirm-swap remount. Stable data-testids added across chat, proposals, note, wall, trace, tabs, left-rail.
E2E dogfood: Playwright + memory-mode harness (no backend/keys) — chat optimistic send/edit + guided-tour specs pass in real Chromium; backend reactivity/CAS specs scaffolded and gated on E2E_CONVEX_URL.
Guided walkthrough: dependency-free spotlight tour (GuidedTour.tsx) auto-starts on first demo-room visit, replays via the header ? button, persists a seen-flag, keyboard + reduced-motion + mobile-graceful; poll-based measure self-heals against panel animation. Demo-mode badge + DEMO.md run-of-show. Verified: build, typecheck (app+convex), 173 unit tests, 4 E2E all green.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
noderoom.live root = live shared Q3DEMO (stage/second-device wow, verified two-client cross-sync); noderoom.live/?mode=memory = safe isolated public-QR build. Includes one-command revert to memory-only. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
… too Previously gated to host/memory (canRunCollab); now also fires for anonymous joiners of the live Q3DEMO room, keyed on the seeded 'Q3 variance' sheet so it never triggers in a blank room. One-shot via a ref; still respects the seen-flag and the ? replay button. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
HomenShum
added a commit
that referenced
this pull request
Jun 17, 2026
…reRecords (#1) Both make a capture land in the Trace tab; together they cover the agent path (Firecrawl, in-Convex) and the exact-box worker path (Browserbase, off-Convex). #2 — agent-run captures auto-render: - RoomTools gains an optional recordCapture() (core/types); only the server port implements it, so memory/browser ports are unaffected. - ConvexRoomTools.recordCapture: stores each screenshot in Convex storage, then captures:record → a captureRecord (renders in the Trace tab via byRoom). - captureSourceFirecrawlTool now calls rt.recordCapture(...) after the capture, so when the room agent uses capture_source the screenshots+values show up in Trace. #1 — Browserbase worker → captureRecords (exact boxes): - captures.ts: token-gated public mutations workerUploadUrl + ingest (CAPTURE_WORKER_ TOKEN). The off-box Browserbase worker can't use a room session, so it authenticates with a shared token. - capture-live.ts: a Convex sink — when CAPTURE_WORKER_TOKEN + CAPTURE_ROOM_ID + (CAPTURE_CONVEX_URL|VITE_CONVEX_URL) are set, it uploads screenshots to Convex storage and ingests a captureRecord (boxes preserved → renders with the highlight overlay); otherwise it writes the static bundle as before. Verified: convex dev --once deployed (functions ready) · app tsc clean · convex tsc clean · capture vitest 11/11 · design floor SHIP (P0=0 P1=0) · trace e2e 6/6 · box overlay render is e2e-tested (.r-tracevu-box) and byRoom emits the same attachments shape. NOT live-run from the sandbox: an agent-run capture (#2 needs a room agent run) and the Browserbase worker (#1 needs Browserbase keys + CAPTURE_WORKER_TOKEN in the worker shell) — both are deployed + typechecked; trigger them with keys set. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
HomenShum
added a commit
that referenced
this pull request
Jun 21, 2026
…box/row) Never render the sample narrative inside a LIVE room — show real data or an honest "not available" state. Offline (memory mode) keeps the full seed demo. - Pulse roster: people = live members; agents = live agents pointing to Jobs (honest empty states); cost view = "metered server-side" note (no live cost). - Presence bar: agents count from live members; cost segment → live job count opening Jobs (cost isn't streamed to mobile). - Rooms switcher: live = the one connected room (active + check); switchRoom is a no-op in live (was toasting a non-existent sample room — Bug #1). - Inbox tab: reads ctx.inboxItems (live proposals) instead of D.INBOX — the biggest leak; the data was already wired but the screen bypassed it. - Files row preview + RowSheet: display ctx.row (live cells when bound); the "N to review" pill + "N fields not source-backed" prose derive from it. Offline parity preserved exactly ("2 to review" / "Two fields"). - Plan/Evidence/Coach sheets: in a live room render an honest "open on desktop" card (terra's rule — deep artifact work stays on desktop); full sample sheets offline. Verified: tsc 0 errors; vite build clean; two adversarial review passes (all gates PASS, no bugs); offline DOM unchanged (cream surface, "2 to review", Inbox sample items). Still sample in live (needs a MobileLive backend extension, not gated): Home recents/favorites/briefings and Capture event-meta/note/extract. Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum
added a commit
that referenced
this pull request
Jun 22, 2026
…en-source) via SFN_MODEL_ID env gpt-4.1-mini is closed-source OpenAI; the honest-lane probe should default to a current open-source model. z-ai/glm-5.2 is the #1 agent-route entry in src/nodeagent/models/modelCatalog.ts (1M context, Apache-licensed weights, routed via OpenRouter). SFN_MODEL_ID env still overrides per-run. Re-run results vs gpt-4.1-mini: glm-5.2 live runtime = 1.000/3 mean (all stop=done, no step_budget exhaust, no fabrications) vs gpt-4.1-mini 0.925/3 (NB-03 fabricated a comma-joined cite.file). The skill-as-diagnostic surfaced a real model x runtime fit difference. Co-Authored-By: Claude Opus 4.7 <[email protected]>
This was referenced Jun 23, 2026
HomenShum
added a commit
that referenced
this pull request
Jun 28, 2026
…lies + memoized markdown Web-design audit batch 2 (chat surface, 5.5/10) - the brief's #1 anti-pattern. - Desktop: cap .r-chat / .r-agent-unified-stream .r-md at 68ch (line-height 1.6) so long replies read as a column, not full-panel sprawl (Perplexity/ChatGPT/Claude). - Mobile: agent replies render full-width (drop messenger bubble radius/border/bg); the gradient bubble stays only for the user's own messages. - Perf: memoize MarkdownBody parse ([text]) so the transcript doesn't re-parse every token. Verified live: .r-chat .r-md max-width 579px (=68ch), line-height 21.6px, no console errors. Typecheck clean, build OK. Deferred to the next chat pass: Stop/Regenerate during streaming (#4), jump-to-latest + inline citations (#15), code-fence buffering + copy button (#8 remainder). Co-Authored-By: Claude Opus 4.8 <[email protected]>
This branch had an error being 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.
What
clientMsgId(kills the confirm-swap remount).messages.updatereturns a discriminated{ok,reason}.E2E_CONVEX_URL.?to replay; seen-flag (no nag); keyboard + reduced-motion + mobile-graceful. Demo-mode badge +DEMO.mdrun-of-show.Verified
npm run build, app + convex typecheck, 173 unit tests, 4 Playwright E2E — all green.● demobadge; live two-client cross-sync +● live convexbadge;/?mode=memorysafe fallback.Notes
docs/audit/.🤖 Generated with Claude Code