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

#LessonYou will learn
1The Big PictureFeatures, the five tabs, context diagram, system architecture, tech stack
2Use CasesActors, use cases, «include» vs «extend»
3Data Flow (DFD)The 8 processes and 7 data stores, traced through examples
4Database (ERD)Main tables, keys, relationships, the 36-table inventory
5Conversation & AIMessage pipeline, intents, routes, review cards, Chat agent, Memory
6Reminders & AlarmsAlarm vs. reminder, reminder states, the call, recovery, adaptive timing
7Voice & Call LAFINASpeech recognition, speech output, online and offline calls
8Sync & AccountsGuest mode, the outbox, versions and conflicts, what syncs
9Ask USTP, COR & SkillsRAG offline and online, COR import pipeline, study skills
10Privacy & SecurityPermissions, data leaving the phone, AI safeguards
11Cheat SheetEvery number, name, and one-liner on one page

The four ideas everything else builds on

  1. Offline-first: the phone’s SQLite database is the source of truth. Online is optional.
  2. The AI proposes, the student confirms: planner changes go through a review card.
  3. Proactive calls: reminders ring as a simulated call that the student answers and responds to.
  4. 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.