urml-validator 0.5.3__tar.gz → 0.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- urml_validator-0.5.4/PKG-INFO +249 -0
- urml_validator-0.5.4/README.md +219 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/pyproject.toml +1 -1
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/__init__.py +1 -1
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/_version.py +1 -1
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/cli.py +23 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/validator.py +21 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_drone_primitives.py +75 -0
- urml_validator-0.5.3/PKG-INFO +0 -222
- urml_validator-0.5.3/README.md +0 -192
- {urml_validator-0.5.3 → urml_validator-0.5.4}/.gitignore +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/LICENSE +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/errors.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/evidence.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/evidence_keys/__init__.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/evidence_keys/allowed_signers +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/evidence_render.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/evidence_report.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/evidence_sign.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/hbom.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/init_templates.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/monitor.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/monitorable.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/policies/__init__.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/policies/us_federal_default.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/policy_engine.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/py.typed +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/rulebook_engine.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/rulebooks/__init__.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/rulebooks/us_faa_part107.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schema_export.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/__init__.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/common.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/composition.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/connectivity.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/envelope.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/manifest.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/policy.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/primitives.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/program.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/roster.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/schemas/rulebook.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/src/urml_validator/transforms.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/__init__.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/biped_gentle_grip.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_default.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_delivery_envelope.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_low_ceiling.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_override_zone.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_with_altitude_band.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_with_geofence.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_with_occupancy_zone.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_default.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_monitorable_ok.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_monitorable_parse_error.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_monitorable_undeclared_signal.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_with_geofence.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/industrial_cell_guarded.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_continue_autonomous.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_halt.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_hover.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_outage_relaxed.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_rth.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/social_default.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/social_tight.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/warehouse_aisles_a.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/warehouse_default.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/warehouse_low_reach.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/envelopes/warehouse_with_occupancy_zone.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/amr-rules.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/declarations.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/envelope.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/expected.html +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/expected.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/expected.md +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/functional-safety.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/manifest.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/scenario.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-parcel/conformance-report.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-parcel/expected.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-parcel/scenario.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/conformance-report.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/expected.html +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/expected.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/expected.md +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/expected.redacted.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/registry-entry.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/scenario.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/too-high.urml.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/home-helper/expected.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/home-helper/home-rules.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/home-helper/manifest.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/home-helper/scenario.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/expected.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/functional-safety.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/industrial-rules.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/manifest.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/scenario.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/allowed_signers +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/not-a-report.txt +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/not-a-report.txt.sig +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/report-file-namespace.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/report-file-namespace.json.sig +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/report-retired.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/report-retired.json.sig +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/report.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/evidence/signing/report.json.sig +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/adafruit_feather_rp2040_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/anymal_quadruped.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/apollo_biped.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/ati_ft_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/autosar_ara_com.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/autosar_ara_com_incomplete.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/autosar_ecu_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/autoware_av.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/autoware_av_no_map.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/autoware_av_research.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/bluerov_marine.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/bota_ft_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/chrono_vehicle_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/clearpath_husky.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/cobot_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/cobot_cell_outputs.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/cognex_vision_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/comau_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/conveyor_gripper_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/declared_intent_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/declared_intent_unknown.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/declared_intent_unsupported.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/denso_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/deployment_commercial_gated.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/deployment_noncommercial_gated.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_bimanual.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_biped.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_wholebody.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_wholebody_fourlegs.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_wholebody_no_carry.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_wholebody_unstable.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/doosan_cobot_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_autopilot_custom_no_note.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_civilian.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_civilian_connectivity.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_connectivity_no_home.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_delivery.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_high_ceiling.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_no_autopilot_class.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/educational_buggy.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/epson_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/esp32_firmware_node.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/evidence_mixed.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/fanuc_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/festo_dhep_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/figure_biped.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/ghost_vision60.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/ground_connectivity_no_station_keeping.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/hanwha_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/hbom/clean.cdx.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/hbom/cn_chip.cdx.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/hbom/malformed.cdx.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/hbom/vendor_of_vendor.cdx.json +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/hesai_lidar_denied.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/hokuyo_lidar_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/hyundai_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/industrial_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/industrial_cell_connectivity.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/interception_hand_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/isaac_arm_sim.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/kassow_cobot_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/kawasaki_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/kawasaki_rs_no_peer_link.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/kinova_cobot_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/kuka_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/language_full.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/language_nllb.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/language_vosk.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/language_whisper.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/leap_hand_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/lego_spike_driving_base.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/licensing_cap_exceeded.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/licensing_clean.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/licensing_vendored_gpl.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/mecademic_cobot_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/microbit_edu.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/microbit_minimal_node.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/microbit_minimal_node_bad_output.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/microbit_minimal_node_mobility.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/mitsubishi_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/mujoco_arm_sim.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/nachi_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/neo_biped.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/neura_cobot_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/omron_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/onrobot_magnetic_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/opcua_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/optimus_biped.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/ouster_3d_lidar_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/petoi_bittle_x.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/photoneo_motioncam_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/piab_vacuum_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/provenance_hbom_clean.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/provenance_hbom_cn_chip.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/provenance_hbom_vendor_of_vendor.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/reachy_mini.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/robotical_marty_v2.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/robotiq_2f85_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/schmalz_vacuum_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/schunk_mpg_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/sick_safety_lidar_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/soft_robotics_compliant_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/spot_arm.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/spot_quadruped.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/staubli_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/stm32_firmware_node.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_custom_no_note.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_iceoryx1_no_runtime.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_iceoryx2.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_no_config.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_runtime_on_iceoryx2.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_qos_keep_last_no_depth.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_realtime_cyclic.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_realtime_watchdog_short.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_rmw_custom_no_note.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/techman_cobot_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/thymio_classroom.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/translation_nllb_no_alt.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/translation_nllb_permissive_alt.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/translation_open_llm_primary.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home_areas.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home_cn_critical.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home_connectivity.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home_dji_vendor.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlesim_mobile.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/unitree_g1_wholebody.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/unitree_g1_wholebody_unstable.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/unitree_quadruped_denied.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/ur_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/utm_drone.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/utm_ground.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/utm_rov.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/vex_v5_clawbot.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/warehouse_areas.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/warehouse_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/yaskawa_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/manifests/zivid_two_cell.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/policies/hbom_no_cn_components.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/policies/permissive.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/policies/require_evidence_derived.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/rulebooks/deployment_indoor_lab.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/fixtures/rulebooks/deployment_no_remote_id.yaml +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_amr_rulebook_template.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_ara_com_binding.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_architecture_svg.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_audit_store.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_autonomy_boundary_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_av.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_base_intent_node.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_base_mobility_bounds.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_behavior_tree_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_bittle_demo_svg.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_camera_rfc0682.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_cli.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_cli_conformance.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_cli_evidence.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_cli_execute.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_cli_rulebooks.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_cli_run.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_connectivity_pass2.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_cram_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_crazyswarm2_dispatch.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_cybersecurity_template.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_decart_oasis_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_declared_intent.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_default_policy_sources.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_demo_svg.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_deployment.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_dexterous.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_dobot_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_drive_radius.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_dynamic_grasp_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_envelope_coverage.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_epically_powerful_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_eu_ai_act.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_eu_cyber_resilience_act.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_eu_machinery_regulation.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_evidence.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_evidence_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_evidence_render.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_evidence_report.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_evidence_report_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_evidence_sign.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_examples_dont_rot.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_executorch_policy_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_fieldbus_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_firmware_descriptor.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_fleet_validation.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_functional_safety_template.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_goalkeeper_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_gopigo3_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_gym_pybullet_drones_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_hbom_policy.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_home_rulebook_template.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_inav_mission.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_industrial_rulebook_template.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_init_cli.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_isaac_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_kawasaki_demo_svg.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_kortex_dispatch.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_lang2ltl_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_language.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_learned_policies_rfc0617.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_learned_policy_rfc0383.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_licensing.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_link_loss_pass3.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_machinery_safety_template.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_minimal_node.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_monitor.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_monitorable_envelope_rfc0382.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_monitorable_parser.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_mtconnect_task_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_opcua_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_openscenario_export.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_physical_ai_safety_eval_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_policy.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_portability_svg.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_realtime.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_relative_motion_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_replan_feedback.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_robocasa_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_robotiq_hande_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_rtic_timing_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_rulebook_files.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_rulebooks.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_safety_monitor_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_schema_export.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_schemas_parse.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_service_robot_template.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_set_output.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_speak_listen.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_spot_capture_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_standards_directory.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_substrate_autopilot_class.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_substrate_clock_bringup.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_substrate_ipc.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_substrate_rmw_implementation.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_transforms.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_translation_alternatives.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_turtlebot4_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_urdf_to_manifest_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_validation_block_rfc0381.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_validator.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_vitra_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_vla_gate.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_world_model_example.py +0 -0
- {urml_validator-0.5.3 → urml_validator-0.5.4}/tests/test_world_model_rfc0615.py +0 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: urml-validator
|
|
3
|
+
Version: 0.5.4
|
|
4
|
+
Summary: Static verification engine for URML — Universal Robot Language
|
|
5
|
+
Project-URL: Homepage, https://github.com/urml-dev/URML
|
|
6
|
+
Project-URL: Repository, https://github.com/urml-dev/URML
|
|
7
|
+
Project-URL: Issues, https://github.com/urml-dev/URML/issues
|
|
8
|
+
Author: URML Maintainers
|
|
9
|
+
License: BUSL-1.1
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: robotics,specification,urml,validator
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: Other/Proprietary License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Requires-Dist: pydantic<3,>=2.6
|
|
22
|
+
Requires-Dist: pyyaml<7,>=6.0
|
|
23
|
+
Provides-Extra: dev
|
|
24
|
+
Requires-Dist: mypy>=1.10; extra == 'dev'
|
|
25
|
+
Requires-Dist: pytest-cov>=5; extra == 'dev'
|
|
26
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
27
|
+
Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
28
|
+
Requires-Dist: types-pyyaml>=6.0; extra == 'dev'
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
<p align="center">
|
|
32
|
+
<a href="https://urml.dev"><img src="https://urml.dev/favicon.svg" alt="URML" width="72" height="72"></a>
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
<p align="center">
|
|
36
|
+
A small, opinionated, human-readable language for describing robot intent.
|
|
37
|
+
</p>
|
|
38
|
+
|
|
39
|
+
<p align="center">
|
|
40
|
+
<a href="https://urml.dev"><b>urml.dev</b></a>
|
|
41
|
+
</p>
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
# Validator
|
|
46
|
+
|
|
47
|
+
**Status:** alpha, on PyPI as `urml-validator`. It ships the schemas, the six-pass validator, the `urml` CLI and JSON Schema export. Versions are `0.x`, so a release may break compatibility; the [changelog](https://github.com/urml-dev/URML/blob/main/CHANGELOG.md) says what each one changed. The LLM bridge and its on-device providers ship separately as `urml-llm-bridge`.
|
|
48
|
+
|
|
49
|
+
## What this is
|
|
50
|
+
|
|
51
|
+
The static verification engine for URML. Given a URML program, a Layer-1 capability manifest for the target robot, and the active safety envelope, the validator returns one of two outcomes:
|
|
52
|
+
|
|
53
|
+
1. **Accepted.** The program is statically valid, and the runtime may execute it.
|
|
54
|
+
2. **Rejected with a structured error.** The program fails one or more checks, and the error is a machine-readable object that a calling tool (often the LLM bridge) can use to revise the program.
|
|
55
|
+
|
|
56
|
+
The validator is **the safety boundary**. Per [`MANIFESTO.md`](https://github.com/urml-dev/URML/blob/main/MANIFESTO.md) §Design Principles and [`CLAUDE.md`](https://github.com/urml-dev/URML/blob/main/CLAUDE.md) §What Claude Should Never Do:
|
|
57
|
+
|
|
58
|
+
> *URML programs are executed only after static verification against the target's capability manifest and active safety envelope. Any "fast path" that skips verification is rejected on review.*
|
|
59
|
+
|
|
60
|
+
The validator runs in the same process as the runtime. `URMLRuntime.execute` imports it and re-validates every program, against the manifest, envelope, policy and rulebooks it is given, before its first adapter call. A rejected program raises `ValidationRejectedError` and the adapter receives nothing; `python -m urml_conformance --goal-line` checks this for every rejected conformance fixture. Skipping the check takes an explicit `revalidate=False` in code.
|
|
61
|
+
|
|
62
|
+
## What the validator checks
|
|
63
|
+
|
|
64
|
+
The validator runs these checks against every URML program. The specification asks for some checks the validator does not make; they are listed further down, under "What the validator does not check today".
|
|
65
|
+
|
|
66
|
+
### Layer-3 (composition) checks
|
|
67
|
+
|
|
68
|
+
- The program parses as valid URML against the layer-3 grammar.
|
|
69
|
+
- Every composition operator is well-formed (a `parallel` has at least two branches, a `retry` has a positive `max_attempts`, `on_error` is one of `abort_and_report`, `continue`, `retry`).
|
|
70
|
+
- Every `$variable` reference resolves to a prior `store_as`.
|
|
71
|
+
- Types match across producer/consumer primitives.
|
|
72
|
+
|
|
73
|
+
### Layer-2 (primitive) checks
|
|
74
|
+
|
|
75
|
+
- Every primitive is one the schema defines. An unknown primitive name is an `argument.*` error.
|
|
76
|
+
- Every primitive's required arguments are present and well-typed.
|
|
77
|
+
- Profile gates are honored: `drive` and `turn` need the `educational` profile, `look_at` and `gesture` need the `social` profile.
|
|
78
|
+
|
|
79
|
+
### Layer-1 (capability) checks
|
|
80
|
+
|
|
81
|
+
- The robot's manifest declares every capability the program needs (mobility, manipulation, perception, declared frames, declared locations).
|
|
82
|
+
- Every named place in the program resolves to a declared location or a declared area in the manifest.
|
|
83
|
+
|
|
84
|
+
### Safety-envelope checks
|
|
85
|
+
|
|
86
|
+
- Declared limits are checked on each step they apply to: velocity, altitude, grip force, the declared mass of an object a `move_to` carries, drop height, geofences with their altitude bands, people-occupancy zones, and the link-loss policy. For a numeric limit, the strictest of the manifest value and the envelope value applies.
|
|
87
|
+
- Spatial checks run on every place a step names (a pose, a declared location or area, a docking station, a scan area), whatever the profile. A geofence is an allowlist and a people-occupancy zone is a denylist.
|
|
88
|
+
- The checks judge the targets a program names. The runtime chooses the path between two targets, and the validator does not see it.
|
|
89
|
+
|
|
90
|
+
### Rulebook checks (RFC-0702, Draft)
|
|
91
|
+
|
|
92
|
+
- A rulebook states what law or a company allows: caps, forbidden primitives, forbidden zones, no flight over declared people zones, required deployment declarations, and how many aircraft fly at once. The format is [`spec/layer-1-hal/rulebook.md`](https://github.com/urml-dev/URML/blob/main/spec/layer-1-hal/rulebook.md).
|
|
93
|
+
- The rulebook pass runs after the envelope checks and cites the rule it enforces, with `rule.*` codes. `--no-policy` does not skip it.
|
|
94
|
+
- The bundled rulebook, the statically checkable subset of 14 CFR Part 107 and Part 89, applies by default to drone programs and aircraft. `--rulebook PATH` adds organization and deployment rulebooks; `--no-default-rulebooks` switches the bundled one off, with a warning.
|
|
95
|
+
- A deployment rulebook records declarations (such as the Remote ID method) and exceptions that name their basis (such as a waiver number). An exception turns a violation into a warning that names the basis. URML records these and does not verify them.
|
|
96
|
+
- Every report lists the rules a static check cannot see as obligations. A program that passes a rulebook is not a legal compliance determination.
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
urml validate flight.urml.yaml -m drone.manifest.yaml \
|
|
100
|
+
--rulebook examples/rulebooks/example-deployment.yaml
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## What the validator does NOT do
|
|
104
|
+
|
|
105
|
+
- It does not execute the program. That is the runtime's job.
|
|
106
|
+
- It does not parse natural language. That is the LLM bridge's job.
|
|
107
|
+
- It does not generate the URML program. That is an LLM's job, via the LLM bridge.
|
|
108
|
+
- It does not monitor runtime state. Run-time safety (an unexpected obstacle, a sudden wind gust, a person walking into the cell) is the substrate's job. The validator is **static**; the substrate is **dynamic**. Both are required for safety.
|
|
109
|
+
|
|
110
|
+
## Language
|
|
111
|
+
|
|
112
|
+
- **Python**, primary implementation. `mypy --strict`. Public API fully type-annotated.
|
|
113
|
+
- A long-running validator service (e.g., as a sidecar to multiple runtimes in production) may eventually be backed by **Rust** for deployment ergonomics; the Python implementation remains the reference.
|
|
114
|
+
|
|
115
|
+
## API
|
|
116
|
+
|
|
117
|
+
```python
|
|
118
|
+
from pathlib import Path
|
|
119
|
+
|
|
120
|
+
import yaml
|
|
121
|
+
from urml_validator import ValidationResult, validate
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
def load(name: str) -> dict:
|
|
125
|
+
return yaml.safe_load(Path(name).read_text(encoding="utf-8"))
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
program = load("program.urml.yaml") # parsed YAML; validate() does not take a YAML string
|
|
129
|
+
manifest = load("manifest.yaml")
|
|
130
|
+
envelope = load("envelope.yaml")
|
|
131
|
+
|
|
132
|
+
result: ValidationResult = validate(
|
|
133
|
+
program, # dict or URMLProgram
|
|
134
|
+
manifest, # dict or CapabilityManifest
|
|
135
|
+
envelope, # dict, SafetyEnvelope, or None
|
|
136
|
+
profiles=("home",), # the active profiles
|
|
137
|
+
policy="DEFAULT", # the bundled US-federal policy; None skips the policy pass
|
|
138
|
+
rulebooks=(), # organization and deployment rulebooks, parsed YAML
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
if result.accepted:
|
|
142
|
+
print("accepted") # hand the program to a runtime; URMLRuntime validates again before it acts
|
|
143
|
+
else:
|
|
144
|
+
# result.errors is a list of structured errors,
|
|
145
|
+
# designed to be readable by an LLM and used for revision.
|
|
146
|
+
for err in result.errors:
|
|
147
|
+
print(err.render())
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
The three file names are the ones `urml init` writes. `validate_fleet` does the same for a multi-robot program and a fleet roster.
|
|
151
|
+
|
|
152
|
+
## License
|
|
153
|
+
|
|
154
|
+
The validator is licensed under the Business Source License 1.1: free for non-production use, commercial license for production (see [`LICENSING.md`](https://github.com/urml-dev/URML/blob/main/LICENSING.md)). Research, education and evaluation use is free, so anyone can check a URML program against a manifest without a contract.
|
|
155
|
+
|
|
156
|
+
## Quickstart
|
|
157
|
+
|
|
158
|
+
From PyPI:
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
python -m venv .venv && . .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
162
|
+
pip install urml-validator
|
|
163
|
+
urml --version
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
To run the tests, work from the root of a checkout. The suite also runs examples from the repository, and those import sibling packages, so install them alongside:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
python -m venv .venv && . .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
170
|
+
pip install -e "reference/validator[dev]" -e reference/llm-bridge -e reference/ros2-runtime \
|
|
171
|
+
-e reference/px4-runtime -e reference/ardupilot-runtime -e reference/opcua-runtime \
|
|
172
|
+
-e reference/isaac-runtime -e conformance
|
|
173
|
+
cd reference/validator && pytest
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
The tests cover the schemas (the `red-mug` example parses; every primitive accepts its minimal valid form; cross-field rules fire, e.g. `move_to` requires exactly one of `location`/`pose`, `capture(media: video)` requires `duration`, `release(mode: place)` requires `at`), each validator pass, the policy and rulebook engines, the CLI and the evidence report.
|
|
177
|
+
|
|
178
|
+
What works today:
|
|
179
|
+
|
|
180
|
+
- Pydantic v2 schemas for Layer-1 (capability manifest), Layer-2 (the 12 core primitives of RFC-0002 and the profile primitives added since), Layer-3 (composition, including the fleet nodes `on` and `barrier`), the safety envelope, the compliance policy, the rulebook, the fleet roster and the top-level `URMLProgram`.
|
|
181
|
+
- The Step / BehaviorOrStep tagged union accepts the YAML surface (`{move_to: {...}}`) and the recursive composition forms.
|
|
182
|
+
- **The six-pass validator.** `urml_validator.validate(program, manifest, envelope, profiles)` runs the argument, capability, envelope, rulebook, binding and compliance-policy passes in that order and returns a `ValidationResult` with structured `ValidationError`s. Error codes are stable and namespaced (`argument.*`, `capability.*`, `envelope.*`, `rule.*`, `binding.*`, `policy.*`, and `fleet.*` from `validate_fleet`); the LLM bridge feeds them back to the model when it asks for a revision.
|
|
183
|
+
- Example:
|
|
184
|
+
|
|
185
|
+
```python
|
|
186
|
+
from urml_validator import validate
|
|
187
|
+
|
|
188
|
+
result = validate(program, manifest, envelope, profiles=("home",))
|
|
189
|
+
if result.accepted:
|
|
190
|
+
runtime.execute(program)
|
|
191
|
+
else:
|
|
192
|
+
for err in result.errors:
|
|
193
|
+
print(err.render())
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### `urml` CLI
|
|
197
|
+
|
|
198
|
+
Installing the package puts the `urml` console script on PATH. This example names files in the repository, so run it from the repository root:
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
urml validate examples/home/red-mug.urml.yaml \
|
|
202
|
+
--manifest reference/validator/tests/fixtures/manifests/turtlebot4_home.yaml \
|
|
203
|
+
--envelope reference/validator/tests/fixtures/envelopes/home_default.yaml \
|
|
204
|
+
--profile home
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
Exit codes: **0** accepted, **1** validation failed, **2** usage error (missing file, bad YAML), **64** internal error.
|
|
208
|
+
|
|
209
|
+
Add `--json` to emit the raw `ValidationResult` for machine consumers (LLM bridge revision flow, CI checks).
|
|
210
|
+
|
|
211
|
+
Add `--evidence-log PATH` (on `validate`, `execute`, `translate` and `run`) to append one validation record per verdict to a local JSON Lines file. It is off by default and changes nothing the command prints. See [`docs/evidence/validation-records.md`](https://github.com/urml-dev/URML/blob/main/docs/evidence/validation-records.md).
|
|
212
|
+
|
|
213
|
+
`urml --help` lists the other subcommands: `init`, `execute`, `translate`, `run`, `bench`, `emit-prompt`, `schema`, `conformance run` and `evidence`. Some need a sibling package and say so when it is missing: `urml-llm-bridge` for `translate`, `run`, `bench` and `emit-prompt`, `urml-ros2-runtime` for `execute` and `run`, `urml-conformance` for `conformance run`.
|
|
214
|
+
|
|
215
|
+
### JSON Schema export
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
# Print one schema to stdout (suitable for piping into an LLM prompt fixture).
|
|
219
|
+
urml schema --name program
|
|
220
|
+
|
|
221
|
+
# Write every schema to a directory.
|
|
222
|
+
urml schema --all --out-dir build/schemas/
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
Produces Draft 2020-12 schemas for the program, the capability manifest, the safety envelope, the compliance policy, the fleet roster and the rulebook (`--name` takes `program`, `manifest`, `envelope`, `policy`, `roster` or `rulebook`). The LLM bridge consumes the program schema as the structured-output contract; robot makers consume the manifest schema when writing manifests by hand.
|
|
226
|
+
|
|
227
|
+
The Python API mirrors the CLI:
|
|
228
|
+
|
|
229
|
+
```python
|
|
230
|
+
from urml_validator import export_schema, write_schemas
|
|
231
|
+
|
|
232
|
+
schema = export_schema("program") # dict
|
|
233
|
+
write_schemas(Path("build/schemas/")) # writes one urml-<name>.schema.json per schema
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
What the validator does **not** check today:
|
|
237
|
+
|
|
238
|
+
- Definite assignment across `branch`, `parallel` and `retry`. A `$variable` counts as bound when its name is bound anywhere earlier in the program, even inside a branch that may not run.
|
|
239
|
+
- Field types inside a binding. `$ref.field` is accepted whenever the bound value is a structured payload; the field itself is not checked.
|
|
240
|
+
- Some profile rules the specification states. The drone profile makes an altitude mandatory on `move_to` and prohibits `wait` in flight, and the validator accepts both.
|
|
241
|
+
- Envelope limits that exist only at run time, such as weather, or that no manifest or envelope field carries. [`docs/safety/envelope-coverage.md`](https://github.com/urml-dev/URML/blob/main/docs/safety/envelope-coverage.md) lists, for each primitive, what is enforced and what is not.
|
|
242
|
+
|
|
243
|
+
## Related documents
|
|
244
|
+
|
|
245
|
+
- [`/spec/layer-1-hal/`](https://github.com/urml-dev/URML/tree/main/spec/layer-1-hal): manifest schema.
|
|
246
|
+
- [`/spec/layer-2-primitives/`](https://github.com/urml-dev/URML/tree/main/spec/layer-2-primitives): primitive contracts.
|
|
247
|
+
- [`/spec/layer-3-behavior/`](https://github.com/urml-dev/URML/tree/main/spec/layer-3-behavior): composition grammar.
|
|
248
|
+
- [`/reference/llm-bridge/`](https://github.com/urml-dev/URML/tree/main/reference/llm-bridge): the primary consumer of structured validation errors.
|
|
249
|
+
- [`/conformance/`](https://github.com/urml-dev/URML/tree/main/conformance): uses the validator as part of its end-to-end tests.
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://urml.dev"><img src="https://urml.dev/favicon.svg" alt="URML" width="72" height="72"></a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
A small, opinionated, human-readable language for describing robot intent.
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="https://urml.dev"><b>urml.dev</b></a>
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Validator
|
|
16
|
+
|
|
17
|
+
**Status:** alpha, on PyPI as `urml-validator`. It ships the schemas, the six-pass validator, the `urml` CLI and JSON Schema export. Versions are `0.x`, so a release may break compatibility; the [changelog](https://github.com/urml-dev/URML/blob/main/CHANGELOG.md) says what each one changed. The LLM bridge and its on-device providers ship separately as `urml-llm-bridge`.
|
|
18
|
+
|
|
19
|
+
## What this is
|
|
20
|
+
|
|
21
|
+
The static verification engine for URML. Given a URML program, a Layer-1 capability manifest for the target robot, and the active safety envelope, the validator returns one of two outcomes:
|
|
22
|
+
|
|
23
|
+
1. **Accepted.** The program is statically valid, and the runtime may execute it.
|
|
24
|
+
2. **Rejected with a structured error.** The program fails one or more checks, and the error is a machine-readable object that a calling tool (often the LLM bridge) can use to revise the program.
|
|
25
|
+
|
|
26
|
+
The validator is **the safety boundary**. Per [`MANIFESTO.md`](https://github.com/urml-dev/URML/blob/main/MANIFESTO.md) §Design Principles and [`CLAUDE.md`](https://github.com/urml-dev/URML/blob/main/CLAUDE.md) §What Claude Should Never Do:
|
|
27
|
+
|
|
28
|
+
> *URML programs are executed only after static verification against the target's capability manifest and active safety envelope. Any "fast path" that skips verification is rejected on review.*
|
|
29
|
+
|
|
30
|
+
The validator runs in the same process as the runtime. `URMLRuntime.execute` imports it and re-validates every program, against the manifest, envelope, policy and rulebooks it is given, before its first adapter call. A rejected program raises `ValidationRejectedError` and the adapter receives nothing; `python -m urml_conformance --goal-line` checks this for every rejected conformance fixture. Skipping the check takes an explicit `revalidate=False` in code.
|
|
31
|
+
|
|
32
|
+
## What the validator checks
|
|
33
|
+
|
|
34
|
+
The validator runs these checks against every URML program. The specification asks for some checks the validator does not make; they are listed further down, under "What the validator does not check today".
|
|
35
|
+
|
|
36
|
+
### Layer-3 (composition) checks
|
|
37
|
+
|
|
38
|
+
- The program parses as valid URML against the layer-3 grammar.
|
|
39
|
+
- Every composition operator is well-formed (a `parallel` has at least two branches, a `retry` has a positive `max_attempts`, `on_error` is one of `abort_and_report`, `continue`, `retry`).
|
|
40
|
+
- Every `$variable` reference resolves to a prior `store_as`.
|
|
41
|
+
- Types match across producer/consumer primitives.
|
|
42
|
+
|
|
43
|
+
### Layer-2 (primitive) checks
|
|
44
|
+
|
|
45
|
+
- Every primitive is one the schema defines. An unknown primitive name is an `argument.*` error.
|
|
46
|
+
- Every primitive's required arguments are present and well-typed.
|
|
47
|
+
- Profile gates are honored: `drive` and `turn` need the `educational` profile, `look_at` and `gesture` need the `social` profile.
|
|
48
|
+
|
|
49
|
+
### Layer-1 (capability) checks
|
|
50
|
+
|
|
51
|
+
- The robot's manifest declares every capability the program needs (mobility, manipulation, perception, declared frames, declared locations).
|
|
52
|
+
- Every named place in the program resolves to a declared location or a declared area in the manifest.
|
|
53
|
+
|
|
54
|
+
### Safety-envelope checks
|
|
55
|
+
|
|
56
|
+
- Declared limits are checked on each step they apply to: velocity, altitude, grip force, the declared mass of an object a `move_to` carries, drop height, geofences with their altitude bands, people-occupancy zones, and the link-loss policy. For a numeric limit, the strictest of the manifest value and the envelope value applies.
|
|
57
|
+
- Spatial checks run on every place a step names (a pose, a declared location or area, a docking station, a scan area), whatever the profile. A geofence is an allowlist and a people-occupancy zone is a denylist.
|
|
58
|
+
- The checks judge the targets a program names. The runtime chooses the path between two targets, and the validator does not see it.
|
|
59
|
+
|
|
60
|
+
### Rulebook checks (RFC-0702, Draft)
|
|
61
|
+
|
|
62
|
+
- A rulebook states what law or a company allows: caps, forbidden primitives, forbidden zones, no flight over declared people zones, required deployment declarations, and how many aircraft fly at once. The format is [`spec/layer-1-hal/rulebook.md`](https://github.com/urml-dev/URML/blob/main/spec/layer-1-hal/rulebook.md).
|
|
63
|
+
- The rulebook pass runs after the envelope checks and cites the rule it enforces, with `rule.*` codes. `--no-policy` does not skip it.
|
|
64
|
+
- The bundled rulebook, the statically checkable subset of 14 CFR Part 107 and Part 89, applies by default to drone programs and aircraft. `--rulebook PATH` adds organization and deployment rulebooks; `--no-default-rulebooks` switches the bundled one off, with a warning.
|
|
65
|
+
- A deployment rulebook records declarations (such as the Remote ID method) and exceptions that name their basis (such as a waiver number). An exception turns a violation into a warning that names the basis. URML records these and does not verify them.
|
|
66
|
+
- Every report lists the rules a static check cannot see as obligations. A program that passes a rulebook is not a legal compliance determination.
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
urml validate flight.urml.yaml -m drone.manifest.yaml \
|
|
70
|
+
--rulebook examples/rulebooks/example-deployment.yaml
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## What the validator does NOT do
|
|
74
|
+
|
|
75
|
+
- It does not execute the program. That is the runtime's job.
|
|
76
|
+
- It does not parse natural language. That is the LLM bridge's job.
|
|
77
|
+
- It does not generate the URML program. That is an LLM's job, via the LLM bridge.
|
|
78
|
+
- It does not monitor runtime state. Run-time safety (an unexpected obstacle, a sudden wind gust, a person walking into the cell) is the substrate's job. The validator is **static**; the substrate is **dynamic**. Both are required for safety.
|
|
79
|
+
|
|
80
|
+
## Language
|
|
81
|
+
|
|
82
|
+
- **Python**, primary implementation. `mypy --strict`. Public API fully type-annotated.
|
|
83
|
+
- A long-running validator service (e.g., as a sidecar to multiple runtimes in production) may eventually be backed by **Rust** for deployment ergonomics; the Python implementation remains the reference.
|
|
84
|
+
|
|
85
|
+
## API
|
|
86
|
+
|
|
87
|
+
```python
|
|
88
|
+
from pathlib import Path
|
|
89
|
+
|
|
90
|
+
import yaml
|
|
91
|
+
from urml_validator import ValidationResult, validate
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def load(name: str) -> dict:
|
|
95
|
+
return yaml.safe_load(Path(name).read_text(encoding="utf-8"))
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
program = load("program.urml.yaml") # parsed YAML; validate() does not take a YAML string
|
|
99
|
+
manifest = load("manifest.yaml")
|
|
100
|
+
envelope = load("envelope.yaml")
|
|
101
|
+
|
|
102
|
+
result: ValidationResult = validate(
|
|
103
|
+
program, # dict or URMLProgram
|
|
104
|
+
manifest, # dict or CapabilityManifest
|
|
105
|
+
envelope, # dict, SafetyEnvelope, or None
|
|
106
|
+
profiles=("home",), # the active profiles
|
|
107
|
+
policy="DEFAULT", # the bundled US-federal policy; None skips the policy pass
|
|
108
|
+
rulebooks=(), # organization and deployment rulebooks, parsed YAML
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
if result.accepted:
|
|
112
|
+
print("accepted") # hand the program to a runtime; URMLRuntime validates again before it acts
|
|
113
|
+
else:
|
|
114
|
+
# result.errors is a list of structured errors,
|
|
115
|
+
# designed to be readable by an LLM and used for revision.
|
|
116
|
+
for err in result.errors:
|
|
117
|
+
print(err.render())
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
The three file names are the ones `urml init` writes. `validate_fleet` does the same for a multi-robot program and a fleet roster.
|
|
121
|
+
|
|
122
|
+
## License
|
|
123
|
+
|
|
124
|
+
The validator is licensed under the Business Source License 1.1: free for non-production use, commercial license for production (see [`LICENSING.md`](https://github.com/urml-dev/URML/blob/main/LICENSING.md)). Research, education and evaluation use is free, so anyone can check a URML program against a manifest without a contract.
|
|
125
|
+
|
|
126
|
+
## Quickstart
|
|
127
|
+
|
|
128
|
+
From PyPI:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
python -m venv .venv && . .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
132
|
+
pip install urml-validator
|
|
133
|
+
urml --version
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
To run the tests, work from the root of a checkout. The suite also runs examples from the repository, and those import sibling packages, so install them alongside:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
python -m venv .venv && . .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
140
|
+
pip install -e "reference/validator[dev]" -e reference/llm-bridge -e reference/ros2-runtime \
|
|
141
|
+
-e reference/px4-runtime -e reference/ardupilot-runtime -e reference/opcua-runtime \
|
|
142
|
+
-e reference/isaac-runtime -e conformance
|
|
143
|
+
cd reference/validator && pytest
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
The tests cover the schemas (the `red-mug` example parses; every primitive accepts its minimal valid form; cross-field rules fire, e.g. `move_to` requires exactly one of `location`/`pose`, `capture(media: video)` requires `duration`, `release(mode: place)` requires `at`), each validator pass, the policy and rulebook engines, the CLI and the evidence report.
|
|
147
|
+
|
|
148
|
+
What works today:
|
|
149
|
+
|
|
150
|
+
- Pydantic v2 schemas for Layer-1 (capability manifest), Layer-2 (the 12 core primitives of RFC-0002 and the profile primitives added since), Layer-3 (composition, including the fleet nodes `on` and `barrier`), the safety envelope, the compliance policy, the rulebook, the fleet roster and the top-level `URMLProgram`.
|
|
151
|
+
- The Step / BehaviorOrStep tagged union accepts the YAML surface (`{move_to: {...}}`) and the recursive composition forms.
|
|
152
|
+
- **The six-pass validator.** `urml_validator.validate(program, manifest, envelope, profiles)` runs the argument, capability, envelope, rulebook, binding and compliance-policy passes in that order and returns a `ValidationResult` with structured `ValidationError`s. Error codes are stable and namespaced (`argument.*`, `capability.*`, `envelope.*`, `rule.*`, `binding.*`, `policy.*`, and `fleet.*` from `validate_fleet`); the LLM bridge feeds them back to the model when it asks for a revision.
|
|
153
|
+
- Example:
|
|
154
|
+
|
|
155
|
+
```python
|
|
156
|
+
from urml_validator import validate
|
|
157
|
+
|
|
158
|
+
result = validate(program, manifest, envelope, profiles=("home",))
|
|
159
|
+
if result.accepted:
|
|
160
|
+
runtime.execute(program)
|
|
161
|
+
else:
|
|
162
|
+
for err in result.errors:
|
|
163
|
+
print(err.render())
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### `urml` CLI
|
|
167
|
+
|
|
168
|
+
Installing the package puts the `urml` console script on PATH. This example names files in the repository, so run it from the repository root:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
urml validate examples/home/red-mug.urml.yaml \
|
|
172
|
+
--manifest reference/validator/tests/fixtures/manifests/turtlebot4_home.yaml \
|
|
173
|
+
--envelope reference/validator/tests/fixtures/envelopes/home_default.yaml \
|
|
174
|
+
--profile home
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
Exit codes: **0** accepted, **1** validation failed, **2** usage error (missing file, bad YAML), **64** internal error.
|
|
178
|
+
|
|
179
|
+
Add `--json` to emit the raw `ValidationResult` for machine consumers (LLM bridge revision flow, CI checks).
|
|
180
|
+
|
|
181
|
+
Add `--evidence-log PATH` (on `validate`, `execute`, `translate` and `run`) to append one validation record per verdict to a local JSON Lines file. It is off by default and changes nothing the command prints. See [`docs/evidence/validation-records.md`](https://github.com/urml-dev/URML/blob/main/docs/evidence/validation-records.md).
|
|
182
|
+
|
|
183
|
+
`urml --help` lists the other subcommands: `init`, `execute`, `translate`, `run`, `bench`, `emit-prompt`, `schema`, `conformance run` and `evidence`. Some need a sibling package and say so when it is missing: `urml-llm-bridge` for `translate`, `run`, `bench` and `emit-prompt`, `urml-ros2-runtime` for `execute` and `run`, `urml-conformance` for `conformance run`.
|
|
184
|
+
|
|
185
|
+
### JSON Schema export
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# Print one schema to stdout (suitable for piping into an LLM prompt fixture).
|
|
189
|
+
urml schema --name program
|
|
190
|
+
|
|
191
|
+
# Write every schema to a directory.
|
|
192
|
+
urml schema --all --out-dir build/schemas/
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Produces Draft 2020-12 schemas for the program, the capability manifest, the safety envelope, the compliance policy, the fleet roster and the rulebook (`--name` takes `program`, `manifest`, `envelope`, `policy`, `roster` or `rulebook`). The LLM bridge consumes the program schema as the structured-output contract; robot makers consume the manifest schema when writing manifests by hand.
|
|
196
|
+
|
|
197
|
+
The Python API mirrors the CLI:
|
|
198
|
+
|
|
199
|
+
```python
|
|
200
|
+
from urml_validator import export_schema, write_schemas
|
|
201
|
+
|
|
202
|
+
schema = export_schema("program") # dict
|
|
203
|
+
write_schemas(Path("build/schemas/")) # writes one urml-<name>.schema.json per schema
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
What the validator does **not** check today:
|
|
207
|
+
|
|
208
|
+
- Definite assignment across `branch`, `parallel` and `retry`. A `$variable` counts as bound when its name is bound anywhere earlier in the program, even inside a branch that may not run.
|
|
209
|
+
- Field types inside a binding. `$ref.field` is accepted whenever the bound value is a structured payload; the field itself is not checked.
|
|
210
|
+
- Some profile rules the specification states. The drone profile makes an altitude mandatory on `move_to` and prohibits `wait` in flight, and the validator accepts both.
|
|
211
|
+
- Envelope limits that exist only at run time, such as weather, or that no manifest or envelope field carries. [`docs/safety/envelope-coverage.md`](https://github.com/urml-dev/URML/blob/main/docs/safety/envelope-coverage.md) lists, for each primitive, what is enforced and what is not.
|
|
212
|
+
|
|
213
|
+
## Related documents
|
|
214
|
+
|
|
215
|
+
- [`/spec/layer-1-hal/`](https://github.com/urml-dev/URML/tree/main/spec/layer-1-hal): manifest schema.
|
|
216
|
+
- [`/spec/layer-2-primitives/`](https://github.com/urml-dev/URML/tree/main/spec/layer-2-primitives): primitive contracts.
|
|
217
|
+
- [`/spec/layer-3-behavior/`](https://github.com/urml-dev/URML/tree/main/spec/layer-3-behavior): composition grammar.
|
|
218
|
+
- [`/reference/llm-bridge/`](https://github.com/urml-dev/URML/tree/main/reference/llm-bridge): the primary consumer of structured validation errors.
|
|
219
|
+
- [`/conformance/`](https://github.com/urml-dev/URML/tree/main/conformance): uses the validator as part of its end-to-end tests.
|
|
@@ -9,7 +9,7 @@ before execution.
|
|
|
9
9
|
The schemas are the source of truth; JSON Schema is exported on demand for
|
|
10
10
|
non-Python consumers (the LLM bridge prompt contract, etc.).
|
|
11
11
|
|
|
12
|
-
Stability: 0.5.
|
|
12
|
+
Stability: 0.5.4. The schemas track the RFC-0002 vocabulary; the
|
|
13
13
|
five-pass validator and `urml` CLI are shipped, and the namespaced
|
|
14
14
|
error codes in `errors.py` are a stable public API.
|
|
15
15
|
"""
|
|
@@ -1284,6 +1284,17 @@ def _add_llm_provider_args(parser: argparse.ArgumentParser) -> None:
|
|
|
1284
1284
|
"With --provider openai, targets any OpenAI-compatible server "
|
|
1285
1285
|
"(LM Studio, vLLM) and OPENAI_API_KEY is no longer required.",
|
|
1286
1286
|
)
|
|
1287
|
+
parser.add_argument(
|
|
1288
|
+
"--timeout",
|
|
1289
|
+
type=float,
|
|
1290
|
+
default=None,
|
|
1291
|
+
metavar="SECONDS",
|
|
1292
|
+
help="How long to wait for the model's answer, with --provider ollama, "
|
|
1293
|
+
"llama_cpp or openai. Defaults: 120 (ollama, llama_cpp); "
|
|
1294
|
+
"$URML_OPENAI_TIMEOUT or the OpenAI SDK default (openai). The request "
|
|
1295
|
+
"is sent once, so this is the whole wait. Raise it for a large model "
|
|
1296
|
+
"on slow hardware.",
|
|
1297
|
+
)
|
|
1287
1298
|
parser.add_argument(
|
|
1288
1299
|
"--max-revisions",
|
|
1289
1300
|
type=int,
|
|
@@ -2716,6 +2727,12 @@ def _build_provider(args: argparse.Namespace) -> Any:
|
|
|
2716
2727
|
raise _CLILoadError(
|
|
2717
2728
|
"--base-url is only meaningful with --provider ollama, llama_cpp, or openai."
|
|
2718
2729
|
)
|
|
2730
|
+
if args.timeout is not None and args.provider in ("anthropic", "echo"):
|
|
2731
|
+
raise _CLILoadError(
|
|
2732
|
+
"--timeout is only meaningful with --provider ollama, llama_cpp, or openai."
|
|
2733
|
+
)
|
|
2734
|
+
if args.timeout is not None and args.timeout <= 0:
|
|
2735
|
+
raise _CLILoadError(f"--timeout must be a positive number of seconds, got {args.timeout:g}.")
|
|
2719
2736
|
if args.provider == "echo":
|
|
2720
2737
|
return _build_echo_provider(args)
|
|
2721
2738
|
if args.provider == "anthropic":
|
|
@@ -2797,6 +2814,8 @@ def _build_openai_provider(args: argparse.Namespace) -> Any:
|
|
|
2797
2814
|
kwargs["model"] = args.model
|
|
2798
2815
|
if args.base_url is not None:
|
|
2799
2816
|
kwargs["base_url"] = args.base_url
|
|
2817
|
+
if args.timeout is not None:
|
|
2818
|
+
kwargs["timeout"] = args.timeout
|
|
2800
2819
|
if "OPENAI_API_KEY" not in os.environ:
|
|
2801
2820
|
# Local server via base URL. The OpenAI SDK refuses api_key=None at
|
|
2802
2821
|
# construction; local servers ignore the value.
|
|
@@ -2813,6 +2832,8 @@ def _build_ollama_provider(args: argparse.Namespace) -> Any:
|
|
|
2813
2832
|
kwargs: dict[str, Any] = {"model": args.model}
|
|
2814
2833
|
if args.base_url is not None:
|
|
2815
2834
|
kwargs["base_url"] = args.base_url
|
|
2835
|
+
if args.timeout is not None:
|
|
2836
|
+
kwargs["timeout"] = args.timeout
|
|
2816
2837
|
try:
|
|
2817
2838
|
from urml_llm_bridge.providers.ollama import OllamaProvider # type: ignore[import-not-found,unused-ignore]
|
|
2818
2839
|
|
|
@@ -2831,6 +2852,8 @@ def _build_llama_cpp_provider(args: argparse.Namespace) -> Any:
|
|
|
2831
2852
|
kwargs["model_label"] = args.model
|
|
2832
2853
|
if args.base_url is not None:
|
|
2833
2854
|
kwargs["base_url"] = args.base_url
|
|
2855
|
+
if args.timeout is not None:
|
|
2856
|
+
kwargs["timeout"] = args.timeout
|
|
2834
2857
|
try:
|
|
2835
2858
|
from urml_llm_bridge.providers.llama_cpp import LlamaCppProvider # type: ignore[import-not-found,unused-ignore]
|
|
2836
2859
|
|
|
@@ -2210,6 +2210,27 @@ def _check_move_to_caps(
|
|
|
2210
2210
|
suggestion=f"Add {args.frame!r} to manifest.frames.",
|
|
2211
2211
|
)
|
|
2212
2212
|
)
|
|
2213
|
+
# Drone profile, "Altitude is mandatory" (spec/profiles/drone; RFC-0701 4.4):
|
|
2214
|
+
# an aircraft's pose target states its altitude. A named location is not
|
|
2215
|
+
# covered here: its altitude comes from the manifest.
|
|
2216
|
+
if (
|
|
2217
|
+
args.pose is not None
|
|
2218
|
+
and args.pose.z is None
|
|
2219
|
+
and manifest.mobility is not None
|
|
2220
|
+
and manifest.mobility.drive_type in _DRONE_DRIVE_TYPES
|
|
2221
|
+
):
|
|
2222
|
+
out.append(
|
|
2223
|
+
_err(
|
|
2224
|
+
ErrorCode.ARGUMENT_MISSING_REQUIRED,
|
|
2225
|
+
"move_to",
|
|
2226
|
+
path,
|
|
2227
|
+
f"move_to.pose has no `z`, and the robot is an aircraft (drive_type "
|
|
2228
|
+
f"{manifest.mobility.drive_type!r}): the drone profile requires the "
|
|
2229
|
+
"altitude of every pose target.",
|
|
2230
|
+
field="pose.z",
|
|
2231
|
+
suggestion="Set `pose.z` to the target altitude in the pose's frame.",
|
|
2232
|
+
)
|
|
2233
|
+
)
|
|
2213
2234
|
# RFC-0384: a legged platform that cannot carry while moving rejects move_to(carrying=...).
|
|
2214
2235
|
if (
|
|
2215
2236
|
args.carrying is not None
|