Changelog & Development Log
Agile, Phase-Based Development
LAFINA was built in short phases. Each feature was implemented, tested, and refined before the next. Dates below come from the app’s commit history and release notes (2026).
Timeline
| Period | Milestone | Highlights |
|---|---|---|
| Research design | Voice-call scheduler concept | Offline, closed-domain design with Whisper, SmolLM2, and Kokoro. Telephony-style reminder calls |
| Oct 21–24 | Foundation (v0.3.0) | Android scaffold, onboarding, guest mode, SQLite with 7 sync entities, native Android reminder alarms |
| Oct 25–30 | Offline voice + NLU | Phone TTS, push-to-talk Whisper + Silero VAD, hybrid NLU (rules + Qwen 2.5), end-to-end offline assistant in Chat |
| Nov 5–6 | Handbook, sync, safety | USTP Handbook RAG with citations, sync fixes, review cards with confirm-before-save, durable reminder delivery |
| Nov 7–10 | Online AI + Call LAFINA v2 | DeepSeek and ElevenLabs integration, Memory, live voice with tools, draft cards, barge-in, multi-turn corrections |
| Nov 11–15 | Student features | COR import (PDF + OCR), To-Do tab, Home dashboard, bounded tool use (Chat agent), device-local alarms, five-tab layout |
| Nov 16–20 | Offline AI catalog + Skills | Offline handbook (FTS5), selectable on-device models, Floating LAFINA + Quick Chat, Pomodoro, flashcards, GWA |
| Nov 22 | Study companion | AI study flows, Lesson Q&A, meeting capture, document files, chat history sync, offline Call LAFINA |
| Nov 23 | v1.0.2 – v1.0.3 | In-app updates, benchmark runner, call and chat fixes |
| Nov 24 | v1.0.4 – v1.0.5 | Ask USTP with campus knowledge and sources, Home redesign, new themes, faster reminder calls |
| Nov 25 | v1.0.6 – v1.0.7 | Reliability hotfixes, lock-screen reminder calls, Home customization, smarter Memory with privacy guard |
Feature Milestones
Offline Voice Pipeline
Oct 25–26Push-to-talk speech recognition with whisper.cpp and Silero VAD through a native module, plus fast spoken replies through the phone’s own TTS engine. The earlier Kokoro TTS plan was dropped in favor of the built-in engine, which starts faster and uses less memory.
Hybrid Understanding
Oct 27 – Nov 16A rule-based fast-path parser for clear commands, with an on-device language model (via llama.cpp) for unclear or Taglish phrasing. This later grew into a selectable catalog (SmolLM2, Gemma 3, Qwen 2.5) with a hardware advisor.
Confirm-Before-Save
Nov 6Every assistant-proposed change became a review card with revisions and receipts. Low-risk, easily undone actions were later allowed to apply immediately with Undo.
From Scheduler to Companion
Nov 9–22DeepSeek-powered conversation, Memory, the Chat agent, ElevenLabs live voice, study skills, and Lesson Q&A turned LAFINA into an AI student companion that can chat, answer general questions, and help with studying.
Proactive Reminder Calls
Oct 23 → Nov 25Native Android alarms with recovery after reboot came first. Later additions: per-reminder “Call me / Notify only”, online reminder calls that continue into live conversation, faster call responses, and lock-screen calls (v1.0.7).
Key Design Decisions
| Decision | Rationale |
|---|---|
| Android only (no iOS) | Full-screen call screens, exact alarms, and background audio rely on Android features |
| SQLite as source of truth | Offline-first: planning and reminders never depend on a server |
| Rules before models | Instant, predictable, and light on battery. Models only where needed |
| Phone TTS instead of Kokoro | Already installed, faster first audio, lower memory |
| Simulated call instead of real telephony | No SIM or carrier needed, works offline, full control of the call UI |
| Online AI is optional | Adds open conversation and natural voice without making the core depend on internet |
| Confirm-before-save | Keeps the student in control and turns AI mistakes into corrections |