Study Guide: Learn LAFINA
How to use this section
Read the lessons in order. Each one starts with a simple picture, then adds detail, and ends with a short Check yourself list. If you can explain every item on those lists without looking, you’re ready. Finish with the Cheat Sheet and the Q&A Practice.
The study path
1. The Big Picture What LAFINA is, its features, context and architecture diagrams
2. Use Cases Who does what
3. Data Flow (DFD) How data moves
4. Database (ERD) What is stored
5. Conversation & AI How a message becomes an answer or a review card
6. Reminders & Alarms Scheduling, the reminder call, snooze, adaptive timing
7. Voice & Call LAFINA Whisper, TTS, online and offline calls
8. Sync & Accounts Guest mode, outbox, conflicts
9. Ask USTP, COR & Skills RAG, schedule import, study tools
10. Privacy & Security Permissions, what leaves the phone, safeguards
11. Cheat Sheet → Q&A Practice Review, then test yourself
Lessons
| # | Lesson | You will learn |
|---|---|---|
| 1 | The Big Picture | Features, the five tabs, context diagram, system architecture, tech stack |
| 2 | Use Cases | Actors, use cases, «include» vs «extend» |
| 3 | Data Flow (DFD) | The 8 processes and 7 data stores, traced through examples |
| 4 | Database (ERD) | Main tables, keys, relationships, the 36-table inventory |
| 5 | Conversation & AI | Message pipeline, intents, routes, review cards, Chat agent, Memory |
| 6 | Reminders & Alarms | Alarm vs. reminder, reminder states, the call, recovery, adaptive timing |
| 7 | Voice & Call LAFINA | Speech recognition, speech output, online and offline calls |
| 8 | Sync & Accounts | Guest mode, the outbox, versions and conflicts, what syncs |
| 9 | Ask USTP, COR & Skills | RAG offline and online, COR import pipeline, study skills |
| 10 | Privacy & Security | Permissions, data leaving the phone, AI safeguards |
| 11 | Cheat Sheet | Every number, name, and one-liner on one page |
The four ideas everything else builds on
- Offline-first: the phone’s SQLite database is the source of truth. Online is optional.
- The AI proposes, the student confirms: planner changes go through a review card.
- Proactive calls: reminders ring as a simulated call that the student answers and responds to.
- A companion: with Online Mode, LAFINA chats about anything, answers trivia, and helps with studying.
About the diagrams
The official diagrams in these lessons (context, use case, DFD, ERD, architecture) come from the LAFINA-CAPSTONE repository and also show the separately maintained Electron PC client. The simple diagrams are simplified on purpose so they’re easy to remember.