MCPcopy Create free account
hub / github.com/codehamr/codehamr / recordToolOutcome

Method recordToolOutcome

internal/tui/model.go:1146–1161  ·  view source on GitHub ↗

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 from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

updateMethod · 0.95
recordAndNudgeMethod · 0.95

Calls 2

toolResultFailedFunction · 0.85
dbgWritefFunction · 0.85

Tested by 1

recordAndNudgeMethod · 0.76