cli-design: record the gh convention and both multi-value flag shapes #32
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/memory!32
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/cli-design-gh-convention"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cli-design.mdstated the space-variadic form as the universal rule for multi-value flags, which is not what the tools do. A reader following the entry as written would callforge --label a band hitunexpected argument: b.gh's shape and whatforgealready does.ghtakes them as positionals, andallod change record --filestakes them space-separated.ghwherever it has an established shape.--keeps a--prefixed value reachable, and an empty list is an error rather than a fall back to a broader default.Risk
R0. Documentation only, in the memory repo. The entry it replaces was actively misleading about
forge, so the failure mode this removes is an agent writing a wrong invocation; nothing executes from this file.Validation
Both shapes were exercised against the installed tools rather than read from source.
allod change record --files a b, the repeated form, and the two combined all parse; an empty list refuses with--files requires a value.forge's comma handling isappend_csv_valuesatforge:267-279, reached from all seven label-flag call sites.