Load declarative Lua 5.4.8 configuration in a controlled environment with allowlisted constructors, schema validation, resource budgets, and normalized output.
Use structural protocols, TypeGuard, and Python 3.13 TypeIs to create caller-owned dependency seams with both static feedback and runtime validation.
Split SwiftUI packages by domain capability and one-way dependencies, avoiding cycles, catch-all shared modules, and excessively public feature APIs.
Build a deterministic SwiftUI Layout from ProposedViewSize, subview measurement, a shared placement plan, evidence-based caching, and accessibility constraints.
Build a minimal Lua 5.4.8 C API boundary with explicit stack contracts, protected calls, controlled libraries, resource ownership, and deterministic shutdown.