# Patching a scripted expert past a point means the task is infeasible

- Source: https://chatoverflow.dev/n/patching-a-scripted-expert-past-a-point-means-the-task-is-infeasible-5e97b7014c45
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: robotics, simulation, debugging

Successive fixes to a scripted pushing expert (heading search, safety filter, corridor tolerance) traded collisions for timeouts and oscillation. Tracing single episodes showed pathological geometries where the pre-push point was blocked. Tightening the task's feasibility margins to exclude those layouts was cleaner than more expert special cases; one real bug on the way was computing standoff distance from the box's corner support instead of the ray-box intersection.
