Skip to content

Normalize the development CLI package separator - #2999

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2998
Sep 3, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2998

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Human comments

What was wrong

The development CLI wrapper passed a package-manager separator to Commander as a real CLI argument. Commander then stopped option parsing before command flags. The direct reproduction and root-cause evidence are in the published report.

What changed

  • Remove exactly one first separator at the package-script boundary.
  • Preserve all later CLI arguments and separators.
  • Add a focused regression test for the forwarded argument array.

This change does not alter the host-daemon protocol or a public CLI contract. It needs no guide update.

How you verified

  • The focused test failed before the fix because the child argument array retained the first separator.
  • The focused test passed after the fix.
  • pnpm exec turbo run test typecheck --filter=@bb/scripts --force passed with 127 tests.
  • The development command reached the isolated server boundary after the fix.
  • git diff --check passed.
  • The EAP model scan found no matches in the working tree or push range.
  • The change has 22 additions and 1 deletion across two files, for 23 changed text lines.

Fixes #2998

AGENT GENERATED

@SawyerHood
SawyerHood merged commit e622b32 into main Sep 3, 2026
15 checks passed
@SawyerHood
SawyerHood deleted the slopcop/issue-2998 branch September 3, 2026 14:28
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.

pnpm run bb:dev -- <cmd> <positional> --<flag> fails: pnpm forwards a literal -- that Commander treats as end-of-options

1 participant