Update TODO.md with comprehensive list of remaining missing implementations

Added detailed tracking for:
- Face API providers (AWS Rekognition, OpenCV, InsightFace) - 9 stubs
- Learn module session integration - 9 handlers need user_id
- AutoTask module incomplete items
- Security role fetching from Zitadel
- Basic keywords dynamic row issue
- Designer canvas placeholder SVGs
- Meet module transcription stubs
- Email/folder monitoring production integration
- Contact integration junction tables
- Billing mock testing structs
- Priority matrix (HIGH/MEDIUM/LOW)
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-01-13 13:07:51 -03:00
parent 9b88a158f1
commit cf44cd4e8f

95
TODO.md
View file

@ -557,6 +557,101 @@ module/
- Implement real database storage for email signatures (currently returns mock data)
- Add admin API endpoints for invitation management
---
## 🔴 NEW: Additional Missing Implementations Found
### Face API Providers (Not Implemented)
**File:** `botserver/src/basic/keywords/face_api.rs`
- `detect_faces_aws()` - AWS Rekognition face detection (L688-691)
- `verify_faces_aws()` - AWS Rekognition face verification (L698-700)
- `analyze_face_aws()` - AWS Rekognition face analysis (L707-709)
- `detect_faces_opencv()` - Local OpenCV face detection (L719-722)
- `verify_faces_opencv()` - OpenCV face verification (L729-731)
- `analyze_face_opencv()` - OpenCV face analysis (L738-740)
- `detect_faces_insightface()` - InsightFace detection (L750-753)
- `verify_faces_insightface()` - InsightFace verification (L760-762)
- `analyze_face_insightface()` - InsightFace analysis (L769-771)
**File:** `botserver/src/botmodels/mod.rs`
- Duplicate face API stubs (L375-395)
### Learn Module - Missing Session Integration
**File:** `botserver/src/learn/mod.rs`
- `submit_quiz()` - TODO: Get user_id from session (L1900-1904)
- `get_progress()` - TODO: Get user_id from session (L1926-1936)
- `start_course()` - TODO: Get user_id from session (L1953-1963)
- `complete_lesson_handler()` - TODO: Get user_id from session (L1980-1990)
- `create_assignment()` - TODO: Get assigner user_id from session (L2007-2017)
- `get_pending_assignments()` - TODO: Get user_id from session (L2034-2044)
- `get_certificates()` - TODO: Get user_id from session (L2082-2092)
- `get_recommendations()` - TODO: Get user_id from session (L2140-2150)
- `get_user_stats()` - TODO: Get user_id from session (L2185-2195)
### AutoTask Module - Incomplete
**File:** `botserver/src/auto_task/autotask_api.rs`
- `get_task_logs()` - TODO: Fetch from database when task execution is implemented (L2092-2102)
**File:** `botserver/src/auto_task/intent_compiler.rs`
- `store_compiled_intent()` - Stub only, logs message (L803-805)
### Security Module - Missing Role Fetch
**File:** `botserver/src/security/auth.rs`
- `validate_session_sync()` - TODO: Fetch actual user roles from Zitadel/database (L834-838)
### Basic Keywords - Dynamic Row Issue
**File:** `botserver/src/basic/keywords/find.rs`
- `execute_find()` - "Dynamic row deserialization not implemented - need table schema" (L81-83)
### Designer Canvas - Placeholder SVGs
**File:** `botserver/src/designer/canvas.rs`
- `get_asset_library()` - Most icons have placeholder `<svg></svg>` content (L1336-1345)
### Meet Module - Remaining Database Stubs
**File:** `botserver/src/meet/recording.rs`
- `create_transcription_record()` - Still a stub (needs transcription table integration)
- `update_transcription_completed()` - Still a stub
- `get_transcription_from_db()` - Still a stub
### Email/Folder Monitoring - Production Integration Needed
**File:** `botserver/src/basic/keywords/on_email.rs`
- `fetch_new_emails()` - Returns mock data, needs IMAP/Exchange/Gmail API integration
**File:** `botserver/src/basic/keywords/on_change.rs`
- `fetch_folder_changes()` - Returns mock data, needs file watcher/cloud API integration
### Contact Integrations - Junction Tables Missing
**File:** `botserver/src/contacts/calendar_integration.rs`
- `get_linked_contact_ids()` - Needs event_contacts junction table
- `get_event_organizer_contact_id()` - Returns Ok(None), needs implementation
**File:** `botserver/src/contacts/tasks_integration.rs`
- `get_assigned_contact_ids()` - Needs task_contacts junction table
### Billing Module - Mock Testing Structs Only
**File:** `botserver/src/billing/testing.rs`
- All Mock* structs are for testing only, real Stripe integration needed
---
## 📋 Priority Matrix
### HIGH Priority (Core Functionality)
1. Learn module session integration (9 handlers need user_id)
2. Security role fetching from Zitadel
3. Task logs database storage
### MEDIUM Priority (Feature Completeness)
4. Face API provider implementations (AWS/OpenCV/InsightFace)
5. Email monitoring IMAP integration
6. Folder monitoring file watcher integration
7. Designer asset library real SVG icons
### LOW Priority (Enhancement)
8. Contact junction tables (event_contacts, task_contacts)
9. Dynamic row deserialization in FIND keyword
10. Transcription database methods
## ✅ Additional Completed Items (This Session)
15. ✅ Created database migration for billing alerts tables (`20250801000001_add_billing_alerts_tables`)