Repository navigation
fix(app): disable silence pause under INV-CAP-1 and cut capture-path CPU work - #20882
Merged
Git-on-my-level merged 3 commits intoOct 7, 2026
Merged
Git-on-my-level merged 3 commits into
Git-on-my-level merged 3 commits into
Conversation
Failure-Class: new Disable silence-driven unsubscribe on current firmware, recover historical automatic pauses, and reduce redundant policy decoding, payload copies, and WAL serialization allocations. Preserve INV-CAP-1, reconnect timing, and durable write cadence.
Move restore effects into the existing uplink extension and extract unchanged phone WAL serialization. Wait for observed sync-drop reconciliation in legacy-state tests and wire INV-CAP-1 path citations to the continued-delivery guards.
3 tasks done
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.
Summary
Battery savings that cannot drop pendant frames, per INV-CAP-1: disables the tiered silence-pause shipped in #20837 (current firmware discards live-mode frames when the phone unsubscribes — the pause engaged exactly that path) and reduces capture-path CPU work on the phone instead.
What changed
#20837auto-pause markers are recovered at startup through the serialized capture owner; explicit user mute remains authoritative. Conversation silence settings still reach the server for segmentation. Re-enablement requires an advertised, verified device retention + drain capability — there is no opt-in bypass on current firmware (app/lib/services/capture/CAPTURE_POLICY.md).Design doc with the full rejected-proposal ledger (client VAD, socket economy, BLE tuning — and why each was rejected):
app/docs/battery-no-loss-ship-now.md.What this does NOT claim
No whole-phone battery percentage claim. The dominant cost of a worn pendant (BLE notification wakes, socket+cellular upload) is untouched — those require either the firmware retention stack (#20838) or server-side economy. CPU/allocation savings here are measured host-side, labeled as such.
Product invariants affected
Failure-Class
Failure-Class: none
Test plan
flutter analyze: 89 diagnostics, zero new (base parity).TZ=UTC bash test.sh --timeout 2m: 4,813 passed / 14 skipped (current-main bar: 4,791/14).make preflight: 33 checks.