You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redesign HITL to use URL-based forms instead of WebSocket
Replace the single WebSocket-dependent human-input node with a two-node
architecture: hitl-form (generates a signed form URL) and hitl-wait
(pauses until the form is submitted). This allows HITL forms to be sent
via any channel (email, SMS, Discord) using existing workflow nodes,
without requiring the user to have the editor open.
Key changes:
- Signed HMAC tokens encode form config in the URL (stateless)
- Public /forms/:signedToken API endpoints (no auth, token IS auth)
- Public /f/:signedToken frontend page for form submission
- One-time submission enforced via WorkflowAgent DO storage
- Runtime now applies completed node results immediately in mixed
levels (completed + pending), so parallel nodes don't wait
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments