From cf21feaad10e3c5e7ae657859d7ba7f91be8701f Mon Sep 17 00:00:00 2001 From: Shubham Miglani Date: Tue, 17 Nov 2026 18:24:09 +0000 Subject: [PATCH] docs(agents): the duplicate-id gotcha names when ids clash One world already suffixes a second robot with a taken id (Simulation.unique_id gives so101_2), so the gotcha read as if every pair of same-named robots clashed. The clash is between robots in different worlds, whose tools share a name in one Agent. --- AGENTS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 5a05f866e..194698173 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -219,7 +219,9 @@ All paths are under `strands_robots/`. model. `tests/test_xml_limits.py` holds it to MuJoCo on registry models. - GitHub-hosted models are pinned: `asset.source.commit` plus `asset.source.sha256` (`assets.tree_digest` of the subdir). Bumping a model means updating both; a cache from another pin is fetched again. -- Two robots with the same id clash as tool names. Pass `id=`. +- In one world a second robot with a taken id gets a suffix (`so101`, `so101_2`; `Simulation.unique_id`). Robots in + different worlds keep the same id, so their tools clash in one `Agent` (`Tool name 'robot_so101' already exists`). + Pass `id=`. - Over Zenoh, resume by name is refused unless the device has operator keys (`Authority(public_keys=...)`) or `trust_names=True`. - Recording needs an integer `hz`, and refuses an existing dataset with a different fps, robot, units or features.