personal-ai

byBalaji Bala

Work on my existing Dodo Personal AI Assistant Phase 1 project only. Do not start Phase 2 and do not rebuild the project from scratch. Inspect the existing code first and fix the current implementation while preserving the existing UI, navigation, Midnight Orb design, Expo React Native + TypeScript architecture, and Supabase backend. The app must work on both Android and iOS. First fix the current crash: "Cannot find native module 'ExponentAV'". The project is using Expo SDK 57, so remove the old expo-av usage that causes the ExponentAV crash and migrate the required audio/voice code to the correct modern expo-audio implementation compatible with the installed Expo version. Update SpeechToTextService, VoiceService, permissions, imports, package dependencies and related files as required. Do not leave any expo-av import that causes the crash. If a voice capability is not supported in Expo Go, handle it gracefully without crashing the app. Also fix the current "TypeError: undefined is not a function" unhandled promise errors by finding the actual undefined function and fixing its source instead of hiding the error. Audit all service imports, exports, Supabase methods, Zustand stores, navigation, permissions, audio and voice functions. The most important requirement is that all Phase 1 editable features must actually save, update, load and persist. Currently screens open but changing assistant name, language, avatar and contacts shows "Something went wrong" or "Could not save". Fix the complete persistence flow. Supabase must be the source of truth for authenticated user data. Every user must have isolated data using auth.uid() and proper RLS policies. Verify profiles, conversations, messages, memories, tasks, reminders and contacts have correct user-based CRUD policies. Never expose service-role keys in the mobile app. Make sure profile data is created correctly after registration/login and loaded when the app starts. Do not overwrite saved values with defaults after navigation or app restart. Make assistant name fully functional. Default assistant name is Dodo. User must be able to change it to any name such as Friday. After saving, the new name must immediately appear on Home, Assistant, greetings and all relevant screens. The value must persist after app restart and logout/login and must belong only to that user. Make the user profile fully functional. Store user id, display name, email, assistant name, assistant avatar, preferred language and preferred addressing style. Load these values from Supabase when the authenticated session starts. Do not reset them to default values unexpectedly. Make language selection fully functional with English, Thanglish and Auto Detect. English mode must respond in English. Thanglish mode must respond naturally in Tamil written using English letters. Auto Detect must reply in English when the user speaks/types English and Thanglish when the user speaks/types Thanglish. If the user says "Thanglish la sollu", reply in Thanglish. If the user says "English la sollu", reply in English. Persist the selected language per user. Greetings must depend on the current time: morning, afternoon, evening or night. In Thanglish mode the greeting can be like "Hi bro 👋 Good afternoon, Balaji! Naan Dodo. Unakku enna help pannanum?" and in English mode it can be like "Hi Balaji! Good afternoon. How may I help you?" For addressing style, default to "bro". If the user naturally calls the assistant "bro", "mama" or "macha", follow that word in subsequent responses. For example, if the user says "Hi mama", respond naturally using mama. Do not randomly mix bro, mama and macha. Save the preferred style where appropriate. Make assistant avatar selection functional. Keep the existing bundled avatars such as AI Orb, Friendly AI, Futuristic, Minimal and Robot. When the user selects an avatar, immediately update the UI and save the selection to Supabase. The selection must persist after restart and login. Each user's avatar must be independent. Make Contacts fully functional. The user must be able to add, edit, delete and list contacts. Store contact name, phone number, optional email and important-contact status. Example: Amma, phone number, Important ON. On Save, validate the fields, save to Supabase, show success, refresh the list and persist the contact after restart. Editing, deleting and Important ON/OFF must also work. Fix the current contact save error. Do not use fake local-only contact data as the final source of truth. Make Tasks fully functional in Phase 1. User must be able to create, edit, complete and delete tasks. Persist all task data in Supabase and isolate it by authenticated user. Show loading, empty and error states correctly. Make Reminders functional in Phase 1 where supported. User must be able to create, edit, delete and complete reminders. Persist reminders in Supabase. If local notification permission is available, use it safely. If permission is denied, do not crash and still save the reminder data. Make Memory functional. User must be able to save and remove simple personal preferences such as "Call me bro", "My assistant name is Dodo" and "I prefer Thanglish". Persist memories in Supabase and make sure one user can never see another user's memories. Make Assistant Chat reliable. The existing deterministic/mock responder may remain for Phase 1 if no live AI API is connected. User messages and assistant responses must display correctly. Conversation history must persist to Supabase and remain after app restart. Avoid duplicate messages, handle loading/error states and apply the user's language and addressing style. Do not claim that live AI, web search or WhatsApp integration exists in Phase 1 if it has not been implemented. Make all Settings screens functional. Assistant name, language, avatar, profile information and addressing style must save correctly. When Save is pressed, validate the input, update Supabase, update the local Zustand/store state, show success and navigate back only after successful saving. If Supabase fails, keep the user on the current screen and show a useful error instead of silently losing the change. Keep Email/Password login, registration, forgot password and Google login flow. Profile creation must work safely after authentication. Google provider can remain disabled until real Google OAuth credentials are configured, but the application must not crash when Google provider is unavailable. Fix the permission layer for microphone and notifications. Handle allowed, denied, temporary/limited and permanently denied states according to the actual Android/iOS APIs. Do not promise permission options that the operating system does not provide. Permission errors must never crash the application. Keep the current Midnight Orb UI and make it responsive for small Android phones, large Android phones, small iPhones and large iPhones. Fix safe-area issues, keyboard overlap, bottom-tab overlap, text overflow, fixed-width problems and content clipping. Use responsive layouts and safe-area insets correctly. Fix every unhandled promise rejection. Every async operation must have proper try/catch handling and useful developer logging. Do not hide errors with a generic catch. User-facing errors should be clear and actionable. Make local Zustand state and Supabase state consistent using this flow: UI action → service → Supabase → successful response → update local store → update UI. Do not use fake local state and pretend that data was saved. If the network fails, show the error and do not report false success. Keep Phase 2 features as placeholders only. Do not implement advanced automation workflows, WhatsApp reading/sending, device control, advanced background wake-word service, driving mode, live web search, live ChatGPT/Google intelligence or automatic external messaging in this task. However, keep clean service interfaces so Phase 2 can be added later without rewriting the Phase 1 architecture. The Automations screen may show that it belongs to Phase 2, but it must open without crashing. After all fixes, run npx tsc --noEmit and make sure there are zero TypeScript errors. Search the entire project for expo-av and ExponentAV and remove obsolete usage causing the crash. Verify the expo-audio implementation and package compatibility. Test registration, login, logout, login again, assistant name change, language change, avatar change, add/edit/delete contact, Important contact toggle, create/complete/delete task, create/edit/delete reminder, save/remove memory, send chat message, app restart and persistence. Verify Supabase RLS and user isolation. Verify there are no unhandled promise rejections. Verify Android and iOS compatible code paths. Do not modify unrelated parts of the project. Do not start Phase 2. This task is to make the existing Phase 1 genuinely functional and stable, not just visually complete. At the end, provide a concise report containing the files changed, bugs fixed, Supabase changes, audio changes, tests performed and any remaining genuine Phase 1 limitations.

LandingAccount RecoveryMemoryAssistantTasksLoginRemindersHomeSign Up
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks

103 planning tasks
#1

Generate system requirement document

1m 59s0.1 cr used
Done
#2

Generate personas & user flows

0m 12s0.1 cr used
Done
#5

Architecture

0.1 cr needed
Cancelled
#6

Workspace task plan

0.1 cr needed
Cancelled
#7

Create flow for Authenticated App User

0m 10sCredits in parent
Done
#8

Landing

1m 52sCredits in subtasks
Done
#9

Login

4m 11sCredits in subtasks
Done
#10

Sign Up

6m 25sCredits in subtasks
Done
#11

Account Recovery

6m 21sCredits in subtasks
Done
#12

Home

7m 59sCredits in subtasks
Done
#13

Assistant

10m 43sCredits in subtasks
Done
#14

Contacts

16m 14sCredits in subtasks
Error
#15

Tasks

10m 35sCredits in subtasks
Done
#16

Reminders

11m 51sCredits in subtasks
Done
#17

Memory

11m 21sCredits in subtasks
Done
#18

Settings

16m 13sCredits in subtasks
Paused
#19

Automations

16m 13sCredits in subtasks
Paused
#20

Landing / Orb Hero

0m 25s0.8 cr used
Done
#21

Landing / Capability Band

0m 33s0.8 cr used
Done
#22

Landing / Access Band

0m 25s0.8 cr used
Done
#23

Landing / Footer

0m 25s0.8 cr used
Done
#24

Footer

0m 25sCredits in parent
Done
#25

Login / Navigation

0m 24s0.8 cr used
Done
#26

Login / Orb Stage

0m 25s0.8 cr used
Done
#27

Login / Credential Panel

0m 38s0.8 cr used
Done
#28

Login / Access Band

0m 25s0.8 cr used
Done
#29

Login / Footer

Not recorded0.8 cr used
Done
#30

Navigation

0m 24sCredits in parent
Done
#31

Sign Up / Navigation

0m 0s0.8 cr used
Done
#32

Sign Up / Orb Stage

0m 26s0.8 cr used
Done
#33

Sign Up / Credential Panel

1m 16s0.8 cr used
Done
#34

Sign Up / Access Band

0m 21s0.8 cr used
Done
#35

Sign Up / Footer

0m 0s0.8 cr used
Done
#36

Account Recovery / Navigation Slot

0m 0s0.8 cr used
Done
#37

Account Recovery / Orb Stage

0m 25s0.8 cr used
Done
#38

Account Recovery / Request Panel

1m 1s0.8 cr used
Done
#39

Account Recovery / Access Band

0m 18s0.8 cr used
Done
#40

Account Recovery / Footer Slot

0m 0s0.8 cr used
Done
#41

Fix Login review findings: frontend/src/components/Login Credential Panel.jsx: thisâ€Ļ (+2 more)

1m 6s0.2 cr used
Done
#42

Home / App Nav Slot

0m 24s0.8 cr used
Done
#43

Home / Greeting Orb

0m 52s0.8 cr used
Done
#44

Home / Assistant Entry

0m 29s0.8 cr used
Done
#45

Home / Records Grid

0m 28s0.8 cr used
Done
#46

Home / Settings Scope Band

0m 30s0.8 cr used
Done
#47

Home / Session Band

0m 30s0.8 cr used
Done
#48

Home / Footer Slot

Not recorded0.8 cr used
Done
#49

App Navigation

0m 24sCredits in parent
Done
#50

Assistant / App Header

0m 0s0.8 cr used
Done
#51

Assistant / Thread Band

1m 4s0.8 cr used
Done
#52

Assistant / Product Footer

0m 1s0.8 cr used
Done
#53

Fix Home review findings: frontend/src/components/Home Greeting Orb.jsx renders theâ€Ļ (+4 more)

0m 38s0.2 cr used
Done
#54

Contacts / App Navigation Slot

0m 1s0.8 cr used
Done
#55

Contacts / Header Band

0m 46s0.8 cr used
Done
#56

Contacts / Record Band

1m 36s0.8 cr used
Done
#57

Contacts / Footer Slot

0m 0s0.8 cr used
Done
#58

Tasks / App Navigation Slot

0m 0s0.8 cr used
Done
#59

Tasks / Header Band

0m 43s0.8 cr used
Done
#60

Tasks / Record Band

0m 58s0.8 cr used
Done
#61

Tasks / Footer Slot

0m 0s0.8 cr used
Done
#62

Reminders / App Header

0m 0s0.8 cr used
Done
#63

Reminders / Orientation Band

0m 41s0.8 cr used
Done
#64

Reminders / Record Band

2m 0s0.8 cr used
Done
#65

Reminders / Footer

0m 1s0.8 cr used
Done
#66

Memory / App Header

0m 1s0.8 cr used
Done
#67

Memory / Orientation Band

0m 41s0.8 cr used
Done
#68

Memory / Record Band

1m 53s0.8 cr used
Done
#69

Memory / Footer

0m 1s0.8 cr used
Done
#70

Settings / App Navigation

0.8 cr needed
Paused
#71

Settings / Orb Stage

0.8 cr needed
Paused
#72

Settings / Session Band

0.8 cr needed
Paused
#73

Settings / Footer

0.8 cr needed
Paused
#74

Automations / App Header

0.8 cr needed
Paused
#75

Automations / Orb Stage

0.8 cr needed
Paused
#76

Automations / Phase Two Notice

0.8 cr needed
Paused
#77

Automations / Scope Band

0.8 cr needed
Paused
#78

Automations / Footer

0.8 cr needed
Paused
#79

Update Account Recovery

Credits unavailable
Invalid
#80

Update Home

Credits unavailable
Invalid
#81

Update Landing

Credits unavailable
Invalid
#82

Update Login

Credits unavailable
Invalid
#83

Update Sign Up

Credits unavailable
Invalid
#84

Update Account Recovery

Credits unavailable
Invalid
#85

Update Home

Credits unavailable
Invalid
#86

Update Landing

Credits unavailable
Invalid
#87

Update Login

Credits unavailable
Invalid
#88

Update Sign Up

Credits unavailable
Invalid
#89

Update Tasks

Credits unavailable
Invalid
#90

Fix Contacts review finding: Contact record rows collapse into aâ€Ļ

0m 19s0.2 cr used
Done
#91

Update Account Recovery

Credits unavailable
Invalid
#92

Update Assistant

Credits unavailable
Invalid
#93

Update Home

Credits unavailable
Invalid
#94

Update Landing

Credits unavailable
Invalid
#95

Update Login

Credits unavailable
Invalid
#96

Update Sign Up

Credits unavailable
Invalid
#97

Update Tasks

Credits unavailable
Invalid
#98

Update Account Recovery

Credits unavailable
Queued
#99

Update Assistant

Credits unavailable
Queued
#100

Update Home

Credits unavailable
Queued
#101

Update Landing

Credits unavailable
Queued
#102

Update Login

Credits unavailable
Queued
#103

Update Memory

Credits unavailable
Queued
#104

Update Sign Up

Credits unavailable
Queued
#105

Update Tasks

Credits unavailable
Queued
Landing design preview

Landing: Read product statement

Sign Up: Enter registration details

Sign Up: Correct input and resubmit

Login: 1. Enter email and password

Login: Correct credentials and resubmit

Login: 2. Attempt Google sign-in

Account Recovery: Submit recovery request

Account Recovery: Retry recovery request

Home: 1. Read time-based greeting

Home: 2. Retry profile load

Home: 3. Open assistant chat

Home: 4. Open Settings

Home: 5. Open Contacts

Home: 6. Open Tasks

Home: 7. Open Reminders

Home: 8. Open Memory

Home: 9. Open Automations

Settings: 10. Save assistant name

Settings: 11. Retry name save

Settings: 12. Select assistant avatar

Settings: 13. Retry avatar save

Settings: 14. Save language

Settings: 15. Retry language save

Settings: 16. Save addressing style

Settings: 17. Retry style save

Contacts: 18. Add contact and save

Contacts: 19. Retry contact save

Contacts: 20. Edit contact and save

Contacts: 21. Toggle Important ON/OFF

Contacts: 22. Delete contact

Tasks: 23. Create task and save

Tasks: 24. Complete task

Tasks: 25. Edit task

Tasks: 26. Delete task

Reminders: 27. Create reminder and save

Reminders: 28. Grant notification permission

Reminders: 29. Continue without notifications

Reminders: 30. Edit reminder

Reminders: 31. Complete reminder

Reminders: 32. Delete reminder

Memory: 33. Save personal preference

Memory: 34. Remove memory

Assistant: 35. Send chat message

Assistant: 36. Retry failed send

Assistant: 37. Request voice input

Assistant: 38. Continue typing after denial

Assistant: 39. Type language override phrase

Assistant: 40. Say addressing word

Automations: 41. Read Phase 2 notice

Home: 42. Log out

Login: 43. Log in again and restore values

Landing design preview

Landing: Read product statement

Sign Up: Enter registration details

Sign Up: Correct input and resubmit

Login: 1. Enter email and password

Login: Correct credentials and resubmit

Login: 2. Attempt Google sign-in

Account Recovery: Submit recovery request

Account Recovery: Retry recovery request

Home: 1. Read time-based greeting

Home: 2. Retry profile load

Home: 3. Open assistant chat

Home: 4. Open Settings

Home: 5. Open Contacts

Home: 6. Open Tasks

Home: 7. Open Reminders

Home: 8. Open Memory

Home: 9. Open Automations

Settings: 10. Save assistant name

Settings: 11. Retry name save

Settings: 12. Select assistant avatar

Settings: 13. Retry avatar save

Settings: 14. Save language

Settings: 15. Retry language save

Settings: 16. Save addressing style

Settings: 17. Retry style save

Contacts: 18. Add contact and save

Contacts: 19. Retry contact save

Contacts: 20. Edit contact and save

Contacts: 21. Toggle Important ON/OFF

Contacts: 22. Delete contact

Tasks: 23. Create task and save

Tasks: 24. Complete task

Tasks: 25. Edit task

Tasks: 26. Delete task

Reminders: 27. Create reminder and save

Reminders: 28. Grant notification permission

Reminders: 29. Continue without notifications

Reminders: 30. Edit reminder

Reminders: 31. Complete reminder

Reminders: 32. Delete reminder

Memory: 33. Save personal preference

Memory: 34. Remove memory

Assistant: 35. Send chat message

Assistant: 36. Retry failed send

Assistant: 37. Request voice input

Assistant: 38. Continue typing after denial

Assistant: 39. Type language override phrase

Assistant: 40. Say addressing word

Automations: 41. Read Phase 2 notice

Home: 42. Log out

Login: 43. Log in again and restore values