Stage 2 AI surface: AI task CRUD, the worker contract (discover tasks, pull the latest sampled frame, post detections/events back), sampler status, and a detections query.