Refactor the create phase of create_kernel() into a dedicated Handler under agent/stage/kernel_lifecycle/docker/.
Scope:
- Extract container creation logic (container prepared → container started → kernel object initialized) into a CreateStageHandler
- Guarantee that KernelCreatingAnycastEvent is emitted at stage entry and that no silent failure path bypasses the event
- On failure, emit an appropriate error event so the Manager is never left waiting
- Target files: agent/stage/kernel_lifecycle/docker/bootstrap.py, kernel_object.py, agent/agent.py
Success Criteria:
JIRA Issue: BA-6077
Refactor the create phase of create_kernel() into a dedicated Handler under agent/stage/kernel_lifecycle/docker/.
Scope:
Success Criteria:
JIRA Issue: BA-6077