优化前端,优化前端指令,优化自定义控制
This commit is contained in:
+2
-6
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"extends": "ch1_vehicle_frontend_hil_suite.json",
|
||||
"suite": "ch1-vehicle-door-rejection-contract",
|
||||
"description": "Offline-only fail-closed contract for retired CH1 door-lock commands. It inherits the complete non-door catalog, safety policy, rejection matrix, and nine-step cleanup baseline from the full front-end suite.",
|
||||
"description": "Offline-only fail-closed contract for unsupported whole-vehicle CH1 door-lock commands. Rear-door 0x32B candidates remain contract-only in the inherited catalog and are not live cases in this suite.",
|
||||
"rejection_only": true,
|
||||
"smoke_scope": {
|
||||
"retired_candidate_command_frame_id": "0x496",
|
||||
"retirement_reason": "Physical lock verification failed; cleanup succeeded, so no door-lock command remains eligible for live HIL.",
|
||||
"retirement_reason": "Whole-vehicle 0x496 verification failed; the distinct rear-only 0x32B command remains an offline contract candidate until current-vehicle HIL evidence is recorded.",
|
||||
"live_execution_permitted_by_fixture_alone": false
|
||||
},
|
||||
"modules": {
|
||||
@@ -21,8 +21,6 @@
|
||||
"REJECT-RAW-CAN",
|
||||
"REJECT-VEHICLE-LOCK",
|
||||
"REJECT-VEHICLE-UNLOCK",
|
||||
"REJECT-REAR-LOCK",
|
||||
"REJECT-REAR-UNLOCK",
|
||||
"REJECT-WALL-LIGHT",
|
||||
"REJECT-READING-ZONE",
|
||||
"REJECT-AMBIENT-SCENE",
|
||||
@@ -41,8 +39,6 @@
|
||||
"REJECT-RAW-CAN",
|
||||
"REJECT-VEHICLE-LOCK",
|
||||
"REJECT-VEHICLE-UNLOCK",
|
||||
"REJECT-REAR-LOCK",
|
||||
"REJECT-REAR-UNLOCK",
|
||||
"REJECT-WALL-LIGHT",
|
||||
"REJECT-READING-ZONE",
|
||||
"REJECT-AMBIENT-SCENE",
|
||||
|
||||
+10
-4
@@ -58,6 +58,7 @@
|
||||
"case_ids": [
|
||||
"CLIMATE-POWER-ON", "CLIMATE-POWER-OFF", "CLIMATE-FAN-3",
|
||||
"CLIMATE-MODE-DEFROST", "CLIMATE-TEMP-DRIVER-24", "CLIMATE-CONTROL-AUTO",
|
||||
"DOOR-REAR-LOCK", "DOOR-REAR-UNLOCK",
|
||||
"WINDOW-FRONT-LEFT-10", "WINDOW-FRONT-LEFT-50", "WINDOW-FRONT-LEFT-0",
|
||||
"OUTLET-DRIVER-LEFT-CENTER",
|
||||
"SEAT-DRIVER-VENT-LOW", "SEAT-DRIVER-VENT-HIGH", "SEAT-DRIVER-VENT-OFF",
|
||||
@@ -75,7 +76,6 @@
|
||||
"REJECT-CH0", "REJECT-PASSENGER", "REJECT-FRONT-RIGHT",
|
||||
"REJECT-T2G", "REJECT-IAR", "REJECT-RAW-CAN",
|
||||
"REJECT-VEHICLE-LOCK", "REJECT-VEHICLE-UNLOCK",
|
||||
"REJECT-REAR-LOCK", "REJECT-REAR-UNLOCK",
|
||||
"REJECT-WALL-LIGHT", "REJECT-READING-ZONE", "REJECT-AMBIENT-SCENE", "REJECT-AMBIENT-RGB"
|
||||
]
|
||||
},
|
||||
@@ -84,6 +84,7 @@
|
||||
"case_ids": [
|
||||
"CLIMATE-POWER-ON", "CLIMATE-POWER-OFF", "CLIMATE-FAN-3",
|
||||
"CLIMATE-MODE-DEFROST", "CLIMATE-TEMP-DRIVER-24", "CLIMATE-CONTROL-AUTO",
|
||||
"DOOR-REAR-LOCK", "DOOR-REAR-UNLOCK",
|
||||
"WINDOW-FRONT-LEFT-10", "WINDOW-FRONT-LEFT-50", "WINDOW-FRONT-LEFT-0",
|
||||
"OUTLET-DRIVER-LEFT-CENTER",
|
||||
"SEAT-DRIVER-VENT-LOW", "SEAT-DRIVER-VENT-HIGH", "SEAT-DRIVER-VENT-OFF",
|
||||
@@ -101,7 +102,6 @@
|
||||
"REJECT-CH0", "REJECT-PASSENGER", "REJECT-FRONT-RIGHT",
|
||||
"REJECT-T2G", "REJECT-IAR", "REJECT-RAW-CAN",
|
||||
"REJECT-VEHICLE-LOCK", "REJECT-VEHICLE-UNLOCK",
|
||||
"REJECT-REAR-LOCK", "REJECT-REAR-UNLOCK",
|
||||
"REJECT-WALL-LIGHT", "REJECT-READING-ZONE", "REJECT-AMBIENT-SCENE", "REJECT-AMBIENT-RGB"
|
||||
]
|
||||
}
|
||||
@@ -131,6 +131,14 @@
|
||||
"id": "CLIMATE-CONTROL-AUTO", "command": "ac control auto",
|
||||
"expected": {"config_key": "native_climate", "domain": "climate", "capability": "climate.set_control_mode", "target": "vehicle", "frame_ids": ["0x1DE"], "feedback_ids": ["0x404"], "state_assertions": [{"path": "domain_state.climate.control_mode", "equals": "auto"}]}
|
||||
},
|
||||
{
|
||||
"id": "DOOR-REAR-LOCK", "command": "door rear lock", "hil": false,
|
||||
"expected": {"config_key": "native_door", "domain": "door", "capability": "door.set_rear_lock", "target": "rear", "frame_ids": ["0x32B"], "feedback_ids": ["0x407"], "state_assertions": [{"path": "domain_state.door.locks.rear_left.state", "equals": "lock"}, {"path": "domain_state.door.locks.rear_right.state", "equals": "lock"}]}
|
||||
},
|
||||
{
|
||||
"id": "DOOR-REAR-UNLOCK", "command": "door rear unlock", "hil": false,
|
||||
"expected": {"config_key": "native_door", "domain": "door", "capability": "door.set_rear_lock", "target": "rear", "frame_ids": ["0x32B"], "feedback_ids": ["0x407"], "state_assertions": [{"path": "domain_state.door.locks.rear_left.state", "equals": "unlock"}, {"path": "domain_state.door.locks.rear_right.state", "equals": "unlock"}]}
|
||||
},
|
||||
{
|
||||
"id": "WINDOW-FRONT-LEFT-10", "command": "window front-left position 10", "action_timeout_seconds": 20,
|
||||
"expected": {"config_key": "native_window", "domain": "window", "capability": "window.set_position", "target": "front_left", "frame_ids": ["0x431"], "feedback_ids": ["0x388"], "state_assertions": [{"path": "domain_state.window.positions.front_left.position_pct", "equals": 10, "tolerance": 3}]}
|
||||
@@ -243,8 +251,6 @@
|
||||
{"id": "REJECT-RAW-CAN", "command": "raw can id 0x431 payload 00 00 00 00 00 00 01 00", "expected_category": "safety_rejection"},
|
||||
{"id": "REJECT-VEHICLE-LOCK", "command": "door vehicle lock", "expected_category": "safety_rejection"},
|
||||
{"id": "REJECT-VEHICLE-UNLOCK", "command": "door vehicle unlock", "expected_category": "safety_rejection"},
|
||||
{"id": "REJECT-REAR-LOCK", "command": "door rear lock", "expected_category": "safety_rejection"},
|
||||
{"id": "REJECT-REAR-UNLOCK", "command": "door rear unlock", "expected_category": "safety_rejection"},
|
||||
{"id": "REJECT-WALL-LIGHT", "command": "light wall on", "expected_category": "safety_rejection"},
|
||||
{"id": "REJECT-READING-ZONE", "command": "light reading front-left on", "expected_category": "safety_rejection"},
|
||||
{"id": "REJECT-AMBIENT-SCENE", "command": "light ambient scene cinema", "expected_category": "safety_rejection"},
|
||||
|
||||
Reference in New Issue
Block a user