Skip to content

fix(app): release the pendant backup only for audio the saved transcript covers - #20376

Merged
Git-on-my-level merged 9 commits into
BasedHardware:mainfrom
Itaxh1:fix/wal-release-covered-audio
Oct 3, 2026
Merged

Git-on-my-level merged 9 commits into
BasedHardware:mainfrom
Itaxh1:fix/wal-release-covered-audio

Conversation

@Itaxh1

@Itaxh1 Itaxh1 commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Transcript confirmation keeps every live WAL copy. Saved utterances separated by natural pauses suppress duplicate recovery uploads: gaps and each outer WAL edge may be up to 30 seconds. Covered copies enter the user's synced-copy retention lifecycle; larger gaps, larger edges, or fail-closed evidence request repair. This is an upload heuristic, not permission to delete audio. App only; no firmware or backend behavior changes authored.

What changed and why

Closes #20364

  • Transcript confirmation never deletes a WAL. An eligible covered copy becomes WalStatus.synced, gets a fresh syncedAt, and clears its recovery marker. The file and durable index entry remain on the phone; automatic upload skips it. Previously confirmed synced copies keep their original retention clock.
  • Covered copies use the existing autoRemoveSyncedCopies / autoRemoveSyncedCopiesDays lifecycle: default ON for new installs, 30 days; upgraded installs are pinned OFF unless they opt in. OFF keeps copies indefinitely absent an explicit deletion. Synced copies are excluded from the device-wide 720-unacknowledged-copy cap, so they cannot evict a real pending gap copy.
  • Coverage uses sorted saved transcript spans and one constant, walTranscriptPauseToleranceSeconds = 30. Interior holes of 30 seconds or less are treated as pauses. The WAL's head before its first touching span and tail after its last may each be up to 30 seconds. A longer interior hole or edge makes the WAL uncovered; at least one span must actually overlap it. Empty/no-overlap spans and fractional or inconsistent frame-duration metadata still fail closed. The old 3-second constant is removed.
  • Saved segments represent utterances, not continuous audio receipts: ordinary pauses and whole-second floor/ceil timing create holes even in complete conversations. Round 2's zero-interior-gap rule uploaded these complete conversations again. Thirty seconds matches the original PR's slack but is safe for this non-destructive decision: a wrong covered verdict suppresses only automatic repair while retaining the audio; a wrong uncovered verdict can append reworded duplicate speech to the live row and its summaries (backend/utils/sync/ARCHITECTURE.md:62). The policy deliberately favors covered for short gaps, rather than asserting they are proven silence.
  • The round-0 median of live arrival - ceil(segment.end) anchors spans to the phone; without matching arrivals it falls back to startedAt, then session start when the row has no start. There is no pre-conversation silence exception or coverage without actual overlap. The 30-second choice is a retention-backed policy, not a measured production latency percentile.
  • Uncovered eligible copies stay miss, marked kept_for_transcript_recovery, and upload whole through the existing recovery path. A transport-only synced copy with syncedAt == 0 is reclassified to miss when uncovered, so it does not accidentally skip repair. In-flight uploads, accepted async jobs, durable synced copies, terminal statuses, and pendant-storage records are not regressed.
  • No usable spans, an empty transcript, needsRepair, the missing-ConversationEvent fallback, or an unavailable anchor fail closed into repair. If persisting a covered transition fails, still-current covered objects revert to repair in memory; no success telemetry is emitted. Account/generation fences and exact pending-future clearing remain.
  • Reachable deletion paths retain round-1 hardening: exact-object removal, shared-file protection, filesystem-failure accounting, inventory/generation checks, and public deleteWal ownership/ambiguity guards. Their tests exercise explicit deletion or expiry, not transcript-confirmation deletion.
  • wal_transcript_coverage reports retained_covered_count / retained_covered_seconds, kept_uploaded_count / kept_uploaded_seconds, and fail_closed_reason when applicable. Confirmation additionally reports kept_count / kept_seconds for repair candidates, with uploaded values zero. Upload phase counts only marked members accepted by HTTP 200/202, not requested/failed uploads or completed STT jobs. Persisted markers preserve attribution across restart. released_* fields are removed; no in-tree analytics consumer requires them.
  • The public return shape remains (released, kept) for fix(app): stamp and release every conversation's pendant backup on one socket #20380; released is always zero and kept counts eligible repair candidates. Stamping arguments remain compatible. fix(app): stamp and release every conversation's pendant backup on one socket #20380's old full-release expectations need retain-instead-of-delete assertions; its next-window/stamp-ordering work is not imported here.

Costs and remaining limits

  • A lost stretch under 30 seconds is not automatically repaired when the surrounding transcript satisfies this heuristic. Exactly 30 seconds is tolerated too. It remains recoverable on the phone for the user's retention window, not forever with expiry ON. Separate head and tail tolerances can also classify a minute with only a short overlapping utterance as covered; this is intentional upload suppression, not proof that the rest was heard.
  • A tail WAL containing the last utterance followed by more than 30 seconds of silence is uploaded whole and can duplicate that utterance. The 90-second lost-tail replay exercises this case: the last-utterance WAL and the following no-overlap WAL upload, while the earlier covered WAL does not. Genuine silence cannot be distinguished from missing speech locally.
  • Other partially covered WALs and fail-closed cases also upload whole, not trimmed. Sync intake dedupes exact ranges or identical normalized text, so differently worded overlaps can remain on the live row and feed summaries. Safe destructive trimming needs source-frame coverage evidence and crash-safe split/index publication; it is not attempted. Source-position receipts and coverage-aware server dedupe remain follow-ups.
  • Phone storage is approximately 15 MB per pendant-hour for the retention window. With auto-remove OFF, it accumulates until the user deletes copies or enables expiry. This is the requested storage estimate, not a new physical-device benchmark.
  • Arrival minus end includes STT/network delay. Delayed/replayed segments or a skewed server-time fallback can misalign coverage and either upload redundant audio or suppress a needed repair. There is no production clock/latency calibration or local silence/VAD proof.
  • Genuine pending copies still count toward the 720 cap. Storage failures, recovery lookback/retry limits, permanent refusals, explicit deletion, and server lineage/stamp resolution remain independent limitations. This is not an end-to-end zero-loss guarantee.
  • The overall PR remains larger than round 1; round 2's material size-reduction aspiration was not met. This round keeps the production predicate change small without removing reachable deletion guards.
  • No physical-pendant, iOS/Android build, or production-latency validation was performed.

Line-Count-Exception: app/lib/services/capture/capture_controller.dart | 3799 -> 3908 | restore device-anchored upload selection and explicit fail-closed reasons at the existing close boundary while preserving account and pending-stamp fences
Line-Count-Exception: app/lib/services/wals/local_wal_sync.dart | 1815 -> 2023 | separate covered-copy retention from recovery upload with one pause tolerance and preserve reachable deletion hardening plus durable recovery attribution

Product invariants affected

none

The owner's audio-safety rule is preserved by retaining the copy instead of re-uploading every conversation: transcript timestamps decide automatic upload eligibility, not immediate deletion. No registered invariant or shared UI primitive is changed.

How it was verified

  • Round-3 red/green: With production app/lib unchanged from 082eff20d067065a18404b428ddfea5d8f08cf4e, cd app && flutter test test/services/capture/capture_transcript_coverage_test.dart --plain-name 'pendant: a conversation with natural pauses retains every copy and uploads nothing' failed 1 test, 0 passed, exit 1: all three WALs remained miss. The same command with the new predicate passed 1 test, exit 0. Evidence: .agent-briefs/r3-red-provenance.txt, r3-regression-red.log, r3-regression-green.log.
  • cd app && flutter test test/services/capture/capture_transcript_coverage_test.dart test/unit/local_wal_sync_test.dart test/unit/auto_remove_synced_copies_test.dart — 125 passed, 0 failed, exit 0. The replay uses 17 utterances of 2–12 seconds, 1–8-second pauses, and 18/25-second silences. A full conversation retains all WALs and uploads nothing; an exact 45-second hole uploads only the middle WAL; a missing opening longer than 30 seconds uploads only the head; 90 seconds after the last utterance uploads the two tail WALs. Unit tests cover 30/31-second interior/head/tail boundaries, actual overlap, duration consistency, and natural pauses. Retention ON/OFF, the cap, fail-closed reasons, telemetry, and generation/deletion safeguards remain covered. Evidence: .agent-briefs/r3-focused.log.
  • bash app/test.sh — 3,982 passed, 5 skipped, 0 failed in the ordinary suite; the wrapper's separate flutter test --dart-define=OMI_DEV_CONTROLS=1 test/spine invocation passed 138 tests. Wrapper exit 0. These are separate invocations, not a claim of distinct combined tests. Evidence: .agent-briefs/r3-full-app-test.log.
  • cd app && flutter analyze lib/services/wals/local_wal_sync.dart lib/services/wals/wal.dart lib/services/wals/wal_syncs.dart lib/services/wals/wal_service.dart lib/services/capture/capture_controller.dart test/services/capture/capture_transcript_coverage_test.dart test/support/capture/capture_replay_world.dart test/unit/local_wal_sync_test.dart — 0 errors, 0 warnings, 9 pre-existing infos in untouched interpolation/print lines; raw exit 1, explicitly recorded. No baseline or policy was relaxed. Evidence: .agent-briefs/r3-analyze-changed.log.
  • git diff --check — passed. OMI_PR_BODY_FILE=$PWD/.agent-briefs/pr-body-20376.md make preflight and scripts/pr-preflight --pr-body-file .agent-briefs/pr-body-20376.md — each passed 22 selected checks, exit 0. The history-dependent failure-class recurrence guard explicitly skipped because the clone is shallow; declaration/schema validation passed. Evidence: .agent-briefs/r3-make-preflight.log and .agent-briefs/r3-body-preflight.log.

Failure class (fixes)

Failure-Class: none

The suggested existing WAL classes concern drain scheduling, stalls, detached futures, ownership fanout, harness idle, timezone, waiting-state copy and analyzer gates, rather than this transcript-confirmation pause/retention/upload policy. The hardening tests remain, but this change does not claim to resolve those broader classes.

Itaxh1 added 2 commits October 2, 2026 14:13
…ipt covers

A conversation with any saved text released every safety WAL in its session, so
audio the server never saved was deleted for good. Confirmation now takes the
saved transcript's time spans: a WAL is released only when a saved segment
overlaps it (with 30 s slack) or it ended before the conversation started. The
rest stays on the phone and is uploaded for repair.

Closes BasedHardware#20364
BasedHardware#19424 stamps a WAL by its recording id even when its start, backdated from its
frame count, falls before the session window. Confirmation still only looked
inside the window, so a fully transcribed first chunk stayed behind and was
uploaded again. With the transcript's spans in hand, every WAL stamped with the
conversation is judged by them.

Refs BasedHardware#20364
@Itaxh1

Itaxh1 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown

@cubic-dev-ai review

@Itaxh1 I have started the AI code review. It will take a few minutes to complete.

@apoorvdarshan

Copy link
Copy Markdown
Collaborator

Software validation at d43fd1f0f6abf0c274d8c0a43cb8e35b196b391b: all 59 focused transcript-coverage and local-WAL-sync tests passed. Original implementation/authorship is unchanged.

This validates the documented WAL-overlap/30-second-slack policy; it does not establish exact word-by-word coverage or physical recording durability. No production-account fault tests were run. #20380 remains dependent on this PR landing first.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 5 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

The server sets started_at on every conversation it creates, but a row
without one used its createdAt, which can sit minutes away from the audio
and shift every span.

The scenario tests now wait for the expected WAL state, in memory and in
the saved index, before asserting and before the recovery pass, and fail
with the WAL state if it never arrives.
@Itaxh1

Itaxh1 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown

@cubic-dev-ai review

@Itaxh1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 5 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Saved segment times count from the server's conversation start, but the
copies carry phone time, so a clock difference beyond the 30 s slack
moved the release boundary: a server clock ahead released audio the
transcript missed, and one behind re-uploaded audio it covered.

The controller now records when each live segment last arrived and, at
confirmation, takes the median of arrival minus segment end as the
transcript's start on the phone. Without live segments it falls back to
the server's start, as before.

The full-release scenarios now also assert that copies exist before the
conversation closes.
@Itaxh1

Itaxh1 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown

@cubic-dev-ai review

@Itaxh1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

… own event

The arrival times that anchor a saved transcript to the phone's clock were held in
one slot, so a conversation that closed before the previous ConversationEvent
arrived replaced them. They are now kept per conversation id and taken by the
matching event. BasedHardware#20365's change keys the rest of the close state the same way.
@Itaxh1

Itaxh1 commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 3, 2026

Copy link
Copy Markdown

@cubic-dev-ai review

@Itaxh1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

Git-on-my-level and others added 2 commits October 3, 2026 11:48
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Timestamp overlap and pre-conversation timing do not prove delivery.
Keep uncertain copies for recovery and measure accepted repair uploads.
Fence deletion against account changes and shared-file/id collisions.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@Itaxh1
Itaxh1 marked this pull request as ready for review October 3, 2026 06:16
@Itaxh1
Itaxh1 requested a review from mdmohsin7 as a code owner October 3, 2026 06:16

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

2 issues found across 9 files

Confidence score: 4/5

  • The 30-second fallback in capture_controller.dart can now skip recovery uploads if _confirmSessionWalsRetained doesn’t report retained WALs, potentially leaving closed-session audio unsynced. Check that the new gate still covers the recovery cases handled by the old unconditional upload.
  • The release note in 20261002-pendant-keep-unsaved-audio.json uses implementation jargon. Say plainly that possibly missing pendant audio is kept and re-uploaded.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="app/changelog/unreleased/20261002-pendant-keep-unsaved-audio.json">

<violation number="1" location="app/changelog/unreleased/20261002-pendant-keep-unsaved-audio.json:2">
P3: “Provably account” and “timing estimates” expose implementation jargon in a user-facing release note; say plainly that possibly missing pendant audio is kept and re-uploaded.</violation>
</file>

<file name="app/lib/services/capture/capture_controller.dart">

<violation number="1" location="app/lib/services/capture/capture_controller.dart:3176">
P2: The 30s fallback timer used to call `_autoSyncSessionWals()` unconditionally, i.e. it always requested a recovery upload for the closed conversation. It now uploads only when `_confirmSessionWalsRetained` gets `kept > 0` from `confirmSessionTranscription` — which returns `(released: 0, kept: 0)` when no WAL is stamped with that `conversationId`. If `_finalizeAndStampSession` failed or skipped the stamp (its exception is swallowed, and the stamp is skipped on a WAL-store generation roll), the fallback now performs no upload at all, leaving the recorded audio stranded on disk with no future upload path (`getSessionUnsyncedWals` is scoped to the *current* session start). That contradicts the PR's stated behavior that missing/uncertain coverage "keeps the whole copy and requests recovery upload". Consider triggering a recovery upload when the confirm shows no stamped copies, or log/queue an explicit repair marker for those WALs.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

_autoSyncSessionWals();
Logger.debug(
'Auto-sync fallback timer fired — syncing WALs to conversation $convId (needsRepair=$needsRepair)');
unawaited(_confirmSessionWalsRetained(sessionStart, convId));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2: The 30s fallback timer used to call _autoSyncSessionWals() unconditionally, i.e. it always requested a recovery upload for the closed conversation. It now uploads only when _confirmSessionWalsRetained gets kept > 0 from confirmSessionTranscription — which returns (released: 0, kept: 0) when no WAL is stamped with that conversationId. If _finalizeAndStampSession failed or skipped the stamp (its exception is swallowed, and the stamp is skipped on a WAL-store generation roll), the fallback now performs no upload at all, leaving the recorded audio stranded on disk with no future upload path (getSessionUnsyncedWals is scoped to the current session start). That contradicts the PR's stated behavior that missing/uncertain coverage "keeps the whole copy and requests recovery upload". Consider triggering a recovery upload when the confirm shows no stamped copies, or log/queue an explicit repair marker for those WALs.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/services/capture/capture_controller.dart, line 3176:

<comment>The 30s fallback timer used to call `_autoSyncSessionWals()` unconditionally, i.e. it always requested a recovery upload for the closed conversation. It now uploads only when `_confirmSessionWalsRetained` gets `kept > 0` from `confirmSessionTranscription` — which returns `(released: 0, kept: 0)` when no WAL is stamped with that `conversationId`. If `_finalizeAndStampSession` failed or skipped the stamp (its exception is swallowed, and the stamp is skipped on a WAL-store generation roll), the fallback now performs no upload at all, leaving the recorded audio stranded on disk with no future upload path (`getSessionUnsyncedWals` is scoped to the *current* session start). That contradicts the PR's stated behavior that missing/uncertain coverage "keeps the whole copy and requests recovery upload". Consider triggering a recovery upload when the confirm shows no stamped copies, or log/queue an explicit repair marker for those WALs.</comment>

<file context>
@@ -3153,18 +3165,22 @@ class CaptureController extends ChangeNotifier
-          _autoSyncSessionWals();
+          Logger.debug(
+              'Auto-sync fallback timer fired — syncing WALs to conversation $convId (needsRepair=$needsRepair)');
+          unawaited(_confirmSessionWalsRetained(sessionStart, convId));
         }
       });
</file context>

@@ -0,0 +1,3 @@
{
"change": "Pendant audio the saved transcript cannot provably account for now stays on your phone and is uploaded again for repair, instead of risking deletion when timing estimates are uncertain"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P3: “Provably account” and “timing estimates” expose implementation jargon in a user-facing release note; say plainly that possibly missing pendant audio is kept and re-uploaded.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/changelog/unreleased/20261002-pendant-keep-unsaved-audio.json, line 2:

<comment>“Provably account” and “timing estimates” expose implementation jargon in a user-facing release note; say plainly that possibly missing pendant audio is kept and re-uploaded.</comment>

<file context>
@@ -0,0 +1,3 @@
+{
+  "change": "Pendant audio the saved transcript cannot provably account for now stays on your phone and is uploaded again for repair, instead of risking deletion when timing estimates are uncertain"
+}
</file context>
Suggested change
"change": "Pendant audio the saved transcript cannot provably account for now stays on your phone and is uploaded again for repair, instead of risking deletion when timing estimates are uncertain"
"change": "Pendant audio that may be missing from your transcript now stays on your phone and is uploaded again to help restore it"

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@Git-on-my-level Git-on-my-level added the ci:full Maintainer-granted: run full CI on this fork PR label Oct 3, 2026
Treat transcript gaps and WAL edges up to 30 seconds as pauses because
coverage now suppresses automatic repair without deleting local audio.
Exercise conversational utterances and larger missing stretches in replay.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@Git-on-my-level Git-on-my-level left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed through three rounds. Transcript confirmation no longer deletes the live safety copy: covered minutes move into synced retention (auto-remove window), and only minutes with a lost stretch longer than 30 s are uploaded for repair, so natural pauses don't cause duplicate speech. Full CI (ci:full) is green on 60e4f78.

@Git-on-my-level
Git-on-my-level merged commit 159df54 into BasedHardware:main Oct 3, 2026
38 checks passed
Git-on-my-level added a commit that referenced this pull request Oct 3, 2026
…when a scan is truncated (#20428)

## Summary

One Flutter-only PR: reserve fatal Dart reports for failed startup,
observe detached future branches, and preserve cached People stats when
the server reports a truncated scan.

## Part 1 — startup-aware error classification

- Zone and platform-dispatcher handlers use one Firebase-free,
process-local StartupErrorRouter. Before a successful full boot, reports
remain fatal with error_origin=boot; afterwards they are non-fatal with
error_origin=uncaught_async.
- The full-boot boundary is immediately before normal runApp(MyApp),
after successful initialization and boot bookkeeping. Recovery/failure
screens never mark full startup complete; retries reset the policy.
- All existing error reporting is retained. Custom-key failure cannot
suppress recordError. FlutterError.onError already uses non-fatal
recordFlutterError and is unchanged. Native crash reporting and
PhysicalQualification paths are untouched.
- Tests: flutter test test/unit/startup_error_router_test.dart
test/unit/boot_crash_handlers_test.dart test/unit/boot_journal_test.dart
test/unit/boot_recovery_test.dart — 20 passed, including 6 new routing
tests (pre/post boot, platform true, retry reset, exact error/stack,
synchronous classification).
- Not verified: real Firebase transport, release/device startup, native
crashes, or post-release crash-free metrics. No app was launched against
a deployed backend.
- Local commit: 4966903.

## Part 2 — dropped-future audit

Audited and fixed these exposed branches:

- Conversation detail assignment tail: source can throw from
reconciliation/feedback callbacks or finalization; an unobserved derived
tail can duplicate the caller-observed error. Added ignore() to the
bookkeeping tail only; pending still reaches the caller unchanged.
- Conversation detail rejection tail: ordinary rejection failures are
caught, but awaited finalization is outside that catch; the retained
tail has no observer unless another save happens. Added ignore() to that
tail. Regression injects a throwing refresh override into the real
queue-drain/finally boundary; it is not evidence that ordinary
production transport rejection escapes.
- Capture Process Now result branch: dropped error-propagating branch
next to an error-safe request listener; also owns asynchronous
result/stamping work. Explicit catchError consumes failures and reports
once via the existing non-fatal Crashlytics reporter as
`capture_process_now: <exception type>`, forwarding the stack but not
message contents; scheduling/in-flight semantics remain unchanged.
Explicit `then<void>` permits the async reporting continuation without a
Future<Null> catchError type mismatch.
- Capture speaker-suggestion refresh completion: retained for
deduplication but never awaited/observed. One observer per newly created
refresh reports `capture_people_refresh_suggestion: <exception type>` as
non-fatal; joined suggestions cannot duplicate the report, and
reset/rescheduling remains unchanged.
- Capture incoming-segment refresh completion: same treatment, reporting
`capture_people_refresh_segments: <exception type>`. A suggestion
joining a segment-owned refresh keeps the original single observer.
- These are terminal operation failures, not a new
provider/mode/fail-open substitution, so fallback-telemetry's
error-reporter branch applies. Reporter transport failures are contained
with type-only logging, without retries or recursive zone errors.
- Analytics initialization cleanup: safe, unchanged. The original
operation catches failures, its failure-health report is guarded, and
cleanup only compares identity and resets the field.

Tests and evidence:

- Six new guarded-zone tests call the real providers/controller, capture
harness assertion failures separately, and drain the event queue.
Speaker callers still receive their original errors. Both refresh
triggers remain deduplicated and reschedule after failure.
- Before fixes: 98 passed, 6 failed; every new test observed a leaked
sentinel error. Log: .agent-briefs/part2-before.log.
- Broader targeted run: 178 passed across HTTP-pool, capture,
speaker-summary, and conversation-detail provider/widget tests. Log:
.agent-briefs/part2-after.log.
- After final diagnostic-observation adjustment: all 104 tests in the
three touched test files passed. Log: .agent-briefs/part2-final.log.
- Formatter and analyzer ratchet passed; narrow analysis reports only
existing baseline info.
- Not verified: real capture/WAL/network flows, native devices, and
release telemetry. These are hermetic future-propagation tests, not
device E2E.
- Local commit: b55ca9c. Content-free diagnostic follow-up:
8287faa. Review fix: 1f70dec (type-only non-fatal reporting,
exactly-once refresh observation, and contained telemetry failures).
- Review-fix negative control: all seven selected reporting cases failed
against the logger-only production code (zero Crashlytics recordError
calls; exit 1). After the fix, all 107 tests across
force_processing_placeholder, capture_provider, and
optimistic_speaker_assignment passed (exit 0). The actual mocked
Crashlytics channel asserts exactly one report, fatal=false, fixed
operation/type-only exception, and preserved stack; every failure still
leaves the guarded zone empty. Additional coverage includes WAL-stamp
failure, reporting transport failure, multiple joined suggestions, mixed
refresh triggers, and successful retry without an extra report. Logs:
.agent-briefs/review-reporting-before.log and
review-reporting-after.log.
- No other Part 2 catch had the same gap: exactly three catches were
introduced, all covered above. Speaker-tail ignore() calls suppress only
derived bookkeeping duplicates while leaving caller errors visible;
analytics remains unchanged.

Line-Count-Exception: app/lib/services/capture/capture_controller.dart |
3908 -> 3925 | Seventeen net lines observe and report the three
detached-work sites through one guarded non-fatal helper; extracting
capture orchestration would widen this targeted future-propagation fix.

## Part 3 — truncated People stats

- getAllPeople returns PeopleListResponse, preserving response metadata
through the existing shared isOmiListTruncated header parser. All
in-tree consumers and test loaders are migrated together; no
compatibility wrapper or server contract changes.
- On truncated loads, PeopleProvider preserves all four cached
scan-derived aggregates for the same person: conversation_count,
last_heard_at, talk_seconds, and auto_conversation_count. Fresh names,
samples, confidence, pinning, voice-learning data, and other fields
still update. New people/no cached stats use the incoming partial
fields; removed IDs are not resurrected and optimistic rows remain
display-only.
- Complete responses remain authoritative, including lower counts after
deletions. Partial status is persisted and exposed; it survives
recreation and failed refresh, and clears on a complete
fetch/account-cache clear. The marker is conservative: a truncated
response stays marked partial even where a row displays older retained
stats.
- Home continues requesting People without stats, but its cache write
preserves known aggregates and does not clear the partial marker. This
closes the other writer that could erase the complete baseline.
- The shared People list shows one understated localized line, “Counts
may be incomplete.”, on nonempty partial results. The key was added
using scripts/l10n.py, with translations and generated Dart for every
locale listed by template (49 at this revision).
- Truncated loads emit one bounded degraded event through the existing
fallback helper; no IDs, response content, or new telemetry enums are
added.

Tests and evidence:

- 125 focused tests passed across 17 files. New coverage: 6
response/header tests, 12 provider/cache tests, and 3 rendered
People-page notice cases. Existing People
editing/pinning/deletion/search, Home language/fetch failure, cache
decoding/sign-out, and API feedback tests remain green. Log:
.agent-briefs/part3-flutter-test.log.
- Old-behavior negative control used the migrated result interface but
temporarily retained the old overwrite/no-marker logic; it was not an
unchanged old-source run. Nine provider tests failed, including cached
count 10 overwritten by partial count 2. A tenth failure was an
incorrect new-test UTC/local expectation, corrected to match the
existing decoder. Header propagation tests had the migrated parser
already in place, so there is no pre-fix header-test claim. Log:
.agent-briefs/part3-before.log.
- python3 scripts/l10n.py check passed: 49 locales, 3617 keys. Narrow
analysis of all six changed production files found no issues. Authored
Dart formatted with line length 120; generated localization Dart came
from the localization tool.
- Not verified: deployed response headers, real-device/rendered
agent-flutter UI, native-speaker audio flows, or human/native-speaker
translation review. Widget tests exercise the real People page without a
live app/backend.
- Local commit: 677ee83. Visual-audit fixture migration follow-up:
09657c4 (five inert loaders updated; analyzer clean, no device audit
launched).

## Desktop/web inspection

- macOS getPeople calls v1/users/people without include_stats. The
generated client supports includeStats but has no in-tree call sites.
- Web app getPeople calls /v1/users/people without include_stats.
Generated app/admin/personas clients declare the optional parameter, but
no non-generated web caller uses it.
- No desktop, web, or backend files will be changed.

## Product invariants affected

INV-DATA-1: main.dart changes preserve all existing Firebase/API routing
authorities. This is diagnostics-only, not a data-plane migration.
PhysicalQualification paths are unchanged.

## Failure class (fixes)

Failure-Class: new

Adds FC-nonterminating-dart-error-reported-as-crash with a shared
startup policy and Firebase-free routing contract tests. No existing
class covers nonterminating runtime Dart errors being counted as
crashes; FC-dropped-derived-future-rethrows-handled-error instead covers
duplicate unhandled errors from detached derived futures, and
FC-retired-transaction-treated-as-fatal concerns Firestore retry
semantics.

Part 2 commit declares FC-dropped-derived-future-rethrows-handled-error.
Only one new definition is added; no existing definition is modified.

## Final verification

- Before integrating upstream drift: TZ=UTC bash app/test.sh
--concurrency=4 --reporter expanded completed with both all-passed
verdicts: 138 spine tests and 3955 main-suite tests. The original shell
numeric exit was not retained after a session restart; the complete log
contains both successful terminal verdicts
(.agent-briefs/full-app-tests.log).
- Analyzer ratchet, authored formatting, and localization checks passed;
no baseline changes.
- origin/main advanced to dd694cc during verification. The initial
make/PR-body gates correctly failed because the synthetic merge had
localization conflicts. Integrated that pinned upstream commit using a
normal merge (no rebase/history rewrite), preserved upstream
localization changes, and reapplied only peopleStatsIncomplete through
the localization tool.
- After upstream integration: 111 tests passed across 13 affected files;
analyzer ratchet passed; localization consistency passed for 49 locales
and 3635 keys. Logs: .agent-briefs/merge-focused-tests.log,
merge-analyze.log, merge-l10n.log. The full app suite was not rerun
after integration; these are focused combined-tree checks.
- Local upstream-integration merge: 832fc51. That phase's make
preflight and exact requested PR-body gate both passed with exit 0 and
25 checks; the archived
.agent-briefs/preflight-832fc515e3-historical.log ends with “PR
preflight passed: 25 checks in 355.44s.” Both measured base dd694cc.
The 90-day failure-class guard ratchet explicitly skipped because the
checkout is shallow; enforcement against full history is not verified
here. Other large-file/function warnings were advisory.
- Continuation integrated current origin/main 159df54 (#20376,
pendant WAL retention), which also touches capture_controller.dart, via
normal merge fab4dca after review fix 1f70dec. No conflicts
occurred; the pre-commit hook formatted eight files with zero changes.
Post-merge `git diff --name-only origin/main HEAD` lists only this PR's
133 files (the prior 132 plus the new Crashlytics test recorder); all
upstream-only WAL files/tests/changelog match origin/main exactly. No
restore or amend was needed.
- Post-continuation verification on fab4dca against origin/main
159df54: `TZ=UTC flutter test` across 21 affected/guard files passed
all 356 tests (exit 0), including this PR's 14 changed test files,
upstream capture transcript/WAL tests, and
boot/HTTP-pool/speaker-summary guards. Analyzer ratchet passed;
localization consistency passed for 49 locales and 3635 keys; formatter
checked 30 authored non-generated Dart files with zero changes. Logs:
.agent-briefs/review-merged-tests.log, review-merged-analyze.log,
review-merged-l10n.log, review-merged-format.log. The full app suite was
not rerun in this continuation; earlier full-suite results remain
historical.
- Repeated `scripts/pr-preflight --suggest` requires INV-DATA-1 only.
`OMI_PR_BODY_FILE=$PWD/.agent-briefs/pr-body.md make preflight` passed
(exit 0, 25 checks; review-make-preflight.log). The exact requested
realgit-PATH `scripts/pr-preflight --pr-body-file
.agent-briefs/pr-body.md` gate passed (exit 0, 25 checks);
.agent-briefs/preflight.log ends with `PR preflight passed: 25 checks in
378.29s.` Both gates measured base 159df54 and 133 PR files. The
shallow-history 90-day failure-class guard skipped as before;
size/function notices were advisory, with no failures. Working tree
clean; no new tracked changes arose from verification.
- No cloud access, production services, app launch, push, PR creation,
or PR merge. The local upstream integration merge does not publish
anything.

Generated with [Devin](https://devin.ai)

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/20428?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
Ariyachan pushed a commit to Ariyachan/omi that referenced this pull request Oct 3, 2026
…orting

Integrate BasedHardware#20376 without rewriting the lane's commits, retaining the
bounded detached-work error reporters and People truncation behavior.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Git-on-my-level added a commit that referenced this pull request Nov 17, 2026
Fix the conflicting pending-audio amounts and disconnect diagnostics.
One pending WAL display view applies the existing stale-handle deadline
and device-copy folding across On the Way, Sync details, Offline Sync
and the device Catching up contribution. Server-reported work has a
separate On the Way section. Uploaded audio is labelled "Uploaded,
awaiting server" rather than inferred to be transcribing.

Expired upload handles show "Transcription unavailable" in both Offline
Sync implementations, with a direct details route that remains reachable
from Device Settings even when nothing active remains. The provider
schedules an expiry notification for mounted screens and cancels it on
disposal. This includes over-window captures, while preserving every WAL
status, file, retry and audio custody decision. Recent server
confirmation can restore the pending display. The banner keeps its
documented active-run progress snapshot.

Diagnostics count every non-manual disconnect within the retained
window, including rows without a reconnect time or a native window
anchor. UI and export share the window predicate, including the
future-row exclusion; lifetime reconnections remain separate. Reconnect
latency excludes manual, failed-connect and audio-recovery events. iOS
reads the disconnect clock once and both platforms persist the event
timestamp separately from audio-outage accounting and retain connection
history across restart. Lifetime history is correctly labelled
reconnections. The bounded seven-day native ring grows from 500 to 4096
rows. Dated synthetic macOS serialization evidence is in
`app/docs/evidence/2026-11-17-sync-ring-serialization.json`; phone
event-loop latency is not measured.

Failure-Class: FC-same-subject-counted-once-per-evidence-source
UI-Evidence:
.agent-artifacts/ui-evidence/sync-display-truth/evidence.json

## Product invariants affected

- INV-CAP-1: derived display expiry never mutates WAL/audio custody or
deletion rights.
- INV-UI-1: shared neutral UI primitives and existing attention styling.
- INV-UI-3: existing settings groups, rows, sheet and navigation
primitives.
- INV-PERF-1: pending inventory is memoized with mutation and deadline
invalidation.

## Validation

Local verification: the 186-test/17-file focused suite passed at the
full product-review head; the final follow-up passes 46 tests across
four files. Analyzer is clean on the latest four affected Dart files and
the two fixture files. The render tests, 10-test expiry rollback run,
native Swift harnesses, localization check, and 17 Android diagnostics
tests pass. The final Android key-retirement rerun reports zero
failures/errors/skips.


- Failing-first: focused regressions run with original production Dart
files at 695bf22. Stale pending inventory, over-window upload
presentation and unrecovered drop expectations fail; the same focused
tests pass with the fix.
- `omi-heavy run -- flutter analyze --no-pub <touched Dart files>`:
clean.
- `omi-heavy run -- dart format -l 120 <touched Dart files>`.
- `omi-heavy run -- flutter test --no-pub --timeout 90s
test/unit/wal_derived_views_test.dart
test/unit/catch_up_seconds_test.dart
test/widgets/on_the_way_days_test.dart
test/widgets/device_diagnostics_window_test.dart
test/widgets/device_catching_up_test.dart
test/widgets/sync_completion_truth_test.dart`.
- `omi-heavy run -- flutter test --no-pub
test/widgets/home_pending_row_test.dart
test/pages/conversations/offline_sync_recording_blocks_test.dart
test/widgets/offline_sync_storage_contrast_test.dart
test/widgets/sync_edge_throttle_render_test.dart`.
- `omi-heavy run -- flutter test --no-pub
--dart-define=OMI_CATCH_UP_STALE_HANDLE_OFF=true
test/unit/catch_up_seconds_test.dart`: rollback behavior.
- `omi-heavy run -- flutter test --no-pub --timeout 90s
--dart-define=OMI_SYNC_UI_EVIDENCE_DIR=../.agent-artifacts/ui-evidence/sync-display-truth
test/widgets/sync_display_truth_render_test.dart`: real widgets, SF Pro
fonts, iOS metrics, synthetic data; screenshots visually inspected.
- `omi-heavy run -- ruby app/ios/test/device_health_store_test.rb`:
compiled Swift assertions exercise persisted connection history, the row
timestamp differing from the audio marker, exact backfill and
retirement. `omi-heavy run -- ruby
app/ios/test/omi_ble_energy_policy_test.rb`: 6 runs, 12 assertions, zero
failures. No Xcode unit-test target is present in
app/ios/Runner.xcodeproj/project.pbxproj; these regressions use the
existing Ruby-to-swiftc native test harnesses.
- `omi-heavy run -- <cached Gradle 8.14.2>/bin/gradle -p app/android
:app:testDevDebugUnitTest --tests '*DeviceDiagnosticsContractTest'
--tests '*FeedbackDiagnosticsServiceParityTest'`: BUILD SUCCESSFUL; 17
tests, zero failures/skips. The fresh worktree has no gradlew, so this
uses the cached exact version in gradle-wrapper.properties. The
corrected consent-scope tests were rerun with --no-daemon: BUILD
SUCCESSFUL.
- `python3 app/scripts/l10n.py check`: all locale translations and
generated freshness checked through the app localization workflow.
- `OMI_PR_BODY_FILE=/tmp/lane-g-body.md omi-heavy run -- make
preflight`: 38 selected checks passed. The normal bounded pre-push gate
also passed on the pushed head, including formatting and generated
localization output.
- `omi-heavy run -- flutter test --no-pub
test/unit/offline_processing_display_test.dart
test/providers/sync_provider_derived_views_test.dart
test/perf/sync_indicator_isolation_test.dart
test/pages/conversations/sync_attention_evidence_test.dart`: 27 tests
passed. Active upload fixtures explicitly stamp uploadedAt; stale
unstamped handles are covered separately.

## Scope and remaining limits

Re-read PR #25500's current diff without modifying it or its branch.
Overlap is limited to localization ARBs and generated localizations;
only the stage label, lifetime footer and one server-work section label
change there. No backend source changed. No production account data was
read or changed. GCP tier: none.

Backend follow-up: pending_conversations has no general capture-age
bound; the optional Home projection applies separate deadlines.
Server-only rows can still be old until the backend owner settles them.
Existing lost lifetime reconnects/evicted rows cannot be reconstructed,
and event storms beyond 4096 retained rows can still truncate the week.
The first three-member panel review at 5e1763c returned 19
findings; all were accepted and triaged with omi-panel, and the
corrections are included for re-review. This PR establishes local
automated and render evidence; physical iOS/Android pendant acceptance
and production telemetry reconciliation remain unverified.

## Render evidence

Synthetic widget captures use SF Pro and iOS metrics. In the Device
Settings capture, the widget engine leaves the device illustration area
blank; the changed details row is visible.


![On the
Way](https://raw.githubusercontent.com/BasedHardware/omi/c5b499af466f02e0a104fd777731a8fc6edb64c0/.agent-artifacts/ui-evidence/sync-display-truth/001-mobile-ios-pending-work-truth.png)

![Sync
details](https://raw.githubusercontent.com/BasedHardware/omi/c5b499af466f02e0a104fd777731a8fc6edb64c0/.agent-artifacts/ui-evidence/sync-display-truth/002-mobile-ios-sync-details-truth.png)

![Offline
Sync](https://raw.githubusercontent.com/BasedHardware/omi/c5b499af466f02e0a104fd777731a8fc6edb64c0/.agent-artifacts/ui-evidence/sync-display-truth/003-mobile-ios-sync-banner-truth.png)


![Stalled upload
details](https://raw.githubusercontent.com/BasedHardware/omi/c5b499af466f02e0a104fd777731a8fc6edb64c0/.agent-artifacts/ui-evidence/sync-display-truth/004-mobile-ios-stalled-upload-details.png)

## Review disposition

Correction panel `review-20261117t090048-8c0b`: Luna, DeepSeek and GLM
Flash all returned SHIP at `c5b499af466f02e0a104fd777731a8fc6edb64c0`;
no blocking findings. Every finding was triaged through `omi-panel
triage`. The stale-body statement identified in the review packet has
been removed from this PR body.

Nonblocking follow-ups remain: the legacy zero-duration stage label;
upper bounds for future-dated failed-connection verdict rows; test-only
mixed-clock API consistency; one iOS test assertion and one stale field
comment. The support bundle retains the legacy
`reconnection_count_window` name while its value follows the window's
drop predicate; lifetime `reconnection_count` is a separate reconnect
counter. Phone-side ring latency remains an explicit qualification gap.
The suggestion to add uncertain server durations back into the WAL tile
was rejected because this lane requires one WAL amount and separately
labelled server work.

Final validation target: `f2a34d8f3a4c7a198cedd8bbbf736d1651d3c75d`.
Ready recordings retain their primary Sync action when expired uploads
coexist; the stale rows remain visible and unchanged in custody. Both
new regressions fail before the banner reorder and pass afterward.
Android identity retirement now directly asserts deletion of both
persisted keys. Support export tests pin null window anchors while
counting retained unrecovered drops. The original uploadedAt and Home
Transcript fixture corrections remain minimal.

Follow-up commands: `omi-heavy run -- flutter test --no-pub
test/widgets/sync_completion_truth_test.dart
test/widgets/device_diagnostics_send_support_test.dart
test/widgets/home_row_contract_render_test.dart
test/providers/sync_provider_background_admission_test.dart` (46
passed); `omi-heavy run -- flutter analyze --no-pub
lib/pages/conversations/auto_sync_page.dart
lib/pages/conversations/sync_page.dart
test/widgets/sync_completion_truth_test.dart
test/widgets/device_diagnostics_send_support_test.dart` (clean); `dart
format -l 120` on those files. The selected Android17 diagnostics tests
pass with the stronger key-retirement checks. New real-widget renders
were visually inspected on both Offline Sync implementations.

The c5 full correction panel returned three SHIP reviews. The
intermediate test-only c0d panel returned two SHIP reviews and no
findings; its third reviewer failed before launch with `journal_busy`,
which is not counted as a review. All six findings from the intervening
panel were triaged: the midnight fixture variants were removed,
retirement/unknown-anchor assertions strengthened and ready-action
priority corrected; the restoration overcount and vanished-legacy-row
claims were rejected with current code/test evidence. The final priority
follow-up is awaiting its exact-head panel and technical CI. The PR
remains unmerged; UI author approval awaits David or Nik.

![Automatic ready action with a stalled
upload](https://raw.githubusercontent.com/BasedHardware/omi/f2a34d8f3a4c7a198cedd8bbbf736d1651d3c75d/.agent-artifacts/ui-evidence/sync-display-truth/005-mobile-ios-sync-ready-with-stalled-upload.png)

![Legacy ready action with a stalled
upload](https://raw.githubusercontent.com/BasedHardware/omi/f2a34d8f3a4c7a198cedd8bbbf736d1651d3c75d/.agent-artifacts/ui-evidence/sync-display-truth/006-mobile-ios-legacy-ready-with-stalled-upload.png)


## Final panel follow-up (aca1fea)

Panel `review-20261117t104923-1d55` at `f2a34d8f3a` returned SHIP
(DeepSeek, GLM Flash; Luna failed to launch). All 12 findings were
triaged:
- **Accepted and fixed:**
  - legacy banner zero-length title (F1);
- native disconnect history capped at 1024 rows, about one week at p90
fleet drop rates, which bounds the synchronous per-disconnect rewrite
(F2/F3);
  - Android test renamed to what it actually pins (F4);
  - Catching up doc (F5);
- manual disconnects no longer seed reconnect markers on iOS/Android
(F6);
  - stalled uploads no longer also listed as server work (F7);
- pending-work expiry scheduled in the caller's timebase with a 1 s
floor (F9);
  - portable benchmark path (F10);
  - two unused strings removed from 49 locales (F11);
  - comment (F12).
- **Rejected:** F8. The backend validator branches on `schema_version ==
3`, and the window field's meaning is documented.
- **Tests:**
- New regression: `an injected past clock never re-arms a zero-delay
expiry loop` fails on the old code (3 notifications vs 0) and passes.
- Focused suite: 84 passed, including
`local_wal_live_custody_test.dart`. That test failed once in CI on
`f2a34d8` (#20376); it is known-flaky and untouched here.
- `flutter analyze` is clean, and `l10n.py check` reports 49 locales OK.
kodjima33 added a commit that referenced this pull request Nov 19, 2026
…5796)

The #20376 custody test assumed sync.stop() reaches persistWals within a
60ms pump. On a loaded runner (Dart Far Timezones, run 44525641068) it had
not, so saves was 0. Await a completer set when the save is entered.

fixes #25789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Maintainer-granted: run full CI on this fork PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flutter transcription: a partial transcript deletes the pendant's whole audio backup

3 participants