Repository navigation
refactor(app): stop deriving Memory Created analytics from the transcript - #14392
Merged
Merged
Conversation
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
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]>
This was referenced Sep 18, 2026
Closed
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.
Summary
getTranscript()to emittranscript_length,transcript_word_count, orspeaker_count.memory_idandmemory_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_applicablefor phone).getConversationEventPropertieswere left unchanged on purpose.Test plan
AnalyticsManager.conversationCreatedwith distinctive transcript text. Before: payload containstranscript_length,transcript_word_count,speaker_count. After: those keys are absent;memory_idandmemory_resultremain; transcript token is not in any string value.TZ=UTC bash app/test.sh --reporter compact→ +2095 All tests passeddart format --line-length 120make preflighthttps://api.omi.me, PostHog, or any warehouseC7 consumers
origin/mainhas nocontracts/analytics/consumers. Onorigin/task/msd-spine-a-event-registrythe only consumer ismobile-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