a2a-robots 0.1.2__tar.gz → 0.2.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.
Files changed (37) hide show
  1. a2a_robots-0.2.0/.release-please-manifest.json +7 -0
  2. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/CHANGELOG.md +16 -0
  3. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/PKG-INFO +37 -20
  4. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/README.md +36 -19
  5. a2a_robots-0.2.0/docs/design-industrial-readiness.md +521 -0
  6. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/examples/fake_robot.py +3 -1
  7. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/pyproject.toml +1 -1
  8. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/src/a2a_robots/__init__.py +28 -4
  9. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/src/a2a_robots/adapter.py +62 -18
  10. a2a_robots-0.2.0/src/a2a_robots/backend.py +102 -0
  11. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/src/a2a_robots/controller.py +131 -14
  12. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/src/a2a_robots/fake.py +58 -5
  13. a2a_robots-0.2.0/src/a2a_robots/limits.py +425 -0
  14. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/src/a2a_robots/planning.py +48 -5
  15. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/src/a2a_robots/skills.py +108 -5
  16. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/src/a2a_robots/testing.py +96 -14
  17. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/tests/conftest.py +2 -2
  18. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/tests/test_a2a.py +132 -5
  19. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/tests/test_controller.py +224 -22
  20. a2a_robots-0.2.0/tests/test_limits.py +136 -0
  21. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/tests/test_skills.py +75 -0
  22. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/uv.lock +1 -1
  23. a2a_robots-0.1.2/.release-please-manifest.json +0 -7
  24. a2a_robots-0.1.2/src/a2a_robots/backend.py +0 -57
  25. a2a_robots-0.1.2/src/a2a_robots/limits.py +0 -68
  26. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/.github/scripts/check_release_ref.py +0 -0
  27. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/.github/workflows/ci.yml +0 -0
  28. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/.github/workflows/publish.yml +0 -0
  29. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/.github/workflows/release-please.yml +0 -0
  30. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/.gitignore +0 -0
  31. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/CONTRIBUTING.md +0 -0
  32. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/LICENSE +0 -0
  33. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/release-please-config.json +0 -0
  34. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/tests/helpers.py +0 -0
  35. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/tests/test_fake_contract.py +0 -0
  36. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/tests/test_planning.py +0 -0
  37. {a2a_robots-0.1.2 → a2a_robots-0.2.0}/tests/test_release_config.py +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ ".": "0.2.0",
3
+ "packages/a2a-robots-lerobot": "0.2.0",
4
+ "packages/a2a-robots-pollen": "0.2.0",
5
+ "packages/a2a-robots-ros2": "0.1.2",
6
+ "packages/a2a-robots-sharpa": "0.2.0"
7
+ }
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.0](https://github.com/hybroai/a2a-robots/compare/a2a-robots-v0.1.2...a2a-robots-v0.2.0) (2026-12-04)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ *
9
+
10
+ ### Features
11
+
12
+ * add move_path, controller safety limits, path checking, and split failure codes ([8f84a15](https://github.com/hybroai/a2a-robots/commit/8f84a153837a05a5da2cb3db69d2342242eb9383))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **controller:** ignore missing limits_revision in safety drift guard ([4cf3ef2](https://github.com/hybroai/a2a-robots/commit/4cf3ef2de478d3750b6c5f271df2afff25ea3001))
18
+
3
19
  ## [0.1.2](https://github.com/hybroai/a2a-robots/compare/a2a-robots-v0.1.1...a2a-robots-v0.1.2) (2026-11-18)
4
20
 
5
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: a2a-robots
3
- Version: 0.1.2
3
+ Version: 0.2.0
4
4
  Summary: Expose robots as A2A agents with task-level skills and adapter-enforced safety limits
5
5
  Project-URL: Repository, https://github.com/hybroai/a2a-robots
6
6
  Author-email: HYBRO AI <info@hybro.ai>
@@ -50,8 +50,9 @@ Requests are JSON, sent as a text part or a data part:
50
50
  | --- | --- | --- |
51
51
  | `observe` | none | Read only. Always allowed, even during motion. |
52
52
  | `move_to` | `hand`, `pose` | `frame`, `units` (`"m"`) and a unit quaternion are required. |
53
- | `open` | `hand` | |
54
- | `close` | `hand` | `held` reports whether something is now held. |
53
+ | `move_path` | `hand`, `waypoints`, optional `blend_radius_m`, `speed_scale` | Advertised by backends that support full-path validation and execution. Every segment is validated for reach, safe zones, and collision before anything moves. |
54
+ | `open` | `hand` | Advertised when the robot has a gripper. |
55
+ | `close` | `hand` | `held` reports whether something is now held. Advertised when the robot has a gripper. |
55
56
  | `stop` | none | Stops motion now and freezes every hand. Always allowed. |
56
57
 
57
58
  Every skill returns the same result, as JSON text and as an `application/json` data part:
@@ -66,48 +67,64 @@ A skill that ran but did not succeed, or was refused before moving, is a complet
66
67
 
67
68
  | `failure_code` | Meaning |
68
69
  | --- | --- |
69
- | `step_too_large` | The move is larger than `max_step_m` or `max_step_rad`. Nothing moved; the result includes the step limits. |
70
- | `out_of_workspace` | The target is outside the workspace box. Nothing moved; the result includes the step limits. |
70
+ | `step_too_large` | Single `move_to` is larger than `max_step_m` or `max_step_rad`. Nothing moved; the result includes the step limits. |
71
+ | `path_too_long` | `move_path` exceeds `max_waypoints` or `max_path_length_m`. Nothing moved; the result includes the path limits. |
72
+ | `out_of_workspace` | Target pose, waypoint, or planned path exits the workspace box or violates a keep-out zone / safety plane. Nothing moved; the result includes the limits. |
71
73
  | `busy` | Another skill is running, the robot is stopping, or the last motion has not stopped. Nothing moved. |
74
+ | `unreachable` | No kinematic/joint solution reaches the target (IK failed, joint limit, or excessive joint jump). Nothing moved. |
75
+ | `collision` | Planned path collides with the scene, fixtures, or robot self. Nothing moved. |
76
+ | `safety_stopped` | Controller safety state blocked or halted motion (e-stop, protective stop, fault, or controller limit revision drift). Check `safety`. |
72
77
  | `stopped` | `stop` was requested during the motion. |
73
78
  | `timeout` | The motion took longer than `skill_timeout_s` and was stopped. |
79
+ | `not_settled` | The command finished its settle window without reaching pose or gripper tolerances; the robot is held at its current pose. |
74
80
  | `slipped` | The backend lost the grasp. |
75
- | `unreachable` | The target could not be reached: the planner found no safe path, or the hand did not settle there. |
76
81
 
77
- A malformed request (unknown skill or hand, missing or extra fields, wrong units, a frame other than the workspace frame, or a non-unit quaternion) fails the A2A task with the reason, and nothing moves. A cancelled skill ends the task canceled; see Safety for when it ends failed instead.
82
+ A malformed request (unknown or unsupported skill, unknown or gripperless hand, missing or extra fields, wrong units, a frame other than the workspace frame, or a non-unit quaternion) fails the A2A task with the reason, and nothing moves. A cancelled skill ends the task canceled; see Safety for when it ends failed instead.
78
83
 
79
84
  The agent card states the limits in a data-only [A2A extension](https://a2a-protocol.org/latest/topics/extensions/) under `capabilities.extensions`. It is not required, so clients need not activate it, and its URI is `a2a_robots.SAFETY_LIMITS_EXTENSION`:
80
85
 
81
86
  ```json
82
- {"uri": "https://github.com/hybroai/a2a-robots/extensions/safety-limits/v1",
87
+ {"uri": "https://github.com/hybroai/a2a-robots/extensions/safety-limits/v2",
83
88
  "required": false,
84
- "params": {"frame": "world",
89
+ "params": {"source": "adapter", "path_check": "collision", "revision": null,
90
+ "frame": "world",
85
91
  "workspace": {"min_xyz": [0.0, -0.5, 0.0], "max_xyz": [0.6, 0.5, 0.5]},
92
+ "keep_out_zones": [], "safety_planes": [], "reduced_speed_zones": [],
86
93
  "max_step_m": 0.01, "max_step_rad": 0.05,
94
+ "max_speed_m_s": null, "max_speed_rad_s": null,
95
+ "max_path_length_m": null, "max_waypoints": 100,
87
96
  "skill_timeout_s": 10.0, "stop_timeout_s": 2.0}}
88
97
  ```
89
98
 
90
99
  ## Safety
91
100
 
92
- The limits come from `SafetyLimits`, passed to `RobotAdapter`:
101
+ Limits come from the robot controller via `RobotBackend.controller_limits()` (`ControllerLimits`), from `SafetyLimits` passed to `RobotAdapter`, or merged from both (adapter physical bounds can narrow controller limits, never loosen them—looser bounds fail fast at startup):
93
102
 
94
103
  | Field | Default | Meaning |
95
104
  | --- | --- | --- |
96
- | `workspace` | required | An axis-aligned box in metres, in one named frame. Every `move_to` pose must use this frame. |
97
- | `max_step_m` | 0.01 | Largest move of one `move_to`, in metres. |
98
- | `max_step_rad` | 0.05 | Largest rotation of one `move_to`, in radians. |
99
- | `skill_timeout_s` | 10.0 | A motion that runs longer is stopped and fails with `timeout`. |
100
- | `stop_timeout_s` | 2.0 | How long a stop may take before the robot is reported as possibly still moving. |
101
-
102
- - A move larger than `max_step_m` or `max_step_rad`, or a target outside the workspace box, is refused before anything moves. The result includes the limits. Moves are never clamped.
103
- - A step is measured from the hand's last target when its last skill was a successful `move_to`, because a robot settles within a small tolerance of the target, not exactly on it. After anything else (a failed move, a stop, a timeout, a cancel, or `open`/`close` on that hand) it is measured from the observed pose. So the hand moves at most `max_step_m` plus the backend's settle tolerance.
105
+ | `workspace` | required (or from controller) | An axis-aligned box in metres, in one named frame. Every pose/waypoint must use this frame. |
106
+ | `keep_out_zones` | `()` | Forbidden `BoxZone` regions inside the workspace. |
107
+ | `safety_planes` | `()` | Half-space `SafetyPlane` constraints (`dot(normal, position) <= offset_m`). |
108
+ | `reduced_speed_zones` | `()` | Optional `BoxZone` regions with a lower `max_speed_m_s`. Advertised from the controller; enforced by the robot controller / safety PLC (and reflected live via `SafetyState.speed_scale`). Host planners apply global `max_speed_*` only, not per-zone clamping. |
109
+ | `max_step_m` | `0.01` (`None` allowed with `PathCheck.COLLISION`) | Largest move of one `move_to`, in metres. |
110
+ | `max_step_rad` | `0.05` (`None` allowed with `PathCheck.COLLISION`) | Largest rotation of one `move_to`, in radians. |
111
+ | `max_speed_m_s` / `max_speed_rad_s` | `None` | Optional TCP/joint speed ceilings. |
112
+ | `max_path_length_m` / `max_waypoints` | `None` / `100` | Optional total chord length cap and waypoint count cap for `move_path`. |
113
+ | `skill_timeout_s` | `10.0` | A motion that runs longer is stopped and fails with `timeout`. |
114
+ | `stop_timeout_s` | `2.0` | How long a stop may take before the robot is reported as possibly still moving. |
115
+
116
+ - `RobotController` / `RobotAdapter` require `backend.path_check == PathCheck.COLLISION` by default (`require_path_check=PathCheck.COLLISION`). Backends without 3D scene collision checking (e.g. desk arms with `PathCheck.EE_WORKSPACE`, or `FakeBackend` with `PathCheck.NONE`) must opt out explicitly at startup, and the active `path_check` level is advertised in the agent card.
117
+ - Unbounded steps (`max_step_m=None` / `max_step_rad=None`) and `move_path` require `PathCheck.COLLISION` (unless `require_path_check=PathCheck.NONE` for test doubles).
118
+ - Live controller safety state (`SafetyState`: `normal`, `reduced`, `protective_stop`, `estop`, `fault`, plus optional `limits_revision`) is reported in `SkillResult.safety`. Blocking safety states refuse new motions with `safety_stopped`. A changed `limits_revision` (when both the startup `revision` and the live field are set) also refuses with `safety_stopped`. Mid-motion e-stop / protective stop is handled by the backend while it executes; the controller only re-checks `safety_state()` before the next skill.
119
+ - A move larger than `max_step_m` or `max_step_rad`, a path exceeding `max_waypoints` / `max_path_length_m`, or a pose/waypoint violating `workspace`, `keep_out_zones`, or `safety_planes` is refused before anything moves. Moves are never clamped.
120
+ - A step is measured from the hand's last target when its last skill was a successful `move_to` or `move_path`, because a robot settles within a small tolerance of the target, not exactly on it. After anything else (a failed move, a stop, a timeout, a cancel, or `open`/`close` on that hand) it is measured from the observed pose.
121
+ - If a motion finishes its settle window without converging (`not_settled`), the controller calls `hold()` so hardware actuators stop pushing against any unmodeled obstruction.
104
122
  - One skill runs at a time per robot. A second motion request fails at once with `busy` instead of queueing.
105
- - `stop`, `tasks/cancel`, timeouts and shutdown all stop the backend. Backends run in a worker thread and poll a stop flag every control step, so stopping does not depend on cancelling a Python task.
123
+ - `stop`, `tasks/cancel`, timeouts and shutdown all stop the backend. Backends run in a worker thread and poll a stop flag every control step (or controller status poll), so stopping does not depend on cancelling a Python task.
106
124
  - `tasks/cancel` replies only after the motion has stopped and the hands are frozen, and the task is then canceled.
107
125
  - If the motion does not stop within `stop_timeout_s` (2 s by default), the hands are still told to hold, but the stop or timed-out skill fails with "the robot did not stop ... it may still be moving". No new motion starts until that motion ends.
108
126
  - A `tasks/cancel` whose stop times out keeps waiting for the motion, up to a2a-adapter's cancel wait (10 s). If the motion ends by then the task is canceled; otherwise `tasks/cancel` returns the task failed with "Cancel failed: the robot did not stop ... it may still be moving".
109
127
  - If the backend raises during a motion, the hands are frozen and the task fails. The error is logged on the server; the client gets a message naming the task, because backend errors can hold internal details.
110
- - The adapter checks only the target pose. The path to it is the planner's job (see below); `MujocoPlanner` rejects paths that collide with the simulated scene. Real hardware also needs the robot's own safety checks.
111
128
  - `serve_robot()` binds `127.0.0.1` by default, because anyone who can reach the server can move the robot.
112
129
 
113
130
  ## Quick start
@@ -27,8 +27,9 @@ Requests are JSON, sent as a text part or a data part:
27
27
  | --- | --- | --- |
28
28
  | `observe` | none | Read only. Always allowed, even during motion. |
29
29
  | `move_to` | `hand`, `pose` | `frame`, `units` (`"m"`) and a unit quaternion are required. |
30
- | `open` | `hand` | |
31
- | `close` | `hand` | `held` reports whether something is now held. |
30
+ | `move_path` | `hand`, `waypoints`, optional `blend_radius_m`, `speed_scale` | Advertised by backends that support full-path validation and execution. Every segment is validated for reach, safe zones, and collision before anything moves. |
31
+ | `open` | `hand` | Advertised when the robot has a gripper. |
32
+ | `close` | `hand` | `held` reports whether something is now held. Advertised when the robot has a gripper. |
32
33
  | `stop` | none | Stops motion now and freezes every hand. Always allowed. |
33
34
 
34
35
  Every skill returns the same result, as JSON text and as an `application/json` data part:
@@ -43,48 +44,64 @@ A skill that ran but did not succeed, or was refused before moving, is a complet
43
44
 
44
45
  | `failure_code` | Meaning |
45
46
  | --- | --- |
46
- | `step_too_large` | The move is larger than `max_step_m` or `max_step_rad`. Nothing moved; the result includes the step limits. |
47
- | `out_of_workspace` | The target is outside the workspace box. Nothing moved; the result includes the step limits. |
47
+ | `step_too_large` | Single `move_to` is larger than `max_step_m` or `max_step_rad`. Nothing moved; the result includes the step limits. |
48
+ | `path_too_long` | `move_path` exceeds `max_waypoints` or `max_path_length_m`. Nothing moved; the result includes the path limits. |
49
+ | `out_of_workspace` | Target pose, waypoint, or planned path exits the workspace box or violates a keep-out zone / safety plane. Nothing moved; the result includes the limits. |
48
50
  | `busy` | Another skill is running, the robot is stopping, or the last motion has not stopped. Nothing moved. |
51
+ | `unreachable` | No kinematic/joint solution reaches the target (IK failed, joint limit, or excessive joint jump). Nothing moved. |
52
+ | `collision` | Planned path collides with the scene, fixtures, or robot self. Nothing moved. |
53
+ | `safety_stopped` | Controller safety state blocked or halted motion (e-stop, protective stop, fault, or controller limit revision drift). Check `safety`. |
49
54
  | `stopped` | `stop` was requested during the motion. |
50
55
  | `timeout` | The motion took longer than `skill_timeout_s` and was stopped. |
56
+ | `not_settled` | The command finished its settle window without reaching pose or gripper tolerances; the robot is held at its current pose. |
51
57
  | `slipped` | The backend lost the grasp. |
52
- | `unreachable` | The target could not be reached: the planner found no safe path, or the hand did not settle there. |
53
58
 
54
- A malformed request (unknown skill or hand, missing or extra fields, wrong units, a frame other than the workspace frame, or a non-unit quaternion) fails the A2A task with the reason, and nothing moves. A cancelled skill ends the task canceled; see Safety for when it ends failed instead.
59
+ A malformed request (unknown or unsupported skill, unknown or gripperless hand, missing or extra fields, wrong units, a frame other than the workspace frame, or a non-unit quaternion) fails the A2A task with the reason, and nothing moves. A cancelled skill ends the task canceled; see Safety for when it ends failed instead.
55
60
 
56
61
  The agent card states the limits in a data-only [A2A extension](https://a2a-protocol.org/latest/topics/extensions/) under `capabilities.extensions`. It is not required, so clients need not activate it, and its URI is `a2a_robots.SAFETY_LIMITS_EXTENSION`:
57
62
 
58
63
  ```json
59
- {"uri": "https://github.com/hybroai/a2a-robots/extensions/safety-limits/v1",
64
+ {"uri": "https://github.com/hybroai/a2a-robots/extensions/safety-limits/v2",
60
65
  "required": false,
61
- "params": {"frame": "world",
66
+ "params": {"source": "adapter", "path_check": "collision", "revision": null,
67
+ "frame": "world",
62
68
  "workspace": {"min_xyz": [0.0, -0.5, 0.0], "max_xyz": [0.6, 0.5, 0.5]},
69
+ "keep_out_zones": [], "safety_planes": [], "reduced_speed_zones": [],
63
70
  "max_step_m": 0.01, "max_step_rad": 0.05,
71
+ "max_speed_m_s": null, "max_speed_rad_s": null,
72
+ "max_path_length_m": null, "max_waypoints": 100,
64
73
  "skill_timeout_s": 10.0, "stop_timeout_s": 2.0}}
65
74
  ```
66
75
 
67
76
  ## Safety
68
77
 
69
- The limits come from `SafetyLimits`, passed to `RobotAdapter`:
78
+ Limits come from the robot controller via `RobotBackend.controller_limits()` (`ControllerLimits`), from `SafetyLimits` passed to `RobotAdapter`, or merged from both (adapter physical bounds can narrow controller limits, never loosen them—looser bounds fail fast at startup):
70
79
 
71
80
  | Field | Default | Meaning |
72
81
  | --- | --- | --- |
73
- | `workspace` | required | An axis-aligned box in metres, in one named frame. Every `move_to` pose must use this frame. |
74
- | `max_step_m` | 0.01 | Largest move of one `move_to`, in metres. |
75
- | `max_step_rad` | 0.05 | Largest rotation of one `move_to`, in radians. |
76
- | `skill_timeout_s` | 10.0 | A motion that runs longer is stopped and fails with `timeout`. |
77
- | `stop_timeout_s` | 2.0 | How long a stop may take before the robot is reported as possibly still moving. |
78
-
79
- - A move larger than `max_step_m` or `max_step_rad`, or a target outside the workspace box, is refused before anything moves. The result includes the limits. Moves are never clamped.
80
- - A step is measured from the hand's last target when its last skill was a successful `move_to`, because a robot settles within a small tolerance of the target, not exactly on it. After anything else (a failed move, a stop, a timeout, a cancel, or `open`/`close` on that hand) it is measured from the observed pose. So the hand moves at most `max_step_m` plus the backend's settle tolerance.
82
+ | `workspace` | required (or from controller) | An axis-aligned box in metres, in one named frame. Every pose/waypoint must use this frame. |
83
+ | `keep_out_zones` | `()` | Forbidden `BoxZone` regions inside the workspace. |
84
+ | `safety_planes` | `()` | Half-space `SafetyPlane` constraints (`dot(normal, position) <= offset_m`). |
85
+ | `reduced_speed_zones` | `()` | Optional `BoxZone` regions with a lower `max_speed_m_s`. Advertised from the controller; enforced by the robot controller / safety PLC (and reflected live via `SafetyState.speed_scale`). Host planners apply global `max_speed_*` only, not per-zone clamping. |
86
+ | `max_step_m` | `0.01` (`None` allowed with `PathCheck.COLLISION`) | Largest move of one `move_to`, in metres. |
87
+ | `max_step_rad` | `0.05` (`None` allowed with `PathCheck.COLLISION`) | Largest rotation of one `move_to`, in radians. |
88
+ | `max_speed_m_s` / `max_speed_rad_s` | `None` | Optional TCP/joint speed ceilings. |
89
+ | `max_path_length_m` / `max_waypoints` | `None` / `100` | Optional total chord length cap and waypoint count cap for `move_path`. |
90
+ | `skill_timeout_s` | `10.0` | A motion that runs longer is stopped and fails with `timeout`. |
91
+ | `stop_timeout_s` | `2.0` | How long a stop may take before the robot is reported as possibly still moving. |
92
+
93
+ - `RobotController` / `RobotAdapter` require `backend.path_check == PathCheck.COLLISION` by default (`require_path_check=PathCheck.COLLISION`). Backends without 3D scene collision checking (e.g. desk arms with `PathCheck.EE_WORKSPACE`, or `FakeBackend` with `PathCheck.NONE`) must opt out explicitly at startup, and the active `path_check` level is advertised in the agent card.
94
+ - Unbounded steps (`max_step_m=None` / `max_step_rad=None`) and `move_path` require `PathCheck.COLLISION` (unless `require_path_check=PathCheck.NONE` for test doubles).
95
+ - Live controller safety state (`SafetyState`: `normal`, `reduced`, `protective_stop`, `estop`, `fault`, plus optional `limits_revision`) is reported in `SkillResult.safety`. Blocking safety states refuse new motions with `safety_stopped`. A changed `limits_revision` (when both the startup `revision` and the live field are set) also refuses with `safety_stopped`. Mid-motion e-stop / protective stop is handled by the backend while it executes; the controller only re-checks `safety_state()` before the next skill.
96
+ - A move larger than `max_step_m` or `max_step_rad`, a path exceeding `max_waypoints` / `max_path_length_m`, or a pose/waypoint violating `workspace`, `keep_out_zones`, or `safety_planes` is refused before anything moves. Moves are never clamped.
97
+ - A step is measured from the hand's last target when its last skill was a successful `move_to` or `move_path`, because a robot settles within a small tolerance of the target, not exactly on it. After anything else (a failed move, a stop, a timeout, a cancel, or `open`/`close` on that hand) it is measured from the observed pose.
98
+ - If a motion finishes its settle window without converging (`not_settled`), the controller calls `hold()` so hardware actuators stop pushing against any unmodeled obstruction.
81
99
  - One skill runs at a time per robot. A second motion request fails at once with `busy` instead of queueing.
82
- - `stop`, `tasks/cancel`, timeouts and shutdown all stop the backend. Backends run in a worker thread and poll a stop flag every control step, so stopping does not depend on cancelling a Python task.
100
+ - `stop`, `tasks/cancel`, timeouts and shutdown all stop the backend. Backends run in a worker thread and poll a stop flag every control step (or controller status poll), so stopping does not depend on cancelling a Python task.
83
101
  - `tasks/cancel` replies only after the motion has stopped and the hands are frozen, and the task is then canceled.
84
102
  - If the motion does not stop within `stop_timeout_s` (2 s by default), the hands are still told to hold, but the stop or timed-out skill fails with "the robot did not stop ... it may still be moving". No new motion starts until that motion ends.
85
103
  - A `tasks/cancel` whose stop times out keeps waiting for the motion, up to a2a-adapter's cancel wait (10 s). If the motion ends by then the task is canceled; otherwise `tasks/cancel` returns the task failed with "Cancel failed: the robot did not stop ... it may still be moving".
86
104
  - If the backend raises during a motion, the hands are frozen and the task fails. The error is logged on the server; the client gets a message naming the task, because backend errors can hold internal details.
87
- - The adapter checks only the target pose. The path to it is the planner's job (see below); `MujocoPlanner` rejects paths that collide with the simulated scene. Real hardware also needs the robot's own safety checks.
88
105
  - `serve_robot()` binds `127.0.0.1` by default, because anyone who can reach the server can move the robot.
89
106
 
90
107
  ## Quick start