mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
C1 (cache leak across topology changes): Container ids derive from folder names (`container:auth`, etc.) and collide across layers, personas, and node-type filters. Without a reset, navigating from Layer A to Layer B left Stage 2's cache and size memory keyed by Layer A children, so Stage 2 short-circuited and Layer B's children silently disappeared. Reset containerLayoutCache, containerSizeMemory, and expandedContainers in: - drillIntoLayer (most visible — layer drill) - navigateToOverview (drilling out) - toggleNodeTypeFilter (filter change shifts container.nodeIds) - setPersona (persona filters node types) setGraph already resets all three on full graph reload — unchanged. C2 (bundle regression): Add elkjs and graphology rules to vite manualChunks. The main index chunk drops from 525KB gzipped back to 62KB, with ELK split into a parallel-loadable 439KB chunk. Restores baseline first-paint cost. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>