Repository navigation
free tier: the on-device summary is produced, selected, rendered, and actually reachable - #14513
Merged
Merged
Conversation
…xists to exercise The free tier replaces managed summarization with an on-device projection. `FREE_TIER_LOCAL_PROCESSING` ships default-off, so the local harness has always processed every conversation normally and the on-device path was unreachable on the one machine built to run it end to end. Set it in `_harness_service_extra`, alongside `SCREEN_FRAME_EGRESS_ENABLED`, which is here for the same reason and carries the same comment. The flag alone lights nobody: `utils.free_tier_cohort` makes a lit flag mean "lit for the configured cohort" and admits no one when the cohort is unset, empty, or malformed. So the cohort is set too. `pct:100` is safe precisely here — the harness runs against the Firebase emulator (project `demo-omi-local`) with one local account per instance, so "100%" is every account that can exist on it, and none of them belongs to a real user. Both halves are asserted in `test_child_env_for_real_mode`, because setting only the boolean would leave the harness silently processing normally — the exact failure this change exists to prevent. Co-Authored-By: Claude Opus 5 <[email protected]>
…gine when available Ordinary free-tier Macs do not run a loopback server. Resolve AFM availability once at makeDefault and keep local-server as the developer fallback. A failed selected engine still fail-closes to the deterministic minimum. Co-authored-by: Cursor <[email protected]>
The free tier replaces cloud summarization with an on-device projection. The produce side was complete: summarize locally, store, upload to `client_processing`. Nothing rendered it, so a free-tier user saw the deterministic minimum forever and the whole feature was invisible. The backend is deliberate about this. The bind endpoint "updates only `client_processing`. Never touches `structured`", and `ConversationProcessingState`'s docstring makes rendering a client contract: clients check `client_processing` first and render the projection regardless of `processing_state`. `ServerConversation.init` decoded the field and dropped it. Every display consumer - the list, the automation bridge, the reconciliation policy, the GRDB mirror - reads `ServerConversation.structured`, so selection happens once at the decode seam and every surface is correct without touching any view. What the seam had to get right, beyond the mapping: - Staleness. A projection names the transcript it summarized. When the response includes segments, the digest is recomputed and a mismatch is refused. List responses omit segments, so they rely on the server's binding and record `transcriptVerified: false` rather than pretending it was checked. - Unknown schema versions, in two layers. A future envelope is stripped before decoding so it cannot make the conversation unreadable, and `resolve` renders v1 only. - Precedence. `processing_state` cannot establish it - it is absent for both enriched and projected rows. The projection is selected only when the canonical structure is the deterministic minimum, which `build_deterministic_minimum_structured` defines as empty overview, category `other`, no sections, action items, or events. Cloud enrichment outranks a retained projection. Known limit: a title-only cloud result with otherwise default fields is indistinguishable from the minimum here. - Action items merge on exact description with canonical winning, including when `completed` is false, because OR-ing completion would resurrect a task the user had reopened. - Display attribution persists in its own `localSummaryJson` column. `clientProcessingJson` stays the producer-owned immutable retry blob; mixing them would corrupt retries. Drafted with codex gpt-6-astra, then reviewed, verified, and finished here. The precedence guard was checked field by field against the backend builder rather than taken on report. 18 tests, 0 failures: xcrun swift test --package-path Desktop --filter 'ConversationProjection(Rendering|Persistence)Tests' Co-Authored-By: Claude Opus 5 <[email protected]>
`process_conversation` gated the entire S6 free-tier branch on `free_tier_local_processing_enabled()` with no argument, two lines above `resolve_free_tier_processing_plan(uid=uid, ...)` - so `uid` was in scope the whole time. That function answers False whenever it is given no uid, on purpose: `utils.free_tier_cohort` makes a lit flag mean "lit for the configured cohort", and a caller that cannot name the account is never admitted, so a boolean alone lights nobody. Called bare, it always returned False. So the free-tier branch was unreachable in every environment, whatever cohort was configured. Lighting FREE_TIER_LOCAL_PROCESSING plus a 100% cohort changed nothing: desktop conversations fell through to the legacy deferred path, and the on-device projection the client had already uploaded was never the basis for processing. The unit suites cannot catch this - they monkeypatch `free_tier_local_processing_enabled` itself, which its docstring says is the supported way to test the policy. It took an end-to-end run with the flag genuinely lit on a real bundle. The backend said so plainly once it was: free-tier cohort: FREE_TIER_LOCAL_PROCESSING consulted without a uid; admitting nobody at that call site until it passes one After the fix, the same capture produces: free-tier: stored projected conversation uid=alice conv=21377fc9... mode=store_projection reason=basic_not_entitled with canonical `structured` left at the deterministic minimum by policy rather than by a failed cloud call, and `client_processing.provenance.model_id=afm`. Co-Authored-By: Claude Opus 5 <[email protected]>
Every test in this suite replaces `free_tier_local_processing_enabled` with a zero-argument lambda, so none of them could see how the coordinator calls it. That is exactly how the missing uid survived: the real function answers False for a missing uid by design, the branch was unreachable in every environment, and the suite stayed green because a zero-argument double only ever typechecks against the broken call. The doubles now mirror the real signature and assert they were given a uid, so the shape of the call is checked rather than assumed. One new test pins the argument itself, since replacing the function is what blinds the others. Red-proof: reverting `free_tier_local_processing_enabled(uid)` back to a bare call fails `test_rollout_gate_is_asked_about_this_account_not_asked_bare` with a TypeError at the call site. With the fix, 40 passed. Co-Authored-By: Claude Opus 5 <[email protected]>
`extract_memories(uid, conversation)` called `free_tier_memory_suppression_enabled()` bare, using `uid` on the very next line. Same contract and same consequence as the S6 gate: the cohort admits nobody when it is not told which account it is deciding about, so the S5 branch was unreachable however the cohort was configured. The sweep and the connectors already passed `uid`; this site was the exception. The registry described both sites as not yet passing a uid. That is no longer true, so the registry says so. This does not turn S5 on. Both flags stay unset, admitting nobody, and lighting memory suppression is a separate decision that needs its own replacement story first - suppressing server-formed memories without an on-device equivalent is takeaway before replacement. 55 passed across the free-tier branch and memory-policy suites. Co-Authored-By: Claude Opus 5 <[email protected]>
The flag read env-or-UserDefaults and defaulted off, and nothing in the app ever wrote it. A shipped Beta build therefore had the client half dark with no way to light it short of a rebuild. That is not a missing convenience, it is the takeaway-before-replacement case. Beta serves through the development plane while keeping production identity. Lighting FREE_TIER_LOCAL_PROCESSING there with the client dark means an identified-basic user's conversation arrives carrying no projection; the policy resolves `store_projection if has_projection else deterministic_minimum`, the minimum is terminal, and the cloud summary is gone with nothing in its place. The two halves have to be lit together, so Beta is where the client default belongs. Only the absence of both an environment value and a stored default falls through to the channel default, so this stays a kill switch in both directions: - `object(forKey:)` rather than `bool(forKey:)`, because the latter cannot tell a stored `false` from a key that was never set - without the distinction Beta could not be turned off without a rebuild. - A blank environment value is "unset", not "off", so an exported-but-empty variable cannot silently dark the channel. Stable and every other bundle are unchanged and still default off. 13 tests, 0 failures: xcrun swift test --package-path Desktop --filter LocalProjectionFinalizationTests Co-Authored-By: Claude Opus 5 <[email protected]>
… subject A rollout gate that decides per subject and is asked without one admits nobody by design, so the branch behind it is unreachable in every environment while the flag and cohort still read as configured. The prevention has two halves: pass the subject at every call site, and make the test doubles carry the real signature, because a zero-argument stub stays green across exactly this defect. Co-Authored-By: Claude Opus 5 <[email protected]>
…n flow The flow already covers every source that produces and uploads the on-device projection. The seam that selects it at decode is the read side of the same feature, and uncovered it is exactly the gap this flow's later steps would observe as a placeholder title on a free-tier account. Co-Authored-By: Claude Opus 5 <[email protected]>
SwiftLint bans force casts and the fixture mutators used seven. A silent `?? [:]` would be worse than what it replaces: a mistyped key would mutate nothing, the fixture would decode unchanged, and the assertion would pass for the wrong reason. The helpers fail the test at the caller instead. 18 passed. Co-Authored-By: Claude Opus 5 <[email protected]>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
…n, follows #14513) (#14528) ## Failure-Class Failure-Class: new ## Summary Fixes main: #14513 changed `free_tier_local_processing_enabled` to take `(uid)` (process_conversation.py L2629) but did not update the test fixtures in `test_free_tier_entrypoint_matrix.py`, which still monkeypatch it with 0-arg lambdas. Every entrypoint-matrix case fails with `TypeError: <lambda>() takes 0 positional arguments but 1 was given` — 174 failures, red `Backend unit shard 4/4` on every open PR (verified on CI runs 35320292707 and its rerun, and reproduced on a fresh origin/main checkout). ## Change Seven monkeypatch sites: `lambda: X` → `lambda *_: X` (arg-tolerant, preserves each site's flag intent). No production code touched. ## Verification - `test_free_tier_entrypoint_matrix.py`: 174 passed (was 174 failed on fresh main) - `test_frame_request_agent_tool.py`: 13 passed (was cascade-failing in the same shard) - Both files together: 187 passed ## Product invariants affected - INV-DATA-1 Preserved: test-only change; no production behavior, routing, or project binding touched. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/14528?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. -->
Git-on-my-level
added a commit
to Git-on-my-level/omi
that referenced
this pull request
Sep 18, 2026
…ion-goal decode to generated client
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
…de to generated client (#14533) ## Failure-Class Failure-Class: FC-fixture-mock-signature-drift ## Summary Round-2 completion of the #14513 fixture sweep (first round: #14528, one file). Remaining 0-arg lambda mocks of `free_tier_local_processing_enabled(uid)` in `test_client_processing_finalize.py` (1 site, via `_enable_flag`) and `test_client_processing_acceptance.py` (2 sites) still raised `TypeError: <lambda>() takes 0 positional arguments but 1 was given` at process_conversation.py:2629 — the red `Backend unit shard 3/4` on every open PR. Also fixes the schema-inventory ratchet break: #14514 added `createIntroductionGoal` (app/lib/backend/http/api/goals.dart) decoding its response via raw `Goal.fromJson(json.decode(...))`; migrated to the generated-backed decode (`Goal.fromGenerated(wire.GeneratedGoalResponse.fromJson(_goalJsonWithDefaults(...)))`), mirroring the adjacent `createGoal` in the same file — `test_app_client_schema_inventory.py::test_inventory_openapi_route_response_decode_migration_complete` is green again. ## Change - 3 lambda sites: `lambda: X` → `lambda *_: X` (same pattern as #14528; preserves each site's flag intent) - 1 Dart decode site migrated to the generated client path; no behavior change (same payload, same model) ## Verification - All previously red files green from `backend/`: test_client_processing_finalize, test_client_processing_acceptance, test_free_tier_entrypoint_matrix, test_app_client_schema_inventory, test_conversation_discard_parsing/jit_processing/model_split/recordings_purge, test_frame_request_agent_tool — 400+ passed, 0 failed - test_frame_request_agent_tool + test_gateway_anthropic_client + test_geocode_keyless_no_egress + test_get_app_messages_visible_pagination + test_goal_extraction_batch also green standalone ## Product invariants affected - INV-DATA-1 Preserved: the Dart change keeps the identical wire model and endpoint (`POST /v1/goals/canonical`); it only routes the response through the generated schema decoder mandated by the inventory contract. Test changes are mock-arity only. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/14533?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. -->
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
…t tripwire (round 3) (#14537) ## Failure-Class Failure-Class: FC-fixture-mock-signature-drift ## Summary Round-3 completion of the #14513/#14485 CI-green restoration (rounds 1–2: #14528, #14533). Three remaining main-wide shard-2 failures: 1. `test_geocoding_cache.py` (13 failures): #14485's keyless-geocode guard returns `None` before the API call when `GOOGLE_MAPS_API_KEY` is unset, so every API-path test now exercises a dead path. Added an autouse fixture setting a dummy key; the explicit no-key cache-hit test keeps its own `clear=True` override, preserving its intent. 2. `test_free_tier_cohort.py::test_coordinator_sites_still_read_the_flag_without_a_uid`: the test documented its own deletion condition ("if the calls now carry uid, delete it and the gap note together") — #14513 met it (both call sites now pass `uid`). Deleted per its docstring, with the now-unused `re` import. 3. `test_gateway_resilience.py`: passes standalone (3/3) — shard-pollution follower, expected green once the real failures clear. ## Verification - All three files: 74 passed from `backend/` - Full sweep of every previously red file this program touched: green ## Product invariants affected - INV-DATA-1 Preserved: test-only changes plus one autouse test fixture; no production behavior, routing, or project binding touched. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/14537?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. -->
cursor Bot
pushed a commit
to apoorvdarshan/omi
that referenced
this pull request
Sep 18, 2026
BasedHardware#14513 made the free-tier store_projection path reachable via free_tier_local_processing_enabled(uid). The custom-STT skip was a trial-paywall-style early return above that branch, so a desktop custom-STT session that would persist the local summary never reached it. Move the skip to after the unpaid desktop path (and the flag-off elifs) so it only gates Omi-paid _get_structured. Gate policy is unchanged. Failure-Class: none Verification: - pending: custom-STT gate + process_conversation unit tests Co-authored-by: Apoorv Darshan <[email protected]>
kodjima33
pushed a commit
that referenced
this pull request
Sep 19, 2026
…TT-credit bypass (#14300) * fix(backend): meter custom-STT LLM post-processing without skipping STT-credit bypass Custom-STT still skips has_transcription_credits at listen connect and never records transcription_seconds. After #12663 reverted the #10962 blanket LLM skip, those sessions had no processing budget. Cap Omi-paid structuring / summary / memory against the catalog listening allowance read from speech_seconds. Paid unlimited and LLM BYOK stay allowed; lookup errors fail open so a Firestore blip cannot strip summaries. Failure-Class: none Verification: - backend/.venv/bin/python -m pytest -q tests/unit/test_custom_stt_llm_processing_gate.py tests/unit/test_listen_runtime_regressions.py tests/unit/test_process_conversation_usage_context.py tests/unit/test_process_conversation_free_tier_branch.py tests/unit/test_client_processing_acceptance.py tests/unit/test_client_processing_finalize.py tests/unit/test_free_tier_entrypoint_matrix.py tests/unit/test_fair_use_engine.py tests/unit/test_fair_use_plan_aware.py tests/unit/test_subscription_plans.py - 491 passed - Did not exercise a live custom-STT listen session Co-authored-by: Apoorv Darshan <[email protected]> * test(backend): isolate custom-STT STT-credit skip from subscription stubs The bootstrap admit test imported listen_session_bootstrap after the file stubbed database._client for subscription isolation, so test.sh file isolation failed on fair_use.db. Keep the gate tests isolated and pin the STT-credit skip on the existing bootstrap suite. Failure-Class: none Verification: - BACKEND_UNIT_TEST_FILE_LIST with test_custom_stt_llm_processing_gate.py and test_listen_session_bootstrap.py via backend/test.sh - 8 passed + 5 passed Co-authored-by: Apoorv Darshan <[email protected]> * fix(backend): keep custom-STT LLM skip from aborting memory fan-out The new should_skip_omi_paid_postprocessing import bound a truthy AutoMock in test_upstream_boundary, so process_conversation returned before _extract_memories. Consult the gate only for custom-STT conversations and pin the isolation stub to fail-open, matching the other subscription gates. Failure-Class: none Verification: - pending: tests/unit/test_upstream_boundary.py via backend/test.sh Co-authored-by: Apoorv Darshan <[email protected]> * chore: retrigger Hygiene after line-count exception update PR body already declares process_conversation.py 3167 -> 3199. Hygiene on 86c79cf still shows the stale 3196 mismatch because body edits do not re-run that check. Co-authored-by: Apoorv Darshan <[email protected]> * test(backend): pin unset BYOK context and subscription_inactive LLM gate Review on #14300 asked for two cases that pin current policy without changing it: leave `_byok_uid_ctx` unset (do not monkeypatch the helper) so a BYOK-enrolled custom-STT user follows the plan check, and add `plan=None` covering `subscription_inactive`. Co-authored-by: Apoorv Darshan <[email protected]> * fix(backend): keep custom-STT LLM skip after unpaid on-device summary #14513 made the free-tier store_projection path reachable via free_tier_local_processing_enabled(uid). The custom-STT skip was a trial-paywall-style early return above that branch, so a desktop custom-STT session that would persist the local summary never reached it. Move the skip to after the unpaid desktop path (and the flag-off elifs) so it only gates Omi-paid _get_structured. Gate policy is unchanged. Failure-Class: none Verification: - pending: custom-STT gate + process_conversation unit tests Co-authored-by: Apoorv Darshan <[email protected]> --------- Co-authored-by: Cursor Agent <[email protected]>
This branch was successfully deployed
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.
The free tier replaces cloud summarization with an on-device summary. Every piece of that shipped
dark over the last weeks — the chunk summarizer, the fail-closed runtime, the projection upload, the
Apple Foundation Models adapter, the server-side policy. None of it did anything, for four separate
reasons, and no test could see any of them.
This makes the free tier actually work, and proves it end to end on a real bundle rather than in a
suite.
The four reasons
1. The rollout gate was asked without a subject.
process_conversationgated the whole free-tierbranch on
free_tier_local_processing_enabled()— no uid — two lines aboveresolve_free_tier_processing_plan(uid=uid, …). Cohort gates are fail-closed by design: askedwithout the account, they admit nobody. So the branch was unreachable in every environment, whatever
the flag and cohort were set to.
extract_memorieshad the identical bug for memory suppression.The feature-flag registry described both — "passes no uid yet, so that site lights nobody" — which
is the defect written down rather than a note about it.
The suites could not catch it: every test replaces that function with a zero-argument lambda, so
they only ever typecheck against the broken call. The doubles now carry the real signature and
assert they were given a uid, and one test pins the argument instead of replacing the function.
Red-proof: revert the fix and it fails with a
TypeErrorat the call site.2. The desktop never rendered the summary it uploads. The backend bind endpoint "updates only
client_processing. Never touchesstructured", andConversationProcessingState's docstring makesrendering a client contract.
ServerConversation.initdecoded the field and dropped it, so afree-tier user saw the deterministic minimum forever. Every display consumer reads
ServerConversation.structured, so selection happens once at the decode seam.What that required beyond the mapping: digest verification against the transcript when segments are
present, and
transcriptVerified: falserather than a pretended check when they are not; atwo-layer guard so a future schema version cannot make the conversation unreadable; precedence
derived from the backend's own minimum rather than from
processing_state, which is absent for bothenriched and projected rows; action-item merge on exact description with canonical winning, so
OR-ing completion cannot resurrect a task the user reopened; and display attribution in its own
column, because
clientProcessingJsonis the producer-owned immutable retry blob and mixing themwould corrupt retries.
Known limit, stated rather than hidden: a cloud result that is title-only with otherwise default
fields is indistinguishable from the deterministic minimum at this seam.
3. The on-device engine was registered but never selected.
LocalInferenceRuntime.makeDefaulthardcoded
.localServer— a loopback OpenAI-compatible client defaulting to Ollama, which ordinaryusers do not run. It now selects
.afmwhen the Mac can actually run it. The invariant is preserved:selection resolves to exactly one engine at construction, and a failure of that engine becomes the
deterministic minimum, never the other engine and never cloud.
4. The client gate defaulted off with no way to turn it on. Nothing in the app ever wrote it, so
a shipped Beta build had the client half dark. That is the takeaway-before-replacement case: Beta
serves through the development plane, and lighting the backend cohort with the client dark means the
conversation arrives with no projection, the policy resolves to the terminal deterministic minimum,
and the cloud summary is gone with nothing in its place. Beta now defaults on; an explicit
environment value or stored default still wins in both directions, so it remains a kill switch.
Proof on a real bundle
Driven through the automation bridge on a named local-profile bundle against the local harness
(Firebase emulator,
PROVIDER_MODE=offline, no cloud, no spend).capture_test_transcriptis thehermetic capture seam, so this is the real finalization path with no microphone and no STT.
Three-way discriminator: the policy engaged and denied managed compute; Apple's on-device model
produced the projection; the client rendered it over the stored structure. An earlier run that
looked right was rejected — the minimal
structuredwas a failed cloud call, not the policy, andchasing that discrepancy is what surfaced reason 1.
AFM output from one injected transcript: three headed sections, a real overview, two action items.
Measured window is
SystemLanguageModel.default.contextSize= 8192, not the 4096 unavailablefallback.
Tests
ConversationProjection(Rendering|Persistence)Tests— 18 passedLocalInferenceRuntimeDefaultEngineTests|AFMLocalInferenceAdapterTests|LocalInferenceRuntimeFailClosedTests— 39 passed, 2 skippedLocalProjectionFinalizationTests— 13 passedtest_process_conversation_free_tier_branch.py+test_free_tier_memory_policy.py— 55 passedscripts/dev-harness/run-tests.sh— 336 passed, 7 skippedAFMLocalInferenceLiveTestswithOMI_AFM_LIVE=1— 2 passed on-devicePre-existing on main, unrelated to this change and failing identically without it:
ChatSkillCatalogLaneTests(2 tests).Not in this change
S5 memory suppression stays off. Its gate is fixed so the flag does what it says, but both flags
remain unset and admitting nobody — suppressing server-formed memories has no on-device replacement
yet, and lighting it would be takeaway before replacement.
Macs without Apple Intelligence still fall to the terminal deterministic minimum. That is the
remaining gap in the ruling and is being handled separately.
Failure-Class: new
INV-AUTH-1
INV-MEM-4
INV-TASK-2
Line-Count-Exception: backend/utils/conversations/process_conversation.py | 3194 -> 3203 | The free-tier and memory-suppression gates each gain the uid argument plus the comment explaining why a bare call leaves the branch unreachable; the new failure class exists because that reasoning was not written down at the call site.
Line-Count-Exception: desktop/macos/Desktop/Sources/Rewind/Core/RewindDatabase.swift | 3646 -> 3654 | One additive migration registering the
localSummaryJsoncolumn, kept separate fromclientProcessingJsonso display attribution cannot corrupt the producer-owned retry blob.🤖 Generated with Claude Code