Development record
The invocation regexp in synopsisCarriesFlag (internal/surface/cli/staleusage.go) has no left word boundary before abcd and joins the known path with \s*, which allows zero whitespace: a fenced line `myabcd build next --x` or `abcdbuild next --x` counts as an invocation of `abcd build next` that documents --x, so the stale-binary note can be granted on a line that never invokes abcd. Found by the Opus+Sonnet review of fix/stale-usage-notes, 2026-10-15.
issueopenminoriss-2610142319008919
The invocation regexp in synopsisCarriesFlag (internal/surface/cli/staleusage.go) has no left word boundary before abcd and joins the known path with \s*, which allows zero whitespace: a fenced line myabcd build next --x or abcdbuild next --x counts as an invocation of abcd build next that documents --x, so the stale-binary note can be granted on a line that never invokes abcd. Found by the Opus+Sonnet review of fix/stale-usage-notes, 2026-10-15.
Frontmatter
| id | iss-2610142319008919 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610142319008919-stale-usage-invocation-no-left-boundary.md
open on GitHub ↗ · commit history ↗