Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
- Deletes user subcollections, images, user doc, Auth user
- `backfillCommunityStatus()` [admin]
- Sets `status: 'visible'` on recent posts lacking it
- `generateRecoveryPlan({ type: 'dating'|'job'|'social'|'academic'|'other', impact: 0..10, note?: string, tone?: 'gentle'|'direct' })` → `{ steps: {title, detail}[], affirmations: string[], templates: {label, text}[] }`
- Uses Vertex AI (Gemini) with safety filters and rate-limiting

## Triggers & schedules
- Firestore: `onRejectionCreate` aggregates, server patterns, optional FCM
Expand Down
1 change: 1 addition & 0 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Flags
- `communityEnabled` (bool): shows/hides Community tab
- `challengeDifficulty` (string): reserved for tuning challenge generator
- `aiRecoveryEnabled` (bool): gates AI-powered recovery plan generation

## Client
- `RemoteConfigManager` loads flags on app start and gates `ContentView` tabs.
Loading
Loading