Development record
synopsisCarriesFlag (internal/surface/cli/staleusage.go) counts a flag anywhere after an invocation on the same logical line, across a shell control operator: a fenced `abcd lint | jq --frob` (or `abcd lint && jq --frob`) reads as documenting `abcd lint --frob`, so the stale-binary note can be granted for a flag that belongs to another command. Found by the Opus+Sonnet review of fix/stale-usage-notes, 2026-10-15.
issueopenminoriss-2610142319015643
synopsisCarriesFlag (internal/surface/cli/staleusage.go) counts a flag anywhere after an invocation on the same logical line, across a shell control operator: a fenced abcd lint | jq --frob (or abcd lint && jq --frob) reads as documenting abcd lint --frob, so the stale-binary note can be granted for a flag that belongs to another command. Found by the Opus+Sonnet review of fix/stale-usage-notes, 2026-10-15.
Frontmatter
| id | iss-2610142319015643 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610142319015643-stale-usage-flag-past-control-operator.md
open on GitHub ↗ · commit history ↗