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+.
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.