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

PeriodMilestoneHighlights
Research designVoice-call scheduler conceptOffline, closed-domain design with Whisper, SmolLM2, and Kokoro. Telephony-style reminder calls
Oct 21–24Foundation (v0.3.0)Android scaffold, onboarding, guest mode, SQLite with 7 sync entities, native Android reminder alarms
Oct 25–30Offline voice + NLUPhone TTS, push-to-talk Whisper + Silero VAD, hybrid NLU (rules + Qwen 2.5), end-to-end offline assistant in Chat
Nov 5–6Handbook, sync, safetyUSTP Handbook RAG with citations, sync fixes, review cards with confirm-before-save, durable reminder delivery
Nov 7–10Online AI + Call LAFINA v2DeepSeek and ElevenLabs integration, Memory, live voice with tools, draft cards, barge-in, multi-turn corrections
Nov 11–15Student featuresCOR import (PDF + OCR), To-Do tab, Home dashboard, bounded tool use (Chat agent), device-local alarms, five-tab layout
Nov 16–20Offline AI catalog + SkillsOffline handbook (FTS5), selectable on-device models, Floating LAFINA + Quick Chat, Pomodoro, flashcards, GWA
Nov 22Study companionAI study flows, Lesson Q&A, meeting capture, document files, chat history sync, offline Call LAFINA
Nov 23v1.0.2 – v1.0.3In-app updates, benchmark runner, call and chat fixes
Nov 24v1.0.4 – v1.0.5Ask USTP with campus knowledge and sources, Home redesign, new themes, faster reminder calls
Nov 25v1.0.6 – v1.0.7Reliability hotfixes, lock-screen reminder calls, Home customization, smarter Memory with privacy guard

Feature Milestones

Offline Voice Pipeline

Oct 25–26

Push-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 16

A 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 6

Every 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–22

DeepSeek-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 25

Native 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

DecisionRationale
Android only (no iOS)Full-screen call screens, exact alarms, and background audio rely on Android features
SQLite as source of truthOffline-first: planning and reminders never depend on a server
Rules before modelsInstant, predictable, and light on battery. Models only where needed
Phone TTS instead of KokoroAlready installed, faster first audio, lower memory
Simulated call instead of real telephonyNo SIM or carrier needed, works offline, full control of the call UI
Online AI is optionalAdds open conversation and natural voice without making the core depend on internet
Confirm-before-saveKeeps the student in control and turns AI mistakes into corrections