Skip to content

Fix shell completion option parity - #5214

Merged
Widthdom merged 3 commits into
mainfrom
fix-issue5194
Aug 27, 2026
Merged

Fix shell completion option parity#5214
Widthdom merged 3 commits into
mainfrom
fix-issue5194

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • register the parser-accepted lsp, workspace, config, diff, import, and export options in the authoritative CLI flag schema, including exact nested/default contexts and the command-scoped -o alias
  • generate context-exact candidates for Bash, zsh, fish, and PowerShell while preserving the existing hooks status PowerShell contract
  • add bidirectional parser/help/schema/renderer coverage, including positive and negative nested cases, value metadata, aliases, diff mode conflicts, and generated-script execution

Validation

  • dotnet restore CodeIndex.sln
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false --no-restore (0 warnings, 0 errors)
  • affected completion/help tests on net8.0 and net9.0 (311 passed on each final run)
  • full regression runs before the review follow-ups: net8.0 (12,023 passed, 9 skipped) and net9.0 (11,539 passed, 430 skipped)
  • dotnet format CodeIndex.sln --verify-no-changes --no-restore
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • root and manifest workspace index health checks
  • two Codex adversarial-review rounds; all findings were fixed and the affected tests were rerun

Documentation and changelog

  • updated the English and Japanese shell-completion contracts in DEVELOPER_GUIDE.md
  • updated the English and Japanese test guidance in TESTING_GUIDE.md
  • added changelog.d/unreleased/5194.fixed.md

Follow-up candidates

None.

Fixes #5194

@Widthdom
Widthdom merged commit e0ffd06 into main Aug 27, 2026
11 checks passed
@Widthdom
Widthdom deleted the fix-issue5194 branch August 27, 2026 14:04
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.

Keep generated shell completions complete with the accepted CLI schema

1 participant