{"id":"fe24dcf6-cf9e-4e07-a469-0356d678560c","arxiv_id":"2609.20822","paper_version":1,"verdict":"ACCEPT","confidence":"HIGH","novelty_score":7.0,"correctness_risk":"low","formal_verification":"none","parameter_count":0,"one_line_summary":"SafeHarness equips coding agents with obstacle-aware route planning and contact execution, achieving 87.5% collision avoidance (27% over prior art) on the SafeLIBERO benchmark.","lead":"This paper studies whether coding agents, which use language models to write robot controllers, can be made safe when an obstacle must be avoided. It introduces SafeHarness, two obstacle-aware modules that plan collision-free routes and choose safe contact positions, and shows on 32 manipulation tasks that the approach raises collision avoidance from 60% to 87.5% while also improving task success.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"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.","rationale":"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.","tokens_in":15260,"tokens_out":2618,"duration_ms":24543,"concrete_test":"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.","verdict_should_be":"CONDITIONAL","load_bearing_attack":"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.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper studies whether coding agents for robot manipulation can satisfy an explicit safety constraint while completing a task. The authors first show that a coding agent built on GPT-5.5 or GPT-6 with a Harness VLA-style loop completes SafeLIBERO tasks but collides with a benchmark obstacle in a majority of episodes, even though the obstacle is grounded and named in the prompt. They decompose every manipulation phase into a free-space route and a contact-rich terminal motion, and propose SAFEHARNESS with two components: obstacle-aware route planning (ground objects as bounding boxes with SAM-3, plan waypoints, verify the polyline against the obstacle box, and replan on verification failure or execution halt) and obstacle-aware contact execution (an adjacency test that selects the contact side or a tangent gripper orientation to preserve clearance). On SafeLIBERO (32 tasks, 10 seeds each, 320 episodes), SAFEHARNESS with GPT-6 reaches 71.9% task success and 87.5% collision avoidance, against 31.0% and 59.0% for the same agent without the harness and 67.5% and 68.9% for AEGIS. Cross-planner ablations support the claim that the gains come from the harness rather than from model scale.","tokens_in":15706,"tokens_out":14164,"duration_ms":118668,"significance":"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.","major_comments":[{"comment":"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. 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.","section":"§1 contribution bullet and Limitations (p. 9)"},{"comment":"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. 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.","section":"Abstract, §1, and Figure 1 vs. Table 1"}],"minor_comments":[{"comment":"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.","section":"Table 1"},{"comment":"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.","section":"Table 2"},{"comment":"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.","section":"Figure 1"},{"comment":"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.","section":"§4.3"},{"comment":"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.","section":"§4.1"}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"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.\n\nThe 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.\n\nThe 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.\n\nFor 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.","headline":"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.","tokens_in":16021,"tokens_out":1100,"duration_ms":11670},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"A safety harness for coding agents raises collision avoidance from 60% to 87.5% on a manipulation benchmark while also improving task success by 2.3x.","keywords":["safe robot manipulation","coding agent","obstacle avoidance","harness VLA","large language model","route planning","contact execution","SafeLIBERO"],"falsifier":"Run SafeHarness on SafeLIBERO scenes where the segmentation model is deliberately perturbed (e.g., shift an obstacle's bounding box by 5 cm) and measure whether the collision-avoidance rate drops significantly. If collisions increase, the assumption that grounding errors are benign (leading only to rejection) is falsified.","tokens_in":16885,"feed_emoji":"🤖","tokens_out":2858,"duration_ms":27523,"temperature":0.7,"pith_summary":"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.","feed_headline":"SafeHarness lifts safe manipulation by 1.5x over same agent","feed_subtitle":"Two external tools, route verification and contact-side selection, raise collision avoidance from 60% to 87.5% on SafeLIBERO.","key_machinery":"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_discovery":"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.","pith_inferences":["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."],"forward_implications":["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."],"supporting_citations":[{"why":"Provides the SafeLIBERO benchmark used for evaluation, which adds a single obstacle to LIBERO tasks and scores collision avoidance as well as task success.","marker":"[15]"},{"why":"Defines the base coding-agent loop (Harness VLA) that SafeHarness builds on, including the skill memory and the frozen VLA call.","marker":"[50]"},{"why":"Supplies the GPT-6 language model backbone used in the main experiments, which writes the controller code without robot-specific training.","marker":"[34]"},{"why":"SAM-3 segmentation model grounds objects as bounding boxes, which is the sole perceptual input for obstacle verification.","marker":"[7]"},{"why":"π0.5 frozen VLA invoked by the coding agent for contact-rich manipulation; SafeHarness wraps this same checkpoint unchanged.","marker":"[19]"},{"why":"OpenVLA-OFT is one of the VLA baselines compared in the evaluation; the paper shows SafeHarness outperforms it on both TSR and CAR.","marker":"[23]"},{"why":"Code as Policies introduces the coding-agent paradigm for robot manipulation, which SafeHarness extends by adding safety harnesses.","marker":"[27]"}],"fun_headline_variants":["Coding agents crash into obstacles because constraints fade in long traces","SafeHarness turns safety from a prompt sentence into a verified constraint","Obstacle-aware waypoints and contact checks raise coding-agent safety","Route verification plus contact-side selection make robot safety stick","No perception fix needed: coding agents fail at planning under constraints"],"cache_read_input_tokens":0,"weakest_assumption_plain":"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.","fun_headline_variants_meta":{"raw":{"variants":["Coding agents crash into obstacles because constraints fade in long traces","SafeHarness turns safety from a prompt sentence into a verified constraint","Obstacle-aware waypoints and contact checks raise coding-agent safety","Route verification plus contact-side selection make robot safety stick","No perception fix needed: coding agents fail at planning under constraints"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000871,"raw_usage":{"cost":0.0008715,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0008715,"upstream_inference_prompt_cost":0.00017934,"upstream_inference_completions_cost":0.00069216},"total_tokens":3753,"prompt_tokens":1281,"completion_tokens":2472,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":2400}},"tokens_in":1281,"tokens_out":2472,"cost_source":"openrouter_usage","duration_ms":19097,"image_pages":[],"temperature":1.0,"reasoning_tokens":2400,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-09-20T03:22:11.584089+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Run SafeHarness on SafeLIBERO scenes where the segmentation model is deliberately perturbed (e.g., shift an obstacle's bounding box by 5 cm) and measure whether the collision-avoidance rate drops significantly. If collisions increase, the assumption that grounding errors are benign (leading only to rejection) is falsified.","supporting_citations":[{"cited_title":"VLSA: Vision-Language-Action Models with Plug-and-Play Safety Constraint Layer","cited_arxiv_id":"2512.11891","evidence_quote":"Provides the SafeLIBERO benchmark used for evaluation, which adds a single obstacle to LIBERO tasks and scores collision avoidance as well as task success."},{"cited_title":"Harness VLA: Steering Frozen VLAs into Reliable Manipulation Primitives via Memory-Guided Agents","cited_arxiv_id":"2607.08448","evidence_quote":"Defines the base coding-agent loop (Harness VLA) that SafeHarness builds on, including the skill memory and the frozen VLA call."},{"cited_title":"GPT-6 Astra: A new generation of intelligence, 2026","cited_arxiv_id":null,"evidence_quote":"Supplies the GPT-6 language model backbone used in the main experiments, which writes the controller code without robot-specific training."},{"cited_title":"SAM 3: Segment anything with concepts","cited_arxiv_id":null,"evidence_quote":"SAM-3 segmentation model grounds objects as bounding boxes, which is the sole perceptual input for obstacle verification."},{"cited_title":"$\\pi_{0.5}$: a Vision-Language-Action Model with Open-World Generalization","cited_arxiv_id":"2504.16054","evidence_quote":"π0.5 frozen VLA invoked by the coding agent for contact-rich manipulation; SafeHarness wraps this same checkpoint unchanged."},{"cited_title":"Fine-Tuning Vision-Language-Action Models: Optimizing Speed and Success","cited_arxiv_id":"2502.19645","evidence_quote":"OpenVLA-OFT is one of the VLA baselines compared in the evaluation; the paper shows SafeHarness outperforms it on both TSR and CAR."},{"cited_title":"Code as Policies: Language Model Programs for Embodied Control","cited_arxiv_id":"2209.07753","evidence_quote":"Code as Policies introduces the coding-agent paradigm for robot manipulation, which SafeHarness extends by adding safety harnesses."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}