Share command parser and completion token scanning #769

Closed
barrettruth wants to merge 1 commit from refactor/cmd-token-scanner-753 into main
Owner

Summary:

  • add a shared command token scanner for parse and completion paths
  • preserve tolerant completion handling for the active token
  • cover duplicate modifier classification across parser and completion tests

Verification:

  • nix develop .#ci --command just test spec/cmd_spec.lua spec/command_spec.lua spec/completion_budget_spec.lua spec/completion_policy_spec.lua
  • nix develop .#ci --command just ci

Closes #753

Summary: - add a shared command token scanner for parse and completion paths - preserve tolerant completion handling for the active token - cover duplicate modifier classification across parser and completion tests Verification: - nix develop .#ci --command just test spec/cmd_spec.lua spec/command_spec.lua spec/completion_budget_spec.lua spec/completion_policy_spec.lua - nix develop .#ci --command just ci Closes #753
Share command token scanning
All checks were successful
quality / Format (pull_request) Successful in 13s
quality / Test (pull_request) Successful in 14s
quality / Lint (pull_request) Successful in 16s
d712b94a4b
barrettruth closed this pull request 2026-05-14 04:19:18 +00:00
All checks were successful
quality / Format (pull_request) Successful in 13s
Required
Details
quality / Test (pull_request) Successful in 14s
Required
Details
quality / Lint (pull_request) Successful in 16s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.