You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: work around Harbor shlex.quote bug for OpenHands task instructions
Harbor's OpenHands agent uses shlex.quote() to escape the --task argument,
but this breaks when instructions contain single quotes, backticks, or other
shell metacharacters — causing bash syntax errors and 0% agent execution.
Fix: base64-encode the instruction on the host, decode it to a file inside
the container, then read it back with $(cat ...) for the --task argument.
Base64 output is shell-safe (alphanumeric + /+=).
This affected 491/550 OpenHands tasks in the overnight run (all scored 0.0
because the agent command never executed).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments