Repository navigation
Conversation
Launchers that prepend global flags (`corbits --cwd "$dir" "$@"`) turned `resume` into the first message of a fresh session. The verb is now the first token that is neither a flag nor a flag's value, and `--` ends flag parsing so a prompt that is literally a verb stays expressible.
Contributor
|
Triage: Pass No changes needed from you. A maintainer will review this pull request. |
TheGreatAxios
approved these changes
Oct 17, 2026
TheGreatAxios
left a comment
Collaborator
There was a problem hiding this comment.
Review · Approve
Leading global flags no longer hide resume, continue, exec, or run. -- still keeps a literal subcommand word as the prompt.
No findings.
bwachman
deleted the
cl-10770-recognize-subcommands-after-leading-global-flags-corbits-cwd
branch
October 17, 2026 04:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
resume,continue,exec,run) is the first token that is neither a flag nor a flag's value, socorbits --cwd <dir> resumeopens the resume picker instead of starting a session whose first message is "resume". Launchers that prepend global flags now work.--ends flag parsing, so a prompt that is literally a subcommand word stays expressible (corbits -- resume,corbits exec -- resume), and--helpdocuments it.-p resumenow fails with the existing "cannot combine resume with -p" error,-p execwith no prompt prints the exec usage and exits 2, and--resume <id> exec "x"runs in exec mode.Verification
bun run typecheck,bun run build, andbun run testpass (9233 tests)Fixes CL-10770