Skip to content

fix(app): stop third-party pairing notes claiming firmware compatibility Omi cannot check - #22107

Merged
kodjima33 merged 3 commits into
BasedHardware:mainfrom
aryanorastar:fix/app-plaud-firmware-warning-copy
Oct 18, 2026
Merged

kodjima33 merged 3 commits into
BasedHardware:mainfrom
aryanorastar:fix/app-plaud-firmware-warning-copy

Conversation

@aryanorastar

@aryanorastar aryanorastar commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Pairing a PLAUD device shows a "Compatibility Note" (BtDevice.getFirmwareWarningMessage, shown once from found_devices.dart). For every PLAUD unit it said:

Your PLAUD's current firmware works great with Omi.

Omi cannot know that. _getDeviceInfoFromPlaud keeps a 1.0.0 placeholder whenever the NotePin answers no Device Information request, and the PLAUD connector has no firmware read of its own. A Discord user's NotePin on PLAUD firmware 2.2 paired, got this reassurance (with Omi showing firmware "1.0"), then flashed white and never recorded.

The note now says only what Omi knows:

  • it connects to the device directly over Bluetooth and does not use the PLAUD app;
  • PLAUD app firmware updates can change the device, and newer firmware may stop Omi from recording;
  • a unit that pairs but does not record may be on firmware Omi does not support yet.

Fieldy, Friend and Limitless made the same unconditional claim, also with no firmware check behind it: their device info falls back to the same 1.0.0 placeholder. All four now share one _unverifiedFirmwareNote(vendorApp) naming each vendor's app (PLAUD, Compass, Friend, Limitless). Bee keeps its own note, because it checks a real version cutoff (0.6.1).

Anyone who ticked "Don't show again" on the old note would never see the new wording, so the four reworded types use a v2 acknowledgment key (BtDevice.firmwareWarningAcknowledgedKey, replacing two copies in found_devices.dart). Bee keeps its key.

Testing

  • New test/unit/third_party_firmware_note_test.dart: for each of the four devices, the note no longer contains "works great", says "may not be supported", names the vendor's app, and keeps the "Compatibility Note" title. All 4 pass, and all 4 fail against the old copy. The same test checks that the four reworded types no longer use the old acknowledgment key and that Bee's key is unchanged.
  • flutter analyze on the touched files: only the pre-existing unnecessary_getters_setters info at bt_device.dart:312.

Product invariants affected

none

Failure class (fixes)

Failure-Class: none

UI-Evidence: none -- copy-only change in a pairing dialog that only appears after pairing third-party hardware (PLAUD, Fieldy, Friend, Limitless), which the visual-audit harness cannot pair

🤖 Generated with Claude Code

aryanorastar and others added 2 commits October 18, 2026 11:34
…t check

Pairing a PLAUD showed "Your PLAUD's current firmware works great with Omi"
to every unit. Omi has no PLAUD firmware read: when the device answers no
Device Information request, _getDeviceInfoFromPlaud keeps its 1.0.0
placeholder. A NotePin on PLAUD firmware 2.2 paired, got that reassurance,
then flashed white and never recorded.

The note now says what Omi actually knows: it connects directly over
Bluetooth without the PLAUD app, PLAUD app firmware updates can stop Omi
from recording, and a unit that pairs but does not record may be on
firmware Omi does not support yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… Friend and Limitless

Fieldy, Friend and Limitless pairing notes made the same unconditional
promise as PLAUD's: "Your device's current firmware works great with Omi".
Like PLAUD, none of them has a firmware compatibility check; their device
info falls back to a 1.0.0 placeholder. All four now share one note that
says what Omi knows, naming each vendor's app. Bee keeps its own note,
because it does check a real version cutoff (0.6.1).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aryanorastar aryanorastar changed the title fix(app): stop the PLAUD pairing note claiming compatibility it cannot check fix(app): stop third-party pairing notes claiming firmware compatibility Omi cannot check Oct 18, 2026
@aryanorastar

Copy link
Copy Markdown
Collaborator Author

Pushed 1344017. Fieldy, Friend and Limitless had the same unconditional "current firmware works great with Omi" claim, also with no firmware check behind it (their device info falls back to the same 1.0.0 placeholder). All four devices now share one _unverifiedFirmwareNote(vendorApp) that names each vendor's app: PLAUD, Compass, Friend and Limitless. Bee is unchanged because it checks a real version cutoff. The test is now third_party_firmware_note_test.dart and covers all four: 4/4 pass, and 4/4 fail against main's copy. The title and body are updated.

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution flutter flutter work labels Oct 18, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Verdict: the production change here is correct and nicely scoped - this is exactly the right fix for an unconditional compatibility claim Omi cannot back up, and the code backs the PR description's premise.

Findings, file by file:

  • app/lib/backend/schema/bt_device/bt_device.dart - the new _unverifiedFirmwareNote(vendorApp) (lines 665-670) now backs all four third-party branches (plaud 677, fieldy 690, friendPendant 693, limitless 696). I verified the premise: _getDeviceInfoFromPlaud (522-525) keeps a '1.0.0' placeholder when the device answers no Device Information request, and the connectors do the same (fieldy_connection.dart:169 '??= 1.0.0', friend_pendant_connection.dart:110, limitless_connection.dart:2178, plaud_connection.dart:313) - so the old 'works great' note asserted something no code path could check. Bee keeping its own note is right: isBeeFirmwareUnsupported (626-644) parses a real version cutoff (0.6.1), and the remaining 'works great' at 685 is that checked path.
  • app/test/unit/third_party_firmware_note_test.dart - hermetic, covers all four device types, asserts the note no longer contains 'works great', says 'may not be supported', names the vendor app, and keeps the 'Compatibility Note' title. These assertions fail against the old copy, which is the right shape for a copy fix.
  • app/changelog/unreleased/20261018-plaud-firmware-note.json - fragment present and matches the sibling format in app/changelog/unreleased/.

The display surface is untouched: found_devices.dart _showFirmwareWarningIfNeeded (line 212) still shows the note once per device type with a 'Don't show again' option.

UX: users pairing these devices now get an honest caveat instead of a blanket reassurance - the exact failure mode from the Discord report (pairs, is reassured, never records) now sets the right expectation.
Blast radius: copy-only; worst case is slightly more cautious wording in a once-per-device-type dialog.

USER IMPACT: After pairing a PLAUD, Fieldy, Friend or Limitless device, the 'Compatibility Note' no longer promises the firmware 'works great with Omi'; it now says Omi connects directly over Bluetooth and that newer firmware from the vendor's app may stop Omi from recording.

Two non-blocking follow-ups I'd still want as a reviewer:

  • Users who already dismissed the old note (firmware_warning_acknowledged_ pref, found_devices.dart:223-227) will never see the corrected copy; a one-time pref-key bump would make sure the honest note reaches them.
  • The new copy stays hardcoded English like the strings it replaces; moving these notes into l10n (app_en.arb) would be a natural follow-up.

No escalation needed - copy-only change with green checks; merge decision left to a human maintainer as usual.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

…ld one

Review of BasedHardware#22107: "Don't show again" on the old "works great" note stored
firmware_warning_acknowledged_<type>, so anyone who ticked it would never
see the corrected wording on their next pairing. The four reworded types
now use a v2 key; Bee keeps its existing key because its note did not
change. The key moves into BtDevice.firmwareWarningAcknowledgedKey,
replacing the two copies in found_devices.dart.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aryanorastar

Copy link
Copy Markdown
Collaborator Author

Pushed ad9846f.

1. Dismissed old note. Fixed. The PLAUD, Fieldy, Friend and Limitless notes now use a v2 acknowledgment key, firmware_warning_acknowledged_v2_<type>. A "Don't show again" given to the old "works great" wording therefore no longer hides the corrected note on the next pairing. Bee keeps its existing key, since its note did not change. The key now lives in BtDevice.firmwareWarningAcknowledgedKey, replacing the two copies in found_devices.dart. The test checks the four new keys and that Bee's key is unchanged; 5/5 pass.

2. l10n. Left out of this PR. All the vendor firmware notes, Bee's included, are hardcoded English today, and moving them means adding keys across every locale file; that suits its own change better than this copy fix.

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aryanorastar (trusted backend/app fixer): removes a false firmware-compatibility claim shown for third-party PLAUD devices; tiny diff (60+10) with test, concrete defect, no issue# but title+body clearly describe the bug. 5/5 confidence.

@kodjima33
kodjima33 merged commit bd59cf7 into BasedHardware:main Oct 18, 2026
40 checks passed
apoorvdarshan added a commit to apoorvdarshan/omi that referenced this pull request Oct 18, 2026
… device

Main versioned the third-party pairing note keys (firmwareWarningAcknowledgedKey,
BasedHardware#22107); the controller now uses it, so the test does too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01L6nc4Dq4LXiSGCnJBvD7ix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flutter flutter work positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants