Commit Graph
139 Commits
Author SHA1 Message Date
HomerandClaude Fable 5.2 1f596af56d 1.0.0-beta.14: replies that start by themselves, a message that waits; pinned to LLeMbas 2.0.0-beta.18
Release / release (push) Canceled after 0s
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 08:40:03 +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 5d9e367992 Pinned to the server's dev at d67ee97: a waiting message's send and discard
Four new contract files: message_unsure, message_carried, message_sent_now
and message_discarded. Nothing that was there changed. Tokens are read at the
same commit (the colours did not move, only the commit they name).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 07:48:58 +00:00
HomerandClaude Fable 5.2 72657ba157 The import the unknown-arrival line needed
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 17:44:17 +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 a9bdfcc18a What one instance proved about its reply frames says nothing of another
CI / check (push) Canceled after 0s
The drawer's model outlives a switch of instance: whether replies' ends are
said is learned again for the instance now in use.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:13:39 +00:00
HomerandClaude Fable 5.2 5256959a11 A second review: the list merged by id, no reply followed behind a lock that nobody asked for
CI / check (push) Canceled after 0s
What an independent review of the reply frame's work found, each with its test
(SecondReviewTest):

- The drawer's list, read again, is merged by id. Cutting the old list at the
  last row the newest page names dropped every chat between a chat that came
  up from a later page and that page's end. A held chat the page should hold
  and does not is gone on the server, and goes.
- A reply the person did not start from the screen is followed only while the
  app is in front of an unlocked phone (InstanceGate.whileOpen): its stream
  is let go when the gate closes, and one read catches up on the return. The
  person's own reply keeps its stream; what follows any stream -- a broken
  connection opened again, the read after `done` with a `next`, the read after
  a close without `done` -- waits at the gate. The events route is opened only
  at the gate.
- A transcript left open is held to a size, under a person at its end only.
  Kept older pages need no reconciling as the server is (it removes a tail or
  a queued prompt, nothing in the middle); a test pins the rewind.
- A scroll under way that the app did not start is the person's: rows that
  arrive do not move a list being scrolled by a wheel, a key or a screen
  reader, and where it rests decides the following.
- The drawer reads its list by itself only while it is open, not for a reply
  its row already shows as running, after a pause with a longest wait, and
  never cancels a read under way. A `reply` frame with `live` false clears the
  row's running mark and marks it unread without a read; until an instance has
  proven it says the ends, a running row is read again at a bounded rate.
- The line for a reply that was not recorded is not drawn for one that holds
  a plan, nor for the reply being written whatever its row says.
- News of one thing is one read of the chat (Reads): a burst of frames, the
  return to the front and a let-go reply's catch-up.
- Generated media's polls wait at the gate and keep their count across
  returns; the Scheduled list cannot start listening after its screen left.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:08:54 +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 6e08795a5c The contract is pinned to the server's dev at 37a09bb: the events route's reply frame
One new fixture (event_reply.json); no existing fixture changed. The tokens
are read at the same commit: the colours are the same, only the lock and the
generated files' headers name it. The catalogues gained one sentence, which
the next commit uses.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 12:05:45 +00:00
HomerandClaude Fable 5.2 385f2f7f5d 1.0.0-beta.13: pinned to the server's 2.0.0-beta.17
Release / release (push) Canceled after 0s
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 09:15:30 +00:00
HomerandClaude Fable 5.2 eeba64b1c7 An import the chat's model needed
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 07:42:20 +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 e485530e46 The contract is pinned to the server's dev at d726573: generated media, jobs, a new file that must be new
CI / check (push) Canceled after 0s
contract/ from the server's dev head d726573 (104 files; six new: tool_media,
media_job, media_job_done, media_job_failed, media_jobs, file_create_exists;
`capability` on the four lists of models). Strings regenerated from the same
commit: no sentence moved.

The shapes and the calls for them: a tool call's `media` and `media_job`, a
job read and cancelled, bytes by a file's node id or one version of a path,
`create: true` on a save (409 `exists` is FileExists with the server's
sentence), `GET /mcp`, and `capability` -- the lists every model picker and the
assistant's setting are filled from keep only models a chat can be on.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 06:39:47 +00:00
HomerandClaude Fable 5.2 1659a79848 A line within the limit
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:38:06 +00:00
HomerandClaude Fable 5.2 dec2225a9c A notebook's prose is prose on the page; the file copies go when the instance changes
CI / check (push) Canceled after 0s
A markdown cell had the code's box without its padding. A PDF's page line
is read through a derived state, so a scroll redraws it when the page
changes and not at every pixel. Switching to another instance clears the
cached copies of the first one's files, as signing out does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:37:15 +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 6e24f6f370 A test's made-up schedule names its model without a connection
CI / check (push) Canceled after 0s
The pinned schedule now carries model_ref; the test that gives it another
model id gives it no ref, as a server that knows no connection for it would.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:12:42 +00:00
HomerandClaude Fable 5.2 536f71a627 The reply's line imports what names its model
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:05:31 +00:00
HomerandClaude Fable 5.2 ceaf8ea91f The pinned listing has a third entry
CI / check (push) Canceled after 0s
The server's files_listing fixture gained a picture; the test that names
the entries names all three.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:03:32 +00:00
HomerandClaude Fable 5.2 c38582f600 A chat's, a reply's and a schedule's model is the one on its connection: model_ref
CI / check (push) Canceled after 0s
Two connections may serve one model id, and the bare id names only the
first of them. Where the server says model_ref, the chat's title, picture,
level control and the picker's tick are that model's and no other's; a ref
the list does not have is no model, never the first with that id. The line
under a reply and a schedule's and a run's model say the connection where
two share the id. A schedule's form starts from the ref, so it ticks the
right twin and an untouched save still says no model. The assistant's
continued chat takes the chat's ref.

Without a ref (an older server) everything is as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:00:24 +00:00
HomerandClaude Fable 5.2 7d49b8d94b The contract is pinned to the server's dev at 59bebe2
The files routes, model_ref and GET /mcp are not in a server release yet:
contract/ is the server's tests/fixtures/api_v2 at its dev commit 59bebe2,
fetched by scripts/fetch-contract.py as always. The release moves the pin
to its tag. The schedules frame's version, a hash of the list, moved with
the list's new model_ref.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 21:00:24 +00:00
HomerandClaude Fable 5.2 2375affca8 1.0.0-beta.12: contract and tokens pinned from LLeMbas v2.0.0-beta.15
CI / check (push) Canceled after 0s
Release / release (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:54:24 +00:00
HomerandClaude Fable 5.2 df20788d7f A dictation that fails says so, in the instance's own words
CI / check (push) Canceled after 0s
The composer's dictation kept a refused or unreachable transcription to
itself: the field stayed as it was. It is now said as any failure is.

And /v1 refuses in OpenAI's shape (error.message), which the client did
not read: a refusal about speech was "The server answered 502." in the
chat, in Read aloud and in the assistant. Both shapes are read now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:16:55 +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 4b4fe46725 1.0.0-beta.11: contract and tokens pinned from LLeMbas v2.0.0-beta.14
Release / release (push) Canceled after 0s
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 02:23:04 +00:00
HomerandClaude Fable 5.2 8a486b7228 The type's loading mark is not drawn in a screenshot
CI / check (push) Canceled after 0s
An indeterminate progress mark never comes to rest, and the screenshot of
an unread schedule's form waited for it for ever: CI runs 100 and 101 hung
there. The edit-with-notify shot is of a schedule that was read; a new shot
shows one that was not.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 01:45:12 +00:00
HomerandClaude Fable 5.2 f04a670227 The sheet's follower asks whether a scroll is under way, it does not watch it
CI / check (push) Canceled after 0s
Watching it made every scroll to the end start the next one: our own
scroll is a scroll too. CI run 100 hung in the screenshot tests on it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 01:25:24 +00:00
HomerandClaude Fable 5.2 efba3aacf4 A model is named by its ref: twins on two connections are told apart
Contract and strings pinned at the server's dev (6778143); the release re-pins at its tag.

- ModelInfo, SchedulingModel, StartModel and a directory's model carry
  `ref`; `key` (ref, else id) is what is chosen, kept and sent as `model`
  on create, chat update and schedules. `named()` finds a row by ref, else
  the first with that id, so an assistant model saved as an id, a chat's
  `model` and a schedule's still find theirs.
- Pickers show "Name · Connection" where two rows share an id, and key
  their rows by ref.
- An open chat says its model's id only: the ref picked here says which
  twin while the id still fits (ChatState.picked).
- A run's `error.reason` is read.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 01:16:13 +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 c0dd0b5a50 Older once, a closed stream keeps its words, a locked phone's dictation stays on it
CI / check (push) Canceled after 0s
- Older: one read at a time, and a page is put above the transcript only
  while its anchor is still the first row, each row once (withOlder).
- A stream that closes without `done` reads the transcript again; where it
  cannot, the steps the stream had shown stay on the row (closedUnfinished).
- Edit, regenerate, continue and plan/execute declare `client`, as create
  and send do.
- The system recogniser sends nothing to the instance from a locked phone:
  the on-device recogniser where there is one, else ERROR_RECOGNIZER_BUSY;
  a phone that locks mid-recording sends nothing (recogniseWith).
- A thinking chip the person opened stays open when its step closes and at
  `done`: keyed by its place, one call site for the live and finished reply.
- The drawer's Reports badge follows the events route's `reports` frame.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 23:08:46 +00:00
HomerandClaude Fable 5.2 5689994037 The view follows a reply only for a person who is at the end
CI / check (push) Canceled after 0s
The chat went to its end whenever the number of rows changed -- an older
page, the queue's next turn, a transcript read again -- and again after a
rotation, whether or not the person had scrolled away. The assistant's
sheet scrolled to its end at every word. Now one rule, in Follow.kt and
tested: a finger on the list ends the following, where the list comes to
rest says whether it is taken up again, a message sent always shows, an
older page keeps the row the person was at, and the keyboard opening at
the end keeps the end in view.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 09:36:15 +00:00
HomerandClaude Fable 5.2 4344b35a27 1.0.0-beta.10: contract and tokens pinned from LLeMbas v2.0.0-beta.13
Release / release (push) Canceled after 0s
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 16:15:51 +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 a4a5c5dba1 End of speech: digital silence is a pause, a steady voice is not the room
Review S2, S3, S6.

A zero level after sound was skipped as "no microphone yet", so speech into
a headset that gates its noise to exact zeros never counted a pause and ran
to the limit. Once a floor is known a zero tick is quiet.

Listening that began in the middle of a sentence with shallow dips let the
floor creep up to the voice: no speech was ever seen and it gave up as
"nothing said" while the person talked. The floor now rises only in calm
moments (the last half second within half again of itself), a first sound
louder than any room is kept as a guess until a dip or a calm moment shows
the room, and sound that stays above the floor without being steady is
speech. Words count as speech from four ticks above the room, not two.

phoneWatch takes how long ago the recogniser last gave a sign of somebody
speaking: no words is no longer "nothing said" while it reports speech.

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 2f43b94e56 Listening ends by the room's own level, not by two fixed ones
CI / check (push) Canceled after 0s
The sheet's end of speech (instance speech-to-text) was "level >= 0.02 is
speech, level < 0.01 is quiet". A room between the two never counted as a
pause, so once anything had counted as speech it listened to the 120 s limit;
and words the speech-to-text made of silence counted as speech too.

EndOfSpeech follows the noise floor (the quietest of the last two seconds,
down at once, up slowly) and judges speech and pause against it: three loud
ticks in eight begin speech, 1.5 s back near the floor end it, nothing said
gives up after 5 s, words count only when the microphone heard something
above the room, and the limit is 60 s. Tested with level sequences.

The recording is not written down before anything was heard. The phone's
recogniser gets the silence extras and a watch for one that never calls
back; the recognition service ends at the pause instead of always at 15 s.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:13:37 +00:00
HomerandClaude Fable 5.2 472aff6b22 LLeMbas for Android 1.0.0-beta.9: pinned to LLeMbas 2.0.0-beta.12
Release / release (push) Canceled after 0s
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 12:16:45 +00:00
HomerandClaude Fable 5.2 f9cca74af5 Which fence is a page is the server's to say; the build's missing constant
CI / check (push) Canceled after 0s
- A closed step and a report are drawn from the server's text, where a page
  is the one line "[page: Title]" (the card). An `html-view` fence the
  server does not list -- written while pages were not offered -- is the
  code block it is. Only the open step of a reply as it streams takes the
  fence for a page, so that a page being written is not source scrolling by.
- The events' reports frame carries latest_created; a report its pages.
- FEATURE_VOICE_RECOGNIZERS is not in the SDK for apps: the feature is
  asked for by its name (CI run 88 failed to compile on it).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 11:42:48 +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 613eba4154 Contract at server dev ee74edc: the reports routes, pinned
CI / check (push) Canceled after 0s
79 files; the provisional shapes held, with these taken from the fixtures:

- GET /reports carries `unread`, the count the drawer's badge shows
  (ApiClient.unreadReports); GET /reports/{id} answers {report: ...} with
  `text` (the body with each page as its one line), which Share uses.
- A schedule carries `notify_default`, the default condition in the
  account's language: what "When..." starts from and what the task's page
  says while the person wrote none.
- The events' `reports` frame (unread, newest) has its model; nothing
  follows it yet.
- push_schedule.json is gone (a finished run sends a report's push now);
  the test of an older server's payload keeps it written out.
- ReportsContractTest reads reports, report, report_reply, push_report and
  event_reports; ScheduleContractTest follows the new values (notify
  "when", the run's note and report, the frame's version).

Tokens and strings are unchanged at this ref.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 10:10:02 +00:00
HomerandClaude Fable 5.2 ca1ace2987 "Notify when" is offered and sent only where the instance has Reports
CI / check (push) Canceled after 0s
An instance before 2.0.0-beta.12 knows other values for notify and would
refuse the new ones; the form asks for the reports route first.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 09:57:34 +00:00
HomerandClaude Fable 5.2 dcd5adf491 A report's push: its words are in the payload's notification
CI / check (push) Canceled after 0s
The payload's top says only the app's name and "New report"; the title,
the summary and the importance are read from its notification, and from
the top only where there is none.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 09:56:15 +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