urml-validator 0.1.0__tar.gz → 0.5.0__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.1.0 → urml_validator-0.5.0}/.gitignore +10 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/PKG-INFO +25 -10
- {urml_validator-0.1.0 → urml_validator-0.5.0}/README.md +18 -3
- {urml_validator-0.1.0 → urml_validator-0.5.0}/pyproject.toml +6 -6
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/__init__.py +24 -2
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/_version.py +1 -1
- urml_validator-0.5.0/src/urml_validator/cli.py +2823 -0
- urml_validator-0.5.0/src/urml_validator/errors.py +436 -0
- urml_validator-0.5.0/src/urml_validator/evidence.py +330 -0
- urml_validator-0.5.0/src/urml_validator/hbom.py +254 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/init_templates.py +18 -14
- urml_validator-0.5.0/src/urml_validator/monitor.py +536 -0
- urml_validator-0.5.0/src/urml_validator/monitorable.py +399 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/policies/us_federal_default.yaml +36 -0
- urml_validator-0.5.0/src/urml_validator/policy_engine.py +586 -0
- urml_validator-0.5.0/src/urml_validator/rulebook_engine.py +1662 -0
- urml_validator-0.5.0/src/urml_validator/rulebooks/__init__.py +9 -0
- urml_validator-0.5.0/src/urml_validator/rulebooks/us_faa_part107.yaml +225 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/schema_export.py +8 -1
- urml_validator-0.5.0/src/urml_validator/schemas/common.py +280 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/schemas/composition.py +98 -3
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/schemas/envelope.py +80 -1
- urml_validator-0.5.0/src/urml_validator/schemas/manifest.py +2102 -0
- urml_validator-0.5.0/src/urml_validator/schemas/policy.py +258 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/schemas/primitives.py +330 -3
- urml_validator-0.5.0/src/urml_validator/schemas/roster.py +132 -0
- urml_validator-0.5.0/src/urml_validator/schemas/rulebook.py +434 -0
- urml_validator-0.5.0/src/urml_validator/transforms.py +164 -0
- urml_validator-0.5.0/src/urml_validator/validator.py +5968 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/biped_gentle_grip.yaml +15 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/drone_delivery_envelope.yaml +14 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/drone_low_ceiling.yaml +12 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/drone_override_zone.yaml +24 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/home_monitorable_ok.yaml +13 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/home_monitorable_parse_error.yaml +11 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/home_monitorable_undeclared_signal.yaml +12 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/home_with_geofence.yaml +23 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/industrial_cell_guarded.yaml +26 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/social_default.yaml +10 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/social_tight.yaml +18 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/warehouse_aisles_a.yaml +39 -0
- urml_validator-0.5.0/tests/fixtures/envelopes/warehouse_low_reach.yaml +18 -0
- urml_validator-0.5.0/tests/fixtures/manifests/adafruit_feather_rp2040_cell.yaml +69 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/anymal_quadruped.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/apollo_biped.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/ati_ft_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/autosar_ara_com.yaml +40 -0
- urml_validator-0.5.0/tests/fixtures/manifests/autosar_ara_com_incomplete.yaml +33 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/autosar_ecu_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/autoware_av.yaml +53 -0
- urml_validator-0.5.0/tests/fixtures/manifests/autoware_av_no_map.yaml +26 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/autoware_av_research.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/bota_ft_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/chrono_vehicle_cell.yaml +62 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/clearpath_husky.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/cobot_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/cobot_cell_outputs.yaml +52 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/cognex_vision_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/comau_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/conveyor_gripper_cell.yaml +76 -0
- urml_validator-0.5.0/tests/fixtures/manifests/declared_intent_cell.yaml +98 -0
- urml_validator-0.5.0/tests/fixtures/manifests/declared_intent_unknown.yaml +53 -0
- urml_validator-0.5.0/tests/fixtures/manifests/declared_intent_unsupported.yaml +56 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/denso_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/deployment_commercial_gated.yaml +25 -0
- urml_validator-0.5.0/tests/fixtures/manifests/deployment_noncommercial_gated.yaml +24 -0
- urml_validator-0.5.0/tests/fixtures/manifests/digit_bimanual.yaml +94 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/digit_biped.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/digit_wholebody.yaml +117 -0
- urml_validator-0.5.0/tests/fixtures/manifests/digit_wholebody_fourlegs.yaml +37 -0
- urml_validator-0.5.0/tests/fixtures/manifests/digit_wholebody_no_carry.yaml +55 -0
- urml_validator-0.5.0/tests/fixtures/manifests/digit_wholebody_unstable.yaml +39 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/doosan_cobot_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/drone_autopilot_custom_no_note.yaml +36 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/drone_civilian.yaml +17 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/drone_civilian_connectivity.yaml +5 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/drone_connectivity_no_home.yaml +4 -0
- urml_validator-0.5.0/tests/fixtures/manifests/drone_delivery.yaml +72 -0
- urml_validator-0.5.0/tests/fixtures/manifests/drone_high_ceiling.yaml +47 -0
- urml_validator-0.5.0/tests/fixtures/manifests/drone_no_autopilot_class.yaml +61 -0
- urml_validator-0.5.0/tests/fixtures/manifests/educational_buggy.yaml +17 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/epson_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/esp32_firmware_node.yaml +40 -0
- urml_validator-0.5.0/tests/fixtures/manifests/evidence_mixed.yaml +66 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/fanuc_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/festo_dhep_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/figure_biped.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/ghost_vision60.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/hanwha_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/hbom/clean.cdx.json +20 -0
- urml_validator-0.5.0/tests/fixtures/manifests/hbom/cn_chip.cdx.json +20 -0
- urml_validator-0.5.0/tests/fixtures/manifests/hbom/malformed.cdx.json +1 -0
- urml_validator-0.5.0/tests/fixtures/manifests/hbom/vendor_of_vendor.cdx.json +24 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/hesai_lidar_denied.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/hokuyo_lidar_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/hyundai_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/industrial_cell.yaml +6 -0
- urml_validator-0.5.0/tests/fixtures/manifests/interception_hand_cell.yaml +83 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/kassow_cobot_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/kawasaki_cell.yaml +11 -1
- urml_validator-0.5.0/tests/fixtures/manifests/kawasaki_rs_no_peer_link.yaml +44 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/kinova_cobot_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/kuka_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/language_full.yaml +33 -0
- urml_validator-0.5.0/tests/fixtures/manifests/language_nllb.yaml +24 -0
- urml_validator-0.5.0/tests/fixtures/manifests/language_vosk.yaml +18 -0
- urml_validator-0.5.0/tests/fixtures/manifests/language_whisper.yaml +22 -0
- urml_validator-0.5.0/tests/fixtures/manifests/leap_hand_cell.yaml +93 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/lego_spike_driving_base.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/licensing_cap_exceeded.yaml +22 -0
- urml_validator-0.5.0/tests/fixtures/manifests/licensing_clean.yaml +37 -0
- urml_validator-0.5.0/tests/fixtures/manifests/licensing_vendored_gpl.yaml +21 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/mecademic_cobot_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/microbit_minimal_node.yaml +31 -0
- urml_validator-0.5.0/tests/fixtures/manifests/microbit_minimal_node_bad_output.yaml +19 -0
- urml_validator-0.5.0/tests/fixtures/manifests/microbit_minimal_node_mobility.yaml +23 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/mitsubishi_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/nachi_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/neo_biped.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/neura_cobot_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/omron_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/onrobot_magnetic_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/opcua_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/optimus_biped.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/ouster_3d_lidar_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/petoi_bittle_x.yaml +75 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/photoneo_motioncam_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/piab_vacuum_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/provenance_hbom_clean.yaml +38 -0
- urml_validator-0.5.0/tests/fixtures/manifests/provenance_hbom_cn_chip.yaml +42 -0
- urml_validator-0.5.0/tests/fixtures/manifests/provenance_hbom_vendor_of_vendor.yaml +40 -0
- urml_validator-0.5.0/tests/fixtures/manifests/reachy_mini.yaml +74 -0
- urml_validator-0.5.0/tests/fixtures/manifests/robotical_marty_v2.yaml +70 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/robotiq_2f85_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/schmalz_vacuum_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/schunk_mpg_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/sick_safety_lidar_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/soft_robotics_compliant_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/spot_arm.yaml +120 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/staubli_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/stm32_firmware_node.yaml +44 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_ipc_custom_no_note.yaml +31 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_ipc_iceoryx1_no_runtime.yaml +31 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_ipc_iceoryx2.yaml +37 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_ipc_no_config.yaml +31 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_ipc_runtime_on_iceoryx2.yaml +32 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_qos_keep_last_no_depth.yaml +36 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_realtime_cyclic.yaml +32 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_realtime_watchdog_short.yaml +31 -0
- urml_validator-0.5.0/tests/fixtures/manifests/substrate_rmw_custom_no_note.yaml +31 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/techman_cobot_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/thymio_classroom.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/translation_nllb_no_alt.yaml +18 -0
- urml_validator-0.5.0/tests/fixtures/manifests/translation_nllb_permissive_alt.yaml +25 -0
- urml_validator-0.5.0/tests/fixtures/manifests/translation_open_llm_primary.yaml +19 -0
- urml_validator-0.5.0/tests/fixtures/manifests/turtlebot4_home_areas.yaml +92 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/turtlebot4_home_cn_critical.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/turtlebot4_home_dji_vendor.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/turtlesim_mobile.yaml +43 -0
- urml_validator-0.5.0/tests/fixtures/manifests/unitree_g1_wholebody.yaml +127 -0
- urml_validator-0.5.0/tests/fixtures/manifests/unitree_g1_wholebody_unstable.yaml +110 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/unitree_quadruped_denied.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/ur_cell.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/utm_drone.yaml +25 -0
- urml_validator-0.5.0/tests/fixtures/manifests/utm_ground.yaml +21 -0
- urml_validator-0.5.0/tests/fixtures/manifests/utm_rov.yaml +22 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/vex_v5_clawbot.yaml +1 -1
- urml_validator-0.5.0/tests/fixtures/manifests/warehouse_areas.yaml +60 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/yaskawa_cell.yaml +1 -1
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/zivid_two_cell.yaml +13 -2
- urml_validator-0.5.0/tests/fixtures/policies/hbom_no_cn_components.yaml +21 -0
- urml_validator-0.5.0/tests/fixtures/policies/require_evidence_derived.yaml +20 -0
- urml_validator-0.5.0/tests/fixtures/rulebooks/deployment_indoor_lab.yaml +18 -0
- urml_validator-0.5.0/tests/fixtures/rulebooks/deployment_no_remote_id.yaml +19 -0
- urml_validator-0.5.0/tests/test_ara_com_binding.py +65 -0
- urml_validator-0.5.0/tests/test_architecture_svg.py +105 -0
- urml_validator-0.5.0/tests/test_audit_store.py +74 -0
- urml_validator-0.5.0/tests/test_autonomy_boundary_example.py +52 -0
- urml_validator-0.5.0/tests/test_av.py +114 -0
- urml_validator-0.5.0/tests/test_base_intent_node.py +57 -0
- urml_validator-0.5.0/tests/test_base_mobility_bounds.py +98 -0
- urml_validator-0.5.0/tests/test_behavior_tree_example.py +49 -0
- urml_validator-0.5.0/tests/test_bittle_demo_svg.py +121 -0
- urml_validator-0.5.0/tests/test_camera_rfc0682.py +91 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_cli.py +1 -1
- urml_validator-0.5.0/tests/test_cli_conformance.py +124 -0
- urml_validator-0.5.0/tests/test_cli_evidence.py +311 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_cli_execute.py +185 -3
- urml_validator-0.5.0/tests/test_cli_rulebooks.py +236 -0
- urml_validator-0.5.0/tests/test_cli_run.py +330 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_connectivity_pass2.py +2 -0
- urml_validator-0.5.0/tests/test_cram_example.py +69 -0
- urml_validator-0.5.0/tests/test_crazyswarm2_dispatch.py +110 -0
- urml_validator-0.5.0/tests/test_decart_oasis_example.py +92 -0
- urml_validator-0.5.0/tests/test_declared_intent.py +126 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_demo_svg.py +33 -35
- urml_validator-0.5.0/tests/test_deployment.py +131 -0
- urml_validator-0.5.0/tests/test_dexterous.py +196 -0
- urml_validator-0.5.0/tests/test_dobot_example.py +49 -0
- urml_validator-0.5.0/tests/test_drive_radius.py +101 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_drone_primitives.py +4 -0
- urml_validator-0.5.0/tests/test_dynamic_grasp_example.py +67 -0
- urml_validator-0.5.0/tests/test_envelope_coverage.py +706 -0
- urml_validator-0.5.0/tests/test_epically_powerful_example.py +68 -0
- urml_validator-0.5.0/tests/test_evidence.py +197 -0
- urml_validator-0.5.0/tests/test_evidence_example.py +55 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_examples_dont_rot.py +40 -0
- urml_validator-0.5.0/tests/test_executorch_policy_example.py +70 -0
- urml_validator-0.5.0/tests/test_fieldbus_example.py +57 -0
- urml_validator-0.5.0/tests/test_firmware_descriptor.py +149 -0
- urml_validator-0.5.0/tests/test_fleet_validation.py +540 -0
- urml_validator-0.5.0/tests/test_goalkeeper_example.py +149 -0
- urml_validator-0.5.0/tests/test_gopigo3_example.py +281 -0
- urml_validator-0.5.0/tests/test_gym_pybullet_drones_example.py +66 -0
- urml_validator-0.5.0/tests/test_hbom_policy.py +227 -0
- urml_validator-0.5.0/tests/test_inav_mission.py +53 -0
- urml_validator-0.5.0/tests/test_isaac_example.py +54 -0
- urml_validator-0.5.0/tests/test_kawasaki_demo_svg.py +144 -0
- urml_validator-0.5.0/tests/test_kortex_dispatch.py +79 -0
- urml_validator-0.5.0/tests/test_lang2ltl_example.py +74 -0
- urml_validator-0.5.0/tests/test_language.py +196 -0
- urml_validator-0.5.0/tests/test_learned_policies_rfc0617.py +127 -0
- urml_validator-0.5.0/tests/test_learned_policy_rfc0383.py +113 -0
- urml_validator-0.5.0/tests/test_licensing.py +142 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_link_loss_pass3.py +2 -0
- urml_validator-0.5.0/tests/test_minimal_node.py +96 -0
- urml_validator-0.5.0/tests/test_monitor.py +346 -0
- urml_validator-0.5.0/tests/test_monitorable_envelope_rfc0382.py +130 -0
- urml_validator-0.5.0/tests/test_monitorable_parser.py +108 -0
- urml_validator-0.5.0/tests/test_mtconnect_task_example.py +72 -0
- urml_validator-0.5.0/tests/test_opcua_example.py +55 -0
- urml_validator-0.5.0/tests/test_openscenario_export.py +86 -0
- urml_validator-0.5.0/tests/test_physical_ai_safety_eval_example.py +66 -0
- urml_validator-0.5.0/tests/test_portability_svg.py +126 -0
- urml_validator-0.5.0/tests/test_realtime.py +138 -0
- urml_validator-0.5.0/tests/test_relative_motion_example.py +56 -0
- urml_validator-0.5.0/tests/test_replan_feedback.py +70 -0
- urml_validator-0.5.0/tests/test_robocasa_example.py +93 -0
- urml_validator-0.5.0/tests/test_robotiq_hande_example.py +54 -0
- urml_validator-0.5.0/tests/test_rtic_timing_example.py +68 -0
- urml_validator-0.5.0/tests/test_rulebook_files.py +251 -0
- urml_validator-0.5.0/tests/test_rulebooks.py +1050 -0
- urml_validator-0.5.0/tests/test_safety_monitor_example.py +87 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_schema_export.py +25 -2
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_schemas_parse.py +29 -1
- urml_validator-0.5.0/tests/test_set_output.py +115 -0
- urml_validator-0.5.0/tests/test_spot_capture_example.py +83 -0
- urml_validator-0.5.0/tests/test_substrate_autopilot_class.py +200 -0
- urml_validator-0.5.0/tests/test_substrate_clock_bringup.py +168 -0
- urml_validator-0.5.0/tests/test_substrate_ipc.py +122 -0
- urml_validator-0.5.0/tests/test_substrate_rmw_implementation.py +221 -0
- urml_validator-0.5.0/tests/test_transforms.py +202 -0
- urml_validator-0.5.0/tests/test_translation_alternatives.py +142 -0
- urml_validator-0.5.0/tests/test_turtlebot4_example.py +52 -0
- urml_validator-0.5.0/tests/test_urdf_to_manifest_example.py +74 -0
- urml_validator-0.5.0/tests/test_validation_block_rfc0381.py +61 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_validator.py +349 -0
- urml_validator-0.5.0/tests/test_vitra_example.py +68 -0
- urml_validator-0.5.0/tests/test_vla_gate.py +51 -0
- urml_validator-0.5.0/tests/test_world_model_example.py +49 -0
- urml_validator-0.5.0/tests/test_world_model_rfc0615.py +109 -0
- urml_validator-0.1.0/src/urml_validator/cli.py +0 -1254
- urml_validator-0.1.0/src/urml_validator/errors.py +0 -173
- urml_validator-0.1.0/src/urml_validator/policy_engine.py +0 -314
- urml_validator-0.1.0/src/urml_validator/schemas/common.py +0 -112
- urml_validator-0.1.0/src/urml_validator/schemas/manifest.py +0 -333
- urml_validator-0.1.0/src/urml_validator/schemas/policy.py +0 -147
- urml_validator-0.1.0/src/urml_validator/validator.py +0 -2036
- urml_validator-0.1.0/tests/test_cli_conformance.py +0 -59
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/policies/__init__.py +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/py.typed +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/schemas/__init__.py +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/schemas/connectivity.py +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/src/urml_validator/schemas/program.py +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/__init__.py +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/drone_default.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/drone_with_altitude_band.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/drone_with_geofence.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/drone_with_occupancy_zone.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/home_default.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/link_loss_continue_autonomous.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/link_loss_halt.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/link_loss_hover.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/link_loss_outage_relaxed.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/link_loss_rth.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/warehouse_default.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/envelopes/warehouse_with_occupancy_zone.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/bluerov_marine.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/ground_connectivity_no_station_keeping.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/industrial_cell_connectivity.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/isaac_arm_sim.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/microbit_edu.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/mujoco_arm_sim.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/spot_quadruped.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/turtlebot4_home.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/turtlebot4_home_connectivity.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/manifests/warehouse_cell.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/fixtures/policies/permissive.yaml +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_init_cli.py +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_policy.py +0 -0
- {urml_validator-0.1.0 → urml_validator-0.5.0}/tests/test_speak_listen.py +0 -0
|
@@ -102,3 +102,13 @@ desktop.ini
|
|
|
102
102
|
# stay local. They are private to the maintainer; committing them would
|
|
103
103
|
# telegraph the campaign before launch and could embarrass listed projects.
|
|
104
104
|
outreach/
|
|
105
|
+
|
|
106
|
+
# Outreach dashboard SQLite mirror (RFC-0275). Derived from
|
|
107
|
+
# examples/lighthouses/outreach*.yaml via tools/scripts/refresh_outreach_db.py.
|
|
108
|
+
# Regenerated on demand by `make outreach-refresh`.
|
|
109
|
+
tools/outreach.db
|
|
110
|
+
tools/.outreach.db
|
|
111
|
+
|
|
112
|
+
# Local Claude Code settings (per-machine; permission rules, etc.). Not committed.
|
|
113
|
+
.claude/settings.json
|
|
114
|
+
.claude/settings.local.json
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: urml-validator
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Static verification engine for URML — Universal Robot Language
|
|
5
|
-
Project-URL: Homepage, https://github.com/
|
|
6
|
-
Project-URL: Repository, https://github.com/
|
|
7
|
-
Project-URL: Issues, https://github.com/
|
|
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
8
|
Author: URML Maintainers
|
|
9
|
-
License:
|
|
9
|
+
License: BUSL-1.1
|
|
10
10
|
Keywords: robotics,specification,urml,validator
|
|
11
11
|
Classifier: Development Status :: 3 - Alpha
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: License ::
|
|
13
|
+
Classifier: License :: Other/Proprietary License
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -43,7 +43,7 @@ Description-Content-Type: text/markdown
|
|
|
43
43
|
|
|
44
44
|
# Validator
|
|
45
45
|
|
|
46
|
-
**Status:** Phase 1
|
|
46
|
+
**Status:** Phase 1. **Schemas + four-pass validator + `urml` CLI + JSON Schema export shipping on PyPI** at `0.1.1`. The LLM bridge and on-device providers ship as `urml-llm-bridge`.
|
|
47
47
|
|
|
48
48
|
## What this is
|
|
49
49
|
|
|
@@ -56,7 +56,7 @@ The validator is **the safety boundary**. Per [`MANIFESTO.md`](../../MANIFESTO.m
|
|
|
56
56
|
|
|
57
57
|
> *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.*
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
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.
|
|
60
60
|
|
|
61
61
|
## What the validator checks
|
|
62
62
|
|
|
@@ -85,6 +85,19 @@ When fully implemented, the validator runs these checks against every URML progr
|
|
|
85
85
|
- Every declared limit is honored: max velocity, max payload, max force, max altitude, geofence, force ceilings, no-go zones, link-loss policy.
|
|
86
86
|
- Profile-specific envelope checks (drone people-occupancy, industrial cell perimeter, home people-only zones) are applied for whichever profiles the program declares.
|
|
87
87
|
|
|
88
|
+
### Rulebook checks (RFC-0702, Draft)
|
|
89
|
+
|
|
90
|
+
- 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`](../../spec/layer-1-hal/rulebook.md).
|
|
91
|
+
- The rulebook pass runs after the envelope checks and cites the rule it enforces, with `rule.*` codes. `--no-policy` does not skip it.
|
|
92
|
+
- 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.
|
|
93
|
+
- 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.
|
|
94
|
+
- Every report lists the rules a static check cannot see as obligations. A program that passes a rulebook is not a legal compliance determination.
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
urml validate flight.urml.yaml -m drone.manifest.yaml \
|
|
98
|
+
--rulebook examples/rulebooks/example-deployment.yaml
|
|
99
|
+
```
|
|
100
|
+
|
|
88
101
|
## What the validator does NOT do
|
|
89
102
|
|
|
90
103
|
- It does not execute the program. That is the runtime's job.
|
|
@@ -124,7 +137,7 @@ else:
|
|
|
124
137
|
|
|
125
138
|
## Core Commitment
|
|
126
139
|
|
|
127
|
-
The validator is
|
|
140
|
+
The validator is licensed under the Business Source License 1.1: free for non-production use, commercial license for production (see [`LICENSING.md`](../../LICENSING.md)). Research, education and evaluation use is free, so anyone can check a URML program against a manifest without a contract.
|
|
128
141
|
|
|
129
142
|
## Quickstart (current pre-alpha)
|
|
130
143
|
|
|
@@ -170,6 +183,8 @@ Exit codes: **0** accepted, **1** validation failed, **2** usage error (missing
|
|
|
170
183
|
|
|
171
184
|
Add `--json` to emit the raw `ValidationResult` for machine consumers (LLM bridge revision flow, CI checks).
|
|
172
185
|
|
|
186
|
+
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`](../../docs/evidence/validation-records.md).
|
|
187
|
+
|
|
173
188
|
### JSON Schema export
|
|
174
189
|
|
|
175
190
|
```bash
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
# Validator
|
|
16
16
|
|
|
17
|
-
**Status:** Phase 1
|
|
17
|
+
**Status:** Phase 1. **Schemas + four-pass validator + `urml` CLI + JSON Schema export shipping on PyPI** at `0.1.1`. The LLM bridge and on-device providers ship as `urml-llm-bridge`.
|
|
18
18
|
|
|
19
19
|
## What this is
|
|
20
20
|
|
|
@@ -27,7 +27,7 @@ The validator is **the safety boundary**. Per [`MANIFESTO.md`](../../MANIFESTO.m
|
|
|
27
27
|
|
|
28
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
29
|
|
|
30
|
-
|
|
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
31
|
|
|
32
32
|
## What the validator checks
|
|
33
33
|
|
|
@@ -56,6 +56,19 @@ When fully implemented, the validator runs these checks against every URML progr
|
|
|
56
56
|
- Every declared limit is honored: max velocity, max payload, max force, max altitude, geofence, force ceilings, no-go zones, link-loss policy.
|
|
57
57
|
- Profile-specific envelope checks (drone people-occupancy, industrial cell perimeter, home people-only zones) are applied for whichever profiles the program declares.
|
|
58
58
|
|
|
59
|
+
### Rulebook checks (RFC-0702, Draft)
|
|
60
|
+
|
|
61
|
+
- 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`](../../spec/layer-1-hal/rulebook.md).
|
|
62
|
+
- The rulebook pass runs after the envelope checks and cites the rule it enforces, with `rule.*` codes. `--no-policy` does not skip it.
|
|
63
|
+
- 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.
|
|
64
|
+
- 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.
|
|
65
|
+
- Every report lists the rules a static check cannot see as obligations. A program that passes a rulebook is not a legal compliance determination.
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
urml validate flight.urml.yaml -m drone.manifest.yaml \
|
|
69
|
+
--rulebook examples/rulebooks/example-deployment.yaml
|
|
70
|
+
```
|
|
71
|
+
|
|
59
72
|
## What the validator does NOT do
|
|
60
73
|
|
|
61
74
|
- It does not execute the program. That is the runtime's job.
|
|
@@ -95,7 +108,7 @@ else:
|
|
|
95
108
|
|
|
96
109
|
## Core Commitment
|
|
97
110
|
|
|
98
|
-
The validator is
|
|
111
|
+
The validator is licensed under the Business Source License 1.1: free for non-production use, commercial license for production (see [`LICENSING.md`](../../LICENSING.md)). Research, education and evaluation use is free, so anyone can check a URML program against a manifest without a contract.
|
|
99
112
|
|
|
100
113
|
## Quickstart (current pre-alpha)
|
|
101
114
|
|
|
@@ -141,6 +154,8 @@ Exit codes: **0** accepted, **1** validation failed, **2** usage error (missing
|
|
|
141
154
|
|
|
142
155
|
Add `--json` to emit the raw `ValidationResult` for machine consumers (LLM bridge revision flow, CI checks).
|
|
143
156
|
|
|
157
|
+
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`](../../docs/evidence/validation-records.md).
|
|
158
|
+
|
|
144
159
|
### JSON Schema export
|
|
145
160
|
|
|
146
161
|
```bash
|
|
@@ -4,17 +4,17 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "urml-validator"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.5.0"
|
|
8
8
|
description = "Static verification engine for URML — Universal Robot Language"
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
license = { text = "
|
|
10
|
+
license = { text = "BUSL-1.1" }
|
|
11
11
|
requires-python = ">=3.11"
|
|
12
12
|
authors = [{ name = "URML Maintainers" }]
|
|
13
13
|
keywords = ["robotics", "specification", "validator", "urml"]
|
|
14
14
|
classifiers = [
|
|
15
15
|
"Development Status :: 3 - Alpha",
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
|
-
"License ::
|
|
17
|
+
"License :: Other/Proprietary License",
|
|
18
18
|
"Operating System :: OS Independent",
|
|
19
19
|
"Programming Language :: Python :: 3 :: Only",
|
|
20
20
|
"Programming Language :: Python :: 3.11",
|
|
@@ -39,9 +39,9 @@ dev = [
|
|
|
39
39
|
urml = "urml_validator.cli:main"
|
|
40
40
|
|
|
41
41
|
[project.urls]
|
|
42
|
-
Homepage = "https://github.com/
|
|
43
|
-
Repository = "https://github.com/
|
|
44
|
-
Issues = "https://github.com/
|
|
42
|
+
Homepage = "https://github.com/urml-dev/URML"
|
|
43
|
+
Repository = "https://github.com/urml-dev/URML"
|
|
44
|
+
Issues = "https://github.com/urml-dev/URML/issues"
|
|
45
45
|
|
|
46
46
|
[tool.hatch.build.targets.wheel]
|
|
47
47
|
packages = ["src/urml_validator"]
|
|
@@ -9,31 +9,53 @@ 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.
|
|
12
|
+
Stability: 0.5.0. 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
|
"""
|
|
16
16
|
|
|
17
17
|
from urml_validator._version import __version__
|
|
18
18
|
from urml_validator.errors import ErrorCode, ValidationError, ValidationResult
|
|
19
|
+
from urml_validator.monitor import (
|
|
20
|
+
CompiledProperty,
|
|
21
|
+
Entity,
|
|
22
|
+
OnlineMonitor,
|
|
23
|
+
PropertyVerdict,
|
|
24
|
+
Sample,
|
|
25
|
+
Violation,
|
|
26
|
+
compile_envelope_monitors,
|
|
27
|
+
evaluate_trace,
|
|
28
|
+
)
|
|
19
29
|
from urml_validator.policy_engine import evaluate_policy
|
|
20
30
|
from urml_validator.schema_export import export_all_schemas, export_schema, write_schemas
|
|
21
31
|
from urml_validator.schemas.policy import Policy, PolicyRule
|
|
22
32
|
from urml_validator.schemas.program import URMLProgram
|
|
23
|
-
from urml_validator.
|
|
33
|
+
from urml_validator.schemas.roster import FleetRoster, RosterMember
|
|
34
|
+
from urml_validator.validator import DEFAULT_POLICY, validate, validate_fleet
|
|
24
35
|
|
|
25
36
|
__all__ = [
|
|
26
37
|
"DEFAULT_POLICY",
|
|
38
|
+
"CompiledProperty",
|
|
39
|
+
"Entity",
|
|
27
40
|
"ErrorCode",
|
|
41
|
+
"FleetRoster",
|
|
42
|
+
"OnlineMonitor",
|
|
28
43
|
"Policy",
|
|
29
44
|
"PolicyRule",
|
|
45
|
+
"PropertyVerdict",
|
|
46
|
+
"RosterMember",
|
|
47
|
+
"Sample",
|
|
30
48
|
"URMLProgram",
|
|
31
49
|
"ValidationError",
|
|
32
50
|
"ValidationResult",
|
|
51
|
+
"Violation",
|
|
33
52
|
"__version__",
|
|
53
|
+
"compile_envelope_monitors",
|
|
34
54
|
"evaluate_policy",
|
|
55
|
+
"evaluate_trace",
|
|
35
56
|
"export_all_schemas",
|
|
36
57
|
"export_schema",
|
|
37
58
|
"validate",
|
|
59
|
+
"validate_fleet",
|
|
38
60
|
"write_schemas",
|
|
39
61
|
]
|