//WT/path/to/sub; kill the synthetic pin-branchesRULED 2026-07-15 (gritzko, law #4 of DIS-071): a submodule tracks the parent's PIN, addressed by the child worktree's own local URI //WT/path/to/sub — the same syntax a worktree tracks — set by the parent's first get and refreshed by any later parent update; the sub's own commit leaves the pin behind and DETACHES it (bare-hash post records, DIS-075), and ONLY the parent's get/post re-attaches it by writing a fresh //WT/path/to/sub#<hash> record. be/ JS instead mints a synthetic branch /child/.parent/.grandparent/gp_branch (submount.js:109-116 syntheticBranch over branch.js:64-68 sub()), records it as an ordinary ATTACHED branch (submount.js:287), and lets the child's own commit advance that ref (post.js:720-721) — so a sub never detaches and the parent never refreshes anything. Submodules:7-8,28,49 specs the synthetic branch and is rewritten here. Carries the pin half of the stale DIS-061 (whose 2026-07-13 pin-reflection ruling — materialized pin refs the parent maintains — is overruled by the URI model).
The sub is mounted on an invented branch nobody owns; the pin relation it should track exists only as a comparison in subs.js.
/<title>/.<parent>[/<parent_branch>] (submount.js:109-116) via branch.js:64-68 sub(); the mount records it as get ?<synthetic>#<pin> (submount.js:287).//ABC-123/lib/abc/dog, so the .parent/.grandparent chain (Submodules:49) has no successor.The pin is a URI the parent writes, not a branch the child owns.
get //WT/path/to/sub#<pin>: the pin resolves through the parent's gitlink — no refs entry, no synthetic branch, no .parent chain.get/post re-attaches each immediate child by writing a fresh //WT/path/to/sub#<newpin> record into the child's wtlog.Old mounts must survive the flip, and the orphaned refs are somebody else's problem.
?/child/.parent/br#pin rows and must still parse, re-anchoring on the next parent move (DIS-071 law).jab get file:<path> (the working wt-clone form), 2 levels deep.//WT/lib/abc/dog flat, not a .parent/.grandparent chain