Repository navigation
fix(backend): ground action items on the primary user - #12089
Merged
kodjima33 merged 2 commits intoAug 23, 2026
Merged
Conversation
formed2forge
pushed a commit
to formed2forge/omi
that referenced
this pull request
Aug 24, 2026
…12089) * test(backend): cover primary-user action-item grounding * fix(backend): ground action items on primary user Failure-Class: none
This was referenced Aug 26, 2026
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
Action-item extraction renders the account owner's display name into transcripts, but the extractor is still instructed to infer the primary user from conversational style. In multi-speaker recordings that can assign another participant's request to the wrong person, which is the ownership failure reported in #8918.
Thread the resolved primary-user name through every legacy extraction path and place it in the per-conversation dynamic context as JSON-encoded, explicitly untrusted identity data. The cacheable static prefix contains only the generic authority rule, preserving the prompt-cache contract added after the earlier attempt at this fix.
Fixes #8918.
Verification
git diff --check,make preflight, and PR-body preflight pass.Product invariants affected
Failure-Class: none
Line-Count-Exception: backend/utils/conversations/process_conversation.py | 2403 -> 2411 | thread the resolved primary-user identity through all three legacy action-item extraction paths
Line-Count-Exception: backend/utils/llm/conversation_processing.py | 1751 -> 1765 | keep primary-user identity in dynamic untrusted prompt context without changing the cacheable static prefix