DIS-069: wtdir/resolve lack nearest-hive awareness //CELL doesn't round-trip from a nested hive; //JS-112 ALIASES flat ~/src/JS-112 vs the journal cell; /// falls back to the launch tree

Now
OPEN
Sev
MED

The naming side got the hive fix; the resolving side didn't. BRO-024 iter 5 taught navCwd to name a hive cell by its CELL name (work/BRO-024's core/discover.js:361-368, unmerged); trunk navCwd still slices under srcRoot() (discover.js:355-373 the live ///work/JS-112 invite bug). But wtdir/resolve in BOTH trees still join srcRoot()+host flat (discover.js:325-349, 313-315): //CELL typed from a nested hive doesn't round-trip (falls back to cwd scope, lossy after cross-tree nav), and with SRC_ROOT=/src //JS-112 is AMBIGUOUS between flat `/src/JS-112 and the journal cell /src/journal/work/JS-112. Adjacent: rootTop (discover.js:279-287, BE-045) names the hive meta only when a wt anchors exactly at dirname(srcRoot()); with no wt at /src it falls back to launchTop() — so /// from a ticket worktree targets the LAUNCH tree, not the main tree ([trees] example 5's ///jab/dog breaks). This is [BRO-024]:54's "own ticket due" — filed now; the ///`→main-tree mapping + pwd-outside-SRC_ROOT rejection stay BRO-024:52.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome