Simplify migration from OpenClaw and Hermes Agent into OpenHuman
Summary
Lower the wall for users moving from OpenClaw and Hermes Agent (and similar MIT terminal-first harnesses called out in the README comparison table) into OpenHuman. Today OpenClaw memory migration exists in the Rust core (openhuman.migrate_openclaw), but the flow is easy to miss, defaults to dry-run in the controller handler, and there is no first-class Hermes importer or guided UI.
Problem
- Discoverability — Migration lives under the migration domain (
src/openhuman/migration/) with JSON-RPC / CLI exposure; most users never see it. There is no onboarding step or Settings panel that says “Import from OpenClaw / Hermes.” - OpenClaw coverage —
migrate_openclaw_memoryreadsmemory/brain.db,MEMORY.md, andmemory/*.mdunder~/.openclaw/workspace(or a user-supplied path). Schema drift in future OpenClaw versions, conflict handling, and how imported rows map into OpenHuman’s memory tree / vault (vs legacyMemory::storepath) may need explicit product decisions and tests. - Hermes — No
migrate_hermes(or generic) path in-tree; would require documenting Hermes’s on-disk layout, then implementing import analogous to OpenClaw. - Operational friction — Operators must know RPC method names, workspace paths, and that dry-run is the default in
handle_migrate_openclaw(unwrap_or(true)), which surprises people who expect an immediate import.
Solution (optional)
- Product surface — Add a short “Import from another assistant” flow (Settings or onboarding): pick vendor (OpenClaw / Hermes), pick folder or use defaults, run preview (dry run) with human-readable summary, then apply with one confirmation. Wire to
coreRpcClient/ existing RPC. - Hermes — Spike Hermes install, enumerate canonical data paths (memory, config, transcripts), implement
migrate_hermes(or a vendor-agnostic importer with pluggable readers) +MigrationReport+ tests with fixture dirs. - OpenClaw hardening — Version-note compatibility in docs; expand tests for real
brain.dbshapes; clarify dry-run default (consider default false when invoked from GUI with explicit confirm step, or keep dry-run default for RPC-only callers — document clearly). - Docs — Add a GitBook page under Developing or Features with copy-paste paths per OS, troubleshooting (“nothing found”, 401 if wrong core, backup behavior in
backup_target_memory). - Future — Optional single archive upload (.zip of old workspace) for constrained environments; out of scope unless small.
Acceptance criteria
- [ ] Users can complete an OpenClaw migration without reading RPC docs (UI or documented one-shot CLI that wraps the same core logic).
- [ ] Hermes: either documented manual steps + issue split, or working importer with fixture-based tests and
MigrationReport— pick one in implementation but do not leave Hermes unmentioned in UX (“coming soon” is acceptable only with linked tracking issue). - [ ] Behavior for dry-run vs apply is obvious in the UI and in user-facing docs.
- [ ] Diff coverage ≥ 80% on changed lines (
.github/workflows/coverage.yml).
Related
src/openhuman/migration/core.rs—migrate_openclaw_memorysrc/openhuman/migration/schemas.rs—openhuman.migrate_openclawRPC shape- README comparison table — OpenClaw / Hermes positioning
Picking this one up.
Shipping the OpenClaw side end-to-end (Settings panel + a small core-side unblock so Apply actually writes data instead of bailing). Leaving this issue open so the Hermes companion stays tracked here — the panel mentions it as 'on the roadmap' and the link needs to land somewhere live.
Quick audit of the current state, since this issue is wearing two hats now (OpenClaw + Hermes) and the OpenClaw half landed a week ago:
| Vendor | Status | Where it landed |
|---|---|---|
| OpenClaw | ✅ shipped | #2087 — merged 2026-05-19. MigrationPanel.tsx, migration/core.rs, migration/ops.rs, memory/store/factories.rs, i18n for 12 locales, Vitest coverage, coverage-matrix update. |
| Hermes | ❌ deliberately stubbed | MigrationPanel.tsx:149 ships the picker option as disabled with a "coming soon" caption that links to this issue via HERMES_TRACKING_URL. Zero hermes/Hermes references in src/openhuman/migration/. |
@obchain's earlier note explicitly kept this issue open so the in-panel link has somewhere live to point at — closing it now would break that link.
Per the issue's own acceptance criteria — "Hermes: either documented manual steps + issue split, or working importer with fixture-based tests" — the cleanest tidy-up, now that OpenClaw is done, is option B (issue split):
- File a new focused tracking issue, e.g.
feat(migration): Hermes Agent importer (split from #1440), with the Hermes-specific scope copy-pasted from the original (data paths,migrate_hermesRPC, MigrationReport, fixture tests, panel wiring to removedisabled). - Repoint
HERMES_TRACKING_URLinMigrationPanel.tsxat the new issue number (small follow-up PR). - Close this one as "OpenClaw done; Hermes tracked in #
."
That way the merged OpenClaw work feels shipped instead of leaving #1440 perpetually open, and the Hermes scope gets its own clean PR thread.
Happy to do steps 1–2 (file the new tracking issue + put up the small PR to repoint the link) if @senamakel / @obchain are good with that direction. Otherwise this is purely a process suggestion — the current setup also works fine.
Taking this on. Will start with a scoping spike on the existing migration domain and Hermes's on-disk layout, then propose a phased plan.