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

Function onlyNonSubstantive

internal/ctx/ctx.go:300–311  ·  view source on GitHub ↗

onlyNonSubstantive reports whether kept carries no substantive conversation: only system-role notes (soft nudges) and empty assistant messages (no text, no tool calls - the stall shape the empty-reply nudge answers, appended right before that nudge). Vacuously true for an empty slice.

(kept []Message)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

PackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected