Skip to content

schwaaamp/DashMobileApp

Repository files navigation

HealthDecoder Documentation

This directory contains all project documentation organized by category.

πŸ“– Quick Navigation

Active Documentation

  • Planning - Active feature plans and strategies
  • Features - Implemented feature documentation
  • Implementation - Setup and configuration guides
  • Security - Authentication and security architecture
  • Testing - Test strategies and plans
  • Reviews - Code review reports
  • Archive - Historical documentation (completed work)

πŸš€ Planning Documents

Active feature planning and architectural strategy documents.

Document Description Status
TypeScript Migration Plan Step-by-step plan for mobile app TS migration βœ… Active
OpenAI Proxy Migration Plan Migrate client-side OpenAI calls to Edge Function πŸ”„ In Progress (Phase 0)
Canonical Foods Strategy Parent-child food hierarchy with vector search βœ… Active (6,368 canonicals created)
Fitness Tracker Strategy Fitbit, Whoop, Oura integration architecture βœ… Active
CGM Integration Continuous glucose monitoring (Dexcom, Libre) πŸ“‹ Planning
Barcode SKU Architecture Product vs SKU separation design βœ… Implemented
Meal Template Learning AI-powered meal template system πŸ”„ In Progress
Vision Camera Migration Migration from expo-camera to react-native-vision-camera βœ… Implemented
Food Search Improvement Overall food search vision (large doc) βœ… Active
Food Quantity Units Unit extraction and normalization πŸ”„ In Progress
Sync Functions Technical Debt Edge function refactoring and improvements βœ… Complete
Blood Panels Strategy Blood panels & medical test results feature plan πŸ“‹ Draft
Experiment Pivot Plan Experiment-centric app pivot β€” full implementation plan πŸ“‹ Planning
Rate Limit Gaps Rate limiting analysis and gap identification βœ… Active
Integration Test Plan Mobile integration test strategy (Phases 1-4) πŸ”„ Phase 4 In Progress
Phase 4 E2E Test Spec E2E test implementation details πŸ”„ In Progress (3/13 passing)
Unit Test Coverage Plan Comprehensive unit test coverage roadmap βœ… Active
Insight Engine v3 Dynamic metric discovery, auto-blacklisting, intraday analyzers πŸ“‹ Planning
Timezone Strategy Cross-system timezone normalization for all data sources πŸ“‹ Planning (prerequisite for Insight v3)
Unified Experiment Analysis Single analysis engine, diagnostics, admin dashboard βœ… Complete
Personalized Health Snapshot Replace population ranges with personal baselines, cycle-aware scoring, trend direction βœ… Complete
Integration Tests: Health Snapshot Integration test plan for personalized health snapshot wiring βœ… Complete

βš™οΈ Features

Documentation for implemented features.

Document Description
Product Search Fix Registry priority fix for product search

πŸ› οΈ Implementation Guides

Setup and configuration documentation.

Document Description
OpenAI Proxy Setup Guide Supabase secrets and migration setup for OpenAI proxy
Webhook Setup Comprehensive webhook configuration guide
Sync All Devices Guide Multi-device orchestration implementation
Phase 2 Implementation Edge function improvements summary
Monitoring System Analysis System monitoring architecture
Task 5 Completion Report Task 5 implementation summary

πŸ”’ Security

Authentication and security architecture.

Document Description
Auth Guard Strategy Authentication flow and RLS protection

πŸ§ͺ Testing

Test strategies and plans.

Document Description Status
Test Plan Voice/photo/text logging test strategy βœ… Active
Comprehensive Testing Strategy Overall testing approach for mobile and edge functions βœ… Active
Edge Functions Testing Plan Edge function test implementation phases βœ… Complete (86 tests)
Jest Performance Optimization Jest open handles fix and 96% performance improvement βœ… Complete
Pre-commit Performance Analysis Pre-commit hook optimization analysis βœ… Complete
Phase 1: Transformers Complete Unit tests for WHOOP/Fitbit transformers βœ… Complete (44 tests)
Phase 2: Tests Fixed API client integration tests βœ… Complete (11 tests)
Phase 4: Contract Tests Schema contract validation tests βœ… Complete (19 tests)

πŸ“ Code Reviews

Comprehensive reports and analyses of codebase health and specific areas.

Document Scope Date
Initial Codebase Review Overall project architecture and health 2026-02-05

πŸ“¦ Archive

Historical documentation for completed work, migrations, and fixes.

Migrations

Fixes

Debugging

Testing

Setup


πŸ“š Other Documentation


πŸ€– Does Claude Benefit from These Docs?

Yes! Here's how:

High Value for AI Assistants

  1. Planning Docs - Provide architectural context and design decisions
  2. Feature Docs - Explain implemented features and their rationale
  3. Implementation Guides - Detailed setup instructions prevent mistakes
  4. Security Docs - Critical for understanding auth flow and RLS policies

Moderate Value

  1. Archive/Fixes - Useful for understanding past issues and solutions
  2. Testing Docs - Help understand test coverage and strategy

Low Value (Can Be Removed)

  1. Point-in-time snapshots (test coverage summaries)
  2. Completed migrations (only needed for historical reference)

Recommendations

  • βœ… Keep: All planning, features, implementation, security, testing docs
  • ⚠️ Archive: Completed fixes and migrations (keep for reference, not active use)
  • ❌ Remove: Duplicate information or outdated snapshots (consider consolidating)

The current structure makes it easy for AI assistants to find relevant context without being overwhelmed by historical/completed work.


πŸ”„ Maintenance

When adding new documentation:

  1. Active plans β†’ /docs/planning/
  2. Implemented features β†’ /docs/features/
  3. Setup guides β†’ /docs/implementation/
  4. Completed fixes/migrations β†’ /docs/archive/
  5. Keep CLAUDE.md in root as the main AI assistant guide

Update this README when adding new documentation.

About

The mobile app that works with the web app to record user actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors