Gemma 4 Challenge: Build With Gemma 4 Submission This is a submission for the Gemma 4 Challenge: Build with Gemma 4 What I Built dwriter is a minimalist, terminal-first journaling and productivity tool designed to jot down fleeting thoughts or important notes without leaving your terminal, effectively solving "logging friction" through a zero-latency capture system and a rich, AI-augmented reflection layer. It features an interactive AI 2nd-Brain that understands your entire work history via a dual-model reasoning pipeline and a closed learning loop that automatically extracts durable facts—such as preferences, goals, and recurring constraints—to build a persistent personal knowledge base. This agentic ReAct pipeline allows the AI to go beyond simple chat by using tools to search your journal, tasks, and Git history for grounded, data-driven answers. Under the hood, the tool employs graph indexing using LadybugDB alongside SQLite to power complex relationship queries and high-speed full-text searches.…