# NousResearch/hermes-agent · OpenClaw migration API key skipping warning

## Open now

- Nothing open on GitHub.

A bug was identified where API keys are not automatically migrated during OpenClaw migration. Related changes add a warning when API keys are skipped in that process.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #1655. Verify it addresses your case.
- **Recommended:** read PR #1655 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-1655`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #1580: \[Bug\]: Openrouter api key not automatically migrated on openclaw migration

## Prior & competing PRs

- **#1655: fix(claw): warn when API keys are skipped during OpenClaw migration (#1580)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/claw.py`
  - fix hunks:
  - `hermes_cli/claw.py`

    ```diff
    @@ -294,3 +294,18 @@ def _print_migration_report(report: dict, dry_run: bool):
         elif migrated:
             print()
             print_success("Migration complete!")
    +        # Warn if API keys were skipped (migrate_secrets not enabled)
    +        skipped_keys = [
    +            i for i in report.get("items", [])
    +            if i.get("kind") == "provider-keys" and i.get("status") == "skipped"
    +        ]
    +        if skipped_keys:
    +            print()
    +            print(color("  ⚠ API keys were NOT migrated (secrets migration is disabled by default).", Colors.YELLOW))
    +            print(color("  Your OPENROUTER_API_KEY and other provider keys must be added manually.", Colors.YELLOW))
    +            print()
    +            print_info("To migrate API keys, re-run with:")
    +            print_info("  hermes claw migrate --migrate-secrets")
    +            print()
    +            print_info("Or add your key manually:")
    +            print_info("  hermes config set OPENROUTER_API_KEY sk-or-v1-...")
    ```
- **#1593: fix(claw): warn when API keys are skipped during OpenClaw migration**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#1655`

## Fix status

- Merged to main in PR #1655 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-03-17`. This confirmation is old and may be out of date (a revert/reopen would not have invalidated it here); re-verify.
- Subsystem: `hermes_cli`
