What problem does it solve? Working on the Hermes Agent Docker image's s6-overlay supervision tree is error-prone: per-profile gateways fail to start or survive restarts, cont-init.d boot scripts behave unexpectedly, and the Architecture B CMD pattern (main-wrapper.sh) is non-obvious. This Skill provides the architecture map, key file locations, recipes, and pitfalls needed to modify, debug, or extend the container's service supervision. ## Core Features & Use Cases - Service management recipes: Add new static s6-rc.d services, bring profile gateways up/down with s6-svc, and inspect service state with s6-svstat. - Boot reconciliation guidance: Understand how cont-init.d scripts (UID remap, volume seeding, profile reconciliation) restore gateway slots from the persistent volume on every boot. - Pitfall diagnosis: Resolve common failures such as 'command not found' via docker exec, root-owned profile directories, crash-looping gateways, and containers exiting 143. - Use Case: A per-profile gateway keeps restarting after docker restart. Use this Skill to check /run/service/gateway-<name> with /command/s6-svstat, read container-boot.log, and determine whether the reconciler skipped the profile due to a missing SOUL.md. ## Quick Start Ask the AI to explain why a per-profile gateway in the Hermes Docker container is not starting and how to inspect its s6 supervision state.