Skip to content

build(fabric): pin the Fabric stack prepared for upstream review - #14054

Merged
cv merged 4 commits into
v1from
build/fabric-upstream-stack
Nov 2, 2026
Merged

cv merged 4 commits into
v1from
build/fabric-upstream-stack

Conversation

@cv

@cv cv commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Failure

NemoClaw pins Fabric a3b57155 from the cv/NeMo-Fabric reference implementation: 19 commits and about 3,700 hand-written lines on top of Fabric's main. Upstreaming that as one review would be slow, and much of it repeats checks or docs that already exist elsewhere.

Decision

Pin Fabric ddf59e87: the same features rebuilt from Fabric's main as nine upstream pull requests (NVIDIA/NeMo-Fabric#568 to #576), with about a quarter of the hand-written lines removed (3,687 to 2,710), plus the fixes from their first review round. integration/nemoclaw-pin on cv/NeMo-Fabric merges the nine branches into one tree.

What changes for NemoClaw:

  • OpenClaw's dashboard no longer takes public_origins; it accepts loopback origins, which is how NemoClaw reaches it. docs/interfaces.md and one catalog test stop naming it.
  • Deep Agents Code no longer takes dcode_command or startup_timeout_seconds. NemoClaw sets neither, and its image puts dcode on PATH.
  • Adapters no longer repeat the setting checks that their descriptor's schema makes; NemoClaw planning checks the same schema.
  • Fabric's runtime server now names an adapter's error code when a start fails, which the earlier pin didn't do on the native path.

The pin moves the computed fixture image, so two HCL cases name the new digest and one HCL test the inference registrations derived from it.

Follow-up: #14055 (planning doesn't catch a model field the image's adapter doesn't accept).

Validation

On linux_arm64:

  • cargo ci: passed on ddf59e87, 1,807 tests and 162 lifecycle tests. One earlier run failed two Ollama unit tests in nemoclaw-runtime, unrelated to this change; they passed on rerun.
  • cargo ci live-docker: passed on ddf59e87, 7 tests; interfaces_live took 101.6 s.
  • The manual run in the comment below used the first pin, 88099b37; the review-round fixes since then are covered by Fabric's tests and the two runs above.
  • A manual end-to-end run against a real model, with OpenClaw's Control UI, Hermes's API server, dashboard, browser chat and kept state across a sandbox replacement, and Deep Agents Code's invocation and terminal UI: results and screenshots in a comment below.

Known risk: GitHub's codeload archive for this fork commit through the NVIDIA/NeMo-Fabric URL sometimes returns 404, which failed one local image build. A retry or a warm Docker cache gets past it.

Deferred to CI: cargo ci live-kind; the Kubernetes images change only by the Fabric pin.

Pin Fabric 88099b37 from the cv/NeMo-Fabric reference implementation:
the same features as a3b57155, rebuilt from Fabric's main as nine
smaller commits for upstream review, with about a quarter of the
hand-written lines removed.

What changes for NemoClaw:

- OpenClaw's dashboard no longer takes `public_origins`; it accepts
  loopback origins, which is how NemoClaw reaches it.
- Deep Agents Code no longer takes `dcode_command` or
  `startup_timeout_seconds`; NemoClaw sets neither, and its image puts
  `dcode` on PATH.
- Adapters no longer repeat in Python the setting checks their
  descriptor's schema already makes; NemoClaw checks the same schema
  during planning.

The docs and the bundled-catalog test stop naming `public_origins`. The
pin moves the computed fixture image, so the HCL cases name the new
digest and the inference registrations derived from it.

Signed-off-by: Carlos Villela <[email protected]>
@cv

cv commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded pi 1.4.0 (session format 3) with the Pit TypeScript tool Session header and installed package metadata
Skills recorded nemoclaw-contributor-create-pr (complete read) Tool reads to cutoff; other skills were listed but not read
Instruction files recorded AGENTS.md (injected); WRITING.md (complete read); .github/PULL_REQUEST_TEMPLATE.md (complete read); .github/SESSION_REPORT_TEMPLATE.md (complete read) Startup context and tool reads to cutoff; NeMo-Fabric's AGENTS.md and CONTRIBUTING.md were read only in part
Tool calls partial typescript: 474 (11 failed) Wrapper calls in this session's record; nested shell, git and gh calls inside each program are not recorded separately, and the helper agents that rebuilt three Fabric slices ran in their own sessions, not counted here
Session window recorded 2026-11-01T08:27Z to 2026-11-01T19:38Z; 11 h 11 min First event to cutoff, including idle time; earlier work in the same session produced #14052
Compactions recorded 0 Complete record to cutoff; context elisions are not compactions
Models recorded claude-opus-5-5 Model change event; no changes
Reasoning levels recorded high Thinking-level event; no changes

@cv

cv commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator Author

Manual test

Fabric 88099b37, the content of this pull request, on Docker (linux_arm64). One managed-gateway deployment ran OpenClaw, Hermes and Deep Agents Code against nemotron-3.5-super-vl on an existing vLLM deployment on the same host. Hermes's /sandbox/artifacts was on a Docker volume.

Check Result
Apply 13 s; prints the forward, token and launcher commands and never a token. Token files are 600, owned by node
OpenClaw Control UI #token= signs in and the token leaves the address bar; a wrong token is rejected; chat answers in 7 s
Hermes API server 200 with the token, 401 without it or with a wrong one; a chat completion answers in 11 s
Hermes dashboard and browser chat The dashboard loads with no sign-in; browser chat answers through the configured model
Kept state A session created through the API ("remember the word marigold") survives replacing the sandbox, which a Hermes settings change caused, with a new runtime ID. The session returns 200, the agent answers "marigold" from it, and browser chat lists the earlier sessions
Deep Agents Code A Fabric invocation answers in 10 s; threads list through the launcher shows the runtime's thread, which the marker names; the terminal UI answers in 12 s
After the checks plan shows no changes; no token appears in the state directory, the outputs or the YAML
Destroy 13 s, with no stop_failed

The Deep Agents Code sandbox first failed at apply because its route set maxTokens, which that adapter doesn't accept and planning didn't catch: #14055. That gap predates this pull request.

Apply output

Apply output

OpenClaw: the signed-in Control UI answers, and a wrong token is rejected

OpenClaw chat

OpenClaw wrong token

Hermes: dashboard and browser chat before the replacement

Hermes dashboard

Hermes browser chat

Hermes after the sandbox replacement: browser chat still lists the earlier sessions, including "Kept across replacement"

Hermes after replacement

Deep Agents Code's terminal UI, opened with the launcher command apply prints (rendered from the terminal transcript)

Deep Agents Code terminal

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Pin Fabric ddf59e87, cv/NeMo-Fabric's integration/nemoclaw-pin branch:
the nine upstream pull requests (NVIDIA/NeMo-Fabric#568-#576) after the
fixes from their first review round, merged into one tree.

What changes at runtime:

- OpenClaw and the ACP runner don't signal a child's PID after it exits,
  and each OpenClaw readiness request is bounded by the startup deadline.
- Hermes's interface startup timeout counts from the start of `start`, a
  cancelled stop still kills its children, and a kept Hermes home drops a
  stale API token at start.
- `runtime.keep_state` now fails planning without an artifact directory
  and lets a service share the folder with one connected runtime.
- The Deep Agents Code descriptor lists `dcode` as a required binary.

The pin moves the computed fixture image again, so the HCL cases and the
registration names in one HCL test follow it.

Signed-off-by: Carlos Villela <[email protected]>
@wscurran wscurran added area: integrations Third-party service integration behavior area: packaging Packages, images, registries, installers, or distribution area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance integration: dcode LangChain Deep Code integration behavior integration: openclaw OpenClaw integration behavior v1 NemoClaw v1 branch labels Nov 2, 2026
cv added 2 commits November 2, 2026 14:33
The Fabric pin's OpenClaw adapter accepts only loopback browser origins
and no longer takes `public_origins` (NVIDIA/NeMo-Fabric#573 leaves
other origins for later). The verify skill from #14080 set it so a
browser could sign in at the service exposure's URL; planning now
rejects that field.

The skill's YAML edits drop `public_origins`. The exposure keeps its
curl checks (DB1-DB3), the forward's curl checks become DB4, and the
browser sign-in and chat (DB5) use the forward.

Signed-off-by: Carlos Villela <[email protected]>
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build area: skills Skills, agent behaviors, prompts, or skill packaging labels Nov 2, 2026
@cv
cv merged commit 86b8d94 into v1 Nov 2, 2026
54 checks passed
@cv
cv deleted the build/fabric-upstream-stack branch November 2, 2026 22:16
cv added a commit that referenced this pull request Nov 3, 2026
…4140)

## Failure

#14054 pinned Fabric `ddf59e87`, the nine upstream pull requests
(NVIDIA/NeMo-Fabric#568 to #576) after their first review round. The
second round found a bug that can block a service, and three smaller
gaps, so the pinned tree no longer matches what those pull requests
contain.

## Decision

Pin Fabric `e5b5ebf2`, `integration/nemoclaw-pin` on `cv/NeMo-Fabric`,
which merges the nine branches after the second round. What changes at
runtime:

- A service forgets a connected runtime even when its stop fails;
before, every later connection failed with `StateInUse`.
- A workspace patch leaves out kept agent state when the artifact
directory sits inside the workspace, and the state lock sits beside the
state folder so an adapter that replaces the folder can't drop it.
- Hermes's interfaces fail start on Windows before any child starts.
- Deep Agents Code claims only the `live` health check; `active` and
`ready` report `unsupported`, which NemoClaw's refresh already treats as
running.

The pin moves the computed fixture image, so the HCL cases and the
registration names in one HCL test follow it.

## Validation

On `linux_arm64`, on top of `v1` at `57395fee53`:

- `cargo ci`: passed, 1,812 tests and 100 lifecycle tests.
- `cargo ci live-docker`: passed; `interfaces_live` took 63.0 s.
- Fabric `e5b5ebf2`: the Rust workspace tests, the Python suite
(excluding OpenCode tests, which need Bun 1.4.2), the Hermes suite and
the TypeScript tests for common, strands and deepagents-code passed.

GitHub's `codeload` archive for a fork commit under the
`NVIDIA/NeMo-Fabric` URL sometimes returns `404`, which can fail an
image build; a rerun gets past it.

Deferred to CI: `cargo ci live-kind`; the Kubernetes images change only
by the Fabric pin.

Signed-off-by: Carlos Villela <[email protected]>
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 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: integrations Third-party service integration behavior area: packaging Packages, images, registries, installers, or distribution area: security Security controls, permissions, secrets, or hardening area: skills Skills, agent behaviors, prompts, or skill packaging chore Build, CI, dependency, or tooling maintenance integration: dcode LangChain Deep Code integration behavior integration: openclaw OpenClaw integration behavior v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants