Repository navigation
Show a skill-and-image prompt as one message - #795
Merged
Merged
Conversation
A v2 skill send stores the skill beside the arguments. The client dropped that field, so the optimistic [/skill] row never matched the image-bearing echo and both stayed.
ivanfenenko
marked this pull request as ready for review
October 23, 2026 10:59
5 tasks
ivanfenenko
added a commit
that referenced
this pull request
Oct 23, 2026
Unify the skill read-back on main's PromptSkill and V2UserSkillDTO (#795): PromptSkill carries the mention offsets, and the timeline derives the `/name` spans from it for `[/name]` collapse. Co-Authored-By: Claude Fable 5.1 <[email protected]>
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
[/skill]plus the same image.skills, so the optimistic[/skill]row never matched the image-bearing echo and stayed in the timeline./nameon that same row, and collapse it to[/name]so the echo replaces the optimistic copy. The skill body stays off the transcript.Checks
MessageDomainAdapterTest.projectV2_userSkillAndFile_keepsArgumentsAndSkillRefWithoutSkillBodyandTimelineProjectorTest.project_skillPromptWithImage_collapsesOntoOneRowAndDropsOptimisticCopypassed.MessageDomainAdapterTests.projectV2UserSkillAndFile_keepsArgumentsAndSkillRefWithoutSkillBodyandSessionChatTimelineProjectorTests.skillPromptWithImage_collapsesOntoOneRowAndDropsOptimisticCopypassed.Evidence
Unit tests cover the projection and the optimistic reconciliation. No live-app screenshots: the change is how an already-sent v2 user message is displayed, and a scenario harness run was not captured.
Issue
Risks / Follow-ups
/nameuntil the catalog arrives, then collapses.Need help on this PR? Tag
@codesmithwith what you need.