Development record
the root command's Use and help omit the shipped record-id dispatch, so the generated CLI reference states Usage: abcd with no positional and abcd --help never mentions that abcd iss-N describes a record
issueresolvedminoriss-348
the root command's Use and help omit the shipped record-id dispatch, so the generated CLI reference states Usage: abcd with no positional and abcd --help never mentions that abcd iss-N describes a record
Evidence
internal/surface/cli/cli.go:179-194: rootUse: "abcd", noLong;Argsaccepts onerecord.IDRepositional andRunEdispatches throughrecord.Describe(spc-26, shipped v0.6.0). The generated reference derives its usage line fromUse(internal/surface/cli/reference.go:68), sodocs/reference/cli/commands.md:16statesUsage: abcdandabcd --helpnever mentions the dispatch.- Every other command with a positional declares it (
rules [domain],intent [text],capture [text],audit [<itd-N>],probe [repo],promote <iss-N>); root is the sole exception. Distinct from iss-304 b-4 (Cobra completion/help sections). - Refuter verdict: CONFIRMED substantive (discoverability). Fix verified in a scratch copy:
Use+Longchange regenerates cleanly, drift test and spc-26 golden tests green.
Frontmatter
| id | iss-348 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-348-the-root-command-s-use-and-help-omit-the.md
open on GitHub ↗ · commit history ↗
mentions3
- dcn-26082000000000022026-08-20 — bughunt round 2 (branch bughunt-b/round-2): captured the round-2 records (iss-346..iss-357, with the two colliding ids re-minted as iss-358/iss-359), fixed
- iss-304Confirmed nitpicks deferred from bughunt round 1 (recorded not fixed): (a-4) memory ingest --source reads its operand with os.Stat-then-unbounded os.ReadFile, a size TOCTOU the URL branch's io.LimitReader avoids; (b-4) the generated CLI reference claims to list every user-facing command but omits Cobra's completion/help commands; (d-12) the CI job id 'record-lint' actually runs scripts/check-reviews.sh (reviews-charter), a misleading required-check name whose safe rename needs a coordinated live-ruleset edit
- spc-26type-the-id-get-your-next-move-abcd-id-dispatches-on-a-recor