mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-06 15:07:58 +00:00
Route runtime restarts through the StartableToolSet wrapper so the lifecycle latch, failure streaks, and retry gate stay synchronized with the underlying supervisor. Code Mode delegates child lifecycle to per-child wrappers instead of managing its own state machine. Tests cover restart state synchronization and verify the wrapper does not adopt externally mutated inner state.