refs: introduce pseudoref and per-worktree ref concepts