Architecture: Idea Vault (Gen 7)
Workspace document requiring curation.
Full Public Reader
Architecture: Idea Vault (Gen 7)
## Overview
The Idea Vault is a local-first mobile extension for the Trajectory ecosystem. It focuses on rapid capture and reliable sync.
## Core Components
1. Local Store (Vault):
- Uses SQLite (via Expo SQLite or similar) for offline-first persistence.
- Schema: `ideas (id, content, audio_uri, transcription, created_at, synced_status, metadata)`
2. Sync Engine:
- Background sync service.
- Conflict resolution: Last-write-wins (for Gen 7).
3. Quick Capture Widget:
- Minimalist UI for one-tap text entry.
- Voice trigger button.
4. Voice-to-Idea:
- Audio recording module.
- Whisper or Device-native STT integration.
## Tech Stack (Proposed for Gen 7 Prototype)
- Framework: React Native (Expo)
- Storage: `expo-sqlite`
- Voice: `expo-av` + `expo-speech-recognition` (or similar)
- Sync: REST/WebSockets
## Generation 7 Goals
- [ ] Scaffold React Native project structure.
- [ ] Define SQLite Schema.
- [ ] Implement local "Add Idea" logic.
- [ ] Implement "Voice Record" stub.
- [ ] Basic Sync status UI.
Promotion Decision
Promote into a technical note or architecture paper with implementation anchors.
Source Anchor
projects/hef-evolutions/trajectory-mobile-sync-add-idea-vault-to-trajector/architecture.md
Detected Structure
Method · Architecture