You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A star extension's flag cannot repeat: extension.yaml has no list type, so --repo A --repo B keeps the last #1062
Found 2026-10-19 planning NobleFactor/noblefactor-engprod#253 (lane 29 of #949), at 65c8b40f, where it blocks the lane. Ruled 2026-10-19 of the gh extension's --repo: "--repo is repeatable."
A star extension's flag cannot repeat. extension.yaml admits four flag types, bool, string, int and glob (cmd/star/extension/extension.go:162); defineFlags binds anything but bool and int as one string (cmd/star/star/root.go:621-647); collectFlagValues hands the script one string per flag (:584-608), and flagToStarlark makes it a starlark.String (cmd/star/extension/command.go:191-202). So star gh issues report --repo A --repo B keeps the last, and the extension splits commas out of one string instead, which noblefactor-ops#140's plan records as a workaround: "--repo comma-separated (no slice flag type in the spec)".
Resolution
extension.yaml admits a repeatable string flag, bound with cobra's StringArray and handed to the script as a Starlark list of strings, each occurrence one element, in order; its default is a list. 9-star-extensions.md documents the type, and a test proves --x a --x b reaches the script as ["a", "b"].
Not planned as its own work. Ruled 2026-10-19: "Add the repeatable flag requirement to the unified configuration design requirements. We will design that later. For now, it is not repeatable." The requirement goes into docs/architecture/configuration.md, with the extension-flag questions, in devlore-cli's next pull request (NobleFactor/noblefactor-engprod#253's plan records it as owed). Lane 29 of #949 keeps --repo as it is.
Activity
David-Noble-at-work commentedon Oct 19, 2026
Not planned as its own work. Ruled 2026-10-19: "Add the repeatable flag requirement to the unified configuration design requirements. We will design that later. For now, it is not repeatable." The requirement goes into docs/architecture/configuration.md, with the extension-flag questions, in devlore-cli's next pull request (NobleFactor/noblefactor-engprod#253's plan records it as owed). Lane 29 of #949 keeps --repo as it is.