Browser automationQueue and execution
Worker runtime
Run the foreground or service-managed worker and follow one claimed action through completion.
Worker runtime — contract and behavior
- scripts/worker/run.mjs is the foreground and service entry point.
- Atomic claim prevents two workers from executing the same account_action_logs row concurrently.
- One trajectory subprocess per row contains failure and makes lifecycle state attributable to one action.
- The worker writes terminal outcome and evidence back to the queue record rather than relying on process exit alone.
Commands and examples
node scripts/worker/run.mjs