Skip to content

fix(tools): reject empty ROS topic names on publish/receive/image - #831

Closed
Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/tools-empty-topic-name
Closed

Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/tools-empty-topic-name

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Blank topic strings from agents are rejected via require_non_empty_name on publish/receive/image tools.

Testing

  • Offline unit tests where ROS not required (uv pytest)
  • AI-assisted; human-reviewed

Claim: bartok
Operator: bartok
Campaign: aerial-drone

Add require_non_empty_name helper and validate topic arguments so agent
tool calls cannot pass blank/whitespace topic strings.

Signed-off-by: Bartok9 <danielrpike9@gmail.com>
@maciejmajek

Copy link
Copy Markdown
Member

In #872 as min_length=1 on the topic fields.

@maciejmajek maciejmajek closed this Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants