Skip to content

Define aggregate export ownership and legacy-source eligibility #12147

Description

@sandl99

Parent: #12130. Root epic: #10904.

Problem

Each v0 export contains one sandbox and a new aggregate identity. Whole-deployment consolidation, shared-resource ownership and legacy sources without complete receipts have no general migration path.

Audit baseline (2026-09-21): main f2c0316fc7737ac41974f6d21945f248360dba23; v1 524f0f260c12d494dc94c45b7f82af3b2aa2ae4c. Audit coverage: F50, F51, F54. Source/contract findings do not establish live deployment parity.

Outcome and scope

  • Decide whether whole-deployment export is required and define consolidation rules for admitted sources.
  • Preserve shared gateway/provider/service ownership without duplicating managed owners.
  • Define diagnostics and upgrade/recreation paths for unsupported workspaces or missing legacy provenance.
  • Keep installer prompts, operational checkpoints and stop/start history outside desired-state YAML unless explicitly required.

Acceptance

  • Record an accepted aggregate export or explicit single-sandbox boundary.
  • Do not merge independent deployment UIDs or adopt resources by matching names.
  • Shared dependencies are declared once with verifiable ownership.
  • Unknown legacy identity or nondefault workspace remains explicit rather than guessed.
  • Qualify chosen lifecycle/migration path under [Epic] Validate v1 against representative v0 deployments #11810.

Ownership and decision

Exporter and deployment ownership/lifecycle maintainers.

Product decision required before adding a supported surface. Record Accept, reason, placement, accountable maintainer, compatibility and validation. Existing accepted decisions remain authoritative.

Proposed placement: existing core exporter readers, verification, projection and publication, with native or target behavior retained by its owning component. This tracking issue does not create a new support commitment or deadline.

Dependencies and related work

#11861 owns external gateway export; #11453 owns external component participation. These remain independent direct children of the umbrella.

Validation and security

Use deterministic tests for observation/projection/refusal and the actual revision-matched v1 parser for exported intent. Live qualification belongs to the existing feature/migration scenario owner and must identify its real boundary and tested revisions. Export remains read-only, secret-value-free and all-or-nothing; unstable or incomplete evidence must not publish partial YAML.

Sources

YAML requirements — v1 scan (2026-09-21)

Target: v1 at 88c6600c06b0. The document version is nemoclaw.nvidia.com/v1alpha1, with kind: NemoClawConfig.

Format: Partial. YAML availability does not establish exporter completion or live compatibility.

  • metadata.name and metadata.uid identify one deployment. Use a fresh UUID for new ownership and retain it across later operations.
  • spec.sandboxes admits 1–32 uniquely named entries, each with one agent.
  • Shared spec.harnesses, inferences, inferenceProviders, integrations and services can define dependencies once; select them with the corresponding references.
  • One spec.gateway describes managed ownership or an external connection.
  • N/A: automatic consolidation of independent v0 deployments, UID merging/adoption, missing-receipt recovery, custom source workspace paths, and operational stop/start history.

The target can express multiple sandboxes, but that does not decide aggregate export eligibility or ownership. Do not merge independently owned sources by matching resource names.

Acceptance for this mapping: Record the accepted aggregate/single-sandbox boundary, preserve verified ownership and dependency references, and refuse ambiguous legacy provenance without guessing identity.

Sources: types.rs, multiple-sandboxes.yaml, state.md.

Exporter acceptance scope

Apply these requirements to the feature or regression covered by this issue and its accepted scope.

  1. Define v1-compatible YAML. Document the required fields and an example using apiVersion: nemoclaw.nvidia.com/v1alpha1 and kind: NemoClawConfig. Record the target v1 revision and verify compatibility with its parser. If a required format does not exist, mark it N/A and link the schema dependency. N/A does not satisfy this requirement.
  2. Export the target feature. The real configuration exporter must export the feature from a representative, admitted v0 deployment. Preserve the issue's required settings in the generated YAML. The raw output must pass the target v1 parser without manual field rewriting or a compatibility translator.
  3. Provide manual or E2E proof with the real exporter. Attach a manual reproduction or an E2E run using the installed or built exporter CLI against a real source deployment. Record the source feature setup, exporter version/commit, target v1 commit, command, output artifact or run link, and result. Show that export succeeds, the required feature settings are preserved, and the raw YAML passes target validation. A handwritten example or mocked builder test alone does not satisfy this requirement.

For E2E proof, identify the owning feature or migration scenario and reuse it where possible. Deterministic mapping tests remain responsible for field and refusal cases; the live proof covers the real source-to-exporter boundary.

This section defines acceptance requirements; it does not assert that the evidence is already complete.

Activity

  1. added
    area: architecture
    area: cli
    needs: design
    on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: architecturearea: clineeds: design

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions