Part of #975.
Context
The automation core currently depends on a serverless platform's runtime — its request handler, scheduled/cron triggers, queue consumer, and environment bindings. To self-host, the same core must run on a plain Node runtime without any platform-specific globals.
Deliverables
Acceptance criteria
- The core produces identical behavior on the hosted platform and the Node runtime.
- A lint/build guard prevents platform-specific imports from entering the shared core.
Out of scope
- Review heuristics / decision policy (unchanged; ported as-is, internals stay server-side).
Part of #975.
Context
The automation core currently depends on a serverless platform's runtime — its request handler, scheduled/cron triggers, queue consumer, and environment bindings. To self-host, the same core must run on a plain Node runtime without any platform-specific globals.
Deliverables
Acceptance criteria
Out of scope