Skip to content

Improve command lookup normalization#3263

Open
hiSandog wants to merge 1 commit into
ultraworkers:mainfrom
hiisandog:fix/claw-small-cleanup-c6b25
Open

Improve command lookup normalization#3263
hiSandog wants to merge 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

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.

1 participant