Skip to content

fix(sdk)!: require an agent image on every runtime - #14592

Closed
kaofelix wants to merge 1 commit into
v1from
fix/14551-require-agent-image
Closed

kaofelix wants to merge 1 commit into
v1from
fix/14551-require-agent-image

Conversation

@kaofelix

Copy link
Copy Markdown
Collaborator

Every sandbox must now name image.ref. Docker and Podman documents that omitted it no longer receive nc-fabric-owner-20260924@sha256:c4c0d3ad…, a default image that exists only on the host that built it.

Problem

On Docker and Podman, Document::defaults filled an empty image.ref with the versions.json images.agent pin. The reference names no registry, so Docker resolves it to docker.io/library/nc-fabric-owner-20260924, which doesn't exist. A document without an image validated, and nemoclaw apply then failed pulling it after creating the gateway. nemoclaw onboard suggested the same image (#14235).

Resolves #14551.

Change

  • Schema: sandboxes.<name>.image and image.ref are required on every runtime, as they already were on Kubernetes and OpenShift. Leaving them out fails with "image.ref must name the sandbox's agent image by digest; docs/build-deploy/build.md#build-agent-images shows how to build one". The Kubernetes rule keeps requiring image.metadata.
  • Default removed: images.agent in versions.json, its build.rs entry, DEFAULT_AGENT_IMAGE, and the line in Document::defaults that applied it.
  • Breaking: documents without an image no longer validate. The intent record version rises to 26, so this SDK refuses deployment state that an earlier one recorded, as with every record format change.
  • Documents: 12 examples, 3 HCL integration cases, and 2 test fixtures that omitted the image now use the nc-fabric@sha256:000… placeholder that other examples already use. Provider addresses include a hash of the image, so the three cases' scenario addresses and 7 OpenShell contract fixtures change with it. The HCL fixture module no longer falls back to the pin.
  • Onboarding: with no default, the document isn't valid until the image is set, and discovery reads the engine and model catalog only from a valid document. Onboarding therefore asks for the image right after the inference preset, before the model and engine. It has no suggestion, so the user types a reference, and the review shows that reference instead of "default image".
  • Docs: the build, inference, and SDK reference pages no longer describe the default. The schema and configuration reference are regenerated.

Left out: suggesting a matching local or published image during onboarding, and refusing apply before the gateway when the image is absent (#14235). A published per-harness default can return after #13516.

On Docker and Podman, a sandbox without image.ref received the
versions.json pin nc-fabric-owner-20260924@sha256:c4c0d3ad..., an image
that exists only on the host that built it. Such a document validated,
then apply failed pulling the image after creating the gateway.

Every sandbox now names image.ref, as Kubernetes and OpenShift already
required; the validation error links the image build instructions. The
pin, DEFAULT_AGENT_IMAGE, and the default in Document::defaults are gone.
Examples, cases, and fixtures that omitted the image name the existing
nc-fabric@sha256:000... placeholder. Onboarding now asks for the image
after the inference preset, because the document needs it before
discovery can read the engine and model catalog. The intent record
version rises to 26.

Refs #14551
@kaofelix

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded Claude Code 2.1.326 Version on every transcript record to the cutoff
Skills recorded test-driven-development (injected); nemoclaw-contributor-create-pr (injected) Skill tool injections to the cutoff
Instruction files recorded AGENTS.md (injected); user-level CLAUDE.md and AGENTS.md (injected); WRITING.md (complete read); .github/PULL_REQUEST_TEMPLATE.md (complete read); .github/SESSION_REPORT_TEMPLATE.md (complete read) Startup context injections and shell reads in the transcript
Tool calls recorded Bash: 144; Skill: 2; Write: 1; Edit: 1; ToolSearch: 1 Assistant tool_use blocks to the cutoff, including failed calls; Bash wraps nested commands, which are not counted
Tokens recorded input: 27170780; cached input: 26623881; output: 80978 Final usage of 155 unique responses (message ID and request ID), no differing duplicates; cutoff 2026-11-18T10:10Z
Session window recorded 2026-11-17T15:07Z to 2026-11-18T10:10Z; 19 h 3 min First record to cutoff, including idle time; the session also planned #14235 and filed #14551 before this change
Compactions recorded 0 No compaction records in the transcript to the cutoff
Models recorded claude-opus-5-5 Assistant message model; no changes
Reasoning levels recorded medium Effort recorded on every turn; no changes

@kaofelix

Copy link
Copy Markdown
Collaborator Author

Superseded by #14564, which made the same change and is already on v1.

@kaofelix kaofelix closed this Nov 18, 2026
@kaofelix
kaofelix deleted the fix/14551-require-agent-image branch November 18, 2026 10:13
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 19, 2026
@cv cv added the v1 NemoClaw v1 branch label Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants