Skip to content

docs: note exact-ID precedence in overview query semantics#24

Merged
sahil-noon merged 1 commit into
mainfrom
docs-overview-id-precedence-note
Jun 15, 2026
Merged

docs: note exact-ID precedence in overview query semantics#24
sahil-noon merged 1 commit into
mainfrom
docs-overview-id-precedence-note

Conversation

@sahil-noon

Copy link
Copy Markdown
Collaborator

What

One-line addition to docs/specs/overview.md documenting that an exact (case-insensitive) ID match takes precedence over substring matches for the single-idea subcommands (show/done/reopen/edit/rm).

Why

#22 shipped the exact-ID-precedence behavior in RequireSingle but did not update the spec, which still described matching as purely substring ("if a query matches more than one idea, the command refuses to act"). This brings the human-curated spec back in sync with shipped behavior.

Context

This is the salvaged, genuinely-additive piece from the now-closed #23 (a duplicate of #22). Docs-only; no code change.

🤖 Generated with Claude Code

PR #22 added exact-ID-match precedence to RequireSingle (an exact
case-insensitive ID match wins over incidental substring matches) but
left docs/specs/overview.md describing matching as purely substring.
Update the query-semantics paragraph to document the precedence so the
spec matches the shipped behavior.
@sahil-noon sahil-noon marked this pull request as ready for review June 15, 2026 11:15
@sahil-noon sahil-noon merged commit ffbbf5a into main Jun 15, 2026
2 checks passed
@sahil-noon sahil-noon deleted the docs-overview-id-precedence-note branch June 15, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants