docs/plans/2026-04-06-toc-interaction-polish.md
Tighten the live TOC product surface so it behaves like a real navigation aid, not just a rendered heading list.
packages/toc already has active-heading tracking in
useContentController and useTocSideBarState.apps/www/src/registry/ui/toc-node.tsx does not
use that active state.aria-current on every row, which is
wrong.editor.tf.navigation.flashTarget(...), so the live
surface should reuse existing navigation feedback instead of inventing a new
mechanism.docs/plans/2026-04-06-navigation-feedback-contract.md; use it as guidance,
not as a blocker.aria-currentuseTocElementState to reuse useContentController and
expose activeContentId instead of keeping a second click-only scroll patharia-current="location" and active stylingtoc + app specs, package
build/typecheck, www build:registry, lint:fix, and browser-uselocalhost:3001;
127.0.0.1:3001 left the docs preview stuck on Loading... because Next dev
blocked cross-origin HMR resources by default