Skip to content

C8 slice 1: route eleven settings events plus the four C7 exemplars through TypedEvents - #14448

Closed
Git-on-my-level wants to merge 4 commits into
task/msd-product-c7-registryfrom
task/msd-product-c8-migrate
Closed

Git-on-my-level wants to merge 4 commits into
task/msd-product-c7-registryfrom
task/msd-product-c8-migrate

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

What changed and why

C8 first slice: register eleven empty or bool-only settings events and route them, plus the four C7 exemplars, through TypedEvents.emit so those public AnalyticsManager methods no longer contain event-name literals. Payloads are asserted byte-identical to goldens captured at c789b4e19e before the wrappers called emit. Merged origin/main forward through task/msd-product-c7-registry so #14408, #14388, and #14392 are on this branch; device-identity and Memory Created payloads stay main's.

Product invariants affected

none

How it was verified

  • Goldens were captured against the pre-migration methods at c789b4e19e (test passed), then the wrappers were switched, then the same test passed again.
  • After merging C7 (with origin/main) into this branch: TZ=UTC bash app/test.sh — 2120 passed.
  • python3 scripts/check_event_registry.py --base origin/main — 15 registered events, executable consumers, generated output current. adopted_files remains empty; analytics_manager.dart is not adopted.
  • app/AGENTS.md is 11278 bytes (budget 11411).
  • OMI_PR_BODY_FILE=.local/pr-body-c8-slice.md make preflight — after this body.

Did not call api.omi.me, PostHog, or any warehouse. Did not emit live. Did not remove transcript-derived counts. Did not add correlation ids, socket, or reconciler events.

Tests

Core path: app/test/utils/analytics/c8_slice_goldens_test.dart drives every migrated public method, including all bool branches, and compares ordered adapter names and property maps (with types) to goldens pinned at c789b4e19e. Main error path is unchanged C7 coverage: missing configuration remains a no-op; emission-privacy still holds for the four exemplars. Device-identity and Memory Created regression tests from #14388/#14392 remain on the merged main payload.

Failure class (fixes)

Failure-Class: none

🤖 Generated with Claude Code

Review in cubic

Git-on-my-level and others added 4 commits September 18, 2026 03:26
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]>
hridaya423 added a commit to hridaya423/omi that referenced this pull request Sep 18, 2026
Reviewer asks: test_tools_auth.py was not in .github/checks-manifest.yaml
(the existing max-results entry only runs test_max_results.py), and the
docstring cited BasedHardware#14448 instead of the BasedHardware#14451 bounty issue. Registers
twitter-chat-tools-auth-tests (PASS via run_checks.py --check-id) and
corrects the reference. PR body now declares Failure-Class: none.

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

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@Git-on-my-level
Git-on-my-level deleted the branch task/msd-product-c7-registry September 18, 2026 09:13
@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!

@Git-on-my-level

Copy link
Copy Markdown
Member Author

Auto-closed when base branch was deleted after its parent squash-merged. Head unchanged at 9b8a49426; continued as #14539 targeting main.

This branch was successfully deployed

1 active deployment
staging - docs — 9b8a4942 Deployed Sep 18, 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