Skip to content

C8 slice 4: the last 69 unblocked events through TypedEvents - #14696

Closed
Git-on-my-level wants to merge 36 commits into
mainfrom
task/msd-product-c8-slice4
Closed

Git-on-my-level wants to merge 36 commits into
mainfrom
task/msd-product-c8-slice4

Conversation

@Git-on-my-level

Copy link
Copy Markdown
Member

What changed and why

C8 slice 4 finishes the last 69 nothing-block events: 66 empty payloads plus Live Transcript Card Clicked (bool+int), Apple Reminders Sync Completed (ints), and Wrapped Generation Completed (ints). No new String, no new registry type. Adapter payloads match goldens pinned at bb5d5fe567 before emit and re-proven after.

upgradeSucceeded still tracks Subscription Plan Changed (strings) and now emits Upgrade Succeeded through TypedEvents. User Deleted is unchanged (adapter.track + reset). adopted_files stays empty.

Product invariants affected

none

How it was verified

  • Goldens written and passing on task/msd-product-c8-slice4 at bb5d5fe567 before any emit change; re-proven after emit with prior C8 goldens.
  • TZ=UTC bash app/test.sh — 2126 passed.
  • python3 scripts/check_event_registry.py --base origin/main — 121 registered events (120 presence + type-extension probe).
  • OMI_PR_BODY_FILE=.local/pr-body-c8-slice4.md make preflight — 19 checks passed in 70.84s (harness 344 passed, 7 skipped, 59 xfailed).
  • git diff --name-only origin/main HEAD | grep '\.dart$' | grep -vE '\.(g|gen)\.dart$' | xargs dart format --line-length 120 --output=none --set-exit-if-changed

Did not call api.omi.me, PostHog, or any warehouse. Did not invent a String closed set. Did not migrate interpolated-name events, transcript-derived counts, F1 correlation ids, or User Deleted.

Tests

Core path: c8_slice4_goldens_test.dart fires all 69 public methods, including all four bool combinations on Live Transcript and zero/nonzero ints on Apple Reminders and Wrapped Generation Completed; wrappedGenerationCompleted is fired before wrappedGenerationStarted so $duration is not attached. Main error path: prior C7 emission-privacy and type-extension constructor TypeError tests remain.

Failure class (fixes)

Failure-Class: none

Review in cubic

Git-on-my-level and others added 30 commits September 17, 2026 13:42
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.
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]>
Unblock the next C8 tranche without migrating production wrappers.
A type-extension probe proves emit goldens for the new types; free
String, double, and Map stay rejected.

Co-authored-by: Cursor <[email protected]>
Capture public-method adapter payloads for the int and closed-enum
tranche at 75db862 before any wrapper calls TypedEvents.emit.

Co-authored-by: Cursor <[email protected]>
Route twelve production methods whose payloads are only unbounded ints
or already-closed enums, keeping emitted names and maps byte-identical
to goldens captured before emit.

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]>
Git-on-my-level and others added 6 commits September 18, 2026 07:22
Capture public-method adapter payloads at b478587 after the
main-forward merges and before those wrappers call TypedEvents.emit.

Co-authored-by: Cursor <[email protected]>
Route nine already-bool payloads that needed no new registry type,
keeping names and maps byte-identical to goldens at b478587.

Co-authored-by: Cursor <[email protected]>
… goldens

Capture adapter names and empty payloads at 82776e2 before TypedEvents.emit so a later silent rename cannot hide dashboard drift.

Co-authored-by: Cursor <[email protected]>
…ts through TypedEvents

Fifteen empty events needed no new String and no new registry type. Adapter payloads stay byte-identical to goldens pinned at 82776e2.

Co-authored-by: Cursor <[email protected]>
Capture adapter names and payloads at bb5d5fe before TypedEvents.emit so the last free C8 events cannot silently rename.

Co-authored-by: Cursor <[email protected]>
The last 69 free events needed no new String and no new registry type. Adapter payloads stay byte-identical to goldens pinned at bb5d5fe.

Co-authored-by: Cursor <[email protected]>
@mintlify

mintlify Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
omi 🟢 Ready View Preview Sep 19, 2026, 4:20 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@Git-on-my-level

Copy link
Copy Markdown
Member Author

Superseded by #14697: the C8 super-PR carries this slice's cumulative content on a clean ancestry from current main (per David's batching directive — one CI cycle for the whole C8 stack instead of five). Audit clean, registry validates at 121 events, analytics+c7 tests green.

@Git-on-my-level

Copy link
Copy Markdown
Member Author

Fully absorbed: the cumulative C8 slice content (all 121 registered events, TypedEvents migration, slice goldens) reached main via the C8 super-PR #14697. Closing as absorbed per the batching directive.

@github-actions

Copy link
Copy Markdown
Contributor

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:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our product principles and locked invariants

Before your next PR, please skim:

  • PRODUCT.md — product north star
  • Product invariants — locked rules (shared chat, memory tiers, agent control plane, integrations, brand)

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!

This branch was successfully deployed

1 active deployment
staging - docs — fa913b0e Deployed Sep 19, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant