Skip to main content

maintain-config

Maintains the Physical AI Runtime configuration package shared with Studio. Use when changing src/physicalai/config, export_config, Config serialization and instantiation, jsonargparse integration, or tests/unit/config. DO NOT USE FOR writing a trusted local runtime YAML recipe (use pai-configure-runtime).

Source facts

Repository
openvinotoolkit/physicalai
Last source activity
October 15, 2026 at 15:57
Detected SKILL.md language
English
Stars
39
Forks
30

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
maintain-config
description
Maintains the Physical AI Runtime configuration package shared with Studio. Use when changing src/physicalai/config, export_config, Config serialization and instantiation, jsonargparse integration, or tests/unit/config. DO NOT USE FOR writing a trusted local runtime YAML recipe (use pai-configure-runtime).
license
Apache-2.0
# Maintain `physicalai.config` Runtime owns `src/physicalai/config/`. Studio consumes `Config`, `FromConfig`, and `instantiate_obj` from Runtime rather than carrying a second implementation. Public recipe use belongs to `pai-configure-runtime`. ## Workflow 1. **Identify the API surface.** Use `Config` / `@export_config` for portable recipes; use jsonargparse for known, typed CLI construction. Read `docs/explanation/configuration.md` and a matching unit test before changing behavior. - Done when: the change is located in one owner and preserves existing recipes. 2. **Implement with the trust boundary intact.** Only instantiate `class_path` from trusted local config. Keep the depth limit and `ConfigError` messages precise; artifact-path validation belongs to inference manifest resolution, not `physicalai.config`. Do not introduce a generic loader that executes untrusted YAML. - Done when: accepted and rejected inputs have explicit outcomes. 3. **Check downstream construction.** Round-trip an `@export_config` instance through `Config.from_instance(...).save()` and `instantiate()`; verify an existing Runtime YAML and Studio's use of `physicalai.config` still work. - Done when: round-trip and dependent construction tests pass without copying a config module into Studio. 4. **Update canonical documentation** under `docs/how-to/config/`, `docs/explanation/configuration.md`, or `docs/reference/config-schema.md` when the public contract changes. - Done when: an installed-package user can understand the new behavior without reading source. ## Verify ```bash uv run pytest tests/unit/config/ -q prek run ruff-check --all-files python3 .github/scripts/skills/agent_skills.py validate ```
View on GitHub