Prompt file imported from VingGit/root-books-tabs (
.github/prompts/navigation-change.prompt.md). Fill in{{change}}before use. Copyright stays with the author.
Implement the requested Root Books Tabs navigation change: {{change}}
Read AGENTS.md, navigation.ts, scope.ts, and types.ts before editing.
Use C:\Users\Admin\quartz-vaults\test-vault as the default disposable playground.
Constraints: preserve first-level-folder scope unless explicitly changing scope semantics; route every file-backed view; reuse existing destination tabs and Obsidian's forced empty leaf; open a fallback book file when the configured index is absent; keep the dropdown-selected book first in logical order and append new/returning groups at the configured expansion end; keep Grid dimensions within 2–16 and preserve a real tab group for every overflow tile; prefer public Obsidian workspace APIs; respect explicit free destination leaves/windows and preserve free ownership when homogeneous duplicates are transferred or dragged; whole-group drag transfer and explicit tab regrouping must preserve every view state and active tab; detect pop-outs across window realms; preserve the re-entry guard and saved original WorkspaceLeaf.openFile; restore monkey patches on unload; keep one canonical managed tab group per book; return native-closed managed pop-outs without resurrecting intentional closes; feature-detect compatibility/internal operations; run npm run build and npm run lint.