Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/PARITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Each lane updates its own rows in the commit that lands the work.
| **Voice** | | |
| Dictation from the mic, desktop: the GPUI `Dictate` chip starts a hub session (`bots.voice` start/stop/view/act), draws the strip, level and fix chips, applies the hub's edits (`screens/voice.rs`, `voice_mic.rs`); the Rust `backplane-voice` helper is built and shipped beside the hub; a whole session through the hub is not yet driven end to end | partial | voice |
| Dictation from the phones: the hub serves `/voice/in` and pipes the phone's audio to the helper; the Rust `backplane-voice` helper is built and shipped beside the hub. iOS: the composer's mic (`voice.start`, 16 kHz s16le in ~200 ms POSTs, `voice.stop`), the strip (status and level, never the words), fix chips, the ask card with its field, `edit`/`draft` applied with the mark rule, `voice-clear` on Send, `voice.view` after a reconnect, Settings → Voice from `voice.page`; driven on a simulator against a hub and the mock OpenAI (a test tone for the microphone, `BACKPLANE_VOICE_FAKE=1`, debug builds only); not yet heard through a real microphone. Android: the same (`DataVoice.kt`, `DataVoiceViews.kt`, `VoiceRecorder.kt`; RECORD_AUDIO asked at the first press, a refusal says so plainly); driven on an emulator against a hub and the mock OpenAI (a 440 Hz test tone when `/data/local/tmp/voice-fake` exists, debug builds only); edit and shift logic (`VoiceText`) checked against `test/fixtures/voice-edits.json`; not yet heard through a real microphone | partial | voice |
| Whole recordings and Pebble ring notes (Nov 10: docs/ring.md): the ring's form is kept with its M4A under `<home>/ring/<id>/`, de-duplicated by the app's `X-Index-Delivery` (a retry is a 2xx), heard one at a time by the engine Settings, Voice picks with the dictionary (local segments with times and confidence), given to the Pebble bot (`ring.setup`: Pebble, its webhook and token, #ring-requests) as the person's words, notes the hub stopped on taken up again after a restart; Settings → Ring lists, searches, plays, hears again (local or OpenAI) and links to where a note went. Hub tests drive token, signature, retry, test event, playback; Android (`DataRing.kt`) and iOS (dedicated `Settings → Ring` page in `DataSettings.swift` / `DataRing.swift`) wire the same `ring.page` / `ring.page.act` list, search, clear, playback, re-transcribe, and thread jump | done | voice |
| Whole recordings and Pebble ring notes (Nov 10: docs/ring.md): the ring's form is kept with its M4A under `<home>/ring/<id>/`, de-duplicated by the app's `X-Index-Delivery` (a retry is a 2xx), heard one at a time by the engine Settings, Voice picks with the dictionary (local segments with times and confidence), given to the Pebble bot (`ring.setup`: Pebble, its webhook and token, #ring-requests) as the person's words, notes the hub stopped on taken up again after a restart; Settings → Ring lists, searches, plays, hears again (local or OpenAI) and links to where a note went. Hub tests drive token, signature, retry, test event, playback; Android (`DataRing.kt`) and iOS (dedicated `Settings → Ring` page in `DataSettings.swift` / `DataRing.swift`) wire the same `ring.page` / `ring.page.act` list, search, clear, playback, re-transcribe, and thread jump. Web: Settings › Ring lists the recordings, finds them by their words, plays one from the page's own origin and hears it again (local or OpenAI), and opens where a note went (feature `ringnotes`: `ring.list` and `ring.hear` allowed to a browser, `/ring/audio/<id>` behind its cookie); the ring's setup, webhook token and Send again stay native. Driven headless against a temp hub with a note delivered through the ring's webhook (`test/web/home.mjs`) | done | voice |
| Voice ops of `bots.voice`: status, key, unkey, add, start, stop, view, act, page, page-act, install, remove, api-add, api-del (`voice/session.rs`) | done | voice |
| Settings: Voice page (engine, model, mic, key, dictionary, learned fixes; `voice/page.rs`, in `PAGES`) | done | voice |
| Personal dictionary, learned words, `voice_dictionary_add`: `voice.e.`/`voice.l.` settings, the correction pass and settle as pure Rust with 0.14's test vectors (`voice/vdict.rs`, `words.rs`), the bot tool writes a `voice.e.` entry | done | voice |
Expand All @@ -50,7 +50,7 @@ Each lane updates its own rows in the commit that lands the work.
| Local engine on macOS and Windows: `local-install` and real-audio decode (`native/voice/tests/local_e2e.rs`; sherpa-onnx's C API symbols there are unchecked) | needs a person or another machine | voice |
| Android pairing through the pairing screen with dictation after it (the rig paired by writing the app's link preference with `run-as`) | needs a person or another machine | voice |
| **Commerce** | | |
| Card and Ready to order data (`fab.look`, `fab.intent`): the answer matches 0.14's twelve keys and adds `lead_days`, `estimate_warnings` from the estimate; the bar itself is dropped (row below). Audit and fixes in `docs/COMMERCE-AUDIT.md`. GPUI, iOS, and Android render `lead_days` and `estimate_warnings` on Order cards and project fab cards. Open: the hub cannot see a paused server (needs a `paused` field from the order server); the deployed server's version and `DEFAULT_SERVER` need Bub | partial | commerce |
| Card and Ready to order data (`fab.look`, `fab.intent`): the answer matches 0.14's twelve keys and adds `lead_days`, `estimate_warnings` from the estimate; the bar itself is dropped (row below). Audit and fixes in `docs/COMMERCE-AUDIT.md`. GPUI, iOS, and Android render `lead_days` and `estimate_warnings` on Order cards and project fab cards. The web client draws them on its Project Home's To order card (`project.home` `leadDays`, `warnings`; the project's card takes them from the card of the thread it buys from). Open: the hub cannot see a paused server (needs a `paused` field from the order server); the deployed server's version and `DEFAULT_SERVER` need Bub | partial | commerce |
| Buy it: `order.buy` starts a buy thread in the source's folder, "Buy: <project> · 2" naming, the person's Buy it as its first message; only for fab files or a KiCad project's own board. Driven live in the window (test/order/live_e2e.sh): Buy it in the header, the window goes to the buy thread | done | commerce |
| Buy threads: `order_ask` (its answer is the person's message), `order_quote` (the upload waits behind its approval card; nothing leaves before the person's Send, and a copy sends nothing), `order_status`, `order.wait`; order tokens only in `<home>/orders/`. Tested on the hub with stand-ins, and once against the real `order/fabsrv` on loopback with a Stripe double (`test/order/local_server.py`), pilot and paid | done | commerce |
| `order_review` check and record work for every agent (`settings/order.rs`; the design hash matches 0.14's, so a review it recorded stays current). The gate is in, tested through the agent's MCP path with stand-ins, but needs a buy thread to be reached: not driven on a client | partial | commerce |
Expand Down Expand Up @@ -181,7 +181,7 @@ Driven in one thread with the stand-in's `stream` mode (`tools:`, `todos:`, `age

| # | Row | Status | What was driven |
|---|---|---|---|
| 98 | Project home (goal, intent, parts, boards) | partial | GPUI: clicking the project opens its home, which asks the hub `project.home {project}` and `fab.look {project}` (the card by project, with no estimate asked). Driven with `.backplane/intent.md` and `board.fab.json`: the home showed Goal & notes (goal, parts and notes as written), To order (LED board · pcb · board.fab.json), Boards (board.kicad_pcb), New thread and the threads. It has no Ready to order bar, Buy it or price, on purpose (row 56: Buy it is a thread's tool). Not ported from 0.14's web home: the embedded board viewer, the DRC/ERC chips, the README panel and the intent editor. Phones have no project home: **not planned** (the person's decision); a project row only folds its threads. |
| 98 | Project home (goal, intent, parts, boards) | partial | GPUI: clicking the project opens its home, which asks the hub `project.home {project}` and `fab.look {project}` (the card by project, with no estimate asked). Driven with `.backplane/intent.md` and `board.fab.json`: the home showed Goal & notes (goal, parts and notes as written), To order (LED board · pcb · board.fab.json), Boards (board.kicad_pcb), New thread and the threads. It has no Ready to order bar, Buy it or price, on purpose (row 56: Buy it is a thread's tool). Not ported from 0.14's web home: the embedded board viewer, the DRC/ERC chips, the README panel and the intent editor. Phones have no project home: **not planned** (the person's decision); a project row only folds its threads. Web: a project's name in the sidebar opens its home (the chevron beside it folds its threads), from data/1 `project.home` (feature `projecthome`) and `threads.list`: New thread, the threads, Goal & notes, Mechanical, To order with the last estimate's lead time and warnings, Boards (a row opens Board on the project's newest thread). Not on the web home: Open folder, the README, Buy it and Push (ordering and git stay native), Edit goal & notes (`/intent` in a thread's composer does it). Driven headless against a temp hub (`test/web/home.mjs`). |
| 99 | Ready to order bar | dropped | Dropped on purpose (see the Commerce section: Buy it is the first of the thread's tools instead). |
| 100 | Order progress | done | The Order card and its steps, driven live in the window, on the Android emulator and the iOS simulator against the local order server and a Stripe double (6508e65764, 1c1fa2a9f6; `test/order/live_e2e.sh`, `live_android.sh`, `live_ios.sh`). |
| 101 | Manufacturing review | partial | `order_review` check and record work for every agent and the gate is tested through the agent's MCP path; the live buy-thread runs (6508e65764, 1c1fa2a9f6) do not drive a review, so it is not driven on a client. |
Expand Down
2 changes: 2 additions & 0 deletions docs/PHONE-DATA.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ On reconnect the app resubscribes and re-reads lists and the open thread (no res
- Feature `replyImages`: an assistant entry carries `images` (paths, in the message's spelling): the images it names, the desktop's own list (`files/mimg.rs` `paths`: a path on a line, in backticks, a list or bold, `~/`, `![alt](path)`, a folder then its files). The phone draws each under the first block that names it (the rest after the text) and reads it with `message.image {entry, path}` → `{mime, data}` (base64; the snapshot `/message-image` serves, so it works over the relay; at most 8 MiB). A tap on the path opens it full size.
- Feature `fileLinks` (docs/file-links.md): an assistant entry carries `files: [{path, name, size, open}]`, the files its text names that the hub serves. The phones (`FileFetch.kt`/`.swift`, `Downloads.kt`, `DataDownloads.swift`) download a tapped `download` one (and a `view` one link.resolve cannot open) with `GET /file?path=` (`&thread=` for `<link>~<id>`), `Authorization: Bearer <device token>`, into a `.part` file resumed with `Range`/`If-Range`; a `/s/<token>/<name>` share in a message is fetched the same way. Done: Android copies it to Downloads (MediaStore) and offers Open/Share (FileProvider); iOS brings up the share sheet. The Files tab's preview has Download (`/files/get`).
- Feature `projectcard`: `project.card {project}` → `{goal, boards}`: the top of a project's page, its goal (from `.backplane/intent.md`) and its boards by name, from the hub's own `fab.look` card.
- Feature `projecthome`: `project.home {project}` → `{project, root, intent, parts, boards, mech, leadDays, warnings}`: a project's home page as the desktop's opens (the web client draws it when a project's name is pressed): `intent` the goal and notes as written (`.backplane/intent.md`), `parts` what there is to order (`name`, `kind`, `path` of the fab file), `boards` the board files (paths from the project's root, 12 at most), `mech` the models (`path`, `name`, `size`; biggest first: the assembly), and what the last estimate said beyond a price: `leadDays` (the longest lead time in days, 0 for none) and `warnings` (each once). They come from the card of the thread the project buys from (`fab.look`); the home itself never asks the order server. Nothing is priced or bought from it; a browser may read it (`data/webpolicy.rs`).
- Feature `ringnotes`: a paired browser may read the ring's recordings and have one heard again: `ring.list {q?}` and `ring.hear {note, engine}` are allowed to it, and `GET /ring/audio/<id>?k=<key>` answers on the browser's own origin behind its cookie (the key is the one in the note's `play` link; the page's CSP has `media-src 'self'`). `ring.list` also says `busy`: the note being heard now ("" for none). The recording answers a `Range: bytes=a-b` with that part (206), for players that ask in parts. The ring's webhook, token and delivery stay native: `ring.page`, `ring.page.act`, `ring.setup`, `ring.send`, `ring.get` and `ring.search` are refused to a browser.
- Pictures: the agents' `turn.start` keeps `attachments` (a `MessageAttached` event in the same commit) and `agentText`; the message's text carries the `[Attached image: <path>]` lines for the agent and the phone data API strips them from what it shows.
Viewer, files and browser requests are not here: the lanes adding them in `native/host` (viewers, files, cef) define them; the phones will take them as further features.

Expand Down
23 changes: 23 additions & 0 deletions i18n/en.msg
Original file line number Diff line number Diff line change
Expand Up @@ -5075,3 +5075,26 @@ web.settings.providers = AI providers
web.settings.providers.browser = Connect a provider in the Backplane desktop or mobile app under Settings → Accounts.
order.lead.days = {days, plural, one {Est. lead time: 1 day} other {Est. lead time: {days} days}}
order.estimate.warnings = Warning: {warnings}
web.home.open = Open project home
web.home.fold = Hide threads
web.home.unfold = Show threads
web.home.loading = Loading project…
web.home.error = Could not load this project.
web.home.lead = Lead time: {n} days
web.home.lead.one = Lead time: 1 day
web.ring.unavailable = This hub does not show ring notes to a browser yet. Update it, or open Settings › Ring in the desktop app.
web.ring.loading = Loading recordings…
web.ring.error = Could not load recordings.
web.ring.count = {n} recordings
web.ring.count.one = 1 recording
web.ring.found = {found} of {total} have “{q}”.
web.ring.not.heard = Not heard
web.ring.app.words = The Pebble app's words
web.ring.heard.by = Heard by {model}
web.ring.heard.by.sure = Heard by {model}, {conf}% sure
web.ring.state.sent = given to Pebble
web.ring.state.new = waiting to be heard
web.ring.state.heard = waiting to go to Pebble
web.ring.state.failed = not given to Pebble
web.ring.state.busy = being heard now
web.ring.no.words = (no words)
23 changes: 23 additions & 0 deletions i18n/es.msg
Original file line number Diff line number Diff line change
Expand Up @@ -5075,3 +5075,26 @@ web.settings.providers = Proveedores de IA
web.settings.providers.browser = Conecta un proveedor en la aplicación de escritorio o móvil de Backplane en Configuración → Cuentas.
order.lead.days = {days, plural, one {Plazo estimado: 1 día} other {Plazo estimado: {days} días}}
order.estimate.warnings = Aviso: {warnings}
web.home.open = Abrir la página del proyecto
web.home.fold = Ocultar hilos
web.home.unfold = Mostrar hilos
web.home.loading = Cargando el proyecto…
web.home.error = No se pudo cargar este proyecto.
web.home.lead = Plazo de entrega: {n} días
web.home.lead.one = Plazo de entrega: 1 día
web.ring.unavailable = Este hub aún no muestra las notas del anillo en un navegador. Actualízalo o abre Configuración › Anillo en la aplicación de escritorio.
web.ring.loading = Cargando grabaciones…
web.ring.error = No se pudieron cargar las grabaciones.
web.ring.count = {n} grabaciones
web.ring.count.one = 1 grabación
web.ring.found = {found} de {total} contienen “{q}”.
web.ring.not.heard = Sin transcribir
web.ring.app.words = Las palabras de la aplicación Pebble
web.ring.heard.by = Transcrito por {model}
web.ring.heard.by.sure = Transcrito por {model}, {conf}% de certeza
web.ring.state.sent = entregada a Pebble
web.ring.state.new = en espera de transcripción
web.ring.state.heard = en espera de entrega a Pebble
web.ring.state.failed = no entregada a Pebble
web.ring.state.busy = transcribiéndose ahora
web.ring.no.words = (sin palabras)
23 changes: 23 additions & 0 deletions i18n/ja.msg
Original file line number Diff line number Diff line change
Expand Up @@ -5098,3 +5098,26 @@ web.settings.providers = AI プロバイダー
web.settings.providers.browser = Backplane のデスクトップまたはモバイルアプリの設定 → アカウントからプロバイダーを接続してください。
order.lead.days = {days, plural, one {目安納期: 1日} other {目安納期: {days}日}}
order.estimate.warnings = 警告: {warnings}
web.home.open = プロジェクトホームを開く
web.home.fold = スレッドを隠す
web.home.unfold = スレッドを表示
web.home.loading = プロジェクトを読み込み中…
web.home.error = このプロジェクトを読み込めませんでした。
web.home.lead = リードタイム: {n} 日
web.home.lead.one = リードタイム: 1 日
web.ring.unavailable = このハブはまだブラウザーにリングのメモを表示しません。ハブを更新するか、デスクトップアプリの設定 › リングを開いてください。
web.ring.loading = 録音を読み込み中…
web.ring.error = 録音を読み込めませんでした。
web.ring.count = 録音 {n} 件
web.ring.count.one = 録音 1 件
web.ring.found = {total} 件中 {found} 件に「{q}」があります。
web.ring.not.heard = 未認識
web.ring.app.words = Pebble アプリの文字起こし
web.ring.heard.by = {model} が認識
web.ring.heard.by.sure = {model} が認識、確度 {conf}%
web.ring.state.sent = Pebble に渡しました
web.ring.state.new = 認識待ち
web.ring.state.heard = Pebble への受け渡し待ち
web.ring.state.failed = Pebble に渡せませんでした
web.ring.state.busy = 認識中
web.ring.no.words = (言葉なし)
Loading
Loading