def canonical
import bendvy-ecs-core@0.1.0.3/execution_command_local.bend as ExecutionCommandLocalimport Base
import bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend as Buffer
27# Internal body adapter; the ordinary registration layer must select the
28# component family from its closed schema and inventory this buffer for barriers.
29# Both H and Q remain abstract to gameplay. The body never sees a World,
30# the allocator, the concrete buffer constructor, or an application callback.
31def canonical(~S:Data,~P:Type,~D:Type) -> Commands<Buffer.Buffer<S,P,D>,S,P>:
32 Commands{Buffer.insert(~S,~P,~D),Buffer.remove(~S,~P,~D)}