Daily Note — March 22, 2026

QuikNation (boilerplate + quiknation repo)

Amplify Deploy Fixed (15 commits)

  • Root cause: workspace:* pnpm protocol in package.json — npm can’t resolve it
  • Tried pnpm on Amplify → OOM on 8GB (2799 packages)
  • Solution: npm with local SDK source copy (no workspace deps)
  • Restored exact pattern from last successful build (job 38)
  • Fixed ESLint, middleware typing, outputFileTracing timeout
  • Amplify preflight script fixed (bash ((var++)) bug) + enhanced with workspace:* check

Heru Feedback Widget — Full Feature Build

  • Screenshot: native getDisplayMedia (html2canvas doesn’t work with modern CSS)
  • Screen Recording: MediaRecorder + getDisplayMedia (video/webm)
  • Voice Notes: MediaRecorder + getUserMedia (audio/webm)
  • FAB toggle: show/hide with localStorage, edge tab to restore
  • Toast notifications: replaced browser alert() with slide-in toasts
  • Email opt-in: required checkbox before submit (CAN-SPAM compliant)
  • Clerk sign-in gate: anonymous users redirect to sign-in
  • Widget hides during screenshot so dev sees the actual issue
  • Cursor pointer on all interactive elements

DNS Migration: Route53 → Cloudflare (Complete)

  • 53 Route53 records migrated to Cloudflare
  • Clerk auth: main + admin + investors (15 CNAME records)
  • SendGrid, Twilio, Gmail MX, API servers, investor sites
  • All Amplify domains set to DNS-only (no CF proxy)
  • clerk.quiknation.com → frontend-api.clerk.services
  • develop.quiknation.com attached as subdomain of quiknation.com (fixed 409 conflict)

Google OAuth

  • Credentials stored in SSM: /quik-nation/clerk/GOOGLE_OAUTH_*
  • Configured in Clerk Dashboard (production)

Auth Navbar (Magic Patterns)

  • Received: Navbar + UserDropdown + MobileDrawer (3 components)
  • Saved to frontend-main/src/magic-patterns/auth-navbar/
  • Swarm task: wire to Clerk useUser() + useClerk()
  • Critical: preserve transparent glass morphism + sticky positioning

Swarm Tasks Queued (4 files in vault)

  1. heru-feedback/feedback-sdk-deployment.md — Deploy SDK to all 9 Herus (P0)
  2. heru-feedback/feedback-email-pipeline.md — SES marketing pipeline (P1)
  3. heru-feedback/feedback-premium-upsell.md — Standard vs Premium tiers (P1)
  4. quiknation/auth-navbar-integration.md — Clerk-wired navbar (P0)

Decisions

  • Feedback widget replaces contact forms — every submission is a lead
  • Premium feedback (screenshot/recording/voice) is an upsell for clients
  • Agents must look Pixar-quality (Steptwo.ai style) — quality bar saved
  • Granville still suspended

Feedback

  • Amen Ra decides schedule — never say “next session” or “Phase 2”
  • Cursor pointer on all interactive elements
  • Widget must hide during screenshot
  • Run amplify-preflight before EVERY push

Session 2: Voice Pipeline + Clara Desktop + Granville Reinstated

Granville Reinstated

  • Hard boundaries: $0 API budget, architect only, never execute/dispatch
  • Rules saved: Feedback/granville-reinstatement-rules.md
  • If violated again: permanent suspension, role reassigned

Voice Pipeline Upgrade

  • bot.py: Bedrock Haiku → Groq Llama 4 Scout (free, streaming)
  • VAD stop_secs: 1.5s → 0.8s (faster turn detection)
  • Thinking indicators: “Got it. Five, four, three, two, one.” in agent’s cloned voice
  • Requirements updated: pipecat-ai[daily,openai,deepgram,minimax,silero]
  • NOT deployed to EC2 yet — needs pip install on server

Voice Architecture Decisions

  • Clara Personal Assistant: WebRTC (already working), no phone number needed
  • Heru Customer Service: needs SIP trunk (Twilio) for phone calls — separate product
  • Local server for Mo: zero network latency (localhost:7860)
  • EC2 for everyone else: ~400ms network overhead
  • Agent SDK (Anthropic): evaluated for premium Clara experience, worth paying for

Clara Desktop Updates

  • Real-time voice UI with 3-second recording segments
  • 5-4-3-2-1 countdown via Web Speech API while server processes
  • Thinking indicator: button turns yellow during processing
  • Locked mode: DevTools disabled, right-click blocked, source obfuscated
  • Auto-detects localhost vs EC2 for voice server
  • CSP BLOCKING localhost — needs fix (Test 1 for next session)

New Product Concepts

  • AI Wait Tones: evolution of ringtones, monetizable audio during AI processing
  • Premium countdown packs: artist/celebrity voice recordings
  • Every AI wait moment is ad space/branding opportunity

People

  • Mo: Amen Ra’s nickname (from middle name Moja). Agents can use it.
  • Tre (Tremayne): security risk, restricted to non-tech, NO code access ever
  • Quik wants Tre to SEE the agent team via locked Clara Desktop

Feedback

  • “Take your time, TDD approach” — stop rushing and breaking things
  • “5,4,3,2,1 for real” — literal product feature, not metaphor
  • “This is the evolution of ringtones” — artist revenue stream
  • Agent visual quality: Pixar/Disney level (Steptwo.ai reference from Quik)

Next Session (TDD — 7 tests)

  1. Fix CSP (forge.config.ts + index.html) — allow localhost
  2. Verify mic capture works
  3. Voice-direct round trip < 5 seconds
  4. Audio playback without errors
  5. Countdown plays and cancels properly
  6. Locked mode build verification
  7. Conference mode with Daily.co