Keep local declarations
A consumer-local setCount or setNotes remains valid static or reactive application data.
ALIAS · SPECIALIZE · ERASE
Context actions can use their Provider-owned state and setters even when a consumer declares the same names. Kudzu resolves the collision inside the compiler and still ships only concrete state operations.
CONTEXT DATAFLOW
A consumer-local setCount or setNotes remains valid static or reactive application data.
Action-private Provider state and setters keep their existing structural owner and signal relationship.
The compiler checks parameters and declarations, then generates a collision-free internal binding.
The action AST and state map receive the same alias before existing HandlerIR code generation.
No Context object, Provider tree, action function, or new runtime module survives compilation.
Private captures, hidden state pairs, indirect action references, and dynamic Provider values remain rejected.
UPGRADE
npm install @kudzujs/core@^0.8.44