Skip to content

Fix public simulator and complete missed-call demo flow#82

Merged
DevCalebR merged 2 commits into
mainfrom
codex/self-contained-public-simulator
May 27, 2026
Merged

Fix public simulator and complete missed-call demo flow#82
DevCalebR merged 2 commits into
mainfrom
codex/self-contained-public-simulator

Conversation

@DevCalebR

@DevCalebR DevCalebR commented May 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the env-gated public /simulator route with a self-contained browser-only demo
  • run the full current missed-call qualification flow through service, urgency, name/location, callback time, and confirmation
  • show the completed lead summary and owner alert preview with safe masked demo data

Root cause

The public simulator page still depended on the legacy backend simulator path, which expected demo-business environment configuration and old server actions. That caused the unconfigured fallback state in production and let the simulated conversation drift behind the real missed-call qualification flow.

What changed

  • added a client-side public simulator experience and pure state helpers for the public route
  • shared the production SMS copy and deterministic intake parsing between the real flow and the simulator to reduce drift
  • kept the legacy env-backed simulator helpers separate for internal/demo-business use
  • updated README and production env docs to reflect that /simulator is self-contained by default
  • added coverage for the public simulator flow, isolation, and route behavior

Validation

  • npx tsx --test tests/public-simulator.test.ts tests/simulator-route.test.ts tests/public-demo-route.test.ts tests/simulator-isolation.test.ts
  • npm run typecheck
  • npm run lint
  • npm run test
  • npm run build
  • browser verification on http://localhost:3000/simulator through the full demo flow

@vercel

vercel Bot commented May 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
callbackcloser Ready Ready Preview, Comment May 27, 2026 3:17am

Request Review

@DevCalebR DevCalebR merged commit d220110 into main May 27, 2026
3 checks passed
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