beads/cmd
matt wilkie 7b02eddaf3 fix: allow cross-prefix dependency targets in bd dep add/remove
When resolveIDWithRouting fails for the dep target, check if the source
and target have different prefixes via types.ExtractPrefix. If they differ,
pass the raw ID through to AddDependency and let the storage layer handle
it via isCrossPrefixDep(). Applied to both dep add and dep remove.

Fixes #3134.

Co-authored-by: seanmartinsmith <seanmartinsmith@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:57:11 -07:00
..
bd fix: allow cross-prefix dependency targets in bd dep add/remove 2026-04-10 09:57:11 -07:00