WorkLensDocs
    Studio
    guide

    Prove & bundle

    worklens prove and worklens bundle — a verifiable proof as JSON, or a whole run folder with data, recipe, proof and manifest.

    Last updated 2026-09-13 · Generated from packages/sdk-node/bin/worklens.js · Markdown

    Summary

    worklens prove <recipe.wl.json> [opts] writes the proof for a recipe as JSON: realism, privacy, independent verification and a tamper-evident receipt. worklens bundle <recipe.wl.json> [opts] is the one most people want — a run folder with the data, a copy of the recipe, proof.json and proof.html, a manifest, and a .gitignore for the data so the recipe is what gets committed. Both accept every generate option.

    recipe.wl.json
    worklens bundle--seed · --out-dir
    Run folderdata · recipe · proof · manifest
    proof writes only the JSON; bundle writes the folder and a .gitignore for the data.

    Usage

    node packages/sdk-node/bin/worklens.js prove <recipe.wl.json> [opts]
    node packages/sdk-node/bin/worklens.js bundle <recipe.wl.json> [opts]

    bundle options

    • --out-dir DIR — write the run folder here (default worklens-run-<timestamp>)
    • --no-gitignore — do NOT write the .gitignore that ignores the generated data

    A complete run

    node packages/sdk-node/bin/worklens.js bundle examples/homepage-demo.wl.json --seed 42 --out-dir my-run

    my-run then holds the data, recipe.wl.json, proof.json, proof.html and manifest.json. Same seed, same bytes, every time.

    Not on npm yet
    The package is not published, so npx worklens does not work today. Run the script from a checkout of the repository as node packages/sdk-node/bin/worklens.js; when it is published, the commands are the same with worklens in place of the path.

    Common questions

    Which command gives me everything in one go?

    bundle. It writes a run folder containing the generated data, a copy of the recipe, proof.json and proof.html, and a manifest — plus a .gitignore for the data, so the recipe is what gets committed.

    How do I check a proof later?

    Open /verify on the website and drop the run folder’s files in; it recomputes the receipt’s content hash and reports what still holds. The proof is data, so it can also be read by anything that reads JSON.