mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-21 01:51:39 -06:00
3ab27a2900
The gateway-routed path already mapped terminal run status to an exit code, but the local embedded path did not, so a failed turn exited 0 while its own JSON envelope reported status "error". Route both through the canonical agent-run terminal outcome, and fail closed on an unrecognized status since the gateway response carries an open string.