WorkLensDocs
    Studio
    guide

    Check

    worklens check — prove the recipe is data-free; warn on unread keys, before a recipe is shared or committed.

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

    Summary

    worklens check <recipe.wl.json> proves a recipe carries no data: it scans the file for values that look real — an actual TFN, an email, a name in an example — and exits non-zero if it finds any. Run it before a recipe leaves your machine. Validation of the recipe’s structure is a different question, answered by validate_recipe over MCP or by the studio.

    recipe.wl.json
    worklens checkscans for real values
    Cleanexit 0
    Findingsexit 1, listed

    Usage

    node packages/sdk-node/bin/worklens.js check <recipe.wl.json>

    As a CI step

    node packages/sdk-node/bin/worklens.js check recipe.wl.json || exit 1

    A non-zero exit lists what looked like a real value and where.

    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

    There is no validate or verify command — what do I use?

    check proves a recipe is data-free. Validation of the recipe’s structure is the validate_recipe MCP tool or the studio. Checking a receipt happens at /verify on the website, which takes an evidence bundle.

    Can I run it in CI?

    Yes — it is a plain exit code. Add node packages/sdk-node/bin/worklens.js check recipe.wl.json as a step and the job fails when a real value has crept into the recipe.