Phase 10 Demo Script
Phase 10 Demo Script
Introduction
This demo script walks through the main features of Phase 10 of the Hold That Thought app, including:
- Multi-device Sign-In with Supabase Auth
- Smarter Recall (RAG) with Related, Summarize, and Daily Digest
- Android Foreground Recording
- End-to-End Encryption (E2EE)
1. Initial Setup and Onboarding
- Clean install of the app
- Show the initial onboarding screen
- Navigate to the capture page
- Record a simple thought: “I need to remember to buy groceries later today, including milk, eggs, and bread.”
- Show the thought in the list view
- Demonstrate basic playback and sharing
2. Smarter Recall (RAG)
- Navigate to Settings
- Enable the “Smarter Recall (RAG)” feature flag
- Return to the capture page
- Record several related thoughts:
- “I should try that new recipe for chicken parmesan this weekend.”
- “The farmer’s market on 5th Street has great fresh vegetables.”
- “I need to check if we have olive oil and garlic before cooking dinner.”
- “The recipe book from Aunt Martha has that great pasta sauce recipe.”
- Navigate to the list view
- Select one of the food-related thoughts
- Show the “Related Thoughts” panel with semantically similar thoughts
- Select multiple thoughts and use the “Summarize” feature
- Show the generated summary with key points
- Return to the home screen
- Show the “Daily Digest” card with summarized insights from today’s thoughts
3. Android Foreground Recording
- Navigate to the capture page
- Explain that Android 13/14 requires notification permissions for background recording
- Start recording a thought
- Press the home button to send the app to the background
- Show the persistent notification in the notification shade
- Demonstrate that recording continues in the background
- Lock the screen and continue talking for 30 seconds
- Unlock the screen and pull down the notification shade
- Use the notification controls to stop the recording
- Return to the app and show that the thought was properly saved with the lock screen recording
- Play back the recording to verify quality
4. End-to-End Encryption (E2EE)
- Navigate to Settings
- Enable the “End-to-End Encryption” feature flag
- Set up a passphrase when prompted
- Explain that the passphrase is never sent to the server and cannot be recovered
- Return to the capture page
- Record a new thought: “This is a secret thought that will be encrypted.”
- Navigate to the list view
- Show the encryption badge on the new thought
- Close and reopen the app
- Show the unlock prompt and enter the passphrase
- Demonstrate that the encrypted thought can now be viewed
- Open Supabase Storage to show the encrypted .enc files
5. Multi-Device Sign-In (if time permits)
- Navigate to Settings
- Enable the “Multi-Device Sign-In” feature flag
- Tap on “Manage Account”
- Sign in with email and password (or create a new account)
- Record a new thought
- Show that the thought is synced to the cloud
Multi-Device Demo (requires two devices)
- On Device A, sign in with the same account
- Record a thought on Device A
- On Device B, show that the thought appears in the list
- Demonstrate bidirectional sync by making changes on both devices
Migration Demo
- On a device with existing anonymous thoughts
- Navigate to Settings > Account
- Sign in with an account
- Tap on “Migrate Anonymous Data to Account”
- Show the migration progress
- Navigate to the list page and show that all thoughts are now associated with the account
6. Verification Checklist
- All features work with flags OFF (legacy mode)
- RAG provides meaningful related thoughts and summaries
- Android foreground recording works during lock screen
- E2EE properly encrypts files and requires passphrase to decrypt
- Auth enables cross-device sync with proper namespacing
- All tests pass and CI workflows complete successfully