MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

FunctionTestRequestAccountingKeepsSubscriptionEquivalentSeparate
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:134
FunctionTestRequestAccountingNormalizesEquivalentJSONRepresentations
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:102
FunctionTestRequestAccountingPreservesOverheadAndZero
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:77
FunctionTestRequestContextCancelsWithParent
(t *testing.T)
browse/cdp_test.go:35
FunctionTestRequestEvidenceFromHeadersValidatesContentBlindJoin
(t *testing.T)
proxy/internal/gateway/agent_evidence_test.go:9
FunctionTestRequestFromEachShape
(t *testing.T)
proxy/internal/cloudlink/route_effort_test.go:20
FunctionTestRequestOriginsCountNoWarm
(t *testing.T)
proxy/internal/store/cache_warm_stats_test.go:67
FunctionTestRequestQuotaIsPerPrincipal
(t *testing.T)
proxy/internal/middleware/protocol_v11_test.go:635
FunctionTestRequestViewsLeaveWarmsOut
(t *testing.T)
proxy/internal/store/cache_warm_stats_test.go:109
FunctionTestRequiredFieldsCannotBecomeImplicitZeroValues
(t *testing.T)
proxy/internal/middleware/runtime_test.go:231
FunctionTestRereadFloorExcludesFirstReadAndNormalizesOnePath
(t *testing.T)
proxy/internal/store/detect_reread_test.go:8
FunctionTestResetAfterTheAnswerIsNoError
A reset after the answer's terminal event changes nothing, in every direction and the relay: the answer ends as it would have, with no error, whether
proxy/internal/translate/wire_gaps_test.go:1161
FunctionTestResidualRiskDoesNotFlagImpossibleOrLongerDigitRuns
The flag must not fire on shapes that are structurally impossible as a US government id, or on digit runs that are plainly something else. Otherwise t
shared/platform/redact/residual_test.go:40
FunctionTestResidualRiskDoesNotFlagNumericFieldsNamedLikeCredentials
Widening the keyword-to-delimiter gap made every numeric field whose NAME contains a keyword look like a credential assignment, and LLM traffic is mad
shared/platform/redact/residual_test.go:388
FunctionTestResidualRiskDoesNotFlagOrdinaryLongStrings
Ordinary prose, code, and structured agent traffic must not trip the entropy flag — long identifiers made of one case class or with low symbol diversi
shared/platform/redact/residual_test.go:100
FunctionTestResidualRiskDoesNotFlagUUIDs
UUIDs are everywhere in agent traffic — trace ids, tool-call ids, row keys — and they are long, digit-rich and high-diversity. Flagging them would dro
shared/platform/redact/residual_test.go:86
FunctionTestResidualRiskDoesNotTrustEmbeddedPlaceholderText
The screen used to strip `[REDACTED:…]`-shaped text before scanning. The body is customer bytes: anyone who can put text in a prompt can write that sh
shared/platform/redact/residual_test.go:303
FunctionTestResidualRiskFlagsCredentialsInTheirNaturalForm
--- Boundary-screen bypasses closed 2026-07-31 ----------------------------- Credentials do not arrive naked. They arrive assigned to a name, quoted i
shared/platform/redact/residual_test.go:224
FunctionTestResidualRiskFlagsEveryEntryInADigitList
governmentIDShape CONSUMES the non-digit on the number's right, and FindAllSubmatch resumes at the end of the whole match — so in a list of numbers ev
shared/platform/redact/residual_test.go:276
FunctionTestResidualRiskFlagsHighEntropyTokens
A long, high-entropy token that matches no known credential prefix is the other residual risk: the built-in floor catches sk-, AKIA, PEM blocks and la
shared/platform/redact/residual_test.go:69
FunctionTestResidualRiskFlagsKnownCredentialPrefixes
A vendor-published prefix is proof of what the token is, so it overrides the entropy heuristics rather than being scored by them. Slack's xoxb- tokens
shared/platform/redact/residual_test.go:248
FunctionTestResidualRiskFlagsMostRandomBase64
base64 of random or compressed bytes is named in the gate text as a drop driver. It is probabilistic — the digit-density test is on the encoded output
shared/platform/redact/residual_test.go:193
FunctionTestResidualRiskFlagsSecretsWithOneInteriorSeparator
Splitting a welded run closed the labelled-credential bypass and opened its mirror image: a 32-63 char secret carrying ONE interior separator has both
shared/platform/redact/residual_test.go:412
FunctionTestResidualRiskFlagsShapesTheCorpusGateNames
The corpus builder's package doc gates enabling CAVE_CORPUS_BUILD_ENABLED on measuring the drop rate first, and it NAMES the shapes that drive it. Tho
shared/platform/redact/residual_test.go:161
FunctionTestResidualRiskFlagsUnlabelledGovernmentIDShapes
The bare 9-digit rule in Payload is LABEL-ONLY on purpose: in JSON agent traffic an unlabelled 9-digit run is far more often a timestamp, an order id
shared/platform/redact/residual_test.go:21
FunctionTestResidualRiskIgnoresItsOwnPlaceholders
A body that has already been through Payload must not be flagged for the placeholders Payload itself wrote — otherwise every successfully redacted rec
shared/platform/redact/residual_test.go:122
FunctionTestResidualRiskIsDeterministicAndDeduplicated
Findings are deterministic and de-duplicated: the same body always produces the same flags in the same order, so a manifest tally is reproducible.
shared/platform/redact/residual_test.go:134
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
← previousnext →10,501–10,600 of 12,853, ranked by callers