Cursor prompt: Improve Graph Workspace focus sync¶
Prerequisites¶
Read:
- [ ] [ONTOUI.md](../GRAPH_ARCHITECTURE.md`
- [ ]
ui/GRAPH_WORKSPACE.md
Non-goals¶
- Saved layouts
- Reasoning overlays
Current state¶
- extension/webview-ui/src/panels/GraphPanel.tsx
- LSP getGraph
Tasks¶
- Subscribe GraphPanel to FocusChanged; reload neighborhood when entity focus changes
- Emit setFocus when user selects graph node
- Add GraphPanel test with mock store
Acceptance criteria¶
- [ ] Graph reacts to focus change
- [ ] Node selection updates focus in store
Tests¶
cd extension/webview-ui && npm test
Do not¶
- Do not implement new layout engine