# Prove & bundle

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

Section: CLI · Type: guide · Last updated: 2026-09-13

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.

## The picture

recipe.wl.json → worklens bundle (--seed · --out-dir) → Run folder (data · recipe · proof · manifest)

proof writes only the JSON; bundle writes the folder and a .gitignore for the data.

## Usage

```bash
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

```bash
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.

## Related

- [Generate](https://theworklens.com/docs/cli/generate): worklens generate — recipe → data. Read from the CLI’s own header, with every option it accepts.
- [Receipts](https://theworklens.com/docs/proof/receipts): What 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.
- [Configuration](https://theworklens.com/docs/cli/configuration): Every option the generate, prove and bundle commands accept, and what each one changes about a run. There is no config file.

_← Previous: [Check](https://theworklens.com/docs/cli/check) · Next: [Packs on the command line](https://theworklens.com/docs/cli/packs) →_

_The command lines and bundle options come from the CLI file’s own header comment. Source: packages/sdk-node/bin/worklens.js._

_Canonical: https://theworklens.com/docs/cli/prove · This copy: https://theworklens.com/docs/cli/prove.md_
