fix: disinto init should activate dev, reviewer, and gardener agents by default (#671)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-25 14:20:09 +00:00
parent d3ce0a92d4
commit a414bc8b24

View file

@ -1369,6 +1369,13 @@ p.write_text(text)
fi
fi
# Activate default agents (zero-cost when idle — they only invoke Claude
# when there is actual work, so an empty project burns no LLM tokens)
mkdir -p "${FACTORY_ROOT}/state"
touch "${FACTORY_ROOT}/state/.dev-active"
touch "${FACTORY_ROOT}/state/.reviewer-active"
touch "${FACTORY_ROOT}/state/.gardener-active"
echo ""
echo "Done. Project ${project_name} is ready."
echo " Config: ${toml_path}"