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

Method maybeFailureNudge

internal/tui/model.go:1167–1179  ·  view source on GitHub ↗

maybeFailureNudge appends one system-role note once the same target has failed maxToolFailStreak times running, then resets the streak so it fires at most once per run of failures. A nudge, not a yield: the model stays in control and decides whether to pivot or stop and tell the user.

()

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 1

dbgWritefFunction · 0.85

Tested by 1

recordAndNudgeMethod · 0.76