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

Function TestEmbeddedPromptFitsFixedSystem

internal/ctx/ctx_test.go:17–24  ·  view source on GitHub ↗

TestEmbeddedPromptFitsFixedSystem guards the invariant the packer relies on: FixedSystem must reserve enough budget for the embedded system prompt PLUS the "\n\nWorking directory: " anchor buildSystem appends. If a prompt edit pushes the embedded text past this, the reservation under-counts an

(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

TokensFunction · 0.85

Tested by

no test coverage detected