Skip to content

refactor(app): stop deriving Memory Created analytics from the transcript - #14392

Merged
Git-on-my-level merged 1 commit into
mainfrom
task/msd-product-memory-created-payload
Sep 17, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
task/msd-product-memory-created-payload

Conversation

@Git-on-my-level

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

Copy link
Copy Markdown
Member

Summary

  • Memory Created no longer reads getTranscript() to emit transcript_length, transcript_word_count, or speaker_count.
  • Keeps the numerator memory_id and memory_result, plus the other named fields this event already sent that are not transcript-text derivations: memory_discarded, memory_hours_since_creation, action_items_count, transcript_language, conversation_source, duration_seconds, timestamp, and recording hardware type/firmware (not_applicable for phone).
  • Sibling events that still go through getConversationEventProperties were left unchanged on purpose.

Test plan

  • Hermetic test drives AnalyticsManager.conversationCreated with distinctive transcript text. Before: payload contains transcript_length, transcript_word_count, speaker_count. After: those keys are absent; memory_id and memory_result remain; transcript token is not in any string value.
  • TZ=UTC bash app/test.sh --reporter compact → +2095 All tests passed
  • dart format --line-length 120
  • make preflight
  • Did not contact https://api.omi.me, PostHog, or any warehouse

C7 consumers

origin/main has no contracts/analytics/consumers. On origin/task/msd-spine-a-event-registry the only consumer is mobile-instrumentation-presence, whose SQL groups four other event names and never references Memory Created or the three dropped columns.

Failure-Class: none

🤖 Generated with Claude Code

Review in cubic

Memory Created was reading getTranscript() on the analytics path to emit
length, word, and speaker counts. Those are not a product numerator.
Keep memory_id and memory_result.

Failure-Class: none
Co-authored-by: Cursor <[email protected]>
@Git-on-my-level
Git-on-my-level merged commit dcd4551 into main Sep 17, 2026
42 checks passed
@Git-on-my-level
Git-on-my-level deleted the task/msd-product-memory-created-payload branch September 17, 2026 21:03
Git-on-my-level added a commit that referenced this pull request Sep 18, 2026
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]>
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