sameSourceUri builds a malformed ssh:////host authority — same-source sub candidate always unreachable
For an ssh:// or be:// parent, the "fetch the sub from the SAME source we are talking to" candidate is always unreachable because sameSourceUri double-prefixes the authority: the URI binding already returns u.authority === "//localhost", and the builder prepends another //, yielding ssh:////localhost/…?/sub. So the primary (live-source) sub candidate is dead and recursion falls back to the .gitmodules URL (which then hits JGET-007). Part of JGET-001; method Issues.
beagle/test/get/{05,11,18,53} (ssh parent + same-source sub).be/shared/submount.js:121
const auth = u.authority ? "//" + u.authority : ""; — but u.authority is already slash-prefixed (//localhost), so the result is ssh: + // + //localhost = ssh:////localhost. Verified via a direct unit probe of sameSourceUri.
sameSourceUri produces a well-formed ssh://host/path?/sub (single //),so the live-source candidate is the working primary for ssh/be parents.
(a sameSourceUri unit assertion + a sub-mount parity case).
u.host) for the authority segment, not u.authority:
const auth = u.host ? "//" + u.host : ""; (carry userinfo/port only if the binding splits them out separately). Re-verify against be:// and ssh:// parents.
be/test/submount.js (be-js-unit-submount) — table-driven source×sub candidates + an explicit NO-://// guard (test/submount.js:72).sameSourceUri→sameSourceUris, composed via URI.make ONLY (be/shared/submount.js:126-138).jab get ssh://localhost/src/beagle mounts dog + dog/abc)..gitmodules-fallback sibling JGET-007 stays open for wire sources.sameSourceUris builds every candidate with URI.make, no hand-concat; the ://// shape is unit-guarded.be/test/submount.js added then).