beads/internal/utils
obsidian ef57293e75 fix(dolt): stop wisp ID double-prefixing and add wisp fallback to ResolvePartialID
Two bugs fixed:
1. wispPrefix() generated bd-wisp-wisp-<hash> because IDPrefix='wisp' was
   appended via configPrefix+"-"+IDPrefix, then "-wisp" was unconditionally
   appended again. Now IDPrefix provides the suffix directly.
2. ResolvePartialID() only searched issues table via SearchIssues; the
   DoltStore merges wisps but transaction-level SearchIssues does not.
   Added explicit ephemeral fallback search to ensure wisps are always
   resolvable by partial ID.

Closes: beads-yzh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/polecats/obsidian
Rig: beads
Role: polecats
2026-02-24 15:50:46 -08:00
..
id_parser.go fix(dolt): stop wisp ID double-prefixing and add wisp fallback to ResolvePartialID 2026-02-24 15:50:46 -08:00
id_parser_test.go fix(dolt): stop wisp ID double-prefixing and add wisp fallback to ResolvePartialID 2026-02-24 15:50:46 -08:00
issue_446_test.go style: run gofmt across entire codebase (bd-nmk12) 2026-02-07 19:35:20 -08:00
issue_id.go fix: improve issue ID prefix extraction for word-like suffixes 2025-12-16 13:19:22 -08:00
path.go fix: remove JSONL storage functions and config field (bd-9ni.2) 2026-02-22 21:36:00 -08:00
path_test.go fix: remove JSONL storage functions and config field (bd-9ni.2) 2026-02-22 21:36:00 -08:00
strings.go fix: complete decision type aliases and help strings 2026-02-11 17:23:21 -08:00
strings_test.go fix: complete decision type aliases and help strings 2026-02-11 17:23:21 -08:00