Skip to content

Improve command lookup normalization#3263

Merged
sigridjineth merged 1 commit into
ultraworkers:mainfrom
hiisandog:fix/claw-small-cleanup-c6b25
Jun 26, 2026
Merged

Improve command lookup normalization#3263
sigridjineth merged 1 commit into
ultraworkers:mainfrom
hiisandog:fix/claw-small-cleanup-c6b25

Conversation

@hiSandog

Copy link
Copy Markdown
Contributor

Summary

  • Trim and normalize command lookup input before alias resolution.
  • Prioritize exact command-name matches before broader substring matches.
  • Add coverage for whitespace/case-normalized command lookup and execution.

Validation

  • env PYTHONDONTWRITEBYTECODE=1 python3 -m unittest tests.test_porting_workspace.PortingWorkspaceTests.test_commands_and_tools_cli_run tests.test_porting_workspace.PortingWorkspaceTests.test_command_lookup_normalizes_user_input_whitespace
  • git diff --check

@sigridjineth sigridjineth merged commit 4e0cba7 into ultraworkers:main Jun 26, 2026
1 check passed
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.

2 participants