urml-validator 0.5.2__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.2 → urml_validator-0.5.4}/.gitignore +6 -8
- urml_validator-0.5.4/LICENSE +127 -0
- urml_validator-0.5.4/PKG-INFO +249 -0
- urml_validator-0.5.4/README.md +219 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/pyproject.toml +1 -1
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/__init__.py +1 -1
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/_version.py +1 -1
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/cli.py +104 -2
- urml_validator-0.5.4/src/urml_validator/evidence_keys/__init__.py +1 -0
- urml_validator-0.5.4/src/urml_validator/evidence_keys/allowed_signers +12 -0
- urml_validator-0.5.4/src/urml_validator/evidence_render.py +255 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/evidence_report.py +65 -3
- urml_validator-0.5.4/src/urml_validator/evidence_sign.py +450 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/init_templates.py +3 -3
- urml_validator-0.5.4/src/urml_validator/policies/us_federal_default.yaml +195 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/manifest.py +1 -2
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/validator.py +21 -0
- urml_validator-0.5.4/tests/fixtures/evidence/amr-warehouse/expected.html +139 -0
- urml_validator-0.5.4/tests/fixtures/evidence/amr-warehouse/expected.json +1287 -0
- urml_validator-0.5.4/tests/fixtures/evidence/amr-warehouse/expected.md +129 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-parcel/expected.json +14 -75
- urml_validator-0.5.4/tests/fixtures/evidence/drone-vendor/expected.html +130 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/expected.json +14 -75
- urml_validator-0.5.4/tests/fixtures/evidence/drone-vendor/expected.md +120 -0
- urml_validator-0.5.4/tests/fixtures/evidence/drone-vendor/expected.redacted.json +918 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/home-helper/expected.json +2 -1
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/expected.json +2 -1
- urml_validator-0.5.4/tests/fixtures/evidence/signing/allowed_signers +4 -0
- urml_validator-0.5.4/tests/fixtures/evidence/signing/not-a-report.txt +1 -0
- urml_validator-0.5.4/tests/fixtures/evidence/signing/not-a-report.txt.sig +6 -0
- urml_validator-0.5.4/tests/fixtures/evidence/signing/report-file-namespace.json.sig +6 -0
- urml_validator-0.5.4/tests/fixtures/evidence/signing/report-retired.json +1286 -0
- urml_validator-0.5.4/tests/fixtures/evidence/signing/report-retired.json.sig +6 -0
- urml_validator-0.5.4/tests/fixtures/evidence/signing/report.json +1286 -0
- urml_validator-0.5.4/tests/fixtures/evidence/signing/report.json.sig +6 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/hesai_lidar_denied.yaml +2 -1
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/unitree_quadruped_denied.yaml +4 -3
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_amr_rulebook_template.py +42 -5
- urml_validator-0.5.4/tests/test_cybersecurity_template.py +129 -0
- urml_validator-0.5.4/tests/test_default_policy_sources.py +133 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_drone_primitives.py +75 -0
- urml_validator-0.5.4/tests/test_eu_ai_act.py +144 -0
- urml_validator-0.5.4/tests/test_eu_cyber_resilience_act.py +130 -0
- urml_validator-0.5.4/tests/test_eu_machinery_regulation.py +146 -0
- urml_validator-0.5.4/tests/test_evidence_render.py +110 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_evidence_report.py +17 -3
- urml_validator-0.5.4/tests/test_evidence_report_example.py +86 -0
- urml_validator-0.5.4/tests/test_evidence_sign.py +258 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_fleet_validation.py +1 -1
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_functional_safety_template.py +51 -10
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_industrial_rulebook_template.py +48 -8
- urml_validator-0.5.4/tests/test_machinery_safety_template.py +151 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_rulebook_files.py +7 -1
- urml_validator-0.5.4/tests/test_service_robot_template.py +155 -0
- urml_validator-0.5.4/tests/test_standards_directory.py +93 -0
- urml_validator-0.5.2/PKG-INFO +0 -221
- urml_validator-0.5.2/README.md +0 -192
- urml_validator-0.5.2/src/urml_validator/policies/us_federal_default.yaml +0 -130
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/errors.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/evidence.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/hbom.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/monitor.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/monitorable.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/policies/__init__.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/policy_engine.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/py.typed +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/rulebook_engine.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/rulebooks/__init__.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/rulebooks/us_faa_part107.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schema_export.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/__init__.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/common.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/composition.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/connectivity.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/envelope.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/policy.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/primitives.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/program.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/roster.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/schemas/rulebook.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/src/urml_validator/transforms.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/__init__.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/biped_gentle_grip.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_default.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_delivery_envelope.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_low_ceiling.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_override_zone.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_with_altitude_band.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_with_geofence.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/drone_with_occupancy_zone.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_default.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_monitorable_ok.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_monitorable_parse_error.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_monitorable_undeclared_signal.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/home_with_geofence.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/industrial_cell_guarded.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_continue_autonomous.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_halt.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_hover.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_outage_relaxed.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/link_loss_rth.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/social_default.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/social_tight.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/warehouse_aisles_a.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/warehouse_default.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/warehouse_low_reach.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/envelopes/warehouse_with_occupancy_zone.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/amr-rules.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/declarations.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/envelope.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/functional-safety.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/manifest.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/amr-warehouse/scenario.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-parcel/conformance-report.json +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-parcel/scenario.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/conformance-report.json +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/registry-entry.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/scenario.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/drone-vendor/too-high.urml.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/home-helper/home-rules.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/home-helper/manifest.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/home-helper/scenario.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/functional-safety.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/industrial-rules.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/manifest.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/evidence/industrial-cell/scenario.yaml +0 -0
- /urml_validator-0.5.2/tests/fixtures/evidence/amr-warehouse/expected.json → /urml_validator-0.5.4/tests/fixtures/evidence/signing/report-file-namespace.json +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/adafruit_feather_rp2040_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/anymal_quadruped.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/apollo_biped.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/ati_ft_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/autosar_ara_com.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/autosar_ara_com_incomplete.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/autosar_ecu_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/autoware_av.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/autoware_av_no_map.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/autoware_av_research.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/bluerov_marine.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/bota_ft_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/chrono_vehicle_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/clearpath_husky.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/cobot_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/cobot_cell_outputs.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/cognex_vision_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/comau_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/conveyor_gripper_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/declared_intent_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/declared_intent_unknown.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/declared_intent_unsupported.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/denso_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/deployment_commercial_gated.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/deployment_noncommercial_gated.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_bimanual.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_biped.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_wholebody.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_wholebody_fourlegs.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_wholebody_no_carry.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/digit_wholebody_unstable.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/doosan_cobot_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_autopilot_custom_no_note.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_civilian.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_civilian_connectivity.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_connectivity_no_home.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_delivery.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_high_ceiling.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/drone_no_autopilot_class.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/educational_buggy.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/epson_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/esp32_firmware_node.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/evidence_mixed.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/fanuc_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/festo_dhep_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/figure_biped.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/ghost_vision60.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/ground_connectivity_no_station_keeping.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/hanwha_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/hbom/clean.cdx.json +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/hbom/cn_chip.cdx.json +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/hbom/malformed.cdx.json +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/hbom/vendor_of_vendor.cdx.json +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/hokuyo_lidar_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/hyundai_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/industrial_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/industrial_cell_connectivity.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/interception_hand_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/isaac_arm_sim.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/kassow_cobot_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/kawasaki_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/kawasaki_rs_no_peer_link.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/kinova_cobot_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/kuka_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/language_full.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/language_nllb.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/language_vosk.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/language_whisper.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/leap_hand_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/lego_spike_driving_base.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/licensing_cap_exceeded.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/licensing_clean.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/licensing_vendored_gpl.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/mecademic_cobot_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/microbit_edu.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/microbit_minimal_node.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/microbit_minimal_node_bad_output.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/microbit_minimal_node_mobility.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/mitsubishi_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/mujoco_arm_sim.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/nachi_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/neo_biped.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/neura_cobot_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/omron_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/onrobot_magnetic_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/opcua_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/optimus_biped.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/ouster_3d_lidar_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/petoi_bittle_x.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/photoneo_motioncam_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/piab_vacuum_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/provenance_hbom_clean.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/provenance_hbom_cn_chip.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/provenance_hbom_vendor_of_vendor.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/reachy_mini.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/robotical_marty_v2.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/robotiq_2f85_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/schmalz_vacuum_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/schunk_mpg_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/sick_safety_lidar_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/soft_robotics_compliant_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/spot_arm.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/spot_quadruped.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/staubli_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/stm32_firmware_node.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_custom_no_note.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_iceoryx1_no_runtime.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_iceoryx2.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_no_config.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_ipc_runtime_on_iceoryx2.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_qos_keep_last_no_depth.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_realtime_cyclic.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_realtime_watchdog_short.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/substrate_rmw_custom_no_note.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/techman_cobot_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/thymio_classroom.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/translation_nllb_no_alt.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/translation_nllb_permissive_alt.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/translation_open_llm_primary.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home_areas.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home_cn_critical.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home_connectivity.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlebot4_home_dji_vendor.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/turtlesim_mobile.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/unitree_g1_wholebody.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/unitree_g1_wholebody_unstable.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/ur_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/utm_drone.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/utm_ground.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/utm_rov.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/vex_v5_clawbot.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/warehouse_areas.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/warehouse_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/yaskawa_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/manifests/zivid_two_cell.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/policies/hbom_no_cn_components.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/policies/permissive.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/policies/require_evidence_derived.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/rulebooks/deployment_indoor_lab.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/fixtures/rulebooks/deployment_no_remote_id.yaml +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_ara_com_binding.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_architecture_svg.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_audit_store.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_autonomy_boundary_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_av.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_base_intent_node.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_base_mobility_bounds.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_behavior_tree_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_bittle_demo_svg.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_camera_rfc0682.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_cli.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_cli_conformance.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_cli_evidence.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_cli_execute.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_cli_rulebooks.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_cli_run.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_connectivity_pass2.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_cram_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_crazyswarm2_dispatch.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_decart_oasis_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_declared_intent.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_demo_svg.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_deployment.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_dexterous.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_dobot_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_drive_radius.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_dynamic_grasp_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_envelope_coverage.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_epically_powerful_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_evidence.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_evidence_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_examples_dont_rot.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_executorch_policy_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_fieldbus_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_firmware_descriptor.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_goalkeeper_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_gopigo3_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_gym_pybullet_drones_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_hbom_policy.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_home_rulebook_template.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_inav_mission.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_init_cli.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_isaac_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_kawasaki_demo_svg.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_kortex_dispatch.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_lang2ltl_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_language.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_learned_policies_rfc0617.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_learned_policy_rfc0383.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_licensing.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_link_loss_pass3.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_minimal_node.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_monitor.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_monitorable_envelope_rfc0382.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_monitorable_parser.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_mtconnect_task_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_opcua_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_openscenario_export.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_physical_ai_safety_eval_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_policy.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_portability_svg.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_realtime.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_relative_motion_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_replan_feedback.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_robocasa_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_robotiq_hande_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_rtic_timing_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_rulebooks.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_safety_monitor_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_schema_export.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_schemas_parse.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_set_output.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_speak_listen.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_spot_capture_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_substrate_autopilot_class.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_substrate_clock_bringup.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_substrate_ipc.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_substrate_rmw_implementation.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_transforms.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_translation_alternatives.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_turtlebot4_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_urdf_to_manifest_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_validation_block_rfc0381.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_validator.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_vitra_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_vla_gate.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_world_model_example.py +0 -0
- {urml_validator-0.5.2 → urml_validator-0.5.4}/tests/test_world_model_rfc0615.py +0 -0
|
@@ -97,15 +97,13 @@ desktop.ini
|
|
|
97
97
|
.local/
|
|
98
98
|
.scratch/
|
|
99
99
|
|
|
100
|
-
# --- Outreach
|
|
101
|
-
#
|
|
102
|
-
#
|
|
103
|
-
#
|
|
100
|
+
# --- Outreach and distribution records (RFC-0710) ---
|
|
101
|
+
# This repository holds no outreach or distribution state. Target lists,
|
|
102
|
+
# message drafts, ledgers and their derived databases live in the Licensor's
|
|
103
|
+
# private archive. These patterns keep a stray local copy out of a commit.
|
|
104
104
|
outreach/
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
# examples/lighthouses/outreach*.yaml via tools/scripts/refresh_outreach_db.py.
|
|
108
|
-
# Regenerated on demand by `make outreach-refresh`.
|
|
105
|
+
examples/lighthouses/
|
|
106
|
+
tools/outreach_app/
|
|
109
107
|
tools/outreach.db
|
|
110
108
|
tools/.outreach.db
|
|
111
109
|
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
Parameters
|
|
4
|
+
|
|
5
|
+
Licensor: Yahalomik Ltd.
|
|
6
|
+
|
|
7
|
+
Licensed Work: URML (Universal Robot Language): the
|
|
8
|
+
specification, reference runtimes, validator, LLM
|
|
9
|
+
bridge, MCP server, conformance suite, tools and
|
|
10
|
+
examples in this repository, in every version
|
|
11
|
+
released after 0.4.x and in all source published
|
|
12
|
+
here on or after 2026-11-22.
|
|
13
|
+
The Licensed Work is (c) 2026 Yahalomik Ltd.
|
|
14
|
+
|
|
15
|
+
Releases up to and including 0.4.x, and source
|
|
16
|
+
published before 2026-11-22, were released under
|
|
17
|
+
the Apache License, Version 2.0 and remain under it.
|
|
18
|
+
Files that carry their own LICENSE file (for
|
|
19
|
+
example examples/gopigo3/) are under that license.
|
|
20
|
+
|
|
21
|
+
Additional Use Grant: You may make non-production use of the Licensed
|
|
22
|
+
Work. Non-production use includes research,
|
|
23
|
+
teaching and coursework, evaluation and
|
|
24
|
+
proof-of-concept work, development and testing,
|
|
25
|
+
simulation, and personal projects that are not
|
|
26
|
+
offered or sold to others.
|
|
27
|
+
|
|
28
|
+
Any other use, including operating robots in a
|
|
29
|
+
commercial or business setting, shipping the
|
|
30
|
+
Licensed Work in a product, or offering it as a
|
|
31
|
+
service, requires a commercial license from the
|
|
32
|
+
Licensor: sales@urml.dev
|
|
33
|
+
|
|
34
|
+
Change Date: Four years from the date each version of the
|
|
35
|
+
Licensed Work is first publicly released.
|
|
36
|
+
|
|
37
|
+
Versions first publicly released with a Change
|
|
38
|
+
Date of two years, including 0.5.0, 0.5.1 and
|
|
39
|
+
0.5.2, and source published here from 2026-11-22
|
|
40
|
+
until this four-year Change Date was first
|
|
41
|
+
published here, keep it: two years from the date
|
|
42
|
+
each was first publicly released.
|
|
43
|
+
|
|
44
|
+
Change License: Apache License, Version 2.0
|
|
45
|
+
|
|
46
|
+
For information about alternative licensing arrangements for the Licensed
|
|
47
|
+
Work, please contact sales@urml.dev.
|
|
48
|
+
|
|
49
|
+
Notice
|
|
50
|
+
|
|
51
|
+
The Business Source License (this document, or the "License") is not an Open
|
|
52
|
+
Source license. However, the Licensed Work will eventually be made available
|
|
53
|
+
under an Open Source License, as stated in this License.
|
|
54
|
+
|
|
55
|
+
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
|
|
56
|
+
"Business Source License" is a trademark of MariaDB Corporation Ab.
|
|
57
|
+
|
|
58
|
+
-----------------------------------------------------------------------------
|
|
59
|
+
|
|
60
|
+
Business Source License 1.1
|
|
61
|
+
|
|
62
|
+
Terms
|
|
63
|
+
|
|
64
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
65
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
66
|
+
Licensor may make an Additional Use Grant, above, permitting limited
|
|
67
|
+
production use.
|
|
68
|
+
|
|
69
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
70
|
+
available distribution of a specific version of the Licensed Work under this
|
|
71
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
72
|
+
the terms of the Change License, and the rights granted in the paragraph
|
|
73
|
+
above terminate.
|
|
74
|
+
|
|
75
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
76
|
+
currently in effect as described in this License, you must purchase a
|
|
77
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
78
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
79
|
+
|
|
80
|
+
All copies of the original and modified Licensed Work, and derivative works
|
|
81
|
+
of the Licensed Work, are subject to this License. This License applies
|
|
82
|
+
separately for each version of the Licensed Work and the Change Date may vary
|
|
83
|
+
for each version of the Licensed Work released by Licensor.
|
|
84
|
+
|
|
85
|
+
You must conspicuously display this License on each original or modified copy
|
|
86
|
+
of the Licensed Work. If you receive the Licensed Work in original or
|
|
87
|
+
modified form from a third party, the terms and conditions set forth in this
|
|
88
|
+
License apply to your use of that work.
|
|
89
|
+
|
|
90
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
91
|
+
terminate your rights under this License for the current and all other
|
|
92
|
+
versions of the Licensed Work.
|
|
93
|
+
|
|
94
|
+
This License does not grant you any right in any trademark or logo of
|
|
95
|
+
Licensor or its affiliates (provided that you may use a trademark or logo of
|
|
96
|
+
Licensor as expressly required by this License).
|
|
97
|
+
|
|
98
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
|
|
99
|
+
AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
|
|
100
|
+
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
|
|
101
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
|
|
102
|
+
TITLE.
|
|
103
|
+
|
|
104
|
+
MariaDB hereby grants you permission to use this License’s text to license
|
|
105
|
+
your works, and to refer to it using the trademark “Business Source License”,
|
|
106
|
+
as long as you comply with the Covenants of Licensor below.
|
|
107
|
+
|
|
108
|
+
Covenants of Licensor
|
|
109
|
+
|
|
110
|
+
In consideration of the right to use this License’s text and the “Business
|
|
111
|
+
Source License” name and trademark, Licensor covenants to MariaDB, and to all
|
|
112
|
+
other recipients of the licensed work to be provided by Licensor:
|
|
113
|
+
|
|
114
|
+
1. To specify as the Change License the GPL Version 2.0 or any later version,
|
|
115
|
+
or a license that is compatible with GPL Version 2.0 or a later version,
|
|
116
|
+
where “compatible” means that software provided under the Change License can
|
|
117
|
+
be included in a program with software provided under GPL Version 2.0 or a
|
|
118
|
+
later version. Licensor may specify additional Change Licenses without
|
|
119
|
+
limitation.
|
|
120
|
+
|
|
121
|
+
2. To either: (a) specify an additional grant of rights to use that does not
|
|
122
|
+
impose any additional restriction on the right granted in this License, as
|
|
123
|
+
the Additional Use Grant; or (b) insert the text “None”.
|
|
124
|
+
|
|
125
|
+
3. To specify a Change Date.
|
|
126
|
+
|
|
127
|
+
4. Not to modify this License in any other way.
|
|
@@ -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
|
"""
|