Internal-only admin contract that lets the Cloudflare control plane load active strategy-cycle scan candidates and execute one deterministic strategy-cycle tick through the existing shared workflow facade.
apps/engine into Cloudflare.
The ownership split is:
agent-control-plane owns scan cadence, queueing, and durable workflow instancesplatform-api owns the thin authenticated admin surfaceADMIN_AUTH_SECRET_TOKENapps/agent-control-plane, not browser trafficPOST /v1/admin/control-plane/strategy-cycles/duerequestId is the stable idempotency key Cloudflare should preserve when creating its own workflow instancePOST /v1/admin/control-plane/strategy-cycles/tickuserId is resolved from the canonical linked wallet address when availableuserId plus portfolioId to mirror the tick result into durable UserAgent / PortfolioAgent staterunNow(...) path during migrationdueStrategyCycleTickWorkflow instances with the returned idstickplatform-api delegates to the shared strategy-cycle runtimePOST /v1/admin/control-plane/strategy-cycles/notify-executionplatform-api resolves the execution to a canonical child workflow via
workflow_execution_refssendEvent("execution_completed") into an already
waiting StrategyCycleTickWorkflow session and falls back to starting a
fresh tick workflow when no active session is registeredPOST /v1/admin/control-plane/strategy-cycles/recoverexecution_completed wait on the same workflow instance
when possible