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

Function TestPackDemotesSystemNudgeToUser

internal/ctx/ctx_test.go:547–563  ·  view source on GitHub ↗

TestPackDemotesSystemNudgeToUser: the four soft-nudge backstops append a system-role note to history. buildMessages prepends the embedded system prompt as wire element 0, so any system message Pack returns reaches the wire as a SECOND, non-leading system message, which strict OpenAI-compat backends

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

PackFunction · 0.85

Tested by

no test coverage detected