Skip to content

docs(migration): complete a V0 config export into a v1 deployment - #14653

Merged
cv merged 7 commits into
v1from
feat/14580-v0-migration-skill
Nov 20, 2026
Merged

cv merged 7 commits into
v1from
feat/14580-v0-migration-skill

Conversation

@kaofelix

Copy link
Copy Markdown
Collaborator

Adds the nemoclaw-v0-migration skill and a procedure in docs/get-started/migration.md that turn a V0 nemoclaw config export file into a v1 deployment YAML. They're for users moving an OpenClaw or Hermes deployment from V0 to v1. The skill reads the export's report header, fills each gap with a setting that v1's docs and the image's Fabric adapter schema confirm, and lists what v1 can't carry. It leaves the V0 deployment untouched and moves no native data.

Problem

V0's config export (#14602) writes v1alpha1 YAML with a commented report of what it left out, replaced or flagged, but that YAML can't be deployed as written:

  • image.ref is a placeholder;
  • the export reuses V0's identity and gateway port;
  • several settings have no confirmed v1 field.

v1's migration page said only that #14580 tracks a path.

Two problems pass nemoclaw plan and appear only at apply:

  • OpenShell rejects V0's provider-generated _provider_* policy entries at sandbox creation.
  • With V0's filesystem_policy and process (user 1000), the v1 agent fails to start with start_failed.

Part of #14580. The issue closes after merge, and #12148 should then close as superseded by it.

Change

  • .agents/skills/nemoclaw-v0-migration/SKILL.md (new) covers:
    • refused exports: it relays the fix a diagnostic suggests and leaves the choice to the user;
    • the report format, including the review kind;
    • a fresh UID, state directory, gateway port and subnet check;
    • selecting an agent image, either an existing labeled one or cargo images build pinned by digest, and correcting bare or outdated harness kinds;
    • a table that maps each report field to a v1 home or reports it lost;
    • credentials and managed-service placeholders;
    • planning, including which deferred items to expect before a managed gateway's first apply;
    • a table of the runs done with it.
  • Policy handling in the skill: it always writes the selected image's runtime filesystem_policy, process and landlock, read from the image's io.nemoclaw.fabric.catalog label.
    • Current exports omit these sections, so the skill adds them.
    • Older exports carry V0's sections, so the skill replaces them and removes their _provider_* entries.
    • An explicit policy that omits these sections gets OpenShell's defaults, which haven't been shown to start a v1 agent.
  • Network-rule binaries: the skill checks each V0 executable path inside the v1 image. It shows the user the missing paths and changes one only when the user agrees.
  • Tool disclosure: written explicitly in both directions. The adapters' schemas and Fabric's docs leave the omitted value to the native release's default.
  • docs/get-started/migration.md: adds the "Start from the Earlier Export" procedure, which links the skill and replaces the line saying Agent assisted migration from Classic to v1 #14580 tracks it.
  • docs/resources/resources.md and the nemoclaw-user-guide routing table point to the skill.

The skill edits the export directly and uses nemoclaw plan as the check. nemoclaw onboard needs a terminal and starts a new document rather than editing one. The skill doesn't link an issue for a failed first apply that leaves state refusing both a corrected apply and destroy. That limit is already described in docs/build-deploy/usage.md.

Beyond CI

Live runs on a DGX Spark (linux/arm64) with a managed Docker gateway and v1 agent images built from the v1 revision under test. Each V0 sandbox was onboarded with the v0.0.144 release CLI, using hosted NVIDIA inference without sandbox GPU, and OpenClaw with text-only input. Each was then exported with #14602's CLI from the same state.

Harness Exporter Proven on v1
OpenClaw #14602 at 56fb96ebac: policy sections reported, not exported Plan, apply, an agent request answered READY, unchanged plan with no changes
Hermes #14602 at 56fb96ebac Plan
OpenClaw #14602 at 9e6033585f: V0 policy sections exported Plan, apply, agent request, unchanged plan; plan again after the policy steps changed
Hermes #14602 at 9e6033585f Plan, apply, agent request, unchanged plan; plan again after the policy steps changed

Each first plan on a fresh managed gateway reported two deferred items, the gateway version/driver check and the image's Fabric capabilities; each apply of a YAML completed with the current steps succeeded. In both images, most executable paths in the exported network rules are missing: 21 of 29 for OpenClaw and 16 of 22 for Hermes. The rules were left unchanged and OpenClaw still answered through its provider.

Not verified:

  • Deep Agents exports.
  • Exports with managed vLLM or Ollama services.
  • A refused Hermes export.
  • Remapping network-rule binaries to v1 paths.
  • Heartbeat, direct tool disclosure, proxy and observability report entries, which these exports didn't contain.

Add the nemoclaw-v0-migration skill, which reads a V0 export's report
header and completes the YAML: a fresh identity and gateway port, a v1
agent image, the image's own filesystem and process policy, no
OpenShell-generated _provider_ entries, and each omitted setting that a
v1 doc and the adapter's schema confirm. migration.md documents the
procedure and links the skill; resources.md and the user-guide skill
point to it.

Part of #14580.

Signed-off-by: Kao Félix <[email protected]>
Name the export-report requirement on the V0 release, make tool
disclosure explicit in both directions since the adapters leave the
default to the native release, and read placeholder service images.

Part of #14580.

Signed-off-by: Kao Félix <[email protected]>
Handle exports that report V0's filesystem, process and Landlock
sections, provider-composed rules and executable paths as well as older
exports that carry them, and always write the image's runtime policy.

Part of #14580.

Signed-off-by: Kao Félix <[email protected]>
Check executable paths inside the image without host globbing, explain
the deferred items before a managed gateway's first apply, and record
the runs with exports from #14602 at 56fb96e.

Part of #14580.

Signed-off-by: Kao Félix <[email protected]>
@kaofelix

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded Claude Code 2.1.327 Session record version field
Skills recorded nemoclaw-contributor-create-pr (injected); nemoclaw-user-guide (complete read); write-tests (complete read) Skill injection and file reads to cutoff; verify-yaml-deployment was read only in part and is not counted
Instruction files recorded AGENTS.md (injected); user-level CLAUDE.md and AGENTS.md (injected); WRITING.md (complete read); task brief (complete read); PULL_REQUEST_TEMPLATE.md (complete read); SESSION_REPORT_TEMPLATE.md (complete read) Startup context injection and file reads to cutoff
Tool calls recorded Bash: 227; Edit: 7; Write: 1; Read: 1; Skill: 1 Unique tool_use IDs to cutoff, including 6 failed calls; Bash wrapped remote and Docker commands whose nested calls are not observed
Tokens recorded input: 57737876; cached input: 56543947; output: 123261 Final message.usage of 248 responses, deduplicated by message and request ID, to 2026-11-19T15:43Z; no subagents
Session window recorded 2026-11-18T16:58Z to 2026-11-19T15:43Z; 22 h 45 min First record to cutoff, including idle time
Compactions recorded 0 Complete record to cutoff has no compaction entries
Models recorded claude-opus-5-5 All assistant responses; no changes
Reasoning levels recorded medium Every request records effort medium

@github-actions

Copy link
Copy Markdown
Contributor

@kaofelix
kaofelix marked this pull request as draft November 19, 2026 16:35
@copy-pr-bot

copy-pr-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@wscurran wscurran added area: docs Documentation, examples, guides, or docs build area: security Security controls, permissions, secrets, or hardening area: skills Skills, agent behaviors, prompts, or skill packaging integration: hermes Hermes integration behavior integration: openclaw OpenClaw integration behavior v1 NemoClaw v1 branch labels Nov 19, 2026
Resolve conflicts with the gerund heading renames from #14670 and the v1 style pass.
@cv
cv marked this pull request as ready for review November 19, 2026 23:50
@cv
cv enabled auto-merge (squash) November 19, 2026 23:50
Resolve conflicts with the style pass from #14669.
@cv
cv merged commit 37200cc into v1 Nov 20, 2026
54 checks passed
@cv
cv deleted the feat/14580-v0-migration-skill branch November 20, 2026 00:03
cv added a commit that referenced this pull request Nov 20, 2026
Resolve conflicts with the migration guidance from #14653.
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build area: security Security controls, permissions, secrets, or hardening area: skills Skills, agent behaviors, prompts, or skill packaging integration: hermes Hermes integration behavior integration: openclaw OpenClaw integration behavior v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants