Skip to content

skills(writing-user-outputs): fold a second suggestion into the existing hint - #4725

Merged
max-sixty merged 2 commits into
mainfrom
daily/review-runs-42352786557-one-hint-line
Nov 7, 2026
Merged

max-sixty merged 2 commits into
mainfrom
daily/review-runs-42352786557-one-hint-line

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

writing-user-outputs explained how to join two suggestions into one hint, but never said to join them instead of stacking a second hint line. This edit states that rule. Without it, a session that loaded the skill still wrote a second hint_message line on #4705, and only maintainer review caught it, since no test or lint checks how many hint lines a message has. With the rule, a second suggestion goes into the existing hint with a semicolon, most commonly needed command last.

The rule covers suggestions only. Context hints already sit beside a suggestion hint in GitError::WorktreeRemovalFailed ("Remaining in directory") and GitError::WorktreeCreationFailed ("Failed command"), and those stay as they are.

Evidence

@worktrunk-bot worktrunk-bot added the review-runs Findings from the daily review-runs workflow label Nov 7, 2026

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"At most one hint line" is broader than what the code does. Two existing messages print two hints, and both look intended. GitError::WorktreeRemovalFailed can emit a Remaining in directory: … hint and then the A background process may be writing files; try wt remove … hint. GitError::WorktreeCreationFailed emits the Failed command, …: hint, which the skill's own Hint vs Info table lists as a hint, and then the leftover-branch hint. So the PR body's claim that the edit matches the code doesn't hold. A session following the rule literally would merge or drop those context hints. The gap from #4705 was a second suggestion, so scoping the rule to suggestions closes it without contradicting the code. I'll push this wording and correct the description.

Context hints such as "Remaining in directory" and "Failed command" already
stand beside a suggestion hint in WorktreeRemovalFailed and
WorktreeCreationFailed; the rule targets stacked suggestions.
@worktrunk-bot worktrunk-bot changed the title skills(writing-user-outputs): give a message at most one hint line skills(writing-user-outputs): fold a second suggestion into the existing hint Nov 7, 2026
@max-sixty
max-sixty merged commit 71d99c7 into main Nov 7, 2026
36 checks passed
@max-sixty
max-sixty deleted the daily/review-runs-42352786557-one-hint-line branch November 7, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-runs Findings from the daily review-runs workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants