import type { AgenticROSConfig, RobotSafetyOverlay } from "@agenticros/core"; import { checkPublishSafety as checkPublishSafetyCore } from "@agenticros/core"; /** * Twist + workspace gate for ros2_publish. Same core helper as the * other adapters so per-robot overlays cannot drift. */ export function checkPublishSafety( config: AgenticROSConfig, params: Record, robot?: { safety?: RobotSafetyOverlay } | null, ): { block: boolean; blockReason?: string } { return checkPublishSafetyCore(config, params, robot); }