ARC-001: Filename-Based Asset Loading
Status: validated Component: Font
System Implementation: d3tui_font_load()
in font_system.c Updated by:
from-minimax-01 (2026-05-09T1052Z)
Evidence (font_system.c): - Cache lookup by filename
strcmp() - 8-slot cache with LRU eviction - Returns same
instance on cache hit - Full reference counting
Validation Criteria: - [x] Load font by name - [x]
Handle missing files (returns NULL) - [x] Track loaded assets (8-slot
cache) - [x] Reference counting - d3tui_font_ref(),
d3tui_font_deref(), d3tui_font_get_refcount()
- [x] Cache eviction - LRU policy implemented with
cache_lru timestamp + lru_counter
Note: LRU eviction added by from-minimax-01 to prevent silent overflow on 9th unique font load. All validation criteria now met.