MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

FunctionTestResidualRiskPlaceholdersClearTheScreenOnTheirMerits
Removing the strip is only safe because Payload's own placeholders clear the screen on their merits: they are short, single-case, digit-free and carry
shared/platform/redact/residual_test.go:315
FunctionTestResidualRiskSeesThroughJSONEscapes
A body that arrived as a JSON string literal can spell its secrets in \u escapes: the bytes on the wire are not the bytes the model reads, and every p
shared/platform/redact/residual_test.go:337
FunctionTestResidualRiskSplitsRatherThanExemptingSeparatedRuns
The old rule exempted any candidate run carrying more than two `/`, `_` or `-` characters, on the theory that separators mean "identifier". A secret t
shared/platform/redact/residual_test.go:378
FunctionTestResolveDensity
TestResolveDensity pins the level × model resolution table, including the fail-closed directions: unknown model → conservative + std tier regardless o
engine/pixel/density_test.go:14
FunctionTestResolveDensityDrawTiers
The density profile the live zone renders at must be tier-correct: a hi-res reader draws the hi-res canvas at balanced, an unrecognised reader fails c
proxy/internal/gateway/pixel_density_test.go:61
FunctionTestResolveDensityNeverBelowFloor
TestResolveDensityNeverBelowFloor is an invariant guard: no level × recognised model may resolve to a stall-envelope geometry.
engine/pixel/density_test.go:144
FunctionTestResolveUpstreamURLKeepsEncodedSlashInARN
An inference-profile or provisioned-model ARN names the model with a "/" in it. A client sends that slash percent-encoded, because it is part of one p
proxy/providers/bedrock/bedrock_test.go:493
FunctionTestResolveUpstreamURL_ClaudeRawPredict
(t *testing.T)
proxy/providers/vertex/vertex_test.go:70
FunctionTestResolveUpstreamURL_MantleIsOptInAndUsesOfficialHost
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:109
FunctionTestResolveUpstreamURL_ProductionPreflightSkipsDNSWhenProxied
#1001: on a proxy-only corporate network the process has no outbound DNS, so the production pre-flight's resolve fails before the upstream proxy is ev
proxy/providers/bedrock/proxy_preflight_test.go:18
FunctionTestResolveUpstreamURL_ProductionPreflightSkipsDNSWhenProxied
#1001: same shape as the Bedrock case — a proxy-only network has no outbound DNS, and resolving the aiplatform host here failed the request before the
proxy/providers/vertex/proxy_preflight_test.go:18
FunctionTestResolveUpstreamURL_RejectsConfiguredEndpointKindMismatch
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:131
FunctionTestResolveUpstreamURL_RejectsMalformedPath
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:102
FunctionTestResolveUpstreamURL_RejectsMalformedPath
(t *testing.T)
proxy/providers/vertex/vertex_test.go:104
FunctionTestResolveUpstreamURL_RejectsRegionHostMismatch
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:95
FunctionTestResolveUpstreamURL_RejectsUnknownAction
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:81
FunctionTestResolveUpstreamURL_RejectsUnknownMethod
(t *testing.T)
proxy/providers/vertex/vertex_test.go:97
FunctionTestResolveUpstreamURL_RejectsUnknownModel
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:74
FunctionTestResolveUpstreamURL_RejectsUnknownModel
(t *testing.T)
proxy/providers/vertex/vertex_test.go:89
FunctionTestResolveUpstreamURL_RejectsUnknownPublisher
(t *testing.T)
proxy/providers/vertex/vertex_test.go:82
FunctionTestResolveUpstreamURL_RejectsUnknownRegion
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:88
FunctionTestResolveUpstreamURL_StripsBedrockPrefix
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:62
FunctionTestResolveUpstreamURL_StripsVertexPrefixAndKeepsQuery
(t *testing.T)
proxy/providers/vertex/vertex_test.go:57
FunctionTestResponsesAnswerAssembledForANonStreamingCaller
(t *testing.T)
proxy/internal/translate/messages_responses_test.go:201
FunctionTestResponsesAnswerToChatCaller
A chat caller's answer from a Responses host, streamed and assembled; the encrypted reasoning comes back tagged with the route.
proxy/internal/translate/wire_gaps_test.go:427
FunctionTestResponsesCallerStops
--- 6. a Responses caller's refusal and max-tokens stops -----------------------------
proxy/internal/translate/wire_gaps_test.go:265
FunctionTestResponsesClaudeThinkingTravelsInEncryptedContent
(t *testing.T)
proxy/internal/translate/responses_test.go:121
FunctionTestResponsesConfigurationUpdateKeepsThePrefix
GPT-6 per-message effort: a configuration_update before the newest user input, the top-level effort left alone, marks replayed byte for byte, a later
proxy/internal/gateway/route_effort_responses_test.go:85
FunctionTestResponsesContentFilterIsARefusal
(t *testing.T)
proxy/internal/translate/review_regressions_test.go:95
FunctionTestResponsesEffortOnMessages
(t *testing.T)
proxy/internal/translate/responses_test.go:207
FunctionTestResponsesFailureCodes
Overflow wording: a prompt over the window is an overflow (the harness compacts); a completion that does not fit is not.
proxy/internal/translate/responses_test.go:282
FunctionTestResponsesFreshThread
A fresh thread takes the routed effort top-level when the request sets one (nothing to cache yet); one that sets none gets an update before its first
proxy/internal/gateway/route_effort_responses_test.go:134
FunctionTestResponsesHostReasoningIsRouteTagged
Another Responses host's encrypted reasoning goes back to that host only.
proxy/internal/translate/review_regressions_test.go:63
FunctionTestResponsesMessagesHostNamespace
A non-Anthropic Messages host's thinking is namespaced on the way to the caller and comes back (in encrypted_content) to that host only.
proxy/internal/translate/responses_test.go:182
FunctionTestResponsesNativeRelay
(t *testing.T)
proxy/internal/translate/responses_test.go:508
FunctionTestResponsesNativeRequest
--- Responses -> Responses ---------------------------------------------------
proxy/internal/translate/responses_test.go:478
FunctionTestResponsesOrdinaryOutputStaysRewritable
(t *testing.T)
proxy/providers/openai/recovery_exempt_test.go:75
FunctionTestResponsesReasoningRoundTrip
The reasoning a Responses host wrote goes back to that host next turn and to no other, Anthropic included.
proxy/internal/translate/messages_responses_test.go:229
FunctionTestResponsesRecoveryOutputIsNotRewritable
(t *testing.T)
proxy/providers/openai/recovery_exempt_test.go:63
FunctionTestResponsesRefusalReachesMessagesCaller
--- 4. a Responses refusal reaches a Messages caller as a refusal ------------------
proxy/internal/translate/wire_gaps_test.go:192
FunctionTestResponsesRefusedUpdateHealsAndLatches
A refused update (a pro model): one retry at top-level effort only, then the session is latched (per_message_off) and the model takes Cloud's effort t
proxy/internal/gateway/route_effort_responses_test.go:164
FunctionTestResponsesRetrieveWireRoundTrip
(t *testing.T)
proxy/internal/gateway/retrieve_tool_test.go:83
FunctionTestResponsesStreamFailures
(t *testing.T)
proxy/internal/translate/responses_test.go:240
FunctionTestResponsesStreamToMessages
(t *testing.T)
proxy/internal/translate/messages_responses_test.go:118
FunctionTestResponsesStreamToMessagesStopsErrorsAndCuts
(t *testing.T)
proxy/internal/translate/messages_responses_test.go:159
FunctionTestResponsesToChatFunctionCalls
--- Responses -> chat -------------------------------------------------------
proxy/internal/translate/responses_test.go:303
FunctionTestResponsesToChatOpenRouterAndParameters
(t *testing.T)
proxy/internal/translate/responses_test.go:464
FunctionTestResponsesToChatReasoningReplay
A chat route's reasoning travels in encrypted_content signed for the route and model, and goes back as reasoning_content to that pair only.
proxy/internal/translate/responses_test.go:417
FunctionTestResponsesToChatToolNamesAndParallelCalls
(t *testing.T)
proxy/internal/translate/responses_test.go:358
FunctionTestResponsesToMessagesCustomToolRoundTrip
(t *testing.T)
proxy/internal/translate/responses_test.go:69
FunctionTestResponsesToMessagesText
--- Responses -> Messages --------------------------------------------------
proxy/internal/translate/responses_test.go:14
FunctionTestResponsesToolImagesFollowTheToolMessages
Parallel tool outputs stay together after their calls on chat; an image an output carries follows the last of them.
proxy/internal/translate/wire_gaps_test.go:591
FunctionTestResponsesUpdateNeverRewritesAnsweredHistory
An effort that first differs mid tool loop never goes back before the user message the model already answered: that history is cached as sent.
proxy/internal/gateway/route_effort_responses_test.go:204
FunctionTestResponsesUpdatesSurviveACloudFailure
Without an effort from Cloud a session with updates keeps them (its history does not change) and goes back to the request's own effort with one more,
proxy/internal/gateway/route_effort_responses_test.go:191
FunctionTestRestoreDeclinesGutterOnRestructuredOutput
A restructuring transform (re-encoded JSON) leaves no line the original numbering describes. Decorating it with numbers would be a confident fiction,
engine/compressors/code_listing_test.go:110
FunctionTestRestoreKeepsOriginalNumbersOnLineElidingOutput
A line-eliding transform keeps the numbers the source actually had, gaps and all. Renumbering 1..n would point the model at the wrong code while looki
engine/compressors/code_listing_test.go:74
FunctionTestRestrictLeavesAPopulatedFolderAndAJunctionAlone
CAVEMAN_HOME pointed at a folder the user keeps other things in, or a junction to one: the owner-only DACL would replace theirs for good, with no copy
proxy/internal/securehome/securehome_windows_test.go:58
FunctionTestRestrictMakesABroadHomeOwnerOnlyAndLeavesItAloneAfter
A home under a drive root inherits "Authenticated Users: Modify" (AU, 0x1301bf), so the credentials inside it were readable by every local account and
proxy/internal/securehome/securehome_windows_test.go:18
FunctionTestResumedHistoryNeverFlips
TestResumedHistoryNeverFlips: a block first seen below the cache floor (a --resume history built without the proxy) went out raw, so raw is its decisi
proxy/internal/gateway/cache_prefix_invariant_test.go:1395
FunctionTestRetentionProbeRejectsEmptyValue
(t *testing.T)
engine/evals/harness_test.go:232
FunctionTestRetentionProbesClassifyVisibleRecoverableAndLost
(t *testing.T)
engine/evals/harness_test.go:186
FunctionTestRetiredOpportunityIDsPreserveHistoricalMutexIdentity
(t *testing.T)
shared/platform/optimizers/optimizers_test.go:55
FunctionTestRetriedDeleteStillReportsLegacyOriginals
GO-6: a protocol 1.0 grant's original lives in CCR, which delete cannot reach; a retried delete, or one after a sweep, must still say so.
proxy/internal/middleware/hardening_test.go:359
FunctionTestRetriedReceiptWithADifferentBodyKeepsTheFirst
A retried receipt is deduplicated on (logical_call_id, attempt_id, event_kind): first write wins, so a changed body is not a retryable conflict the cl
proxy/internal/middleware/hardening_test.go:746
FunctionTestRetrievalUnitsDoNotRepairMalformedJSONRecords
(t *testing.T)
engine/retrieve_query_test.go:10
FunctionTestRetrieveDoesNotFallThroughOnCorruptRecovery
(t *testing.T)
engine/engine_sqlite_test.go:16
FunctionTestRetrieveHandleFormsAllResolve
TestRetrieveHandleFormsAllResolve pins the handle vocabulary. An agent copies whatever it sees in the compressed view, and every form it can see must
mcp/retrieve_integration_test.go:245
FunctionTestRetrieveHasItsOwnQueue
(t *testing.T)
proxy/internal/middleware/protocol_v11_test.go:657
FunctionTestRetrieveLoopLargeResponseFallsBackByteExact
(t *testing.T)
proxy/internal/gateway/compress_test.go:927
FunctionTestRetrieveLoopReadErrorReturnsGatewayFailure
(t *testing.T)
proxy/internal/gateway/compress_test.go:873
FunctionTestRetrieveLoopRejectsHandleOutsideCurrentRequest
(t *testing.T)
proxy/internal/gateway/compress_test.go:900
FunctionTestRetrieveNormalizesMarkerForms
(t *testing.T)
mcp/server_test.go:299
FunctionTestRetrievePayoutExemptFromResultCap
Recovery must NEVER fail closed on size. The CCR store is shared with the gateway, which has no 16 MiB ceiling, so a handle's original can exceed maxR
mcp/server_test.go:739
FunctionTestRetrieveQueryDoesNotChangeAfterManyCalls
(t *testing.T)
mcp/engine_tools_retrieve_test.go:90
FunctionTestRetrieveQueryNarrowsToRelevantSections
TestRetrieveQueryNarrowsToRelevantSections checks query-targeted recovery path: empty query is byte-exact, a query returns only the BM25-relevant sect
engine/engine_test.go:296
FunctionTestRetrieveReportsCorruptRecoveryDistinctly
(t *testing.T)
mcp/engine_tools_retrieve_test.go:127
FunctionTestRetrieveReportsExpiredObjectDistinctly
(t *testing.T)
mcp/engine_tools_retrieve_test.go:152
FunctionTestRetrieveResolvesNativeRuntimeObjectPointers
TestRetrieveResolvesNativeRuntimeObjectPointers is the root-cause pin. The CCR store holds two id spaces. Compression mints blob handles (`ccr_…`); t
mcp/retrieve_integration_test.go:314
FunctionTestRetrieveReturnsRawRowsForInventoryCatalog
TestRetrieveReturnsRawRowsForInventoryCatalog is the inventory-mismatch shape: a JSON catalog whose records compress to a marker.
mcp/retrieve_integration_test.go:115
FunctionTestRetrieveReturnsRawRowsForStockCSV
TestRetrieveReturnsRawRowsForStockCSV is the tabular half of inventory-mismatch.
mcp/retrieve_integration_test.go:193
FunctionTestRetrieveReturnsRawRowsForWebhookEvents
TestRetrieveReturnsRawRowsForWebhookEvents is the webhook-delivery-gaps shape.
mcp/retrieve_integration_test.go:156
FunctionTestRetrieveReturnsValidEmptyTypedObject
(t *testing.T)
engine/engine_test.go:123
FunctionTestRetrieveRewritesPreserveLargeIntegerLiterals
TestRetrieveRewritesPreserveLargeIntegerLiterals pins the gateway siblings of the Bedrock cache-points defect (#1057). Both rewrites in the recovery l
proxy/internal/gateway/retrieve_tool_test.go:207
FunctionTestRetrieveRewritesRejectTrailingBytes
Same guard on the gateway side: switching from json.Unmarshal to a Decoder must not start accepting a document with trailing bytes and silently drop t
proxy/internal/gateway/retrieve_tool_test.go:264
FunctionTestRetrieveToolSchemaValid
(t *testing.T)
proxy/internal/gateway/retrieve_tool_test.go:185
FunctionTestRetrieveUnknownHandleFailsClosed
(t *testing.T)
mcp/server_test.go:287
FunctionTestRetroDiscoveryDeadlineReturnsMeasuredPartialResult
(t *testing.T)
proxy/internal/store/learn_retro_test.go:1006
FunctionTestRetroSessionPathsAreNewestFirst
(t *testing.T)
proxy/internal/store/learn_retro_test.go:1135
FunctionTestRetroStreamFamiliesShareOneResidencyCap
(t *testing.T)
proxy/internal/store/learn_retro_test.go:701
FunctionTestRetryOnBusyCapsTotalBackoff
(t *testing.T)
engine/ccr/retry_busy_test.go:11
FunctionTestRetryOnBusyRetriesAfterSQLiteTimeout
(t *testing.T)
engine/ccr/retry_busy_test.go:56
FunctionTestRetryOnBusyReturnsNonBusyErrorWithoutSleeping
(t *testing.T)
engine/ccr/retry_busy_test.go:39
FunctionTestReusedChoiceNeedsItsTransformInPolicy
(t *testing.T)
proxy/internal/middleware/protocol_v11_test.go:443
FunctionTestReversibleClasses
(t *testing.T)
engine/safety/safety_test.go:49
FunctionTestRevisionTolerantAndTolerantReader
(t *testing.T)
proxy/internal/middleware/protocol_v11_test.go:395
FunctionTestRevokedSessionStaysRevokedUnderANewScopeID
GO-3: a revoked session stays revoked when the same authority comes back under another adapter or serialization revision (a new scope id).
proxy/internal/middleware/hardening_test.go:225
FunctionTestRoleSlots
(t *testing.T)
engine/pixel/render_test.go:325
FunctionTestRootAcceptsOnlyCompleteObjects
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:10
FunctionTestRoundTripStreamTTFB
TestRoundTripStreamTTFB proves the streaming path tees usage from SSE without buffering the client copy: time-to-first-byte is a real positive value b
proxy/internal/gateway/server_test.go:222
FunctionTestRoundUSDBoundaries
(t *testing.T)
shared/platform/cost/cost_contract_test.go:47
← previousnext →10,101–10,200 of 12,391, ranked by callers