core/architecture/component_tree_tui_architecture.md
Component Tree Architecture for Terminal User Interfaces
Language-agnostic reference for building DOM-like component trees in TUIs: event bubbling from leaf to root, z-index compositing with dirty tracking, active/focus routing, hit-testing with clipping, animation delegation,...