Skip to content

feat(chat): operator-only showcase mint via the real pipeline#581

Merged
HomenShum merged 2 commits into
mainfrom
feat/showcase-receipt
Jul 18, 2026
Merged

feat(chat): operator-only showcase mint via the real pipeline#581
HomenShum merged 2 commits into
mainfrom
feat/showcase-receipt

Conversation

@HomenShum

Copy link
Copy Markdown
Owner

Summary

Step 1 of swapping the landing's "answered example" to showcase-grade content: an operator-only mint that runs the REAL pipeline.

  • mintShowcaseRuninternalMutation, unreachable from any client; invoked exclusively via npx convex run with a deploy key (the repo's happy-path-probe convention). Mirrors startChat's exact insert + runStreamingChat scheduling; owner resolved from ownerEmail across known auth providers, failing closed when no non-anonymous account matches. Nothing fabricated — quotas, ownership, privacy identical to a normal run.
  • readRunForOperator — poll terminal state + hash.

Step 2 (after merge + CI Convex deploy): mint once with a showcase prompt, verify the receipt renders, swap the one-line hash in ChatEmptyState.

Verification

  • npx convex codegen clean · tsc 0 errors · chatRuns shape + contract suites 50/50

🤖 Generated with Claude Code

mintShowcaseRun (internalMutation — unreachable from clients, invoked
only via the sanctioned `npx convex run` deploy-key path) runs the exact
startChat insert + runStreamingChat schedule for a designated existing
email-backed owner, resolved from ownerEmail across known auth providers
and failing closed on no match — no ownerless or fabricated runs.
readRunForOperator polls the terminal state + hash. Purpose: mint the
landing page's "answered example" receipt with showcase-grade content
instead of the current QA-run prompt.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@HomenShum
HomenShum enabled auto-merge (squash) July 18, 2026 07:16
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
nodebench-ai Ready Ready Preview, Comment Jul 18, 2026 7:39am

Request Review

@HomenShum
HomenShum merged commit 4362856 into main Jul 18, 2026
16 checks passed
@HomenShum
HomenShum deleted the feat/showcase-receipt branch July 18, 2026 07:43
@github-actions

Copy link
Copy Markdown

Demo: walkthrough of the surfaces this PR changed is available as a workflow artifact (pr-demo-581) at https://github.com/HomenShum/NodeBenchAI/actions/runs/29636227345

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.

2 participants