Architecture
An Android client connects to an authenticated Express API over the local network. The backend keeps a Markdown library and revision history and calls the local llama.cpp server.
Independent build / Private working app / 2026
An Android Markdown app with revision-safe AI edits and a desktop backend that runs the model locally.

An Android client connects to an authenticated Express API over the local network. The backend keeps a Markdown library and revision history and calls the local llama.cpp server.
The assistant reads sections, asks structured questions, and proposes targeted patches. A patch for a stale revision is rejected. Applied changes have a diff and an undo action in history.
Tool and edit progress streams to the app, and approvals can resume. Deterministic tests cover patching, cancellation, stale revisions, and undo.
Recorded walkthrough
A walkthrough of the architecture, tool execution boundaries, document consistency guarantees, and testing behind my local AI-powered document editor.
I also examine a retrieval optimization that showed promising synthetic performance but exposed correctness problems during live testing, explain how I investigated the failures, and discuss why I kept the experimental approach disabled.
Open on Loom Hosted by Loom. The player loads only when you press play.
Deterministic tests cover patching, cancellation, stale revisions, and undo.
Structured questions help the assistant clarify the document before editing.
Applied edits show what changed, with diff and undo controls.
Projects and Markdown documents organized in the Android app.
This is a private working app with a desktop backend, not a publicly hosted editor or a cloud model integration.
Next experiment: Test interrupted approvals across an Android app restart, including a draft that changes while the app is away.