feat(buddy): Sobers Buddy AI companion — database foundation, feature flag, and tab navigation#426
feat(buddy): Sobers Buddy AI companion — database foundation, feature flag, and tab navigation#426
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…d tab navigation (#412) - Create migration for ai_buddy_conversations and ai_buddy_messages tables with RLS - Add ai_buddy_enabled feature flag to profiles table - Add AiBuddyConversation and AiBuddyMessage TypeScript types - Add AI Buddy analytics events - Add Sobers Buddy toggle in Settings Features section - Add Buddy tab to navigation (conditionally visible) - Create placeholder Buddy screen Co-authored-by: BillChirico <13951316+BillChirico@users.noreply.github.com>
2 new issues
|
| {profile?.ai_buddy_enabled !== false ? 'ON' : 'OFF'} | ||
| </Text> | ||
| </View> | ||
| )} |
🤖 Morph Preview TestPreview URL: https://sobers-jdl66rint-volvox-llc.vercel.app AI SummaryIssues:
Verified:
Notes:
RecordingAutomated testing by Morph |
|
🐣 PR Triage: This PR has been marked as stale (older than 7 days) as part of automated triage. Next steps:
Current status:
@BillChirico @copilot please update when ready for review. |
The implementation is complete — database migration, feature flag, navigation tab, settings toggle, placeholder screen, and tests are all in place and passing. This PR is ready for review whenever the team is available. |
|
🤖 Automated PR Triage: This PR has been reviewed and processed by the automated triage system. |

Initial infrastructure for the Sobers Buddy AI-powered accountability partner (Epic #412). Establishes the data layer, feature gating, and navigation entry point that all subsequent AI features will build on.
Database
ai_buddy_conversationsandai_buddy_messagestables with RLS (user-only access), indexes, andupdated_attriggersai_buddy_enabledboolean column onprofiles(defaulttrue, matchingshow_program_contentpattern)Types & Analytics
AiBuddyConversation,AiBuddyMessage,AiBuddyMessageRoleintypes/database.tsai_buddy_enabledonProfileinterfaceAI_BUDDY_ENABLED,AI_BUDDY_DISABLED,AI_BUDDY_MESSAGE_SENT,AI_BUDDY_CONVERSATION_STARTEDNavigation & UI
TAB_ROUTESwith conditional visibility (same mechanism as Program tab):buddy.tsxscreen with coming soon contentshow_program_contenttoggle pattern exactlyTests
Boticon importWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdp.expo.dev/opt/hostedtoolcache/node/24.14.0/x64/bin/node /opt/hostedtoolcache/node/24.14.0/x64/bin/node /home/REDACTED/work/sobers/sobers/node_modules/.pnpm/@expo+cli@55.0.15_@expo+dom-webview@55.0.3_@expo+metro-runtime@55.0.6_expo-constants@55_c0846f7da0f08a4013497f6734026025/node_modules/@expo/cli/build/src/utils/telemetry/clients/flushFetchDetached.js /tmp/30a35c98a3601ed7eb642ddaf0afcc1d/expo-telemetry.json(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/sobers/sobers/node_modules/.bin/../expo/bin/cli export --platform web st.tsx __tests__/app/tabs-layout-native.test.tsx __tests__/components/settings/SettingsContent.sbash main de/node/bin/node(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.