Skip to content

feat(fabric): upgrade to Fabric v0.5.0 without patching it - #13369

Merged
cv merged 12 commits into
v1from
feat/fabric-v0.5.0
Oct 16, 2026
Merged

cv merged 12 commits into
v1from
feat/fabric-v0.5.0

Conversation

@cv

@cv cv commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #13318. Closes #13320, #13321, #13322, #13323, #13324 and #13328. Supersedes #13329. PRs into v1 don't close issues, so I'll close them by hand once this merges.

Failure

NemoClaw pinned Fabric at 24f068c8, a commit from an unmerged branch. On top of that pin, NemoClaw carried code that does Fabric's work:

  • patches to Fabric's error codes and to its OpenClaw adapter;
  • a copied Hermes plugin and a Hermes source patch;
  • a catalog built from Fabric's unreleased discovery API;
  • support for adapter settings that only that branch had.

Fabric v0.5.0 is the first release covering what we need: a public adapter catalog package, and the fabric-agent-ctl sandbox bridge.

Decision

Pin Fabric v0.5.0 (5574117f) and use what Fabric publishes. Drop what it doesn't support, with issues tracking each loss, and add no workarounds.

Catalog

  • Descriptors: each image's catalog now combines the adapters its build stage declares with their descriptors from Fabric's nemo-fabric-adapter-catalog package. The package is built from the pinned source archive and read through get_adapter_descriptor().
  • Files and executables: the build declares them, since v0.5.0 descriptors no longer list them.
  • The checked-in catalog is regenerated the same way.
  • Validation: NemoClaw now checks each descriptor as a Fabric AdapterDescriptor. The discovery-result type it used before doesn't fit descriptors that come from Fabric's package.

Removed

Model fields follow each adapter's descriptor

  • Generated base_url: sent only to adapters whose descriptor accepts it. v0.5.0's remote agent rejects one, so every remote-agent deployment would otherwise have failed.
  • Model api: sent from the provider definition only to adapters whose descriptor declares one. Pi does; the others no longer do, so they no longer receive it (Per-model API selection for agents is unavailable #13320).
  • New overrides.extensions route field: passes declared model extensions through, such as Pi's context_window, and Fabric validates them. Pi needs it for every model served through OpenShell's gateway. It can't set a field the deployment already sets.

Bridge and images

  • Input: the bridge passes invocation input through unchanged, as Fabric's own fabric-agent-ctl does. v0.5.0's adapters take a plain-text prompt. The object-only rule and the Hermes-only text unwrapping are gone.
  • Pi image: keeps the Pi harness package Fabric's lock pins (pi-coding-agent 1.0.3), which packing the adapter had dropped.
  • Examples:
    • openclaw-dashboard.yaml becomes openclaw.yaml, which getting started uses; step 5 now sends a request through openshell sandbox exec.
    • The OpenClaw web search examples become a harness-neutral web-search.yaml.
    • The full OpenClaw example no longer sets up tracing or search.

Tests

  • Onboarding and authoring: expectations now use v0.5.0's real descriptors.
  • Image tests: those that relied on Fabric's discovery fixtures, which v0.5.0 no longer ships, were rewritten, or removed where the fixture itself was what they tested.
  • Live tests: the Kubernetes test's Pi configuration and the service image fixtures were updated.

Validation

  • cargo ci passes locally: 1518 unit tests and 144 lifecycle tests.
  • Image lint, 65 image unit tests, and the reference tests pass.
  • All 11 agent images qualify with cargo images qualify.
  • The native lifecycle (start, invoke against a local inference fixture, stop) passes for OpenClaw, Hermes and Pi.
  • cargo ci live-docker passes (8 tests), and so does cargo ci live-kind (5 tests, with Pi on ARM64).
  • nemoclaw-build fern check reports 0 errors.

Not run here: the Brev, Spark and hosted-parity live tests, and live-kind with OpenClaw, which runs on AMD64.

Known limitation: OpenClaw doesn't start in OpenShell sandboxes (#13372)

CI's live-kind on AMD64, which ran OpenClaw, found this, and I reproduced it on Docker and Kubernetes. Fabric v0.5.0's OpenClaw adapter launches its Gateway through setpriv --pdeathsig SIGTERM. Inside an OpenShell sandbox, setpriv exits with "activate capabilities: Operation not permitted", and the adapter has no fallback, so fabric_start_failed. The same start succeeds outside the sandbox's confinement.

The fix belongs to Fabric's adapter (NVIDIA/NeMo-Fabric#430), so this PR doesn't work around it:

Also since opening

@cv
cv enabled auto-merge (squash) October 16, 2026 19:59
@github-actions

Copy link
Copy Markdown
Contributor

test_image.py still compared the catalog label with the removed
discovery snapshot, read the old runtime-files.json declaration, and
tested the removed OpenClaw search plugins and Hermes metadata patch.
It now checks the label against catalog.installed(), reads the adapters
the build declares, and allows the Pi adapter's locked harness packages.
…ric v0.5.0

Fabric v0.5.0's OpenClaw adapter launches its Gateway through setpriv,
which fails inside OpenShell sandboxes (NVIDIA/NeMo-Fabric#430). Record
the limitation (#13372), list the dashboard and web search losses, and
run Deep Agents in the AMD64 live suites until Fabric fixes it.
@cv
cv merged commit 1b6c37f into v1 Oct 16, 2026
@cv
cv deleted the feat/fabric-v0.5.0 branch October 16, 2026 21:36
gaveezy added a commit that referenced this pull request Oct 19, 2026
PR-6 merged v1 up to #13411. Three v1 changes move code this branch
builds on:

- #13224 removed the `nemoclaw` provider, which served this branch's
  cluster model types. They become `openshell_kubernetes_service` and
  `openshell_kubernetes_service_storage`, served by the openshell
  provider beside the Kubernetes gateway installation types: two more
  `INSTALLATION_TYPES` entries, and `cluster_services::definitions()`
  in `all_definitions()`. Their contract tests move to
  `openshell-provider::contract` with the Kubernetes gateway tests,
  their schema to the openshell snapshot, and the docs name the new
  types.
- #13286 plans and applies each deployment as one OpenTofu root. The
  cluster image preflight moves from the removed runtime stage into
  `Deployment::run`, before compilation. #13286 also removed the
  "unfinished Kubernetes platform apply" rule, so this branch's
  exception to it (`revises_only_model_workloads`), its test, and its
  usage.md paragraph go too. The compile test now checks that the
  apply-time gateway read, which every object waits on, waits on the
  cluster service, instead of checking that agents compile into a
  separate graph.
- #13184 added `Definition::derived`: a computed attribute kept out of
  backend rows. This branch's `derived` is an optional input checked
  against the spec and kept in the row, so ownership checks still see
  `owner` and `generation`. It is renamed `derived_input`.

Smaller follow-ups:

- #13093 added `ServiceDefinition::Container`; the cluster matches
  cover it. The cluster service is no longer a `runtime_process` kind:
  that flag now also selects Docker readiness and compute, which decode
  a Docker spec. Its only other readers handle the cluster kind first.
- #13223 dropped the `org.nemoclaw.runtime.spec` label everywhere; the
  cluster image check no longer requires it.
- #13369 removed `model_metadata` from OpenClaw routes, since Fabric
  v0.5.0's adapter rejects it; the cluster fixtures and docs drop it.

The remaining conflicts keep both sides.

`openshell-provider::contract`'s summed budget rises from 105 to 130 s,
keeping v1's margin: the 8 moved cluster model tests add 23.2 s in a
local linux_arm64 run (slowest 3.9 s, within the 6 s limit), about 17 s
at CI speed. `nemoclaw-provider::contract` keeps its v1 budget; this
branch's earlier raise to 150 s went with the tests.

Validation on linux_arm64: the `cargo ci` fmt, clippy, test, schema,
bundle and lifecycle steps pass (161 lifecycle tests, among them the 8
cluster model contract tests), as does `nemoclaw-build docs --check`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wscurran wscurran added area: integrations Third-party service integration behavior area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance labels Oct 23, 2026
@wscurran wscurran added integration: brave Brave integration behavior integration: hermes Hermes integration behavior integration: openclaw OpenClaw integration behavior platform: container Affects Docker, containerd, Podman, or images labels Oct 23, 2026
cv added a commit that referenced this pull request Oct 27, 2026
## Failure

Two statements about the pinned Fabric are out of date.

- **`docs/design/architecture.md`:** it said the Fabric revision
"remains pinned until the descriptor catalog change (NeMo-Fabric#318)
and its adapter follow-ups are available together", and that NemoClaw
must stop using `config.schema` when adopting it. NeMo-Fabric#318 closed
without merging. NemoClaw pins Fabric `main` at `67acf1c` for other
reasons (#13318). The pinned descriptors' `config` holds only `accepts`
and `system_instruction_modes`, and nothing in NemoClaw reads
`config.schema`.
- **`docs/inference.md`:** it said "the pinned Fabric has no per-model
API setting" and cited #13320 as if open. #13320 was closed by #13369:
the SDK sends the provider's API to any adapter whose Fabric descriptor
declares a model `api`, as `docs/agents.md` describes.

## Decision

- **`docs/design/architecture.md`:** replace the two sentences with the
current fact. The pinned descriptors carry no `config.schema`, and
NemoClaw does not use one to infer required workflows.
- **`docs/inference.md`:** state the rule instead of a missing feature.
An agent uses another protocol only when its adapter's descriptor
declares a model `api`, linking to Pi model selection. The sentence no
longer cites the closed issue.

## Validation

- `cargo run --locked -p nemoclaw-build -- fern check` reports 0 errors
and 1 warning, which is not from this change.
- `git diff --check` is clean.
@wscurran wscurran added the v1 NemoClaw v1 branch label Oct 28, 2026
@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: integrations Third-party service integration behavior area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance integration: brave Brave integration behavior integration: hermes Hermes integration behavior integration: openclaw OpenClaw integration behavior platform: container Affects Docker, containerd, Podman, or images v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants