- Workflow conditions (step.condition and route `if`) are now parsed and
interpreted by lib/condition.js instead of being run with Node's vm
module. The language covers what workflows use: state/params lookups,
parseInt/parseFloat/Number/String/Boolean, a few string methods, the
usual operators with JavaScript semantics. Conditions can only read the
workflow's own data. Every condition in the production workflows gives
the same result as before (differential test, 150 random states each).
- Creating and updating a workflow rejects conditions that don't parse
(400 with the step and the error).
- Creating a workflow requires admin, like editing already did.
- Only the admin group may use Pulse (pages, API and live WebSocket);
employees get 403. Gandalf and workers use API keys and are unaffected.
- The live-update UI test finds its execution's row by id instead of
counting rows (the list is capped at 50).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>