Repository navigation
docs(app): inventory today's capture, pendant, conversation and sync telemetry for F1 - #14383
Merged
Merged
Conversation
Map today's Recording/Device/Memory/Upload emits to the four F1 intents so the design turn can reuse join keys instead of inventing toggles. Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
One document, no code: a read-only inventory of what the mobile app and backend actually emit
today for the four intents F1 has to cover — capture start, pendant connect, conversation
created, and sync — and whether each one can already separate transport success from
task success in a single query, which is F1's acceptance criterion.
It was produced by reading the emit sites, not by querying any analytics backend, and it
changes F1 from a discovery problem into a design problem. The short answer per intent:
Recording Started/Completed/Start Failed, joined byrecording_id, which is alsoclient_conversation_idon/v4/listen) — but that is task success, audio flowing. There is no mobile socket event,and keep-alive reconnects, an STT block, a codec refusal and a null socket are all silent.
Device Connectedas pure BLE transport (it fires on everyid-change, including reconnects) and
Recording Startedas the task, with no shared joinkey between them.
Memory Createdas the task numerator; the join to live captureholds except on listen rollover. Its payload reads
getTranscript()for length, word andspeaker counts, which is not the query anyone asks.
upload_attempt_id, butresult=acceptedisan HTTP 202 rather than "processed", and nothing is emitted when the reconciler finally marks
the WAL row
synced.The proposed F1 set is therefore reuse-first: one socket attempt/outcome (or a backend
socket-accept event, not both), a hashed
transport_device_idto join pendant transport topendant task, nothing new at all for conversation created, and a single reconciler terminal for
sync. It also recommends dropping the transcript-derived fields and leaving the phone-mic UI-tap
events out of F1, since they can fire after a failed start.
The document ends with the three places it is most likely wrong, each checkable.
It also records a privacy defect that is live today, which is being fixed in its own PR
rather than here: mobile
Device ConnectedspreadsBtDevice.toJson()— raw id, name andserial — alongside the hashed identity fields.
Product invariants affected
none
How it was verified
Documentation only; no app code, no backend code, no test and no contract file is touched. Every
claim comes from a read of the emit site in this repository. No analytics backend, PostHog
project, warehouse or production host was contacted, and no credential was used; where a
question could only be answered from live data it is written down as a question rather than
answered.
Tests
None. This PR adds no behavior.
Failure class (fixes)
Failure-Class: none
🤖 Generated with Claude Code