Ideas ported from Thinai (github.com/Aravindargutus/Thinai, MIT); none of
its Flutter code is used directly.
- Chats panel: every conversation saved (ChatStore); new chat, switch,
search, rename, delete, delete all. Fixes B-38: AI replies were never
saved and the chat screen started empty after every restart.
- Model guide: 20 real .litertlm models, the phone's RAM/CPU/storage,
use-case chips, fit and speed estimates (ModelGuide).
- Thinai preset; any AI server on 127.0.0.1 gets short instructions and
the 33 phone tools instead of 70.
- Web search: DuckDuckGo Lite/HTML then Bing, challenge-page detection,
10-minute engine rest, relevance filter (B-37).
- Other people's text wrapped with a random id and control tokens
defused (B-40).
- Wake-phrase service no longer crashes the app after an update or
reboot; a one-tap notice resumes it (B-39, pre-existing since 0.4.0).
- 37 new tests (87 -> 124); fake AI test server kept in tools-dev/.
- Docs: DEVELOPMENT_HISTORY, README, STAGE_A2_CHECKLIST section 6.
DEVELOPMENT_HISTORY.md
- timeline: the full review, git init, and the new checklist
- C-14: no version control for the first six days and 16 releases, and why that
mattered (C-01 had no undo)
- risks 17 and 18: there is no standalone executor for the Hermes bridge to call
(it is a private method of Agent, wired to the chat UI) and no audit log at all;
and the number/name grounding rules depend on the user's own words this turn,
which a remote command does not have
- risk 19: no version control — now fixed
- corrected counts: 62 Kotlin files / 11,244 lines (was 63, unmeasured), and
ClockScreenTest added to the test audit
- metrics: Needle eval re-run at 0.4.3, unchanged (wrong 0); version-control row
docs/STAGE_A2_CHECKLIST.md (new)
- 0.4.2 and 0.4.3 have never run on a phone. Covers the six 0.4.1 failures, the
per-provider keys, a backup/restore round trip, the routing setting and tile,
and the overnight battery cost.
README.md
- points at the new checklist, and notes the repository and tagging convention.
The project's first commit, six days and 16 releases after it started. Everything
up to this point existed only as files on one machine, with no history and no undo.
Contents: single Gradle module, 62 Kotlin files (11,244 lines) and the Needle 2 JNI
bridge, 70 tools, 87 passing unit tests, and the five documents in docs/ plus
DEVELOPMENT_HISTORY.md and README.md.
Not tracked: build outputs (build/, .cxx/, .gradle/), the release APKs in dist/
(~800 MB, rebuildable), local.properties, and .claude/settings.local.json — all
machine-specific. The prebuilt libneedle.a files (38 MB) *are* tracked on purpose,
so a checkout builds without depending on Hugging Face still serving them.