* fix(history): resolve partial/short issue IDs in bd history (#4868)
* fix(history): finish partial-ID resolution — compile against main's runHistory, surface ambiguity, document proxied gap
Rebase the contributor's resolution onto main's history seam, add
utils.ErrAmbiguousID (wrapped %w) so ambiguous prefixes report candidates
instead of "No history found", keep the not-found exit-0 contract
(#3502), and make the proxied-mode skip explicit.
Addresses the 2026-07-23 review on gastownhall/beads#4910.
Agent-Signature: claude-sonnet-5-medium on behalf of maphew
* test(history): assert both candidate IDs in ambiguous-prefix errors
Reviewer finding: a generic ambiguity error without the candidate list
still passed. Assert hi-zzzaaa1 and hi-zzzaaa2 appear in plain stderr and
in the JSON error body (which HandleErrorRespectJSON writes to stdout —
a second re-review round caught the test reading the wrong stream).
Agent-Signature: codex-gpt-5.6-terra-medium on behalf of maphew
Agent-Signature: claude-fable-5-high on behalf of maphew
---------
Co-authored-by: matt wilkie <maphew@gmail.com>