TOOLID=workflow-outcome-measurer. Offline, read-only Node 22+ CLI with no package dependencies. It measures versioned event exports using an explicit policy. It never fetches a source or writes a report file.
This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+; inspect the source before using it on your own files.
Run the checked-in example
node bin/workflow-outcome-measurer.mjs --root examples/pass --events events.json --definitions policy.json
node bin/workflow-outcome-measurer.mjs --root examples/fail --events events.json --definitions policy.jsonRead the result
The first command exits 0; the second exits 1. The package exports TOOLID and evaluateWorkflowOutcomes(events, definitions) for direct library use without file I/O. Both CLI files must be relative to --root; symlinks resolving outside that real directory are refused. --help describes the command. Standard output is one deterministic JSON report. Diagnostics and bad usage go to standard error.
Where this check stops
This local walkthrough does not establish the state of a live production system or replace the limits documented in the repository.
Before adapting the command to your own workflow, review the accepted inputs, exit codes and safety boundaries in the README.
Compiled with AI assistance from checked-in public documentation and example scripts. Run the example and review the repository's current documentation before relying on its result.