Repository navigation
fix(home): empty-output blocks are noise whatever the title provenance - #25034
Merged
Merged
Conversation
Fable audit class 10 (2026-11-10), relay-cl1 ruling f6502a. A completed row whose summary_blocked_reason is a terminal empty-output reason now classifies home_step=noise regardless of structured.title_provenance, but only when the summary has no overview or section body. Reuses summary_delivery.present so a title, action item or event cannot stand in for output. Curated rows and failure precedence are unchanged. Adds the default-on HOME_EMPTY_OUTPUT_NOISE kill switch (false/0/off/no restores the legacy server_minimum-only rule), its registry and deployment classification, and a flag-budget exception owned by refactor-lead with review_by 2026-12-10. No client change: app/lib already consumes home_step=noise.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
A stale terminal empty-output reason must not hide a row whose summary already landed or whose debt is live again. Guard the noise rule with summary_output_present, summary_completed_at and summary_owed, expand the regressions for both reasons and both switch states, and refresh the flag budget count to the merged head. Failure-Class: FC-provisional-home-content-published-as-final
This was referenced Nov 10, 2026
Git-on-my-level
added a commit
that referenced
this pull request
Nov 10, 2026
) ## What and why Retire summary due indexes atomically when donor tombstones, manual title/overview edits or already-enriched merges refuse repair. Preserve `summary_first_pending_at`. Undo/manual-field removal and discard restore recover owed debt in the same transaction using original acceptance plus the row's policy deadline, without replacing a non-null due or arming a refused/owned row. Internal debt metadata stays outside reversible user-field receipts. The guarded operator script clears legacy residue using the serving refusal classifier. Unknown provenance is retained for provenance repair; processing, local-only, BYOK and active finalization ownership are explicitly retained even when another refusal has precedence. Both completion metadata and output-present metadata retire copied legacy due. No serving rate, feature flag, deadline, capacity, repair-service or released-client schema changes. ## Merge order — required hold Merge **after #25019 and #25032. This PR must not merge before #25032.** Both dependency PRs were OPEN when this batch began. After #25019 lands, rebase onto current `origin/main`, regenerate inventories and retain both sides' tests; never resolve a shared-file conflict by taking one side wholesale. Repeat exact inventory guards after any overlapping PR lands. #25032 owns its upstream registry/flag-budget train conflicts; this batch does not edit them. ## Operator run plan — cl2-deploy only 1. Deploy the merged code first, then identify the exact serving revision. Old writer sites keep re-arming due during the sweep, so a pre-deploy sweep or dry-run is insufficient. 2. Re-run a fresh dry-run **after deployment on that serving revision**. Verify the deployed `summary_due_at` collection-group index and inspect class/retained/eligible/conflict counts before any apply. 3. Run a bounded **5,000 scanned-row canary**, using an apply cursor separate from the dry-run cursor. Production `--apply` additionally requires `--confirm-production-project based-hardware` matching the actual client's project. Review canary counts. 4. Run the full sweep **only on lead2's go**. Re-run the serving-revision dry-run after any intervening code deployment; restart without a cursor to reconsider conflicts as needed. The sweep runs **two disjoint passes** at one cutoff instant: a numeric `summary_due_at <= now` pass, then a Timestamp `summary_due_at <= datetime(now, UTC)` pass. Each uses `(summary_due_at, __name__)` pagination, classifier-only projection and batches of at most 400 writes. Every clear retains the original snapshot `update_time` precondition, including individual retries after atomic batch failure. Concurrent re-arm/delete is skipped. `--limit` bounds the combined scanned rows across both passes, including retained rows. Aggregate counts remain available, with scanned/eligible/classes/written/conflicts also reported separately under `passes.numeric` and `passes.timestamp`. Output is counts-only; private cursor files are written to unique same-directory `mkstemp` files, explicitly set to mode `0600`, flushed and fsynced before atomic replacement; any failed attempt removes its temporary file and preserves the previous checkpoint. They include a `pass` marker plus a numeric or tagged RFC3339 due and document path, with no IDs printed. Cursors are separate for each pass: completing numeric scanning checkpoints `{pass: "timestamp", due: null, __name__: null}` before the first timestamp query. Resuming a timestamp checkpoint skips the completed numeric pass. Older unmarked cursors infer their pass from the due type. Keep apply/dry-run cursor files separate. This operator-only metadata cleanup is exempt from content-generation batch privacy admission: it never reads transcripts/generated summaries or changes protection levels or content. No production access or operator run was performed in this lane. ## Follow-up: private atomic checkpoints Review-desk FIX-FIRST at `f940cf9dd489` found that the predictable `.tmp` path could expose private cursor document paths through a pre-existing permissive file or symlink. Checkpoint publication now uses a unique file in the checkpoint directory, explicit `0600`, flush/fsync before `os.replace`, and unconditional temporary-file cleanup on failure. Atomic replacement also replaces a final-path symlink without following its target. - Backfill suite through omi-heavy: **101 passed / 1 existing loopback-only skip**, 1.33s, completed approximately 2026-11-10 17:51Z. All eight new filesystem/security cases passed. This follow-up changes only the backfill script and its test file; no operator --apply or production access. - Checkpoint follow-up head: `8159c89608d86c4c67a9bfc5d077e57c7df2f48f`. `make preflight`: **39 checks passed in 64.42s**, completed approximately 2026-11-10 17:55Z. Full PR non-test scope: **397 changed lines**, within the original 500-line cap. The single authorized checkpoint follow-up push succeeded as a fast-forward, approximately 2026-11-10 17:55:43–17:57:17Z. Its normal hook passed **39 shared checks (67.26s), typecheck with zero errors, 250 passing changed-file tests plus 23 explicit loopback-only skips**, and pinned formatting. Exact-head CI is being monitored with a 90-minute deadline. ## Follow-up: two-pass sweep Review-desk FIX-FIRST at `50f47f8058fc` found that a numeric cutoff never selects Timestamp-valued due. The backfill now queries both types and keeps the same classifier, fences, dry-run default and counts-only output in each pass. Checkpoints explicitly mark the active pass and survive interruption at the pass boundary. Read-only inspection also confirms the serving query/repair blind spot: `database/summary_debt_queries.py:13,24` uses a numeric cutoff/cursor; `services/summary_debt_repair.py:50` rejects nonnumeric due and its overdue-age arithmetic assumes a number. Those files are **unchanged**, as requested; cl2-fixnow should route that finding to #25019's owner. - Focused selection re-run through omi-heavy, 2026-11-10 approximately 17:12Z: **2,209 passed / 23 skipped / 86 xfailed**. Adjacent **117 passed**; extra chat/tool/strict transaction selection **55 passed**. Per-file commands, exact timestamps and results: `focused-results-followup-m1.json` in the supplied task directory. - Backfill tests against synthetic loopback Firestore: **94 passed**, receipt completed 2026-11-10T17:12:06.668829+00:00. Includes actual mixed-type inequality behavior, refused clears, owed/future retention, shared limits, both cursor types, interruption at the pass boundary and bounded/fenced writes. Emulator shut down normally. - Follow-up at earlier head `f940cf9dd4898798c72e854c0dd5226554b76866`. `make preflight`: **39 checks passed in 46.50s**, 2026-11-10 approximately 17:15–17:16Z. Full PR scope: **388 non-test changed lines**, within the 500-line cap. - Only the backfill script and its test file changed in this follow-up. Serving query and repair files remain untouched. The single follow-up fast-forward push succeeded on 2026-11-10 approximately 17:16:32–17:17:52Z. Its normal hook passed 39 shared checks (57.04s), typecheck with zero errors, 242 passing changed-file tests plus 23 explicit loopback-only skips, and pinned formatting. CI is being monitored on this exact head with a 90-minute deadline. ## Verification of the preceding batch Verification is hermetic code and synthetic loopback Firestore evidence, not deployed-runtime evidence. Commands use `/Users/david/workspace/omi-workspace/bin/omi-heavy run --` and the worktree's Python 3.11, with GCP credential environment scrubbed. Pytest files run in isolated processes under the backend unit contract. - Requested focused selection on this batch: **2,170 passed, 22 skipped (loopback tests run separately), 86 xfailed**, 2026-11-10 16:14:30–16:15:06Z. The old ae48104 selection measured 2,087/4/86; new guards add passing cases and the new emulator cases increase the explicit loopback-only skips. - Adjacent selection: **117 passed**, 16:15:06–16:15:13Z; additional chat/tool/strict People transaction selection: **55 passed**, 16:15:13–16:15:18Z. Exact per-file commands, timestamps and logs: `/Volumes/scratch/cl2-fixnow-move25020/focused-results-m1.json`. - Synthetic loopback Firestore: **22 chat edit/undo tests passed** and **31 People-generation emulator checks passed**, 2026-11-10 approximately 16:13–16:14Z. Emulator stopped. Used the installed Java 21 in the process environment only. - `make preflight` on commit `50f47f8058fcb904bb5bd185184c1473284783cc`: **39 checks passed in 55.79s**, 2026-11-10 approximately 16:17–16:18Z. The full PR has **354 non-test changed lines** (342 additions / 12 deletions), below 500. - Regenerated the lifecycle payload inventory for changed owners and all People fingerprints (only the four already-audited chat scopes differ); People generator check reports no delta. Exact lifecycle inventory/state-table guard is included above; serving lifecycle write guard passed in preflight. Normal pre-push on `50f47f8058fcb904bb5bd185184c1473284783cc` passed all 39 shared checks, typecheck with zero errors, 203 passing changed-file tests plus 22 explicit loopback-only skips, and pinned formatting for all 15 PR Python files (2026-11-10 16:18:28–16:19:46Z). The single fast-forward push succeeded with no bypass. UI-Evidence: none — backend metadata and an operator script only. ## Finding dispositions | Finding (review sources) | Disposition in this batch | |---|---| | Predictable checkpoint temp path can follow a symlink or reuse permissive permissions (review-desk 72a878, FIX-FIRST) | Use exclusive unique same-directory `tempfile.mkstemp`, enforce `0600` via `fchmod`, write/flush/fsync, then `os.replace`. Cleanup runs on failure, leaving the previous checkpoint intact. Regressions cover the old predictable symlink/permissive file, permissive umask, write/fsync/replace/fchmod failures, descriptor closure and safe replacement of a final-path symlink. | | Numeric-only cutoff misses timestamp-valued due (review-desk e7b7dc, FIX-FIRST) | Replaced with numeric and Timestamp passes, distinct pass-aware checkpoints and per-pass counts. Tests cover refused/owed/future rows in both types, shared limits, resumable pass boundary, update-time conflicts and 400-write caps. A loopback Firestore regression verifies actual mixed-type query behavior. | | Unknown provenance retired as durable; #25032 late projection stranded (pd correctness/custody/tests/merge/Kimi) | Removed from `DURABLE_REFUSALS` and durable test cases. Regression retains the legacy due and first-pending anchor. Missing provenance still needs its owning repair; this batch never clears it. | | Manual undo loses owed debt (all correctness/custody/test reviews, old merge/CI) | Chat restore and explicit null/DELETE_FIELD removals re-arm atomically from preserved first pending plus the stored `first_summary_policy` deadline, falling back to `deadline_seconds()`. Refused rows and already-armed rows never acquire a replacement due. Real codec, strict transaction and loopback emulator coverage. | | Every other manual removal path needs coverage (sdclear-fix1) | Title UI and offline empty titles remain non-null manual values, covered by retirement tests. Chat tools reject blank title/overview edits before IO. Sync restore and generated persistence preserve manual fields. All actual removal writers are declared in the lifecycle inventory. | | Summary BYOK reason not excluded; terminal BYOK semantics untested (pd correctness/custody/tests) | Explicitly retain `summary_blocked_reason=blocked_byok`, including a competing deleted flag and no active job. Existing finalization BYOK exclusion remains. No terminal-BYOK policy expansion. | | Detached queued/leased finalization rows (pd correctness) | Explicitly retain both statuses even without a job ID, including competing manual/discard flags. Re-arm also respects these owners. | | Output-present enriched row can retain copied due (pd custody) | Both completion metadata and `summary_output_present=True` take the enriched return and retire due. Empty reprocessing preserves banked structured content without requiring a completion stamp. | | Discarded rows recoverable after sweep (pd correctness/tests) | The existing restore transaction re-arms only currently owed, unarmed rows from original acceptance and policy. Tests cover cleared legacy rows without receipts, manual/enriched/locked refusal, existing due and writer ownership. | | Refusal classes can later reopen (pd correctness/custody) | Manual and discard inverses now recover debt. Empty-output revision re-arm stays intact and is covered by the adjacent recovery suite. Privacy/content-floor decisions remain governed by their existing policy; this metadata cleanup does not introduce a new privacy/content transition. `DURABLE_REFUSALS` now documents current-obligation retirement rather than permanent lifecycle finality. | | Backfill bypasses batch privacy fence (pd custody) | Documented metadata-only operator exemption: no transcript or generated summary is read or written; only the due index is cleared with a snapshot update-time fence. Serving content-generation fences remain unchanged. | | Non-JSON due checkpoint (pd custody) | Timestamp cursors use private tagged RFC3339 values and decode on resume, preserving Firestore timestamp type and nanoseconds. Numeric cursor format remains supported. | | No explicit prod apply guard (pd custody) | `--apply` on `based-hardware` requires matching `--confirm-production-project based-hardware`; an unknown project fails closed. Synthetic unit coverage only; no operator apply was run. | | CLI failure path / deleted cursor not tested (pd tests) | Added counts-only CLI error regression and resume after a deleted numeric cursor; timestamp cursor also resumes after a missing cursor document. | | Unchanged-title path lacks assertion (pd tests nit) | Added no-write/no-due-move assertion for an unchanged offline title. | | Legacy exact title assertion fails CI (old CI/merge) | Already corrected at ae48104; retained and re-run the full revision-contract file. | | Update-time fence, dry-run, bounded cursor, counts-only output (all reviews) | Preserved; original race, atomic-batch, tie/resume, scanned-row limit, batch-size and privacy tests remain intact. | | Deploy must precede sweep (old merge, sdclear-fix1) | Run plan below requires code serving first and a fresh post-deploy dry-run on that exact serving revision before the 5k canary. Old writers would keep re-arming due during a sweep. | | Code revert cannot restore cleared rows (pd merge, old custody) | Rollback explicitly requires a separately authorized re-stamp keyed on preserved `summary_first_pending_at`, current owed rows only. | | #25019 / #25032 ordering and same-file inventories (pd merge, old merge, sdclear-fix1) | Must merge after both, never before #25032. Both were OPEN at intake; no premature rebase. After #25019 lands, rebase and regenerate inventories, preserving both sides and tests rather than taking a side wholesale. | | Upstream #25032 registry / #25034 flag-budget conflicts (pd merge) | Dependency-owner work outside this batch. The merge train must resolve those before #25020; no workflow/flag-budget edits here. | | #25018 / #24866 / #24801 / #24897 / stale #24607 overlaps (old and pd merge) | Re-fetch before integration; if these land first, rebase and re-run exact inventories and both branches' tests. No unrelated PR changes or merges performed here. | | Operator query excluded from serving-query inventory (pd merge) | Preserve script scope. Uses the existing `summary_due_at` COLLECTION_GROUP single-field index; cl2-deploy must verify the deployed index with the serving-revision dry-run before canary. No production query in this lane. | | People audit and lifecycle inventories after shared-scope changes (all test reviews) | Regenerated reviewed entries and four existing People fingerprints after strict transaction and loopback emulator proof; exact-match guards re-run. | ## Rollback A code revert **does not restore rows whose due indexes the backfill already cleared**. Preserve the operator receipts/cursors and stop the sweep. A separately authorized repair must enumerate/re-stamp keyed on the preserved `summary_first_pending_at`; only rows the current classifier calls owed, with no competing owner and a null/missing due, may receive `summary_first_pending_at + stored first_summary_policy deadline` (or `deadline_seconds()` without a snapshot). Never reset the anchor, move a non-null due, or blindly re-arm refused rows. Do not use the due index itself to find already-cleared rows. Failure-Class: FC-obligation-outlives-terminal-owner Line-Count-Exception: backend/database/conversations.py | 4960 -> 4969 | Keep atomic due retirement and guarded discard-restore re-arm at their owning writes. Line-Count-Exception: backend/utils/sync/assignment.py | 1538 -> 1539 | Keep atomic summary-debt retirement at the donor redirect write.
Git-on-my-level
added a commit
that referenced
this pull request
Nov 11, 2026
…#25024) Home shows processing only on the current local day on mobile. Failed conversations stay off mobile Home, the web conversation gallery and macOS Conversations; Activity lists them with retry. Completion restores the normal conversation on its recorded day. Authority: David ff0427 item 4, relays 66d9fd / 9e09f1 / 714b03; prior renders approved by relay 718fe8. The existing default-on HOME_STEP_PROJECTION switch confirms placement through enabled=true plus home_processing_today=true from pending-work. Missing/false fields, 404, failed reads and account changes restore the previous Home and pending consumers. Registry and pending-work contract cover every affected surface. Backend must ship before new clients can confirm placement. Mobile applies the local recorded start day to grouped rows and local insertion, including captures crossing midnight. Open Home/Activity pages re-evaluate midnight, clock/timezone changes and resume. Home honors episode_id before the episode fetch, and ServerConversation parses/copies/caches episodeId. Activity merges pending, loaded, searched and episode failures, deduplicates ledger entries, redacts locked titles and retains retry after errors. Pending items optionally carry home_step to keep an expired today wait reachable. Classification deadlines and stored job state are unchanged. Pending reads three bounded single-field candidate sources (processing/merging, stamped transcription and summary debt); failed placement adds no further query. Web uses an Activity tab inside /conversations; /home remains chat/tasks/goals. Native macOS uses its existing Memory hub Activity destination and excludes failed rows from its chronological spine to avoid duplicates. Web retry responses update list/search state and cache immediately, rejecting older in-flight reads, so completion survives refresh errors. All clients reuse existing conversation navigation and use general reprocess for legacy failed rows, fence duplicate retry requests and apply/refresh authoritative results. Web and native failures from loaded Home lists and searches retain Activity links across Home filters, and clear on completion, successful local deletion or account reset. Discovery remains bounded by loaded rows and the existing server window. #25013 integration: wanted projection parsing/copying, list/detail/search reconciliation, terminal watcher stop, retry-response replacement and compatibility tests are retained. Its default failed-Home UI is dropped: confirmed failures appear only in Activity. The previous presentation remains available for kill-switch rollback. Integration order: #25037 reverted #25013 on main as d24d101; this branch then merged fresh main 35e63b5 in merge/re-land commit 474edfb. At that integration commit, the adapted #25013 source/test/changelog files exactly matched the pre-merge tested checkpoint 86b59df. There were no independent post-revert changes to those paths. Rejected Home screenshots were left removed. No landing-order dependency remains. No force push, PR merge or deploy by this agent. Schema fix: main run [42812549326](https://github.com/BasedHardware/omi/actions/runs/42812549326) failed test_inventory_openapi_route_response_decode_migration_complete after #25013 moved the generated search decode behind a Dart part helper. The API route now directly calls GeneratedSearchConversationsResponse.fromJson and passes the decoded result into the helper that preserves home_step. All 14 inventory tests pass again on the post-revert integrated tree; no assertion or allowlist is weakened. Luna FIX-FIRST on 591c10f — fixed: macOS authoritative replacement now drops the previous failed Home projection when retry returns processing without home_step. Both replacement layers honor the incoming response; ordinary detail reads retain known failures and explicit failed projections remain failed. Regression covers failed stored/projected rows restarting as in-progress/processing/merging or completing, immediate removal from Activity-failed, Home admission and processing display. Mobile retry already clears its remembered failure id (detail retry opts out of retention); web list/search already replace whole objects and cache. New mobile/web regressions exercise omitted home_step, Activity removal, failed refresh and cache remount. No mobile/web production fix was necessary. Main was fetched; newer backend-only commits do not overlap this fix, so no additional merge was needed. Approved render PNGs are unchanged because no layout/copy/fixture changed. ## Notes-only attention: cases 010/011/012 (relay-cl1 94a9ed / David 4ddd04) Conversations whose notes failed while tasks/events were kept now appear once in Activity Needs attention on mobile, web and macOS. Re-run notes calls POST /v1/attention-items/{item_id}/retry, preserving the existing task/event models and destinations. Clients consume conversation_notes_failed_with_outputs; they do not infer eligibility from noise, overview absence or title provenance. Unknown kind strings remain readable without retry, even when retryable=true. Mobile bulk retry avoids the global endpoint when a non-legacy kind is present, so it cannot implicitly retry a displayed unknown kind. Accepted in_progress/succeeded notes retries remove the item and suppress stale ledger/projected duplicates. 409, transport errors and failed-operation responses retain an error row. Busy state, account fences and read generations reject duplicate clicks and old callbacks; a genuinely new ledger generation or confirmed failed operation can surface again. The existing explicit pending-work confirmation gates new notes placement; off/missing/read failure keeps the rollback. Web/macOS also honor explicit server noise on Home without treating ordinary noise as Activity attention. No new flag, query, scheduler or history scan. Pipeline-driver's separate backend PR owns eligibility, discovery and notes-only side-effect isolation; this client change is safe before that kind ships. Conflict resolution: merged main 7ebd845 (#25034) normally in 0bb9d47. home_step.py and the generated registry doc auto-merged. The feature-flags.yaml conflict keeps #25024's expanded HOME_STEP_PROJECTION entry and #25034's HOME_EMPTY_OUTPUT_NOISE entry exactly once, then regenerates the registry doc. #25034's overview OR section-body, banked receipt/live debt, curated-row and failure precedence guards remain intact, alongside today-only mobile processing and failed-only-on-Activity. Then merged fresh main 8a9f00b normally as c6013b4 after the addition commit 44d470e. This second merge was clean; no rebase or force push. [Addition-only non-test delta](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/notes-addition-line-delta.json): +954 / -81 (1,035 changed lines across 119 non-test files; 205 added localization/generated lines) (excludes upstream merges, tests/e2e, UI evidence and render harness; includes source, config, docs and localizations/generated files). Verification: 181 focused Flutter tests, 112 native tests with PNG captures enabled, 190 affected backend tests and 14 schema-inventory tests pass; analyzer ratchet passes without baseline changes. Web typecheck, six smoke tests and all 1,054 Vitest tests pass. Integrated post-merge Home/pending-work/flag-budget/schema tests pass all 204 tests (190 + 14). Full preflight passes all 89 checks. The ONE normal full-hook push succeeded at 3840bee with the requested credential variables unset, OMI_PR_BODY_FILE, and BACKEND_UNIT_FILE_BUDGET_SECONDS=3600. All 89 shared checks, backend typecheck (zero errors), bounded backend units, OpenAPI compatibility, generated-client checks, Flutter generation/format checks and native Swift debug build passed. No force push or hook bypass. | Activity case | Mobile | Web | macOS | | --- | --- | --- | --- | | 010 |  |  |  | | 011 |  |  |  | | 012 |  |  |  | ### Luna FIX-FIRST at 3840bee: macOS retry idempotency Fixed the missing `Idempotency-Key` on macOS attention-item retries. A per-item UUID lives in account-scoped memory, is reused after ambiguous transport errors, and is cleared after a confirmed operation (in_progress/succeeded/failed), a confirmed `409 not_retryable`, or account reset. State-only 409 responses are recognized by the native HTTP error parser. Error rows remain reachable. Both notes-only and summary retries use the keyed endpoint. Mobile and web notes-only paths already send keys and retain ambiguous requests in memory; their existing API/store/hook tests were rerun. No UI, copy, fixtures or PNGs changed; the 3840bee render links below remain valid. INV-AUTH-1: the bodyless POST helper keeps its existing owner-policy resolution, auth/BYOK header construction, owner validation and request execution. The new optional key only adds the Idempotency-Key header. Retry keys and late callbacks remain fenced by the ledger account session. Validation for this follow-up: four new native HTTP/state regressions pass; the broader native run passed 185 tests with two render-only opt-in skips (187 executed). Mobile notes/pending-store tests pass 22/22; web attention API/hook tests pass 9/9. Desktop test-quality and diff checks pass. After removing forced unwraps from the HTTP fixture, the four new native regressions were reconfirmed and all 1,920 Swift files pass SwiftLint with zero violations. The remaining preflight checks passed; the full push hook reruns the complete manifest. One NDK installer process-group cleanup test flaked on this host, then passed in isolation (8/8) and the full rerun; its code is unchanged. Fresh fetch found no unseen feature-branch commits and GitHub reports MERGEABLE, so main was not merged. The ONE normal full-hook push succeeded at 6206927 (3840bee..6206927), with the requested credential variables unset, OMI_PR_BODY_FILE and BACKEND_UNIT_FILE_BUDGET_SECONDS=3600. All 90 selected shared preflight checks passed, followed by backend typecheck (zero errors), affected backend units, OpenAPI compatibility, Flutter generation/formatting and the native Swift debug build. No force, hook bypass or PR merge. GitHub confirms this head and reports MERGEABLE. [CI checks](https://github.com/BasedHardware/omi/pull/25024/checks) show the current results. ## Luna FIX-FIRST at 6206927 — web off-page retry reconciliation Follow-up head: `51cbb86c011aeb6b79c13e6579e2fb7061220894`. Hold: David’s render verdict is still required; do not merge. **Fixed.** Conversation retries now acknowledge the account-scoped remembered-failure cache directly when the authoritative response is non-failed, including processing without `home_step`, or an explicit `409 {"state":"not_retryable"}`. This works when the conversation came from an earlier search and is absent from both current lists. Old loaded object snapshots cannot immediately restore the cleared tile; a fresh failure can be discovered again. Failed results, generic conflicts and transport errors keep the failed tile and error. Kill-switch rollback keeps the old Home path. The notes-only ledger calls the same reconciliation on accepted in-progress/succeeded retries and explicit terminal conflicts. A terminal conflict clears its old projected duplicate while the ledger item retains its error, as required by the attention contract. Ambiguous errors keep their retry key; terminal acknowledgments clear it. The HTTP error type preserves only the structured state needed to distinguish the explicit terminal conflict from other 409 responses. Mobile and macOS do not have the same successful-retry bug: mobile applies the result to shared provider state even without a current list match; macOS Activity explicitly remembers the authoritative replacement outside the repository's loaded query. Their notes stores suppress accepted retries by conversation ID independent of loaded pages. Added off-page regressions on both; no mobile/native production change was needed. Existing notes acceptance, failure, deduplication and idempotency tests remain passing. Validation: web type checking, six Bun smoke tests and 1,071 Vitest tests; 69 focused Flutter tests; 70 native tests passed (72 executed, two opt-in PNG tests skipped). New web coverage includes off-page processing/completed responses, explicit terminal 409, generic conflicts, failed/transport retries, notes-only acknowledgments and HTTP state decoding. Full preflight passed all 90 checks (270.31s), including zero SwiftLint violations across 1,920 files. The one normal full-hook push succeeded (`6206927cdf..51cbb86`), with all 90 shared checks, backend type checking (0 errors), affected backend units, OpenAPI/generated Dart, Flutter generation/format and native debug build checks passing. No hooks were bypassed. CI for this head is tracked in the [live PR checks](https://github.com/BasedHardware/omi/pull/25024/checks); the render hold remains active. No layout, fixture or PNG changed; existing commit-pinned renders remain valid. GitHub reported MERGEABLE after the fresh fetch, so main was not merged for this fix. The PR remains unmerged and on hold for David's render verdict. Failure-Class: new The violated contract is reachable work with exactly one intended list placement. FC-home-processing-on-past-days records the shared local-day admission primitive and Home/Activity failure partition, with regression tests for midnight, rollback, episode ownership, completion, navigation and retry. Product invariants: INV-UI-1 / INV-UI-3 preserve existing components, Flutter localization and date formatting. INV-NAV-1 preserves one chat/composer and existing peer/detail navigation; the web Activity tab and native Activity section do not create a second chat. Tuning: no pipeline capacity, concurrency, presentation-wait threshold or lifecycle-state changes. New flags: none. No CPU-guard adjustment. Source files remain under the repository line-count ratchet (existing grandfathered files checked normally). Validation: - Notes-only attention addition on 3840bee: 181 focused Flutter tests, 112 native tests with renders enabled, 204 integrated backend tests, analyzer ratchet, web typecheck/six smoke/1,054 Vitest tests and all 89 preflight checks pass. All nine new Activity PNGs were inspected; one row per case with Re-run notes, no clipped text or missing fonts. - Luna retry follow-up: native tests passed (104 passed, one opt-in render skip), all 148 focused Flutter tests passed, and web typecheck + six smoke tests + 1,041 Vitest tests passed. `make preflight` passed all 88 checks. The ONE normal full-hook push succeeded at 09ec57b (no force or skipped hooks): all 88 shared checks, backend typecheck (zero errors), bounded backend unit tests, OpenAPI contract, Flutter generation/format checks, desktop flow lint and native Swift debug build passed. New tests cover retry to processing without home_step and immediate Activity-failed removal on all three clients. - 313 expanded Flutter tests for rows/Activity, pending state, episode ownership/model, account fencing and inherited #25013 reconciliation/detail behavior. The 84-test search/reconciliation subset was rerun after the schema-route fix; analyzer ratchet passes. - 35 unit/widget tests in each of America/New_York, Pacific/Kiritimati and Pacific/Pago_Pago. These now run on ordinary PR CI and cover DST short/long days, UTC/local date boundaries and midnight rollover while both real pages are open. - 146 focused backend tests (pending work, Home classification, phase shadow readers), 14 schema/inventory tests, generated Dart wire-hardening check. - Web: bun run check passes typechecking, smoke suite and 1,039 Vitest tests. Regression covers exclusive failure placement, retry, rollback after read failure, and ignoring an older success after a newer failed read. - Native: 103 selected Swift tests pass, including projection decode/reconciliation, terminal watchers, exclusive placement, wire/read failures, retry double taps/errors, search-only reachability and account reset/late responses. - Web render fixture asserts Home/Activity/retry/rollback with external requests blocked; native real-component renders use injected dependencies. Post-revert schema/inventory regression passes all 14 tests; integrated preflight passes all 88 checks. The earlier normal full-hook push succeeded at 591c10f: shared preflight 88 checks, backend typecheck (zero errors), generated-client and Flutter generation/format checks, and native Swift debug build passed. Command used env -u GOOGLE_APPLICATION_CREDENTIALS -u CLOUDSDK_CONFIG -u CLOUDSDK_CORE_ACCOUNT, OMI_PR_BODY_FILE and BACKEND_UNIT_FILE_BUDGET_SECONDS=3600. No force push or hook bypass. Full platform suites remain CI authority. UI-Evidence: tracked manifest at .agent-artifacts/ui-evidence/processingtoday/evidence.json; reproducible commands and limits in README.md in the same directory. Synthetic fixtures, no production data. Mobile captures the real ConversationsPage/ActivityPage using RepaintBoundary, iOS/SF Pro at 393×852 @3x. Web captures actual tabs/gallery/tiles and admission via hermetic Chromium at 1280×800 @2x. Native captures the actual SwiftUI components mounted in the two destinations via ImageRenderer, Aqua/SF at 720×420 @2x. Web/native are isolated component evidence, not a signed full-app session. All affected renders were regenerated. | Mobile state | Before / rollback | After | | --- | --- | --- | | Home today | [Before](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/001-mobile-ios-home-today-before.png) |  | | Home past day | [Before](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/003-mobile-ios-home-past-before.png) |  | | Activity older processing | [Before](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/005-mobile-ios-activity-processing-before.png) |  | | Activity empty | [Before](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/007-mobile-ios-activity-empty-before.png) |  | | Episode before fetch | [Before](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/009-mobile-ios-episode-owner-before.png) |  | | Home failed row hidden | [Before](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/011-mobile-ios-home-failed-before.png) |  | | Activity failed row + retry | [Before](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/013-mobile-ios-activity-failed-before.png) |  | | Client | Home without failed row | Activity with retry | | --- | --- | --- | | Web |  |  | | macOS |  |  | [Manifest](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/evidence.json), [commands/limits](https://raw.githubusercontent.com/BasedHardware/omi/3840beec7540828cf0a4ecdfd0573a4659051dbe/.agent-artifacts/ui-evidence/processingtoday/README.md), [every pre-review disposition](https://raw.githubusercontent.com/BasedHardware/omi/51cbb86c011aeb6b79c13e6579e2fb7061220894/.agent-artifacts/ui-evidence/processingtoday/prereview-dispositions.md). Open limits: no physical-device/signed-session QA or live account latency measurement on this headless host. Pending is capped; loaded/search/episode rows supplement it. Episode-only composition debt beyond the loaded episode range and legacy unstamped empty completed history require a separate bounded discovery API. Summary candidates retain capped earliest-due ordering. Catch-up/On the Way retain their existing through-notes-completion interpretation; summary debt may contribute recording duration after upload. Pre-existing PCM guard: test_pusher_storage_pcm_saturation.py::test_50_sockets_plateau_refuse_without_ack_then_retry_once failed only its load-sensitive CPU-duration limit on the previously reviewed head; pre-review reproduced it on main. [Owning log](https://github.com/BasedHardware/omi/actions/runs/42782215635/job/129714715607). The test, threshold, allowlist and pusher/storage implementation are untouched. New-head CI remains authoritative.
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
empty_output_exhausted,empty_output_lifetime_exhausted) as the existinghome_step=noisestateregardless of
structured.title_provenance, but only when the summary has nooverview or section body
summary_delivery.presentso a title, action item, or event cannotmasquerade as summary output; curated rows retain their existing precedence
summary_output_presentorsummary_completed_at) or alive
summary_due_atoutranks a stale terminal reason, so a recovered orre-opened row stays
ready/writing_notesinstead of disappearingHOME_EMPTY_OUTPUT_NOISEkill switch, itsregistry/deployment classification, and a budget exception owned by
refactor-leadwithreview_by=2026-12-10Source: audit class 10 (2026-11-10), relay-cl1 ruling f6502a, lead
refactor-lead.Failure-Class: FC-provisional-home-content-published-as-final
Base and head
origin/main35e63b5d701f94396cd166ef22db8df37aa947d4(mergednormally; no rebase, no force-push)
c92dc8281539ab2a7a9f88db7e083fb60297f29a(push 2/2)The batch adds the receipt/debt guards, docstring, and expanded regressions.
Client impact
No Flutter change is needed.
app/lib/pages/conversations/home_rows.dartalready consumes
home_step=noiseand removes that row from default Home. Itsstatus/title fallback is only for older servers where
home_stepis absent. Noapp/files changed.Kill switch, default, rollback
HOME_EMPTY_OUTPUT_NOISEdefaults on.false,0,off, ornorestores the legacyserver_minimum-onlyclassification.
HOME_STEP_PROJECTION=offremains the broader rollback that omits the field.Metric
banked receipt, no open debt) appears on default Home.
summary_output_present,summary_completed_at, or a livesummary_due_atkeeps the row visible asready/writing_notes.their existing precedence.
Verification (measured on this head)
Credentials unset before every run (
GOOGLE_APPLICATION_CREDENTIALS,GCP_AGENT_TIER,CLOUDSDK_CONFIG,CLOUDSDK_CORE_PROJECT,CLOUDSDK_PYTHON), viabin/omi-heavy run --:tests/unit/test_home_step.py tests/unit/test_flag_budget.py tests/unit/test_summary_delivery.py tests/unit/test_summary_empty_recovery.py tests/unit/test_list_projection.py tests/unit/test_home_transcribing_hold.py— 289 passed
tests/unit/test_config_refactor_w6.py— 157 passedpython3 scripts/check_feature_flag_registry.py— OKpython3 .github/scripts/check_deployment_secret_boundary.py --base origin/main— passedgit diff --check— passedscripts/pr-preflight --lane local— 42 checks passedcompleted successfully, including Backend Unit Tests, Backend Hermetic E2E,
Backend Emulator Proofs, OpenAPI Contract, and Runtime Image Contracts.
New regressions cover: both receipt fields, open due debt, late re-open
(noise -> writing_notes/ready), both terminal reasons with the switch on and
off, curated-row precedence, and output-present under the switch off. The
missing-provenance cases are unchanged and still asserted.
Merge-order notes
backend/config/flag_budget.jsoncountequalslen(names)on this head(265 = main 264 + this flag). If corrected-base replacement fix(attention): expire non-retryable items (replacement for #25028) #25055 (replacing fix(attention): expire non-retryable items #25028) or fix(summary): stamp first-summary debt when a batch projection lands a transcript on an untitled row #25032 lands first, the merge
must set
countto the actuallen(names)on that merged head, not a copied count.config/feature-flags.yaml: keep fix(home): keep processing on today and route failed rows to Activity #25024's rewrittenHOME_STEP_PROJECTIONline, then this
HOME_EMPTY_OUTPUT_NOISEline, thenHOME_TRANSCRIPTION_PRESENTATION_GATE.backend/tests/unit/test_flag_budget.py: keep every peer'sHELPER_KILL_SWITCHESentry andelifbranch alongsideHOME_EMPTY_OUTPUT_NOISE.backend/utils/conversations/home_step.py: fix(summary): stamp first-summary debt when a batch projection lands a transcript on an untitled row #25032 widensprovisionaltoinclude row-level
summary_title_provenance; keep that and thisempty_outputblock. The two are independent.Render evidence (blocker)
This is Home-visible behavior and no Flutter render has been produced for this
head. Before merge, the driver must obtain renders for:
Home, still findable in archive/search
row visible again
summary_due_at->Writing notes
visible as applicable
on Home
no visible retry. This is the independent visibility review's case: the row
is hidden and no automatic retry is surfaced, so David must accept that
exact behavior.
Do not merge until fresh renders go to relay-cl1 and David acknowledges them.