Extract image handling, resource acquire/release (alloc_map allocate/free, PortPool allocate/free), and stat collection into services. Resource managers use the existing symmetric primitives (no new common interface). Agent becomes a thin coordinator over these + KernelService/LifecycleService. Priority target = Sokovan-driven ops (check_and_pull -> ImageService, assign_port -> ResourceService); commit/push/purge, scan_gpu_alloc_map etc. deferred.
Success Criteria:
JIRA Issue: BA-6763
Extract image handling, resource acquire/release (alloc_map allocate/free, PortPool allocate/free), and stat collection into services. Resource managers use the existing symmetric primitives (no new common interface). Agent becomes a thin coordinator over these + KernelService/LifecycleService. Priority target = Sokovan-driven ops (check_and_pull -> ImageService, assign_port -> ResourceService); commit/push/purge, scan_gpu_alloc_map etc. deferred.
Success Criteria:
JIRA Issue: BA-6763