Repository navigation
C8 slice 1: route eleven settings events plus the four C7 exemplars through TypedEvents - #14539
Git-on-my-level wants to merge 25 commits into
Conversation
Add strict Python/Dart pending contracts and introducing-commit protection. Reserve the live-session CLI, wire, ownership/attachment seams and failing builder acceptance tests. Add live attribution before freezing evidence v1. Verification: - bash scripts/dev-harness/run-tests.sh: 287 passed, 7 existing skips, 40 strict xfailed (24 pending V1 markers), Python 3.11.15. - make preflight: 16 checks passed, using supported PYTHON selection. - make mobile-verify fast --paths harness/session contract inputs with an absolute evidence directory: 20 executed, 20 passed, no failures/skips. - bash app/test.sh: 2014 passed, 5 skipped, one unchanged UTC+7 search_rank_grouping_test failure; affected baseline inputs match main. - Real module CLI refusals exit 2 without traceback; regression covered. - Dart SDK probe proves ext. prefix required; marker-removal formatter probe proves no incidental Dart diff. Runtime is intentionally unimplemented. App UI must repair current invalid VM extension names before live acceptance; unsupported journeys block. Simulator/emulator latency and detached-process acceptance remain V1 work. make setup installed hooks but full backend wheel sync stalled; isolated Python 3.11 harness dependencies ran the owner checks without any skip flag. Failure-Class: none
The check protects files under the spine roots and their registry, so it only needs to run when those change. A repo-wide trigger would run it, and its full-history requirement, on every unrelated contributor PR. Co-Authored-By: Claude Fable 5.1 <[email protected]>
V1 must refuse live journey execution until a shared executable adapter exists; B1 addressability alone cannot attach Dart integration tests. Pure admission contracts remain valid with injected supported IDs. Verification: harness 287 passed, 7 skipped, 40 strict xfailed; make preflight passed 20 checks.
…lities Coordinator turn-4 review authorizes the V1 fixture correction. Exact before/after digests pin the revised oracle; immutable revision records do not permit builder assertion edits. Active tests reject missing/tampered records and prove the fake machine response. Verification: full harness 289 passed, 7 skipped, 40 strict xfailed; UTC app 2020 passed; spine 24 pending/7 protected; make preflight 16 passed. No live device acceptance claimed.
Track retained marker occurrences rather than counts so retiring a second test cannot restore the first test's retired marker. The active regression covers this swap and legitimate continued retirement. Verification: full harness 290 passed, 7 skipped, 40 strict xfailed; spine 24 pending/7 protected; make preflight 16 passed. Dart sources unchanged after the earlier UTC app 2020-pass run.
…rges A squash can introduce a corrected contract and its review records in the same commit. Absorb only the revision prefix ending at that introducing file's exact digest, preserving immutable records and later marker-only edits. Active temp-repo regression covers multiple corrections in one squash and rejects restoring old or altered assertions. Verification: harness 291 passed, 7 skipped, 40 strict xfailed; B1 make preflight 20 passed; final B1 journeys 20/20. Dart unchanged after UTC app 41 opt-in and 2051 ordinary passed.
C7 keeps legacy wire names and queue behavior, requires executable consumers, and constrains raw calls only after adoption or in new files. Four example events remain behind a pending dispatch skeleton. Verified UTC app 2067, harness 306 passed/7 skipped/44 xfailed, spine 31 pending/9 protected, preflight 19 checks, and 20 hermetic journeys.
Preserve wire property spelling independently from Dart identifiers and restrict raw-call enforcement to adopted files and the one typed bridge. Revise the protected payload oracle after a Flutter matcher probe exposed map identity inside records. Verified: TZ=UTC bash app/test.sh (2069 passed); full harness (308 passed, 7 skipped, 44 strict xfailed); spine (31 pending, 10 protected); make preflight (19 passed); fast journeys (20/20); three historical commits passed scanner replay.
…nto coord/event-registry
Use the actual PR base and immutable exact scaffolding snapshots to reject mixed revision/implementation diffs. Exercise a real squash and child merge. Correct local_dev wire spelling from the simulator RPC and add adversarial V1 conformance oracles after reviewing the first broker. Verification: UTC app 2064 passed; full harness 303 passed, 7 skipped, 55 strict xfailed; spine 37 pending/9 protected; preflight 16 checks passed. Isolated reviewed-broker probes failed 9/9 as documented in the conformance report. No real app/device launch.
# Conflicts: # .github/checks-manifest.yaml # contracts/spine/files.json
…ge orders Keep exact oracle digests and immutable revision records. Traverse full reachable history and match revision payloads by digest. Shared runner metadata requires direct fail-fast suite invocation instead of pinning shared file bytes. Both new regressions fail on the old checker. UTC app 2064 passed; final harness 306 passed, 7 skipped, 59 strict xfailed; spine 39 pending/10 protected; preflight 16 passed. No protected oracle bytes or legacy scope pins changed.
Add strict pending C7 oracles for initialized and pre-init queue payloads. Legacy event privacy remains C8 scope. Verification: UTC app 2071 passed; harness 320 passed, 7 skipped, 59 strict xfailed; spine 43 pending / 13 protected; preflight 19 passed.
Four exemplar events now reach the existing queue, including the pre-init flush path, without copying caller-mutated property bags. Co-authored-by: Cursor <[email protected]>
Capture public AnalyticsManager payloads for the empty and bool-only events at c789b4e before those methods call TypedEvents.emit. Co-authored-by: Cursor <[email protected]>
Register eleven pin-exactly settings events and route them plus the four C7 exemplars through emit, matching goldens pinned at c789b4e. Co-authored-by: Cursor <[email protected]>
The last row is no longer transcribeLaterToggled once C8 appends events; look the boolean preference up by id instead of list position. Co-authored-by: Cursor <[email protected]>
Bring in #14408 (AGENTS.md budget), #14388 (device identity), and #14392 (Memory Created). Spine conflicts take main; analytics_manager keeps both the C7 emit seam and main's newer payload contracts. Co-authored-by: Cursor <[email protected]>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Handed back — merge origin/main into Resolution intent: take main's registry wholesale (new C7 is authoritative), then re-apply this slice's migrations (eleven settings events + the four C7 exemplars through TypedEvents) against the rebuilt API. The add/add collisions in Descendants note: #14449/#14441/#14459/#14461 inherit this base — fix here and they stack cleanly. |
kodjima33
left a comment
There was a problem hiding this comment.
TypedEvents migration slice, no abuse signal; approve-only per standing account flag, DIRTY needs manual rebase.
|
Superseded by #14694: this branch's ancestry predates the C1/C3 session merges and cannot fast-forward to the resolved state. The same C8 slice content (registry + TypedEvents wiring + goldens) lives on the clean-ancestry successor; all owned-file audits passed there. |
|
Supersession audit (merge-loop, 2026-09-20): This PR's content landed via successor #14694 — same title, same C8 slice-1 scope — merged 2026-09-19 (bc2569f). File-level: 3/19 owned files already byte-identical to main; 8 more match #14694's merge tree exactly (main has since evolved them further — e.g. |
|
Closing as superseded per owner decision (David, 2026-09-20). Content landed via successor #14694 (same title, merged 2026-09-19, bc2569f); main has since evolved those surfaces further. File-level audit in the comment above. Any surviving fragment worth keeping can be rehomed as a fresh PR against current main. |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Summary
tryGetActionItems/ empty-list coalescing makes a 503 render the Tasks empty hero (Create Action Item). An injected 503 against the realActionItemsProviderandActionItemsPage(not a typed-result unit test alone) now showsomi.action_items.errorand never that hero; retry recovers to valid empty.getActionItems/tryGetActionItemsstay onmakeApiCall.ActionItemsApi.listis the typed path. ProductionActionItemsProvider()is not flipped; tests usecomposeTypedActionItemsProvider. Parser keeps valid rows around a malformed one and countsrejectedRows.executeApialready maps 402 → locked and 422 → terminal withretryable: false. I did not migrate create / update / delete / bulk /loadMoreActionItems/ Home today-window fetch: those are not the empty-hero path, and changing their null-as-failure retry would be a behaviour change. Name them for a later slice rather than quietly retargeting.pendingContract('C3')on the Dart Record.== / Map identity projection test. No workaround.action_items.dartstays unadopted (partial large file; baseline 11makeApiCall/ 17 null-swallow after the independent-rowcatch). Brand-newaction_items_api_contract.dartis adopted forlegacy-nullable-http(the only rule that applies atapp/lib/backend/http/, not underapi/). The scanner is changed-file-only: it constrains adopted files and brand-new files (prior_source is None); untouched legacy files may grow and are never taxed. False-positive shape: after comments/strings are stripped, unrelatedcatch (,return null, or?? []in an adopted file fire; aliases/wrappers evade it. Behavioral contracts remain authoritative.Test plan
TZ=UTC flutter test test/spine/c3_action_items_test.dart— 3/3 (outage→error on provider + real page, parser keeps valid rows, retry recovers to empty)TZ=UTC bash app/test.sh— exit 0python3 scripts/check_spine_contracts.py— C3 projection marker still pending; new spine file registeredmake preflight— 21 checks passed vsorigin/maindart format --line-length 120on touched Dart filesmake mobile-verify ARGS="fast --paths …action_items…"— 9/9 passedscripts/pr-preflight --suggest— no locked invariants; nofix:commit so no failure class required. Ask before defining one.Failure-Class: none
🤖 Generated with Claude Code
Product invariants affected
INV-DATA-1 — the action-items list migration keeps production-family routing continuity: Home-today/load-more/retry resolve through the same production data plane via ActionItemsApi, now with explicit typed error and retry states.
Line-Count-Exception: backend/database/conversations.py | 2442 -> 2476 | growth arrived via main-side merges carried by this re-registration PR; file content is byte-identical to origin/main.
Product invariants affected
INV-MEM-4 — the C8 typed migration keeps memory-promotion authority intact: provider construction and event emission move to typed surfaces without changing which component promotes memories.
INV-TASK-2 — the action-items C8 slice keeps task data continuity: typed events carry the same wire names/properties verified by the registry contract.