Commit Graph
64 Commits
Author SHA1 Message Date
HomerandClaude Fable 5.2 5e5e63353a A file an agent shows is in the chat by its kind; an edit's diff is on its approval card
CI / check (push) Canceled after 0s
A tool call's `media` with `shown` is drawn where generated media is: a
picture with its name under it, audio and video with Play, a PDF with Open
(its pages over the chat, by node id), and a 3D model, an archive, a text
file, a binary and any kind the app does not know as a row with the name,
the kind in words and the size. Every card keeps Open in Files, Download,
Share and Open with. `audio` plays as `music` does.

An approval item's `diffs` are worked out on the phone line by line
(api/Diff.kt: shared head and tail, the longest shared run in between up to
a bounded size, three lines of context) and drawn as one plain monospaced
text per file in a sideways scroller of its own, folded past twelve lines
and laid out to four hundred. The diff stands where the call's arguments
did; Allow and Deny are unchanged.

A picture in a chat now waits at the gate before it is fetched. Parsed and
not drawn: a device's files, files_writable and files_that_run_code, and
the editor's two models.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 13:31:30 +00:00
HomerandClaude Fable 5.2 9610a8a9d8 The launcher icon is the app's own: the leaf with a phone beside it
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 11:44:59 +00:00
HomerandClaude Fable 5.2 635982a4f8 A message that waits is sent now or discarded from the chat
CI / check (push) Canceled after 0s
A message of the person's with `queued` true says how it waits under its
bubble -- queued behind a reply, of unknown arrival at the linked computer,
or held by the computer for its next turn (the server's sentences) -- and
has two buttons there: Send now and Discard.

Send now asks `POST …/messages/{id}/send`; the message stops waiting where
it stood, the chat is read once (a linked computer's chat sorts the message
to where it was sent) and the reply the send started is followed as one the
person asked for by typing. A computer that still knew the message does not
run it again and the reply's row is removed: then that reply is not
followed. Discard asks once, then `POST …/discard`, and the row goes.

A 409 or a 404 is said in the instance's words and the chat is read again,
once nothing is being written on the screen. Any other failure is said and
the message stays as it is. While one action is asked the buttons rest.

A waiting message is no longer offered Edit: the instance refuses it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 07:49:26 +00:00
HomerandClaude Fable 5.2 37574292cd Pinned to the server's dev at 69f4800: a reply's end on the events route; a message whose arrival is unknown says so
CI / check (push) Canceled after 0s
The end frame is the one this app was built against: `reply` with `live`
false, once per reply (event_reply_end.json, read in SecondReviewTest with
what an end does to the list and to an open chat). Nothing in the handling
changed. Tokens and strings are read at the same commit.

A person's message with origin `unsure` (queued, never sent by itself: it was
handed to the linked computer and nobody heard whether it arrived) carries the
server's sentence in place of the queued line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 17:39:25 +00:00
HomerandClaude Fable 5.2 c4813831f5 An open chat follows a reply it did not start; the chat keeps its place
CI / check (push) Canceled after 0s
The person's events route says every reply that starts (the reply frame).
For the chat that is open, one that is neither followed already nor drawn
as finished is read and followed as any reply is, once nothing of this
screen's own is being written; a return to the front reads the chat once.
Nothing is asked behind the lock or out of the front. The drawer reads its
newest page again shortly after a frame. The frame is a moment, so the
shared connection does not repeat it to a watcher that joins later.

A turn the linked computer's harness started is a quiet note, and an empty
finished reply after a turn nobody typed, in an agent chat, is the server's
one line.

The chat's position: reading the chat again keeps the older pages a person
loaded; only the person's own scroll can end the following; a reply's foot
is as tall while it is written as once it has finished.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 12:05:58 +00:00
HomerandClaude Fable 5.2 a249b516fd A review of the file manager: nothing new is sent behind the lock, a share's addresses are not believed
CI / check (push) Canceled after 0s
1. One gate (InstanceGate) before every request that carries the account's
   files: uploads, downloads, the copies for Share and Open with, the share
   sheet's sends, a viewer's and a player's copy. The request under way
   finishes; the next waits until the app is in front of an unlocked phone,
   and the dialog says it is waiting.
2. The share target takes only content: addresses of other apps' providers,
   and refuses one that opens onto this app's own files; each file is shown
   with its provider's name and size; the instance is asked nothing before
   the person has chosen.
3. New file reads the directory first and never asks for a name it holds,
   besides create: true.
4. A PDF's renderer is closed off the main thread, and one made while the
   viewer was closing is closed too; at most 100 MB and 2000 pages.
5. Shared cache copies go by their age (an hour), not at every start; a
   name is capped by UTF-8 bytes and keeps its extension.
6. A model name the server said as a model_ref is looked up as a ref alone
   in the picker, the assistant's sheet and the schedule form.
7. A second "Save to Files" goes on from the file that failed.
8. A notebook is parsed off the main thread; a download given up cancels
   its call.

Also: "Open in Files" asks where the node is now (GET /files/node), and an
archive's entries are listed in the viewer.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 07:38:26 +00:00
HomerandClaude Fable 5.2 7971676344 Settings › MCP servers: how each is signed in to, and a sign-in opened in the browser
CI / check (push) Canceled after 0s
`GET /api/v2/mcp` as a page: each server's name, how many tools it offers, and
its state (ready, signed in, not signed in, needs a new sign-in), with who the
provider says signed in and until when. One that waits for this person's
sign-in has a button that opens the instance's own sign-in page in the browser
(a Custom Tab): the sign-in happens there, against the instance, on its cookie
door. The app starts and finishes nothing and its token is in no address it
opens. Only a page of the instance the app is signed in to is opened: an
address on another origin is read as its path on that instance. A shared
sign-in an administrator makes says so and has no button. The list is read
again each time the page comes back to the front.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 06:53:21 +00:00
HomerandClaude Fable 5.2 97ba7f6a29 What a model makes has a card in the chat, and a long generation is followed to its end
A tool call's `media` is a card in the reply: a picture drawn (from its
attachment where the call has one, else from the file by its node id), a video
or a track with Play, a 3D model or an unknown kind as what it is; each with
Open in Files, Download (the system's "Save to" page), Share and Open with. The
player is the platform's, over RemoteMedia: `/files/raw?node=` is read a piece
at a time with the token in the header, as a file by its path is.

A `media_job` is a card with what is made, its state, the time it has taken and
Cancel. There is no stream frame for a job: the chat's jobs are read once when
the chat comes to the front and the ones under way every three seconds while
it stays there. A job that says the chat was told has left a reply this app did
not start, so the transcript is read again and that reply followed. The cards
are drawn only where a chat's own screen provides for them: the assistant's
sheet, which may be over the lock screen, draws a picture as before and no card.

Smaller: a new file is made with `create: true` and a taken name is said in the
instance's sentence; attached sound and video are played (from a copy in the
private cache: an attachment is answered whole); a version of a file can be
saved to the phone; the folder picker makes a folder; a table can be shown as
its text.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 06:52:55 +00:00
HomerandClaude Fable 5.2 5d1e36868c Files is a file manager, and the viewer draws a file by what it is
CI / check (push) Canceled after 0s
Files listed and showed text. It now does what the web's explorer does,
through the server's /api/v2/files routes: upload (the system picker,
several at once, each streamed from where it is with its progress, one
request a file so a 413 for one does not take the others), new folder, new
text file (never over one that is there), rename, move and copy through a
folder picker that is walked rather than typed into, delete to the trash,
a long press to choose and a bar that moves, copies, downloads, shares or
deletes all that is chosen through /files/batch -- which answers path by
path, and what it refused is said in its own sentences. The trash: list,
restore, remove for good, empty. A file's versions: list, restore.

Leaving the instance: a download goes into a document the person chose
(ACTION_CREATE_DOCUMENT), streamed, several things or a folder as the
server's zip. Open with and Share hand another app a copy in the private
cache through the FileProvider the camera already uses (one more
cache-path, read-only, per grant); the copies go when Files is left, when
the app starts and at sign-out. No permission is added.

The viewer goes by file_kind. Text kinds as before, now editable up to the
server's 1 MB: a save says the sha it opened, a 409 shows the server's
sentence with Reload and Save anyway, and leaving with unsaved text asks.
The text being edited lives in a ViewModel: a megabyte does not fit a saved
instance state. A picture is copied to the cache, decoded with its edge and
pixel count capped whatever the file claims, and zooms and pans. A PDF is
drawn page by page by the platform's PdfRenderer from a cache copy. Sound
and video are played by the platform's MediaPlayer through a
MediaDataSource that asks the app's own HTTP client for each piece with a
Range request: the token stays in the Authorization header and the player
is never given an address, so no player library is added. CSV and TSV are a
grid with a row and column cap; a notebook is its cells' text, outputs as
plain text only. Archives, 3D models and binaries are their details with
Download, Open with and Share. An SVG is its source: the app has no WebView
and draws nothing a file could script. Nothing is rendered as HTML.

The share sheet has a third place to send to: Save to Files, into a folder
chosen with the same picker; shared text is kept as a note.

Strings: 61 new keys, 49 worded as the server's explorer words them and
translated from its catalogues at the pinned commit, 12 the app's own in
all eight languages.

An instance without these routes still lists and shows text; what it
cannot do says so.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:24:39 +00:00
HomerandClaude Fable 5.2 8e84f0d53d Dictation and Read aloud say which chat they are for
CI / check (push) Canceled after 0s
The instance may give a connection speech models of its own, used for the
chats whose model is on it. A transcription and a speech request now carry
chat_id for a chat that exists, else chat_model with the model a new chat
(or the assistant's next one) starts on; another app's dictation names
neither and stays on the default. A server before this reads only the
fields it knows.

When the answer says the default answered for the chat's own
(X-Lembas-Fallback), the chat screen says so once per kind, with the
server's sentence. The assistant's sheet does not: it may be over the lock.
No request was added on a locked path.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:04:31 +00:00
HomerandClaude Fable 5.2 1d3154cefa Review: a save says only what changed, the picker and the @ list are bounded, followers survive a finger
CI / check (push) Canceled after 0s
- Schedule form: `runs_on`, `model` and the watched command are sent only
  where they differ from what was read (whereToSend, modelToSend,
  watchToSend). The type is not choosable until an edited schedule was
  read. A Chat schedule's model is shown when it is made Agentic. Modes by
  the computer's `max_mode`. The Agentic form has the watched command and
  its timeout; Agentic to Chat takes the command off and says so.
- Picker: each path once and at most 500 entries, the device's words cut
  and ellipsised, Back closes after a question that got no listing, what
  was typed while the device answered stays, a listing's own sentence shown.
- @: at most 50 entries; a device path with control characters or over 512
  characters is not offered; asked again when the computer or folder
  changes; attaching no longer ends another upload's "uploading".
- Followers: a scroll a finger interrupts no longer ends the collector
  (yielding), and nothing is scrolled while a scroll is under way. Only a
  message this app sent counts as Sent.
- /events: one shared connection for the drawer and the Scheduled list
  (EventsHub); a route that closes without a frame backs off; a slow list
  read no longer overwrites a newer `reports` count.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 01:04:24 +00:00
HomerandClaude Fable 5.2 979a504600 A folder picker for a linked computer, the folder's usual model, Chat and Agentic schedules, @ in the composer
CI / check (push) Canceled after 0s
Contract and strings pinned at the server's dev (a6288a2); the release re-pins at its tag.

- DirectoryPicker: GET /devices/{id}/directories walked down and up, a
  refused directory not choosable, the model last used beside a folder, the
  typed path kept where the device lists nothing (PickerState, took, up).
  Used by a new agent chat and by the schedule form.
- A new agent chat shows `start.model` for its device and folder, read again
  when either changes; a picked model wins; `model` is sent only when picked.
- The schedule form asks the type first: Chat, or Agentic with computer,
  folder, mode, approval wait and model (empty: the folder's usual model).
  A save says `runs_on` only for what the form knows (whereToSend). The
  task page shows type and model; a run its `ran_on` and `model.reason`.
- `@word` at the end of the composer's text: the server's mentions attach,
  an agent chat's device files complete as `@path`.
- Models: `interactive_only`, a device's `scheduled`, `max_mode`,
  `directory_model`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 00:38:23 +00:00
HomerandClaude Fable 5.2 6540d160df Locked means nothing to the instance; the lock is followed; no question by intent
CI / check (push) Canceled after 0s
Review M1, M2, M3, S1, S4, S5, S6 and the notes.

M1. While the phone is locked nothing goes to the instance from the sheet.
The controller asks the keyguard itself: ask() holds instead of asking,
the recording is not written down while it runs, and a question heard with
the instance's speech-to-text waits on the phone as a recording ("Question
heard", no words) to be written down and asked on unlock. me() and models()
wait for the unlock too; the microphone opens without them.

M2. The screen going off stops the microphone and the voice whatever the
lock says, and takes the conversation out of the last frame; found locked
(then, or on the way back) the controller drops the listening, stops
following the answer and ends the conversation. No answer is read aloud and
no conversation goes on over the lock. The screen stays on while speaking.

M3. AssistActivity is exported and believed its extras. A handed-over
question now waits in process memory (AssistHandOff) and the intent carries
a one-time ticket; ACTION_LISTEN, ACTION_CONTINUE, EXTRA_LISTEN, EXTRA_WAKE
and the ticket count only on an intent with the app's own mark (OwnIntents:
a random value kept in private storage, carried by the widget's and the
shortcuts' intents). Android's VOICE_COMMAND actions stay public.

S1 Recorder.stopNow() for close(). S4 the activity handles configuration
changes itself, take() runs once, a held question is saved. S5 a typed
question replaces the held one before the unlock is asked for, so one is
asked once. S6 the recogniser's "speech began" and loud level reach the
watch. Notes: no failure text over the lock, Share checks the model still
exists, USER_PRESENT re-reads the keyguard.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 15:42:04 +00:00
HomerandClaude Fable 5.2 cdb6a35371 Settings: the wake word and the hands-free assistant are marked Experimental
CI / check (push) Canceled after 0s
An "Experimental" label on the Wake word group and on the assistant's
"Start listening when the assistant opens" and "Keep a spoken conversation
going", each with one plain line about what may go wrong. The same in the
changelog and the README.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:31:25 +00:00
HomerandClaude Fable 5.2 5e45293462 Wake word with the screen off: the sheet stays over the lock screen and listens
CI / check (push) Canceled after 0s
A phone whose screen is off is locked. AssistActivity.take() sent every
locked opening through requestDismissKeyguard and finished the activity on
onDismissCancelled / onDismissError -- which is Android's answer when nobody
unlocks. So the wake word lit the screen, showed the sheet, and closed it.

lockedStart() decides now: a way in that means to speak (the wake word, a
headset's button) stays and listens; what is heard is held in the state
(waiting), shown as the person's own question with "Unlock to send", and
Android is asked to unlock at once. Not unlocking leaves the sheet as it is.
The question is asked on unlock (the dismiss callback or USER_PRESENT). The
other locked openings ask to unlock first, as before.

Nothing from the account over the lock screen still holds, and a little more
than before: turns that were on the sheet when the phone locked are not
drawn while it is locked (onStart reads the keyguard again), and a sheet
over the lock screen goes when the screen goes off. The screen is kept on
while it listens or works.

The session (screen on, locked) listens over the lock screen as well and
hands what it heard to the activity.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:30:41 +00:00
HomerandClaude Fable 5.2 7ca44ef5e2 Settings: the assistant's model, and it holds for every new chat
CI / check (push) Canceled after 0s
Settings › Assistant › Assistant model: "Instance default" or one of the
instance's models, saved as the existing assistantModel preference.

The controller keeps the model for new chats apart from the model of the
chat the sheet is in: New chat after "Continue the last chat" goes back to
it, a change in Settings reaches a sheet that is still alive, and a question
asked before the model list was read waits for it (and falls back to the
saved choice, not to the instance's default, when the list cannot be read).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:17:27 +00:00
HomerandClaude Fable 5.2 af290cd7d5 Review: a report's conversation, ids from outside, the form's notify, the drawer, the channels
CI / check (push) Canceled after 0s
Contract at server dev 40813d1 (84 files): a chat's `controls` and `report`,
a text step's `pages` and `text`, a report's `schedule_title`.

- B1 (must): a `user` row the server wrote (`machine`) is never the person's
  bubble -- a quiet note; in a report's conversation the first such line is
  left out. A report chat's bar takes its title from the chat's own `report`
  (so it survives the app being closed), and its menu offers only what
  `controls` allows.
- A1: ids from a push payload or an intent extra pass `safeId`
  (^[A-Za-z0-9_-]{1,64}$) before they become a route: chat, schedule, run,
  report.
- C1-C3: an empty "When..." is sent empty (the server's default) and the
  field shows the default as a placeholder; editing sends `notify` only once
  the schedule was read or the person chose, and a failed read says so and
  disables Save.
- B2: Reports is in the drawer only where the instance has the route.
- A text step with pages is drawn from the server's `text`; a report from
  its `text`. A fence with a space before `html-view` is a code block, as
  the spec has it.
- A push of a kind the app does not know shows nothing. An important report
  uses a channel of high importance. A report read or deleted in the app
  cancels its notification.
- stop() and compact() post an empty body again: a search-and-replace in
  adc1c4f had changed them to "{}" by mistake.

One commit: the model, the screens and the push share these files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 11:38:14 +00:00
HomerandClaude Fable 5.2 24669b7cd6 Wake word: the wake runs outside the loop it pauses; what Android says is recorded
CI / check (push) Canceled after 0s
Review W1 (must): wake() was a suspend function run inside the hearing job,
and its own first step -- holding the microphone for the sheet -- paused the
listener, which cancelled that job: no wait for the sheet, no fallback, and
no "Last wake" record for a real wake.

- WakeListener hands `heard` to the scope beside the listening, so a pause
  never cancels the answer (test: a suspending heard that pauses the plan).
  The service runs the wake on the app's own scope, one at a time, holds the
  microphone for the whole attempt, and writes the record NonCancellable.
- WakeOpener holds the order of what is tried, apart from Android, with
  tests: wait up to 1 s for the connection when Android says the service is
  active; "opened" only once a sheet says it is up; a session that was not
  refused gets a second wait before anything else is shown (W3: never two
  sheets -- and the session closes a sheet the wake word opened in its
  place); the activity counts only where Android will start it.
- The record gains isActiveService, FEATURE_VOICE_RECOGNIZERS, screen,
  keyguard, app visible, ms until the sheet, the service's onCreate and
  onDestroy times, onPrepareToShowSession / onShowSessionFailed (API 34+),
  and whether the connection was waited for. Settings says when the role is
  held but Android does not use LLeMbas as its voice assistant.
- AssistLink.shutdown is guarded by instance. W2: a session counts as up
  once per show; the activity from onStart to onStop. W4: the activity says
  it is up from onStart and onNewIntent, and turns the screen on there too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 11:32:31 +00:00
HomerandClaude Fable 5.2 80ba7f70b9 Wake word: what it tried and how it went is kept and shown; the screen comes on
CI / check (push) Canceled after 0s
The phrase was heard, LLeMbas was the assistant, and still only "Heard you.
Tap to ask." came: wake() reached the notification when the assistant
service was not connected or showSession threw, and kept neither reason.

- WakeAttempt: when, the phrase, the way tried (wakeWay: session, the
  sheet's activity through the assistant service when the screen is off,
  the activity while the app is on screen, a notification), the outcome
  (opened / not connected / refused with the exception / no sheet came),
  the fallback, whether the role was held, and when Android last connected
  and disconnected the service in this process. The last five live in the
  settings, are logged under LLeMbasWake, and are shown as "Last wake".
  An attempt that found the service not connected is told when a later
  onReady arrives.
- "Opened" is counted only once a sheet says it is up (AssistLink.shown,
  2.5 s); otherwise the fallback follows.
- Settings says when LLeMbas holds the role but the service is not
  connected, with the way to the system's assistant setting.
- The sheet opened by the wake word turns the screen on: setTurnScreenOn on
  the activity; with the screen off and the service connected the activity
  is started through the service instead of a session, whose window wakes
  nothing.
- The fallback notification says "Could not open by itself -- tap to ask"
  when LLeMbas is the assistant.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 10:30:02 +00:00
HomerandClaude Fable 5.2 adc1c4fe3e Reports, "notify when", report notifications, and a page as a card (spec 3.8.0)
CI / check (push) Canceled after 0s
Built against the provisional /api/v2 shapes of the round's brief; the
server's fixtures are pinned when its reports routes are on its dev.

- Reports in the drawer with an unread badge; routes reports and
  report/{id}. The list: unread first, title, the schedule's name, when,
  importance marked; pull to refresh; swipe to mark read or to delete (asks
  once). A report reads as a page (Markdown as the chat draws it) and is
  marked read on open; Share hands over its text; Reply asks the server for
  the report's chat and opens the ordinary chat screen entered from the
  report: "Report: <title>" in the bar, Back to the report, never added to
  the chats list.
- Scheduled: "Notify when" on the form -- Every run / When... (the default
  prefilled) / Never, each with its line; sent as notify and notify_when. A
  run shows its note and a row to its report; the run's chat stays openable.
- Push kind `report`: a Reports channel; unlocked the title and summary,
  on the lock screen only the app's name and "New report"; tap and Open go
  to the report, Mark read needs the phone unlocked. `schedule` and
  `schedule_failed` from an older server are handled as before.
- A page in an answer (an html-view fence, the server's "[page: Title]"
  line, or a `page` step) is one quiet card; no web view, never the source,
  in a chat and in a report. Copy and Share take the one-line projection.
- An id that may come as a string or as an object (a report's chat, a run's
  report) is read either way.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 09:38:58 +00:00
HomerandClaude Fable 5.2 5fcc158763 Wake word, from the review: a heard word always shows, holds end, stop and retry
CI / check (push) Canceled after 0s
1. Heard, but not the assistant and not on screen: Android blocks the
   activity start silently and runCatching called it a success, so nothing
   opened and nothing was posted. The opening is decided from what Android
   allows (wakeOpening: session, activity while an activity of the app is
   started, else a notification); "Heard you. Tap to ask." goes on a channel
   of its own (high importance, fixed words, times out after a minute) and
   the sheet cancels it. Settings says that only the digital assistant app
   opens by voice over other apps, with a row to that system setting.
2. The hold after the word is apart from the sheets' count and ends on a
   process scope in a finally; a starting service clears it.
3. A tap on the state in Settings retries now (WakeStatus.retryNow ->
   WakeListener.retryNow) and restarts the back-off; thirty seconds of
   samples taken in also resets the count of failures.
4. State writes carry the instance's token (WakeStatus.begin): an older
   instance's last "off" no longer overwrites a newer one. Engine.create is
   synchronized and writes the keywords to a file of its own.
5. numTrailingBlanks = 1 means more than one blank frame after the phrase
   (about 80 ms): the comment is corrected, and Settings and the test row
   say to pause after the phrase.
6. Stop no longer calls stopService or stopSelf() under a possible pending
   foreground start: the setting goes off and the loop ends the service with
   stopSelf(lastStartId); a start that arrives after the loop ended begins
   it again.
7. The "tap to listen again" notification is cancelled when the service
   starts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:39:34 +00:00
HomerandClaude Fable 5.2 a30075c8f3 Display per harness spec 3.7.0: the end line, durations, locale numbers, the cards' actions
CI / check (push) Canceled after 0s
- A reply that was stopped or failed keeps the progress text at its end
  (display.md section 4): "Stopped: by you", "Failed: ...". message.stopped
  was never drawn, and a failure showed the raw error. The reason comes from
  the stream's last status frame and stays with the finished row; a stored
  row gives "Stopped" or "Failed: <first line of its error>".
- A finished tool call shows its duration (0.4s, 1m 05s, 2h 03m) from the
  call's `ms`, where the server sends it; none while running or when denied.
- Counts in the progress line are in the phone's locale format (Locale.ROOT
  is the spec's plain format, which the conformance cases use); a cut `what`
  ends in an ellipsis, counted in code points; the clock is joined with the
  shared progress_line separator.
- Approval card: Allow once / Always allow / Deny / Deny, and say why. Plan
  card: Approve, continue in Edit / in Manual, and Revise.
- fetch-contract.py pins the spec's display.json as harness_display.json
  once the server's copy of the spec has it; DisplayTest then runs its
  duration and end cases.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:03:04 +00:00
HomerandClaude Fable 5.2 f2a2acf996 Three APKs: the notification listener leaves the standard builds; releases drop x86_64
CI / check (push) Canceled after 0s
Google Play Protect blocked installing beta.7, most likely for the
notification listener (notification summaries).

- A second flavour dimension, `reading`: `standard` declares no listener and
  no permission of it; `notifications` is the full build plus the listener,
  with the same application id and key. Variants: fullStandard,
  fullNotifications, fdroidStandard (no F-Droid build with the listener).
  The listener class and its manifest entry live in src/notifications only.
- Settings in a standard build says where notification summaries went and
  why. The self-updater installs only its own kind: a notifications build
  takes latest.json's optional `notifications {url, sha256}` or nothing.
- Release builds carry arm64-v8a and armeabi-v7a only; debug keeps x86_64
  for the emulator. The engine's unused C and C++ API libraries are left out.
- scripts/check-apk.sh checks the built files (listener only where it may
  be, model stored, no x86 in a release); CI runs it on the three debug APKs
  and on an unsigned release build, release.yml on what it publishes.
- release.yml publishes llembas-android-<version>.apk, -notifications.apk
  and -fdroid.apk with SHA256SUMS.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:58:07 +00:00
HomerandClaude Fable 5.2 e1d99f3f0a Settings: "Test the wake word" -- ten seconds of live state and "Heard it"
CI / check (push) Canceled after 0s
A heard phrase during the test is counted instead of opening the assistant.
The test is a deadline in WakeStatus, not a switch, so one that nobody ends
cannot leave the wake word deaf. Screenshot tests: the wake word's rows
(listening, failed with its reason, tested) and the greeting, name and
sensitivity sheets.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:52:03 +00:00
HomerandClaude Fable 5.2 3046ad154a Wake phrases the model can hear: greeting x name, generated pieces, sensitivity
CI / check (push) Canceled after 0s
"Hey Lembas" could not work well: Lembas is not a word the model knows.

- The phrase is a greeting (Hey, OK, Hello) and a name (Assistant, Computer,
  Google, and ten ordinary names); the default is Hey Assistant and an old
  saved id reads as it.
- Token pieces are generated, not hand-written: fetch-wakeword.py also takes
  the model's bpe.model from the same pinned archive, gen-wake-phrases.py
  encodes every word with it into wake/WakeWords.kt, CI checks the committed
  table against the tokenizer, and WakeWordsTest checks every piece against
  tokens.txt. "OK" is spelled as the model's speech wrote it, OKAY.
  Elizabeth and Benjamin are dropped (four or more single-letter pieces).
- Each keyword line carries a boosting score and a trigger threshold
  (sherpa-onnx's ":boost #threshold"), chosen by a Sensitivity setting:
  Low 1.0/0.35, Normal 1.5/0.25, High 2.0/0.15; short phrases 0.05 stricter.
  numTrailingBlanks is the engine's own 1.
- Settings says the phrase is English whatever the app's language is, and
  that a Google device nearby answers to Google too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:49:47 +00:00
HomerandClaude Fable 5.2 374574b9ce Wake word: the engine loads, and its state is one truth that is shown
CI / check (push) Canceled after 0s
The model was read from the APK with AssetManager.openFd, which throws for a
compressed asset; the assets were compressed, runCatching swallowed it, and
the engine never loaded on any phone.

- The model is copied out by stream, keyed by a version file the fetch
  script writes (a hash of the pinned model); onnx assets are stored.
- WakeState (Off, Starting, Listening, Paused, Failed) in one StateFlow that
  the service, its notification and Settings read. onStartCommand no longer
  posts the default phrase; the notification is written from the state only.
- WakeListener holds the loop apart from Android: an engine that does not
  load and a microphone that does not start or stops are Failed states with
  a reason, logged, retried with back-off; a new phrase cancels and joins the
  old loop before the engine is released.
- A keywords line is checked against tokens.txt before the engine sees it
  (the engine exits the process on an unknown piece).
- The service is not started without the microphone permission, and the app
  looks again each time it comes to the screen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:44:49 +00:00
HomerandClaude Opus 5.5 f816919071 Phone actions: the confirm card and the capability (harness spec 3.6.0, server e463621)
CI / check (push) Canceled after 0s
- Contract and strings pinned at server dev e463621 (event_ask_phone.json); tokens unchanged.
- Every message declares client ["phone_actions"] (POST /chats and /chats/{id}/messages).
- CardItem.phone; a phone_action card (chat card sheet, and inline in the assistant's sheet):
  the model's summary, how it will be done, its facts, the map app to use when Settings leaves
  it open, Google Maps' limits said; Cancel answers declined, Do it runs ActionRunner and
  answers {result: {status, message}} -- done or failed with why. Locked: "unlock first".
- Executor on the spec's fields: alarm time HH:MM/days/label, timer, calendar_event
  (start/end local, notes), sms_draft (numbers only; names left to the person), email_draft
  with cc, dial, open_app by name, open_url, media command, torch on, settings_panel,
  automation_intent (Tasker's ACTION_TASK by name with values as local variables, else
  LLeMbas's own AUTOMATION broadcast), navigate (replace_route -> OsmAnd force), add_stop,
  search_nearby (near), stop_navigation. Tool-result reasons in English, for the model.
- Tests: PhoneActionsTest reads the fixture; shots 35-38 phone cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:51:32 +00:00
HomerandClaude Opus 5.5 9906554d09 Phone actions, groundwork: the executor and its settings, before the server's phone_action
CI / check (push) Canceled after 0s
- actions/PhoneActions: standard intents for alarm, timer, calendar insert, SMS and email
  drafts, dial (the dialler, never a call), open URL (http/https only), open app (package or
  launcher label), settings panels, automation broadcasts (never android.* / com.android.*);
  torch via CameraManager; media keys via AudioManager.
- actions/Navigation: Google Maps (google.navigation:, the dir URL with waypoints, geo:0,0?q=;
  no adding to a running route, no stop) and OsmAnd through its intent API only
  (osmand.api:// navigate, navigate_gpx with route points as GPX data, navigate_search,
  stop_navigation; no OsmAnd code, which is GPLv3). add_stop re-plans here -> stop -> destination.
- Optional OsmAnd get_info (Settings switch, after allowing LLeMbas inside OsmAnd): position and
  the running route's destination, through a see-through ResultActivity.
- Settings › Navigation app: whichever is installed (both: ask), Google Maps, OsmAnd, ask.
- Not wired yet: the confirm card and the capability wait for the server's spec 3.6.0 fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:39:11 +00:00
HomerandClaude Opus 5.5 9ca27cee01 Notification summaries on request: NotificationListenerService, off by default
CI / check (push) Canceled after 0s
- LembasNotificationListener keeps nothing; NotificationReader.read takes the notifications up
  now (not ours, not ongoing, not group summaries; newest 40, 600 chars each, 12k in all) and
  returns nothing while the phone is locked.
- The assistant sends them with one question: its "Summarise my notifications" chip, or a
  question naming them (assist_notifications_phrases, per language).
- Settings › Assistant › Notification summaries: the app's switch (off) and, when on, Android's
  notification-access page with whether it is given; a privacy paragraph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:29:14 +00:00
HomerandClaude Opus 5.5 dc642c62b9 Opt-in wake word: on-device keyword spotting in a microphone foreground service
CI / check (push) Canceled after 0s
- Engine: sherpa-onnx 2.0.1 keyword spotter (Apache-2.0) with the English
  zipformer-gigaspeech-3.3M KWS model (Apache-2.0, int8), fetched hash-pinned by
  scripts/fetch-wakeword.py into app/libs and src/full/assets (gitignored); CI and release run it.
  `full` flavour only (abiFilters arm64-v8a, armeabi-v7a, x86_64); `fdroid` has a stub engine
  and Settings says why. ProGuard keeps com.k2fsa.sherpa.onnx (JNI reads fields by name).
- WakeWordService (foregroundServiceType microphone): persistent notification with Stop; audio
  only to the engine in memory; pauses while the sheet is up (AssistPresence), in battery saver,
  and with the screen off unless Settings says otherwise. On the word: the sheet opens listening
  through LembasAssistService.showSession when LLeMbas is the assistant, else the activity,
  else a "tap to ask" notification.
- No microphone service at boot: WakeBootReceiver posts "tap to listen again"; MainActivity
  restarts a service the phone stopped.
- Settings › Assistant › Wake word: switch (off), four built-in English phrases (BPE-tokenized
  with the model's bpe.model), screen-on only, battery-optimisation page; privacy and cost text.
- The sheet's "no wake word" line now points at the setting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:27:51 +00:00
HomerandClaude Opus 5.5 9976186599 Spoken conversation mode: listen again after each spoken answer until stopped
CI / check (push) Canceled after 0s
- A spoken question answered aloud opens a conversation (Settings › Assistant, on by default,
  needs voice replies); after the answer is heard to the end, the sheet listens again.
- Ends on a stop phrase (assist_stop_words, per language; isStopPhrase), End, typing, a stopped
  voice, a card waiting, or nothing said (the existing silence timeout).
- "In conversation" banner with End in the sheet's foot; shot 24-assistant-conversation.
- HeadsetRoute: a Bluetooth headset made the communication device (Android 12+) and its
  microphone preferred by the recorder, so the conversation can stay in the ear.
- Speaker.playToEnd tells a voice heard to the end from one stopped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:16:15 +00:00
HomerandClaude Opus 5.5 77e1539e8f Assistant entry points: share sheet (new or last chat), widget, shortcuts, headset button
CI / check (push) Canceled after 0s
- Share: a sheet over the sharing app shows what came in, takes an optional request, and sends
  to a new chat or the last assistant chat; files uploaded first; a new chat becomes the last.
- Home-screen widget (RemoteViews, nothing from the account): Ask, Speak, last chat.
- Launcher shortcuts published from code (the debug build's package differs): Ask, Speak, Last.
- ACTION_VOICE_COMMAND / VOICE_SEARCH_HANDS_FREE open the sheet listening; locked: unlock first.
- Quick Settings tile: STATE_INACTIVE (never greyed out), TOGGLEABLE_TILE false.
- fetch-tokens.py also writes values{,-night}/tokens.xml for what Compose cannot draw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:05:11 +00:00
HomerandClaude Opus 5.5 ec9049f4ae Schedules on a computer: "Waiting for the computer", and a watched command named as one
CI / check (push) Canceled after 0s
Seen in shot 10-schedule-on-computer: a run waiting for its computer said "Waiting for a
model" (cut off), and a watched command was labelled "Only when this page changes". The chip
now says "Waiting for the computer" when waiting_for is device (8 translations) and ends in an
ellipsis when long; a `command` watch uses the server's "Only when this command's output
changes".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:23:38 +00:00
HomerandClaude Opus 5.5 d0404f1968 Schedules on a computer: which one, its folder and mode, and "not linked now"
CI / check (push) Canceled after 0s
`runs_on` (server 57d06ee): the schedule page says Computer: name · folder · mode; each run
row names the computer, and a run waiting with error class device_away adds "not linked now"
(server's words). The fixtures carry no "does not accept scheduled work" state on /api/v2, so
that one is the run's own error text only. ScheduleContractTest reads schedule_on_device.json;
shot 10-schedule-on-computer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:15:17 +00:00
HomerandClaude Opus 5.5 a5c4fdc128 Contract at server dev e0c2332; the update check asks the instance first (GET /api/v2/apps)
CI / check (push) Canceled after 0s
Re-pinned at e0c2332 (after 2a2b24f /apps, 57d06ee schedules on a computer, e0c2332
force_tool on POST /chats): apps.json, apps_stable.json, schedule_on_device.json; `runs_on`
on schedules (parsed by the rest, not drawn yet); the schedules frame's version hash.

ReleaseCheck: the instance's recommendation first (it knows which release speaks its
/api/v2); a beta only with Include betas; a null android means no offer. A server without the
route, none signed in or none reachable falls back to GitHub's list as before. The About line
says so (8 translations). UpdateCheckTest reads both fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:05:38 +00:00
HomerandClaude Opus 5.5 9b1bf688a1 Drawer search: the chats whose messages hold the words, under the title matches
CI / check (push) Canceled after 0s
GET /api/v2/search?in=chats (server f7f2ff2), 400 ms after typing pauses and from two
characters; the title filter stays local and instant. Hits under "In the messages" with the
snippet as plain text and the server's marks drawn (markedSnippet clamps ranges that do not
fit). A failed search leaves the title filter alone. ContractTest reads search.json;
ChatGroupsTest the marks; shot 05-drawer-search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:04:17 +00:00
HomerandClaude Opus 5.5 d9654dd23c Generate images from the composer; the picture in its own safe composable
CI / check (push) Canceled after 0s
+ › Generate images (when /me services.images) marks the next message, shown as a chip under
the box; it is sent with force_tool image_generate (the server's only forceable tool) on
POST /chats/{id}/messages. The tool event's `image {id, width, height}` is drawn by
GeneratedPicture: fetched only by attachment id from GET /api/v2/attachments/{id} with the
token (no URL is ever followed), at most 24 MB, decoded to a 1600 px edge, its box sized by the
server's width/height before it loads; a tap shows it whole. Markwon stays image-free.

Chosen over /v1/images/generations (models scope, which sign-in already asks): the in-chat tool
keeps the picture in the chat as the web does. A NEW chat cannot force a tool yet (POST /chats
takes no force_tool), so the option shows in an existing chat only -- server follow-up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:54:34 +00:00
HomerandClaude Opus 5.5 87d391c352 Memory screen: list, remember, change and forget over /api/v2/memories
CI / check (push) Canceled after 0s
Drawer › Memory (server f7f2ff2): GET/POST/PATCH/DELETE /memories. Newest first, plain text
(a model may have written it; marked with the Model icon), the data group shown when there is
more than one and offered when remembering a new one. A refusal (the limit, an empty text)
is the server's sentence. Every word from the server's catalogue. ContractTest reads
memories.json and memory.json; shots 28-memory (normal, small phone at 1.5x, empty).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:51:37 +00:00
HomerandClaude Opus 5.5 737105add2 Pinned chats and folders in the drawer: pin, move, new, rename, fold, delete
CI / check (push) Canceled after 0s
The web sidebar's order: Pinned chats (wherever filed), the folders as a tree (folderTree:
position order, a folder whose parent is missing goes to the top), then today / earlier /
agent chats unfiled. PATCH /chats/{id} `pinned` and `folder_id` (server 96240be, f7f2ff2);
POST/PATCH/DELETE /folders. A tap folds a folder through PATCH `collapsed`, so the web folds
the same. Long press: Pin chat / Move to folder / Archive; on a folder Rename / Delete (its
chats stay). Strings from the server's catalogue. ChatGroupsTest, ContractTest (folders.json,
folder.json); the drawer shot now has a pinned chat, nested and collapsed folders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:49:03 +00:00
HomerandClaude Opus 5.5 cd88c3e712 Scheduled-result notifications: first lines, a lock-screen version, Open / Run again
CI / check (push) Canceled after 0s
From the push's `notification` (server fd0a386): the task's name and the result's first lines
in BigTextStyle for an unlocked phone, setPublicVersion with the task's name and Finished /
Failed for the lock screen, and the actions with the server's labels in the owner's language.
Run again calls POST /schedules/{id}/run and needs the phone unlocked
(setAuthenticationRequired); Pause stays as it was. An older server's payload (no
`notification`) keeps the app's fixed sentences. ScheduleContractTest reads
push_schedule.json and push_schedule_failed.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:45:12 +00:00
HomerandClaude Opus 5.5 ad5c6ca12b Contract at server dev 3e6f6da: notifications, monitor mode, pinning, parity routes, queued
CI / check (push) Canceled after 0s
Re-pinned contract/ and the strings at the server's dev 3e6f6da (after f7f2ff2 parity routes,
96240be pinning, 00c209a monitor mode, fd0a386 scheduled-result notifications, a8a3733
progress gaps).

- Message.progress: a queued prompt draws the server's queued line ("2 ahead · 12s").
  loading_model and reading_prompt's tokens were already drawn (Progress.kt).
- Schedule.watch / ScheduleRun.watch: a watching schedule names its address on its page;
  `unchanged` runs are drawn quiet, as Unchanged.
- ScheduleRun.notification parsed (title, body, public, actions, labels) for the push work.
- The schedules frame's version hash moved (ScheduleContractTest).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:41:47 +00:00
HomerandClaude Opus 5.5 cb9ad78ee9 Archived chats: the list, and Restore chat
CI / check (push) Canceled after 0s
GET /api/v2/chats?archived=true a page at a time, from a drawer entry under
Scheduled; a tap opens the chat, Restore chat PATCHes archived=false and
refreshes the drawer. Shots 27-archived (+ small, large type) and -none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:14:25 +00:00
HomerandClaude Opus 5.5 0c77109a73 Update check: the public GitHub releases, daily on start and from Settings › About
CI / check (push) Canceled after 0s
ReleaseCheck reads api.github.com's list of this repository's releases over
plain HTTPS, compares with the installed version (a beta sorts below its
release; -debug is left off), and offers the newest one the person may have:
betas only to a beta install or with Include betas on. On start it runs at
most once a day while Look for new versions is on (default: on in a beta, off
in a release) and announces a version once, in a notification on its own low
channel that opens the release page. Check for an update works in both
builds; the full build's own installer stays for a found release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:11:42 +00:00
HomerandClaude Opus 5.5 fac9a3811a The chat's microphone follows Settings › Voice input, as the assistant does
CI / check (push) Canceled after 0s
usePhoneRecognizer() is the one rule for both: the phone's recogniser when it
was chosen and the phone has one (or the instance has no speech-to-text),
otherwise the instance's. With the phone's, the words go into the box as they
are said. The setting's explanation now names both users.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:08:26 +00:00
HomerandClaude Opus 5.5 a4116b11a8 Contract at server dev 5d7b79c: a new agent chat's Subagents setting
CI / check (push) Canceled after 0s
The server answers /models?kind=agent&device= (e888bc2, models_agent.json)
with `agent_subagents {offered, device_runs}`. A new agent chat reads it
for the device chosen (again when another is chosen) and shows the
Subagents setting exactly when it is offered; when the device's CLI does
not run subagents (`device_runs` false) the server's sentence says so
beside it. An older server says nothing and the setting stays hidden.

Strings at the same ref: every translatable string is translated in all
eight languages -- "Open slots" from the server's catalogue, the row's
"% context" from strings_own.json (the server words it as a sentence),
and `progress_line` (text · elapsed, symbols only) is no longer counted
as translatable.

ContractTest (models_agent.json), ChatStateTest, shot 07-tune-new-agent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:37:43 +00:00
HomerandClaude Opus 5.5 415dc653c3 Contract at server dev 2fd3c03: the tree frame, and a subagent asking
CI / check (push) Canceled after 0s
The server's /api/v2 now carries the 3.4.0 subagents (2fd3c03):
- the stream's `tree` frame {tree} (event_tree.json): LiveReply keeps it,
  ChatState keeps the last one after the reply ends (cleared when another
  chat opens), and the activity sheet draws it as the reduced list. The
  provisional `Activity.tree` is gone -- the tree never came that way.
- an ask item's `subagent {id, name, position}` (event_ask.json card4): the
  approval names it with the page's sentence ("Subagent parser (s1),
  reviews the parser, asks:"), translated from the server's catalogue.
- an agent chat's `subagents.offered` is true where the instance allows
  them (chat_agent.json): the Subagents setting shows for an existing agent
  chat by the chat's own word.

ContractTest: the tree frame, the subagent's card; the agent chat offered.
Screenshot 24-approval-subagent; 26-subagents from the tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:01:22 +00:00
HomerandClaude Opus 5.5 dff3aa67c0 Subagents (spec 3.4.0): the reduced list, coded to subagents.md §12
CI / check (push) Canceled after 0s
Android's share of the tree (§12): a row per agent -- name (id) and
position, the state word (loop.json team.read.states), the progress text
without the clock, context % (floor(used x 100 / window), as team_read
writes it) -- the main agent first, sub-managers' subagents indented under
them, the ended ones after, dimmed, and the open slots. A subagent's row
opens its conversation read-only through the agent route as a member, by
name; the main agent's is the chat.

The server has the tree (services/team.py tree_info, 98f053a) but no
/api/v2 shape for it yet: the app reads it as `tree` in the activity
(`Activity.tree`, null until the server sends it, and then the Tasks
section leaves the team members to the list). To be re-pinned and wired
to the real field when the server's fixture lands.

TreeTest (the §12 example), screenshot 26-subagents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:32:11 +00:00
HomerandClaude Opus 5.5 23e3c5431a Progress (harness spec 3.4.0): one line for what a reply is doing
CI / check (push) Canceled after 0s
The `status` frame carries `progress` {phase, since, ...} beside its
text from spec 3.4.0 (progress.md). The app draws it as
`{{text}} · {{elapsed}}` -- the shared texts as string resources, the
elapsed time ticking each second, `retrying`'s `in` counted down, the
text alone for stopped and failed -- under the reply and in the
assistant's sheet, and falls back to the free `status` text for a server
that does not send it, a phase it does not know, or a required field
missing. Under inspection the clock stands still (65 s), so screenshots
are stable and nothing animates forever.

Coded to the spec while the server's frame is being added. ProgressTest
runs the spec's own conformance cases (conformance/progress.json, copied
from LLeMbas CLI 3.4.0 until the server vendors it) against the English
in res/values; fetch-contract.py pins the server's copy as
contract/harness_progress.json once it is there. gen-strings.py takes
the server's translations of the `{{field}}` texts (its catalogues key
them by the spec's English), numbering the fields and doubling a lone %.
Screenshots: 04-writing with a rate, 04-waiting-for-model at 360 dp and
1.5x type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:05:41 +00:00
HomerandClaude Opus 5.5 490568a980 Contract at server dev 4b28b36: a device approval corrects its detail
CI / check (push) Canceled after 0s
The server's contract moved (2198eda, 94e5243): a device's approval has
the heading "Run a command" in `title` and the command in `detail`, which
is what an `editable` item corrects; it offers no free text and names the
asking subagent in `job`. The agent chat carries its real subagent facts,
and the chats list (`chats_listed.json`, new) says `subagents: null` --
read the chat.

The approval card draws the asker, the heading, "It says:" for the
model's purpose, the command in the box and the server's reason, with the
page's own sentences (from the server's catalogue). `approvalTexts` sends
a box only when its text differs from `detail`; an untouched or cleared
box sends nothing. ContractTest covers both fixtures; a screenshot of the
contract's approval and question cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:53:55 +00:00
HomerandClaude Opus 5.5 21e5de2d73 Assistant: a bottom sheet over the app, microphone first
CI / check (push) Canceled after 0s
Long-press power opened a full-screen window. The assistant is now a sheet
over the current app (see-through window, own dim): half height, drag the
handle up to full, down / Back / a tap outside to close (settle() decides,
unit-tested). Both ways in -- the voice-interaction session and AssistActivity
-- draw the same AssistSheetFrame + AssistSheetContent, the latter from state
alone for the screenshot tests.

- Microphone first: it opens listening (Settings switch), words shown as they
  come. LLeMbas voice input re-transcribes the recording so far every 1.2 s
  and a pause after speech sends it (RMS level + unchanged words; nothing said
  is discarded, never transcribed); the phone's recogniser gives partials
  itself (PhoneRecognizer: on-device, else another app's -- never the default,
  which is LLeMbas's own while it is the assistant; no Google library).
- Model and connection chip: picture, name, instance, online dot; a tap picks
  another model, kept in Prefs.assistantModel.
- Use screen: the AssistStructure text and/or screenshot, sent only with the
  next question after a tap; quick actions Summarise / Translate / Explain.
- Continue the last assistant chat; follow-ups stay in the same chat until
  New chat. Voice reply through the server's TTS (toggle; Read aloud).
- Open in app continues the same chat. A card waiting for an answer says to
  open it in the app.
- Help line: no wake word for a third-party assistant on stock Android.
- Settings: Voice input (LLeMbas = the instance's speech-to-text via the
  server; Phone = the phone's recogniser) with what each does with the
  recording, and "Start listening when the assistant opens".
- The session makes a fresh controller as it hides, so the next invocation's
  screen lands in the controller that shows it.

Screenshots 18-23 (the sheet over a chat), 08-settings at full length.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:19:21 +00:00