Repository navigation
#797 Project v2 prompt skills from the inbox event on iOS - #829
Merged
Merged
Conversation
A live v2 prompt reached the store only through session.inbox.enqueued, which the event adapter projected without its skills, so the sent bubble showed raw /name text until a reload. Project the skill ids and mentions (not the skill body) into the user info, decode them, and keep them across the delivery info. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 25, 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
main./tdd-checktext in the sent bubble until a reload. The prompt reaches the store throughsession.inbox.enqueued, andEventDomainAdapterprojected it without its skills.EventDomainAdapternow projects the skill ids and mentions into the user info (not the model-facing skill body).MessageInfoDTOdecodes them,MessageDomainAdapter.message(info:)maps them topromptSkills, and the store keeps them when the latersession.inbox.deliveredinfo omits them.Checks
PromptSkillCarryOverTests(live enqueue followed by delivery, and the enqueue projection) failed before the fix and pass after it.d72ca7bc): 2691 tests in 260 suites pass.dev, iPhone 16 Pro Max, two inline skills: the sent bubble shows highlighted[/tdd-check]and[/security-check]right after sending, and still does after a relaunch.Issue
Risks / Follow-ups
promptSkillson either platform.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmithwith what you need.