Skip to content

test(cmd): lock the stock completion slot matrix (#342)#360

Merged
barrettruth merged 1 commit intomainfrom
test/cmd-completion-slot-matrix
Apr 20, 2026
Merged

test(cmd): lock the stock completion slot matrix (#342)#360
barrettruth merged 1 commit intomainfrom
test/cmd-completion-slot-matrix

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Problem

The stock :Forge cmdline contract was covered piecemeal, which still left quiet drift around the root/family matrix, mixed-slot ordering, empty-result behavior, and the accepted browse / clear family-slot behavior.

Solution

Closes #342 by adding an explicit completion slot matrix for root, family, mixed, suppressed, release-tag, modifier-value, and empty-result cases, broadening the repo parser-vs-suggestion assertions, and tightening the shared family-slot policy so :Forge browse <Tab> and :Forge clear <Tab> match the accepted stock contract that the new matrix locks in.

The explicit cmdline completion matrix now covers root, family, mixed, suppressed, release-tag, modifier-value, and empty-result slots, and it locks browse/clear family-slot behavior to the accepted stock contract that the matrix exposed.
@barrettruth barrettruth merged commit ee11249 into main Apr 20, 2026
1 check passed
@barrettruth barrettruth deleted the test/cmd-completion-slot-matrix branch April 20, 2026 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(cmd): add an exhaustive :Forge completion slot matrix

1 participant