concept
Seeds & determinism
Same recipe, same seed, same bytes — on any machine. What that guarantee covers, and the three things that change the output.
Last updated 2026-09-14 · Markdown
Summary
A recipe carries a seed, and running it again produces byte-identical output on any machine, because the engine is the same WebAssembly wherever it runs.
Recipe + seed
Enginesame WASM everywhere
Same byteson any machine
What is checked
WorkLens checks
- The website build runs the engine on a demo recipe and byte-compares the result across runs before it will publish the homepage preview.
- The MCP packaging check installs the built server into a clean directory and requires the same seed to produce the same SHA-256 twice.
WorkLens does not check
- Determinism is per engine version. A newer engine may generate differently for the same recipe; the receipt records engine_version so you know which produced a file.
Prove it to yourself
node packages/sdk-node/bin/worklens.js generate examples/homepage-demo.wl.json --seed 7 -o a.csv
node packages/sdk-node/bin/worklens.js generate examples/homepage-demo.wl.json --seed 7 -o b.csv
cmp a.csv b.csv && echo identicalChange --seed on one line and cmp will show the difference.
Common questions
Is it the same on macOS, Windows and Linux?
Yes. The engine is one WebAssembly module, so the arithmetic is the same everywhere it runs — browser, Node.js, or the MCP server.
What if I want different data?
Change the seed. Every other declaration stays, so the shape, rules and links hold while the values differ.
Related
ReceiptsWhat a run’s proof report contains, field by field, with a real one — and the line between what it proves and what it does not.Core conceptsThe nine words the rest of the docs assume: recipe, entity, field, relationship, rule, scenario, pack, seed and receipt.ConfigurationEvery option the generate, prove and bundle commands accept, and what each one changes about a run. There is no config file.