SUBS-047: same-source sub fetch broken (ssh:////), worktree sources unserved, nested fallback empty

Now
OPEN
Sev
HIGH

jab get ssh://localhost/src/beagle died SUBFETCH cannot fetch sub dog/abc (abc) from ssh:////localhost/src/beagle?/abc — child unreachable. Three compounding defects in the be/ JS GET sub-mount path: (A) submount.sameSourceUri hand-concatenated "//" + u.authority where the URI binding's u.authority already carries the // (the known URI-013 latent bug), so every authority-bearing same-source URI was ssh:////host/… and never reached the peer; (B) a git source WITH a worktree (path not ending .git) serves each sub's own checkout at <path>/<subpath>, but no such same-source form existed only the beagle ?/<proj> swap; (C) a NESTED sub (dog/abc) is declared in dog/.gitmodules as abc, yet mount read only the ROOT .gitmodules with the full subpath, so the official-url fallback (and the Title) came up empty and the whole mount threw. Spec: same source first, official .gitmodules url only as fallback (Submodules §1, Title retrieval preference).

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome