Skip to content

fix(docs): correct command merge comment to match union behavior #11310

Open
0xMink wants to merge 1 commit intoRooCodeInc:mainfrom
0xMink:fix/correct-merge-comment
Open

fix(docs): correct command merge comment to match union behavior #11310
0xMink wants to merge 1 commit intoRooCodeInc:mainfrom
0xMink:fix/correct-merge-comment

Conversation

@0xMink
Copy link

@0xMink 0xMink commented Feb 8, 2026

Related GitHub Issue

Closes: #11309

Description

The comment above the command merge logic in mergeCommandLists() states that global state "takes precedence over workspace configuration." The implementation performs a Set union with no override logic — neither source takes precedence. Updated the comment to accurately describe the combine and deduplicate behavior.

No functional changes.

Test Procedure

N/A (comment-only change)

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue.
  • Scope: My changes are focused on the linked issue.
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: N/A (comment-only change).
  • Documentation Impact: I have considered if my changes require documentation updates.
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

N/A — no UI changes

Documentation Updates

  • No documentation updates are required.

Get in Touch

0xMink


Important

Corrects comment in mergeCommandLists() in ClineProvider.ts to accurately describe command merging behavior as a set union without precedence.

  • Comment Update:
    • Corrects comment in mergeCommandLists() in ClineProvider.ts to reflect actual behavior of combining and deduplicating commands from global state and workspace configuration.
    • Previous comment incorrectly stated precedence of global state over workspace configuration.

This description was created by Ellipsis for 51cedcd. You can customize this summary. It will automatically update as commits are pushed.

The comment claimed "Global state takes precedence over workspace
configuration" but the implementation unions both sources via Set
with no override logic. Updated to accurately describe the combine
and deduplicate behavior.
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. Documentation Improvements or additions to documentation labels Feb 8, 2026
@roomote
Copy link
Contributor

roomote bot commented Feb 8, 2026

Rooviewer Clock   See task

No issues found. The updated comment accurately reflects the Set union behavior in mergeCommandLists().

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Misleading comment: command merge is a union, not precedence

1 participant