Source of new ids. Injected rather than imported so the domain stays deterministic and testable — production wires a UUID generator, tests wire a counter. The engine never calls Math.random/crypto directly.
Math.random
crypto
Source of new ids. Injected rather than imported so the domain stays deterministic and testable — production wires a UUID generator, tests wire a counter. The engine never calls
Math.random/cryptodirectly.