feat: offer OpenClaw migration during first-time setup wizard#958
Closed
feat: offer OpenClaw migration during first-time setup wizard#958
Conversation
When a new user runs 'hermes setup' for the first time and ~/.openclaw/ exists, the wizard now asks if they want to import their OpenClaw data before API/tool configuration begins. If accepted, the existing migration script from optional-skills/ is loaded dynamically and run with the 'full' preset — importing settings, memories, skills, API keys, and platform configs. Config is reloaded afterward so imported values (like API keys) are available for the remaining setup steps. The migration is only offered on first-time setup (not returning users) and handles errors gracefully without blocking setup completion. Closes #829
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #829. When a new user runs
hermes setupfor the first time and~/.openclaw/exists, the wizard offers to import their OpenClaw data before API/tool configuration begins.How it works
~/.openclaw/directoryoptional-skills/migration/openclaw-migration/scripts/openclaw_to_hermes.pyfullpreset,execute=True,overwrite=FalseDesign decisions
Changes
hermes_cli/setup.py_offer_openclaw_migration()+ call in first-time setup flowtests/hermes_cli/test_setup_openclaw_migration.pyTesting
python -m pytest tests/hermes_cli/test_setup_openclaw_migration.py -v→ 9 passedpython -m pytest tests/ -q→ 3255 passed (2 pre-existing failures in unrelated test)