hermes-agent/tests/skills
in-liberty420 2dfd73a497 fix(migration): resolve workspace files from agents.defaults.workspace
OpenClaw users who started before the rebrand (when the project was
clawd/clawdbot) often have a custom workspace directory configured via
agents.defaults.workspace in openclaw.json (e.g. ~/clawd/ instead of
~/.openclaw/workspace/).

The migration tool only checked hardcoded relative paths (workspace/,
workspace-main/, workspace-assistant/) inside the source root, so files
like MEMORY.md, skills, and daily memory in custom workspaces were
silently skipped.

This change:
- Reads agents.defaults.workspace from openclaw.json at init time
- Uses it as a final fallback in source_candidate() when files aren't
  found in the standard locations
- Standard workspace paths are still preferred (custom is fallback only)
- Custom workspace is only used when it's outside the source_root tree
  (avoids double-matching when workspace/ is the default)

Adds two tests:
- Custom workspace files are discovered and migrated
- Standard workspace location is preferred over custom
2026-04-28 00:39:58 -07:00
..
test_google_oauth_setup.py fix(skills): honor scope query from Google OAuth redirect URL 2026-04-26 21:08:19 -07:00
test_google_workspace_api.py fix(google-workspace): normalize authorized user token writes 2026-04-16 04:22:16 -07:00
test_memento_cards.py feat(skills): add memento-flashcards optional skill (#3827) 2026-03-29 16:52:52 -07:00
test_openclaw_migration.py fix(migration): resolve workspace files from agents.defaults.workspace 2026-04-28 00:39:58 -07:00
test_telephony_skill.py feat(skills): add optional telephony skill with Twilio, SMS, and AI calls (#1289) 2026-03-14 04:16:48 -07:00
test_youtube_quiz.py feat(skills): add memento-flashcards optional skill (#3827) 2026-03-29 16:52:52 -07:00