simready-foundation-conform-fet-000-core

por nvidia

Use for repairing SimReady Core naming, asset layout, unresolved paths, and undefined prim failures.

npx skills add https://github.com/nvidia/simready-foundation --skill simready-foundation-conform-fet-000-core

SimReady Conform FET-000 Core

Purpose

Use this workflow skill to bring an existing USD asset into conformance with the SimReady Core feature contract, then hand the repaired copy back to profile validation.

This skill is not the final validator and should not silently mutate source assets. It stages a repaired USD-family asset under the requested output directory, applies deterministic fixes only where safe, and stops when a validation gate still fails or a manual decision is required.

Prerequisites

Read the source-of-truth files named below before editing. Work on staged outputs where the skill requires them, and keep validation evidence with the result.

Source of Truth

Before changing an asset, load the exact FET000_CORE manifest selected by the profile. In this repo, start with:

  • nv_core/sr_specs/docs/features/FET_000_base_neutral-0.1.0-core.json
  • nv_core/sr_specs/docs/features/FET_000-base_neutral-0.1.0-core.md

If the selected profile names a newer FET000_CORE version, use that manifest instead. Treat the JSON requirement list as authoritative when markdown and JSON disagree.

For per-requirement repair details, read references/fet000-requirements.md only when a FET000_CORE validation report or inspection identifies matching failures.

Inputs

Collect these before editing:

InputRequirement
usd_assetRequired .usd, .usda, .usdc, or unpacked USD-family asset to repair.
output_rootRequired or inferred folder for staged assets and reports.
simready_profileProfile being validated, such as prop-robotics-neutral or robot-body-runnable.
profile_versionProfile version, if supplied by the user or validation command.
validation_reportPreferred JSON or markdown report from the failing profile/feature validation gate.
source_assetOriginal CAD, DCC, URDF, MJCF, or conversion input path, used for provenance metadata.
asset_name and asset_typeUse explicit user values when provided; otherwise infer conservative defaults from the asset path and profile.

Instructions

Use this checklist when changing the repository:

  1. Confirm the input asset exists and record the original path.
  2. Parse the validation report when available. If no report exists, run the same profile or feature validation gate first when the local tooling is available.
  3. Filter to FET000_CORE failures and requirement IDs. Do not repair unrelated feature failures in this skill.
  4. Create a staged output folder under output_root, using safe lowercase path components.
  5. Copy or export the input asset into the staged folder. Do not overwrite the source asset unless the user explicitly asks for in-place repair.
  6. Apply fixes in this order:
    • Path and layout fixes for NP.002, NP.003, NP.004, and NP.005.
    • Metadata fixes for NP.006 and SR.001. If the only Core failure is NP.006 and the Physical AI Skill Hub commands are available, prefer apply-simready-foundation-metadata over hand-editing.
    • Composition and asset path fixes for NP.007 and NP.008.
    • Undefined prim cleanup for HI.010 only when the affected over can be safely resolved or removed.
  7. Rerun the same validation gate that failed, or the narrowest available FET000_CORE validation gate.
  8. Summarize the stage as passed, failed, skipped, or blocked. Stop at the first remaining failing validation gate unless the user asks for best-effort continuation.

Examples

Example request:

Repair FET000_CORE failures on a USD asset, including core metadata and naming/path issues.

Expected result summary:

staged_asset: repaired copy or output directory
validation: selected feature/profile gate and report path
remaining_failures: next failing requirement IDs, if any

Repair Policy

Make automatic repairs only when the intended result is mechanical and portable:

  • Rename copied files and folders to satisfy Core naming rules.
  • Place the main USD file at asset_root/<intermediate>/<asset_file>.usd* when repairing NP.005.
  • Author customLayerData required by SR.001, including SimReady_Metadata, asset_name, asset_type, source_file, and usd_date_generated.
  • Create or repair a same-directory sidecar JSON only when that is the chosen NP.006 metadata strategy.
  • Rewrite absolute asset paths to relative paths only when the referenced file exists and is inside the staged asset root, or when it is safe to copy/package the dependency into the staged asset root.

Block and report instead of guessing when:

  • A required dependency cannot be found.
  • A path points outside the asset package and copying it would change ownership or licensing assumptions.
  • An undefined prim might be a legitimate composition override after a missing reference is restored.
  • Metadata values would require domain knowledge the user did not provide.
  • Repairing one requirement would invalidate a higher-priority profile requirement.

Metadata Defaults

When explicit values are unavailable, use conservative defaults:

FieldDefault
asset_nameSafe stem of the staged USD asset or asset root folder.
asset_typerobot for robot profiles, prop for prop profiles, otherwise asset.
source_filesource_asset when supplied; otherwise the original input asset path.
usd_date_generatedCurrent date in YYYY-MM-DD format at repair time.
SimReady_MetadataEmpty dictionary unless a profile-specific authoring step supplies values.

Prefer SimReady_Metadata with that exact capitalization because current validators check that key in root layer customLayerData.

Tested Metadata Repair

For a converted CAD asset that fails FET000_CORE only on NP.006, this command shape has been forward-tested:

uv run --python 3.12 apply-simready-foundation-metadata <usd-asset> \
  --output-dir <output-root>/<asset-name>/simready_usd \
  --profile <profile> \
  --profile-version <version> \
  --source-asset <source-asset> \
  --pipeline-step convert-cad-to-usd \
  --report <output-root>/apply-simready-foundation-metadata.json \
  --markdown-report <output-root>/apply-simready-foundation-metadata.md

Expected repair outputs:

  • A staged copy of the USD asset under <asset-name>/simready_usd/.
  • Root layer customLayerData['SimReady_Metadata'].
  • A same-directory sidecar JSON file.

After rerunning profile validation, count this skill as successful when FET000_CORE passes, even if the full profile still fails on non-Core features such as units, rigid bodies, multibody physics, or grasp vectors. Report those remaining feature failures as handoff work for their own skills.

Validation Handoff

Preserve reports under the staged output directory. If the Physical AI Skill Hub validation commands are available, the normal handoff is:

uv run --python 3.12 validate-simready-profile <staged-usd> \
  --profile <profile> \
  --profile-version <version> \
  --report <output-root>/validation/fet000-core-after-repair.json

If those commands are not available, use the SimReady Foundations validator entrypoint configured in this checkout or inspect the relevant requirement validators directly. Always say which validation path was used.

Limitations

  • Do not silently mutate the source asset; work on the requested staged output.
  • Do not hide later profile failures after the selected feature gate passes or fails.
  • Do not invent geometry, metadata, or runtime behavior that conflicts with the asset intent.

Troubleshooting

  • Error: validation tooling is unavailable. Solution: run the narrowest available USD or static check and report the gap.
  • Error: a repair would change asset intent. Solution: stop and ask for direction or stage the smallest reversible edit.
  • Error: later profile gates still fail. Solution: report the next failing feature and hand off to the matching conformance skill.

Resources

  • assets/openai.yaml preserves optional UI metadata for clients that read skill display hints. It is not required for the workflow.
  • references/ contains detailed requirement notes; load only the files needed for the active validation failure.

Summary Format

Report:

FieldMeaning
input_usd_pathOriginal USD path.
output_usd_pathLatest staged/repaired USD path.
profile and profile_versionValidation target.
requirements_repairedRequirement IDs changed by this skill.
requirements_blockedRequirement IDs that need user or upstream data.
validation_reportPath to the rerun validation report.
next_stepUsually rerun the full selected profile validation.

Keep the user-facing summary short: what was fixed, what still fails, and the first validation gate that blocks progress.