recordToolOutcome updates the failure streak from one finished tool result. A success (or a failure of a different target) resets the streak; a same- target failure extends it. lastToolKey was stamped in dispatchNextTool for the call this result belongs to.
(name, content string)
source not stored for this graph (policy: none)