docs: note exact-ID precedence in overview query semantics#24
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
One-line addition to
docs/specs/overview.mddocumenting 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
RequireSinglebut 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