Pith.

Robotics · arXiv:2609.20822 v2 · submitted 17 Sep 2026

Coding Agents with Harness for Safe Robot Control

Bingxin Xu, Yuzhang Shang, Zhen Dong, Emilio Ferrara

The paper says

“Coding agents have emerged as a promising paradigm for robot manipulation: a language model writes the robot controller as a program, and agents built in this way now operate robots without robot-specific training.”

more of the abstract

Whether this paradigm is also safe, however, has not been asked. We evaluate coding agents under a safety constraint, where each task pairs a manipulation goal with an obstacle the robot must not touch. The agent pursues the goal but collides with the obstacle in most cases, treating task completion as its sole objective. The agent reasons about the obstacle in its traces, and the prompt already forbids touching it, so neither perception nor instruction is at fault; the fault lies in the planning, where the stated constraint never becomes a priority. By decomposing manipulation into a route phase and a contact-rich moment, we locate the source of the failure. Along the route, the model cannot prioritize the safety constraint, having no notion of a clearing route and none of replanning once a chosen route becomes infeasible. At the contact, it is unaware that contact execution is bounded by the same constraint. To close this gap, we present SafeHarness, which equips the model with two obstacle-aware harnesses. Obstacle-aware route planning grounds the objects as bounding boxes and draws candidate routes over them as sequences of waypoints. The agent then plans a route in advance, verifies it, replans when necessary, and only then executes it. Obstacle-aware contact execution instead selects the contact position so that the contact itself avoids the obstacle. SafeHarness attains 81.2% task success and 91.9% collision avoidance with GPT-6-Astra, surpassing the previous SOTA by 13.7 and 23.0 points, and the same agent without harnesses by 31.2 and 57.5 points, respectively.

from the abstract

Pith says

Machine review · deepseek-v4-flash · 20 Sep 2026 · of version 1 of the paper; version 2 is newer · what was read was not recorded · not checked by a person

It can be wrong. Challenge this review or reply to it.

The passes disagreed. Reader: holds up. Skeptic: holds up only with conditions. Referee: major revision.

Genuine contribution to safe coding agents, with a clear decomposition and thorough ablation; the segmentation false-negative issue is a soft spot but not fatal. This line is wrong

2 major objections · 5 minor

How often objections from reviews like this one are right: not yet measured

Are you an author? What you can do.

Not checked: figures, code, what the references say.

The paper says, at §1 contribution bullet and Limitations (p. 9)

The review did not quote this passage.

Pith says: Objection 1 of 2 · major

The contribution bullet in §1 says the harness 'guarantees' obstacle avoidance throughout the task, but the paper's own results report a 12.5% collision rate (87.5% CAR), and the route verifier in §3.2 checks only for intersection with the grounded box.

more of objection 1

The Limitations paragraph states that a grounding failure surfaces as a rejected route rather than a collision because verification runs on the grounded boxes; this is true only for false-positive grounding. If SAM-3 misses the obstacle entirely, there is no box to reject against, and a route crossing the true obstacle passes verification, exactly as if the obstacle were absent; the same false negative also defeats the adjacency test in §3.3. The paper does not report the SAM-3 false-negative rate on SafeLIBERO scenes or the number of episodes affected, so the limitation statement is incorrect as written and the 'guaranteed' wording is too strong. I would like the authors to report conditional CAR given successful detection, or otherwise quantify grounding failures, and to replace 'guaranteed' with a statement of the detection assumptions.

The paper says, at Abstract, §1, and Figure 1 vs. Table 1

The review did not quote this passage.

Pith says: Objection 2 of 2 · major

The headline claim that SAFEHARNESS surpasses the previous SOTA by 6.5% in TSR and 27.0% in CAR is not directly supported by Table 1: relative to AEGIS (67.5/68.9), the differences are 4.4 and 18.6 percentage points, which correspond to about 6.5% and 27.0% only if interpreted as relative changes.

more of objection 2

If the intended comparison is relative improvement, state 'relative improvements of 6.5% and 27.0%' so the reader does not read them as percentage-point gains. The numeric labels in Figure 1 also do not clearly match Tables 1 and 2; please make the figure values and the text's margin statements consistent.

5 minor objections

The paper says, at Table 1

Pith says: minor objection 1 of 5

The OpenVLA-OFT row reports an average CAR of 5.7%, but the four suite values (8.3, 19.5, 11.5, 6.0) average to 11.3%; check the aggregation, since the TSR average is consistent.

The paper says, at Table 2

Pith says: minor objection 2 of 5

The GPT-6 'Model' row lists an all-32 TSR of 6.0, while the average of the Level I value (12.5) and Level II value (0.0) is 6.25; state the rounding convention.

show 3 more

The paper says, at Figure 1

Pith says: minor objection 3 of 5

The in-panel performance values are not legibly matched to AEGIS and to GPT-6 with and without SAFEHARNESS, and at least some of the values appear inconsistent with Tables 1–2; redraw with explicit per-method labels and consistent numbers.

The paper says, at §4.3

Pith says: minor objection 4 of 5

The explanation that Level II task success is lower because a verified detour lengthens the episode under a fixed step budget is plausible but is not supported by reported data; include episode-length statistics or hedge the claim.

The paper says, at §4.1

Pith says: minor objection 5 of 5

Given that each task is evaluated over 10 seeds, reporting standard errors or confidence intervals for TSR and CAR would make the comparisons across the rows of Tables 1–2 more interpretable.

What would settle it

For a random subset of 100 SafeLIBERO episodes (stratified by obstacle type), manually annotate ground-truth obstacle bounding boxes. Compare SAM-3 outputs to compute false-negative rate (obstacle in scene but IoU=0). Then, for episodes identified as false-negative, simulate the SafeHarness pipeline with the ground-truth box replaced by the actual obstacle location. Measure whether the route verification would have rejected the executed path. If a significant fraction (>5%) of false-negative cases lead to collision, then the safety claim is weakened.

from the skeptic's reading

How the review went

4 readings by deepseek-v4-flash · 20 Sep 2026

  1. Reader holds up confidence high
  2. Skeptic partly agrees: says it holds up only with conditions 25 s · 15,260 tokens read, 2,618 written Safety improvement depends on obstacle-avoidance routes verified against SAM-3 bounding boxes, but false-negative segmentation (missed obstacle) would cause the verification to pass through the actual obstacle, invalidating the claimed safety mechanism.
  3. Editor wrote the verdict above 12 s · 16,021 tokens read, 1,100 written
  4. Referee major revision: 2 major objections, 5 minor 1 min 59 s · 15,706 tokens read, 14,164 written

Not run on this paper: the simulated authors' defence.

Pith did not check this review's objections against the paper.

The review in full

The review in brief, machine-written

The paper does what the title says: it builds two harnesses—route verification and contact-side selection—around a coding agent and shows on SafeLIBERO that collision avoidance jumps from 60% to 87.5% while task success also improves. That is a real result. The method is cleanly motivated (decompose safety into route and contact phases), the ablation isolates harness effect from model scale, and the limitations section is unusually honest for a paper at this stage. Credit where due.

The stress-test note about SAM-3 false negatives is correct in principle: if the segmentation model misses the obstacle entirely, the route verifier has no box to check against, and the claimed safety guarantee evaporates. The paper's assertion that 'grounding failure surfaces as a rejected route rather than a collision' only covers false positives, not false negatives. This is a genuine gap in the analysis. That said, it is a minor one. SafeLIBERO scenes contain a single, clearly visible obstacle from a handful of categories; SAM-3's false-negative rate on such scenes is likely low, and the paper could easily add that number. The central contribution—verifying plans against grounded boxes—still stands as long as the segmentation is reasonably accurate. I would not call this a load-bearing flaw; it is a missing sensitivity analysis.

The other limits (simulation-only, one obstacle per scene, parallel-jaw gripper) are all openly stated and proportionate to what a first paper on this topic should deliver.

For a reader: this is the first paper to treat safety explicitly in coding agents for manipulation, and the harness design is portable. It deserves a serious referee. I would accept with a request to report SAM-3 false-negative rates on the benchmark, or at minimum to discuss the asymmetric risk explicitly.

The strongest objection

The paper asserts that grounding failure surfaces as a rejected route rather than a collision, because verification runs on the grounded boxes. This is only true if the failure is a false positive (box larger than obstacle). If SAM-3 misses the obstacle entirely (false negative), there is no box to reject against, and the route verification passes through the true obstacle, leading to a collision. The paper provides no analysis of SAM-3 false-negative rates on SafeLIBERO scenes, nor does it report how many SafeLIBERO episodes involved such failures. Without this analysis, the safety improvement could be an artifact of the specific segmentation model's false-positive bias rather than a fundamental property of the harness. The concern is load-bearing because the entire route-verification safety filter collapses when the obstacle is not detected.

The reader's verdict was ACCEPT with high confidence, noting the segmentation dependency as a limitation but considering the remaining evidence strong. My stress-test identifies that the limitation is more severe than acknowledged: the paper's own statement that 'grounding failure surfaces as a rejected route rather than a collision' is incomplete—it only covers false positives, not false negatives. In robot manipulation, false negatives are a known failure mode of segmentation models. The paper provides no evidence that SAM-3's false-negative rate on SafeLIBERO is negligible. Without that evidence, the 87.5% CAR may be an overestimate of what the harness can guarantee under realistic segmentation imperfections. The concrete test would settle whether this concern lands. If false negatives are rare (<1%), the original verdict stands; if they are common, the claim needs qualification. I recommend conditional acceptance with a requirement to provide segmentation robustness analysis or a tighter verification method that does not depend on perfect detection.

The referee's report

The empirical claim is well designed and, if it holds, useful: the paper identifies a concrete failure mode of coding agents—prompt-level safety constraints do not survive into route and contact decisions—and shows that an external plan–verify–execute mechanism plus contact-side selection improves both task success and collision avoidance without modifying the frozen VLA or the language model. The ablation is a clear strength: it fixes scenes, prompts, skill memory, and the VLA, and varies only the harness, while crossing two language-model backbones. The geometric verifier is external to the language model, so circularity is not a concern. The main limitations are that the evaluation is simulation-only and that the safety mechanism inherits all errors of the SAM-3 grounding; the reported CAR is an empirical rate, not a guarantee. Modulo the corrections below, the paper is a solid contribution to safe coding-agent manipulation.

Pith's reading of the paper (a machine's summary, not the authors')

This paper argues that coding agents for robot manipulation fail to obey safety constraints not because of poor perception or instruction, but because the planning process treats task completion as the sole objective and the safety constraint as a secondary suggestion. By decomposing manipulation into a route phase and a contact-rich phase, the authors identify that a coding agent lacks both the ability to plan a path that clears an obstacle and the ability to replan when a chosen path becomes infeasible. To close this gap, they propose SafeHarness, two obstacle-aware harnesses that externalize safety verification to tools the agent calls, so that a route is planned, verified, and replanned before execution, and a contact position is chosen to avoid adjacent obstacles. On the SafeLIBERO benchmark, SafeHarness with a GPT-6 backbone achieves 71.9% task success and 87.5% collision avoidance, roughly 2.3x and 1.5x the same agent without harnesses, demonstrating that safety can be treated as a first-class objective in the coding-agent paradigm without changing the underlying policy.

What carries the argument. SafeHarness consists of two obstacle-aware harnesses. The first, obstacle-aware route planning, uses a segmentation model (SAM-3) to ground the obstacle as a bounding box, asks the language model to propose a polyline of waypoints from the current gripper pose to the target, verifies that the waypoints and the gripper geometry do not intersect the obstacle box, and replans if verification fails. The second, obstacle-aware contact execution, tests whether the obstacle is adjacent to the contact target; if it is, the harness selects a contact approach from a direction that maximizes clearance, orients the gripper to avoid lateral motion toward the obstacle, and lowers vertically. Both harnesses run once per phase of a manipulation task and are stateless with respect to the model's context window, so the safety constraint is enforced at decision time rather than relying on the model's memory of an early instruction.

Core claim. The paper discovers that the failure of coding agents to avoid obstacles is not a perception or instruction problem, but a planning problem: a language-model planner states the safety constraint early in its reasoning trace but then optimizes solely for task completion as the trace grows long, effectively forgetting the constraint. The root cause is that a constraint given as a sentence in a prompt degrades in reliability as the context window fills with observations and tool calls. SafeHarness addresses this by replacing the prompt-based constraint with two external, stateless verification tools: one that plans a route as a sequence of waypoints, checks each candidate against the obstacle bounding box, and replans if the route intersects the box; and another that tests whether an obstacle is adjacent to each contact target and selects a contact direction that maintains clearance. These tools re-apply the constraint at the moment it matters, independent of the conversation history, and raise both task success and collision avoidance simultaneously, whereas previous safety layers traded one for the other.

The premise it rests on. The route verification checks against bounding boxes produced by a segmentation model; if the model fails to detect an obstacle or misestimates its extent, a verified route could still collide with the actual obstacle, and the paper's claim that such failures surface as rejected routes rather than collisions holds only if segmentation never misses an obstacle entirely.

If the paper is right (Pith's inferences, not the authors')

Coding agents for robot manipulation can achieve high safety without robot-specific training or modification of the underlying VLA policy, making the paradigm more attractive for real-world deployment.

The plan-verify-replan cycle of SafeHarness can be generalized to other constraints (force limits, workspace boundaries) where a verifiable property can be checked externally before execution.

The decomposition of manipulation into route and contact phases provides a template for integrating safety checks into long-horizon tasks: each phase runs the harness independently, so safety is maintained across sub-goals.

Benchmark results on SafeLIBERO suggest that future work on safe manipulation should measure both task success and collision avoidance separately, as the two can move in opposite directions without explicit safety engineering.

The finding that safety degrades in long contexts supports the design principle that constraints should be enforced by external tools rather than by language-model prompts for any embodied agent operating over many steps.

Because SafeHarness uses bounding boxes from a segmentation model, its safety guarantee depends on the segmentation quality. A missed obstacle could lead to an undetected collision risk. The paper acknowledges this but tests only in simulation; real-world sensor noise and occlusion would stress this assumption further.

The harness approach is computationally expensive (minutes per episode), but this cost is amortizable if verified routes are cached as reusable skills, which the authors mention as future work. This suggests a path toward practical deployment where common safe trajectories are learned over time.

The paper implies that the coding-agent paradigm, because it separates planning from execution, naturally admits external safety checks that are harder to insert into end-to-end trained policies. This structural advantage may make coding agents the safer choice for manipulation tasks where constraints are known in advance.

The two-level failure analysis (route vs. contact) could be applied to other safety-critical problems in robotics, such as navigation or assembly, where obstacles threaten either the path or the interaction point.

Check this review

Pith stored no record of this review's passes and took no fingerprint of it. Reviews made by code from 13 Nov 2026 on carry both.

How often reviews like this one are right

Reviews like this one: written by deepseek-v4-flash, where what was read was not recorded.

How often objections from reviews like this one are right: not yet measured

Every value above, in the review's public record (JSON)

Reviews by people

This review was written by a machine. No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.

Request a human review

How Pith checks papers · The full audit of this paper

The paper

Abstract

Coding agents have emerged as a promising paradigm for robot manipulation: a language model writes the robot controller as a program, and agents built in this way now operate robots without robot-specific training. Whether this paradigm is also safe, however, has not been asked. We evaluate coding agents under a safety constraint, where each task pairs a manipulation goal with an obstacle the robot must not touch. The agent pursues the goal but collides with the obstacle in most cases, treating task completion as its sole objective. The agent reasons about the obstacle in its traces, and the prompt already forbids touching it, so neither perception nor instruction is at fault; the fault lies in the planning, where the stated constraint never becomes a priority. By decomposing manipulation into a route phase and a contact-rich moment, we locate the source of the failure. Along the route, the model cannot prioritize the safety constraint, having no notion of a clearing route and none of replanning once a chosen route becomes infeasible. At the contact, it is unaware that contact execution is bounded by the same constraint. To close this gap, we present SafeHarness, which equips the model with two obstacle-aware harnesses. Obstacle-aware route planning grounds the objects as bounding boxes and draws candidate routes over them as sequences of waypoints. The agent then plans a route in advance, verifies it, replans when necessary, and only then executes it. Obstacle-aware contact execution instead selects the contact position so that the contact itself avoids the obstacle. SafeHarness attains 81.2% task success and 91.9% collision avoidance with GPT-6-Astra, surpassing the previous SOTA by 13.7 and 23.0 points, and the same agent without harnesses by 31.2 and 57.5 points, respectively.

The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.

abstract compiled · 2026-09-23

The authors' main claim, as the classifier picked it out 0.73

“SafeHarness attains 71.9% task success and 87.5% collision avoidance, surpassing the previous SOTA by 6.5% and 27.0%, respectively.”

How the main claim is stated: asserted 1.00

What the abstract itself states, as probabilities: claims first 0.16 · states limitation 0.17 · human participants 0.03 · controlled comparison 0.95 · randomized assignment 0.02 · states quantitative result 0.99 · compares with prior results 0.98 · mentions code or data availability 0.03

The abstract, sentence by sentence

This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.

SentenceRoleThe authors' own workStates the main conclusionStrength
Coding agents have emerged as a promising paradigm for robot manipulation: a language model writes the robot controller as a program, and agents built in this way now operate robots without robot-specific training.Whether this paradigm is also safe, however, has not been asked. background 0.59 0.05 0.03 asserted 0.84
We evaluate coding agent under a safety constraint, where each task pairs a manipulation goal with an obstacle the robot must not touch. method 0.77 0.91 0.03 asserted 0.97
The agent pursues the goal but collides with the obstacle in most cases, treating task completion as its sole objective while neglecting safety. result 0.98 0.84 0.08 asserted 1.00
The agent reasons about the obstacle in its traces, and the prompt already forbids touching it, so neither perception nor instruction is at fault; the fault lies in the planning, where the stated constraint never becomes a priority. interpretation 0.89 0.85 0.14 asserted 1.00
By decomposing manipulation into a route phase and a contact-rich moment, we locate the source of the failure. method 0.52 0.92 0.05 asserted 1.00
Along the route, the model cannot prioritize the safety constraint, having no notion of a clearing route and none of replanning once a chosen route becomes infeasible. interpretation 0.58 0.82 0.05 asserted 1.00
At the contact, it is unaware that contact execution is bounded by the same constraint. gap 0.52 0.79 0.03 asserted 1.00
To close this gap, we present SafeHarness, which equips the model with two obstacle-aware harnesses that enable it to prioritize the safety constraint. contribution 0.99 0.93 0.31 asserted 1.00
Obstacle-aware route planning grounds the objects as bounding boxes and draws candidate routes over them as sequences of waypoints. method 0.97 0.83 0.04 asserted 1.00
The agent then plans a route in advance, verifies it, replans when necessary, and only then executes it. method 0.99 0.70 0.07 asserted 1.00
Obstacle-aware contact execution instead selects the contact position so that the contact itself avoids the obstacle. method 0.94 0.86 0.06 asserted 1.00
SafeHarness attains 71.9% task success and 87.5% collision avoidance, surpassing the previous SOTA by 6.5% and 27.0%, respectively. result 1.00 0.95 0.62 asserted 1.00
These results are $2.3\times$ and $1.5\times$ those of the same agent without harnesses. result 1.00 0.94 0.22 asserted 1.00

What kind of paper the classifier reports this is: method or tool 1.00 · evidence from observation or experiment 0.94

What was examined, and what was not

Sources read

  • arXiv listing abstract v1

Not examined

  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers

Levels run

  • P abstract

Not run

  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

How the labels were made

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 9,619 input tokens.

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON

Figures (3)
Figure 1 of the paper
Figure 1. SAFEHARNESS puts safety on par with task completion. Coding agent receives a task instruction with a safety constraint, along with observation images. SAFEHARNESS then equips it with obstacle-aware route planning (Sec. 3.2) and obstacle-aware contact execution (Sec. 3.3) to enforce safety throughout the task. demonstrations lowers its collision rate by under three points [10]. Completing the task and touching nothing else are two halves of one requirement. To solve this problem, we first evaluate the coding agent on robot safety benchmark. Upon eval￾uation, we observe that coding…
Figure 2 of the paper
Figure 2. SAFEHARNESS overview. The task is cut at its contact events into phases, and both components run once per phase. ❶ Obstacle-aware route planning: the scene is grounded as boxes, the route of the current phase is planned, verified against the obstacle, and only then executed, with a failed verification or a halt during execution sending the loop back to planning. ❷ Obstacle-aware contact execution: the contact target is tested for an adjacent obstacle, and the contact is made from the far side whenever one is found. held, the object as well. A candidate that intrudes into the box is…
Figure 3 of the paper
Figure 3. Successful SAFEHARNESS rollout vs. failure without it on SafeLIBERO. The task is to place the orange juice in the basket without hitting the wine bottle. Without SAFEHARNESS (top row), hits the obstacle en route to the grasp; with SAFEHARNESS (bottom rows), the agent detours around it and finishes collision-free. Panel frames: yellow = route planning (bounding boxes and waypoints), black = verified-route execution, purple = contact-rich moments. 4.4 QUALITATIVE ANALYSIS

Figures are the authors', reproduced from the paper.

Cited by 6 Pith papers

Challenges and discussion

Disagree with the review, or know something it missed? Leave a comment, or challenge this review formally: a challenge becomes a permanent entry in this paper's record, and its decision is published here.

No comments yet.

Sign in to comment