Imported from vouchington/vouchington (
backend/entrypoints/worker-io/AGENTS.md). Install upstream withnpx skills add vouchington/vouchington --skill worker-io. Copyright stays with the author.
worker-io
IO-bound workers for deployments that split worker capacity.
Queue placement source: ../../modules/worker-queue-inventory/worker-queue-policy.json. CPU-only queues must never be added here. Local development uses worker-cpu instead.
Rules
- Keep this entrypoint free of CPU-worker-only modules:
sharpand@jongleberry/vurst-ai. Route image processing, native AI detection, and browser crawl work through worker-cpu. The no-mistakes ruleslightweight entrypoints must not reach worker-cpu-only modulesandworker-io workspace closure excludes worker-cpu-only packagesenforce this (pnpm run no-mistakes). - Definition identity tests that import a live
Workersingleton must close it.backend-data-storesusesisolate: false; a leftover consumer deterministically drains later enqueue calls before they return, sogetJobs('waiting')assertions in later files see nothing waiting. See parallel-safety.
See ../../worker-runtime/ for the shared worker framework.
