fix(search): keep the origin failure's cause in the default-scope error
main·
Commit

The "could not determine current repository" error hid why origin could not be read (no git repo, no origin, malformed URL). Wrap the underlying error so the hint and the cause both reach the user. Addresses the trail review finding on this branch.
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com Claude-Session: https://claude.ai/code/session_01PFE47qUG38fx3McrXQAmgC Entire-Checkpoint: 01M3WWCD0VSKZMD04G48X7JV6H
Checkpoints
Checkpoint 1