STATUS-009: status does not understand the track-vs-base split a sub tracking its parent-repo pin is labelled trunk ?

Now
OPEN
Sev
HIGH

The POST-026/027 track/base system (landed 59ba63c2, 2026-07-16) encodes both roles in the LAST get record of a wt's .be: the FRAGMENT is the base commit hash, everything else (scheme/host/path/query) is the TRACK the followed branch/remote/worktree; the first row is the store anchor. So //TEST2/test#ec64900f… = tracking the parent wt's test gitlink, based at ec64900f. shared/wtlog.js:144 attachedBranch() the ONE attach reader (DIS-057) feeding status's ?<branch> label, post's detach guard, and the ahead/behind divergence predates the split: it only looks for a branch NAME in the query, so a track expressed as a remote/worktree URI reads as no-branch trunk. Live in work/TEST2 2026-07-16: jab status prints ?\t93 ok / status test ?\t360 ok the sub tracks its pin as set in the parent repo, but status labels it trunk. Reported by gritzko (who also stated the record semantics above).

Input

Context

The attach record now carries track (non-fragment) + base (fragment); the reader only understands named-branch queries.

Goals

Spec ruled by gritzko 2026-07-16 (chat, transcribed): status's job is simpler now.

Constraints

The fix stays inside the one reader; no second attach parser.

WIP

Design decisions

TODOs

Blockers and bummers

Outcome