diff --git a/lib/generators.sh b/lib/generators.sh index af08aa2..c205594 100644 --- a/lib/generators.sh +++ b/lib/generators.sh @@ -155,7 +155,11 @@ _generate_local_model_services() { condition: service_started networks: - disinto-net - profiles: ["agents-${service_name}"] + # No profiles: the [agents.${service_name}] TOML entry is the activation + # gate — its presence is what drove emission of this block in the first + # place. Profile-gating the service caused 'disinto up' (without + # COMPOSE_PROFILES set) to treat the container as an orphan and remove it, + # silently killing the hired agent (#845). EOF has_services=true diff --git a/lib/hire-agent.sh b/lib/hire-agent.sh index 2bbea63..994103a 100644 --- a/lib/hire-agent.sh +++ b/lib/hire-agent.sh @@ -544,7 +544,7 @@ p.write_text(text) echo " Model: ${model}" echo "" echo " To start the agent, run:" - echo " docker compose --profile ${service_name} up -d ${service_name}" + echo " disinto up" fi echo ""