98f1b2dccc
Run 9's planner wrote a dead end as "tried X -> failed because Y". The content was exactly what the protocol asks for. The parser split on "→" only, refused the handoff, and a refused handoff fails the release rather than the turn, so the lease expired with the work intact and unrecorded. Accept either arrow. A separator is not the thing being validated. The prefix stripping was also wrong on the right-hand side: it trimmed "failed because " from an untrimmed string that started with a space, so every parsed dead end kept the literal prefix in why_failed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVbaKucEYBjMqVeUgJUsc1