beads/internal
Mohamed Ramadan a297ac46ac
fix(history): resolve partial/short issue IDs in bd history (#4910)
* 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>
2026-07-25 22:52:48 -07:00
..
ado fix(ado): preserve unmanaged links on push instead of clobbering them (#4523) 2026-07-05 10:53:05 -07:00
atomicfile /internal/atomicfile/atomicfile.go: use io.Copy 2026-05-01 17:03:30 -07:00
audit fix(audit): make JSONL sidecar opt-in (#4688) 2026-07-11 00:09:17 -07:00
beads fix(beads): allow /var/tmp in repo-context safety boundary (#5028) 2026-07-25 14:02:41 -07:00
compact fix(compact): archive content before destructive compaction; make restore work (#4464) 2026-06-20 14:12:07 -07:00
config fix(leases): keep node_id off the committed config; tighten the replica guard (wy-jpd3.7) 2026-07-25 02:32:31 -07:00
configfile refactor(storage)!: remove the SQLite backend and dialect 2026-07-18 02:43:56 +00:00
creds fix(backends): address red-team review findings before merge 2026-07-10 18:58:00 +00:00
debug feat(verbosity): wire --quiet into create/close/update (bd-au0.10) (#4058) 2026-07-06 22:35:42 -07:00
doltremote fix(doltremote): fold host case, strip creds, recognize user-less SCP in CanonicalForComparison (#4576) 2026-07-07 12:59:18 -07:00
doltserver fix(doltserver): sweep Darwin test servers (wy-s4zdj) 2026-07-25 20:48:10 -07:00
formula feat(formula): make primitives discoverable to coding agents (GH#3621) (#3781) 2026-07-06 22:26:41 -07:00
git test(git): restore cwd before temp cleanup (#4935) (#4936) 2026-07-23 18:40:44 -07:00
github fix(github) bd github sync (GitHub issues integration) (#3929) 2026-05-15 08:47:39 -07:00
gitlab feat(gitlab): sync issue dependency links on push (#4294) 2026-07-08 08:00:41 -07:00
hooks test: port Windows hardening fixes (#4600) 2026-07-07 12:59:50 -07:00
idgen fix(idgen): correct test vectors in hash_test.go 2025-12-19 18:13:56 -08:00
jira feat(storage): keyset reads — comments page, issue-list cursor, IsBlocked filter (#4922) 2026-07-21 22:29:09 -07:00
linear fix(windows): detect exited processes in liveness helpers (#4980) (#4981) 2026-07-23 18:24:49 -07:00
lockfile Triage and clean up an unreviewed automated commit stream on main (#4418) 2026-06-15 20:24:57 -07:00
metrics feat: honor DO_NOT_TRACK as a metrics opt-out (#4938) 2026-07-21 08:35:20 -07:00
molecules feat(storage): refuse test DBs on production dolt servers (AD-01) (#3632) 2026-07-24 01:28:51 -07:00
notion fix(notion): drop in_trash from data-source query body (Notion 400) (#4543) 2026-07-05 10:53:01 -07:00
query fix(query): make slash and mixed-case metadata keys queryable (#4896) 2026-07-24 17:52:22 -07:00
recipes docs: fix integration-page fact errors; restore three lost source edits 2026-07-12 10:37:18 -07:00
remotecache fix: pass remote auth user during clone (#4484) 2026-07-05 11:28:24 -07:00
routing fix(routing): warn when contributor auto-routing swaps bd list/ready to the planning store (#4866) 2026-07-25 22:31:03 -07:00
storage fix(history): coalesce NULL text columns in dolt_history_issues scan (#4912) 2026-07-25 22:30:34 -07:00
telemetry feat(storage): keyset reads — comments page, issue-list cursor, IsBlocked filter (#4922) 2026-07-21 22:29:09 -07:00
templates fix(cli): printed doc paths point at the new docs locations 2026-07-12 10:37:17 -07:00
testutil /{.github,docs,engdocs,go,internal,scripts}: bump dolt 2026-07-15 13:14:34 -07:00
timeparsing chore: unexport 14 dead symbols across 8 packages 2026-02-07 09:24:22 -08:00
tracker feat(storage): refuse test DBs on production dolt servers (AD-01) (#3632) 2026-07-24 01:28:51 -07:00
types fix(show): flag comment_count as omitted when comments are not streamed (#4865) 2026-07-25 16:16:41 -07:00
ui test(cli): cover --no-color flag handling and ui.DisableColors 2026-07-07 23:32:22 -04:00
uimd fix(cli): render markdown with terminal capability gates (#3881) 2026-06-25 13:55:28 -07:00
utils fix(history): resolve partial/short issue IDs in bd history (#4910) 2026-07-25 22:52:48 -07:00
validation feat(lint): accept Acceptance Criteria heading for epics (#3834) 2026-07-07 23:00:30 -04:00