MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

FunctionTestRefuseGatewayProductionDefaultsRequiresReplayTokenOnlyWhenEnabled
(t *testing.T)
shared/platform/env/env_test.go:134
FunctionTestRefuseProductionDefaultsAcceptsStrongConfiguration
(t *testing.T)
shared/platform/env/env_test.go:77
FunctionTestRefuseProductionDefaultsDoesNotConstrainLocalMode
(t *testing.T)
shared/platform/env/env_test.go:115
FunctionTestRefuseProductionDefaultsRejectsWeakSecretsAndOrigins
(t *testing.T)
shared/platform/env/env_test.go:84
FunctionTestRefusedComponentListIsUnavailable
TestRefusedComponentListIsUnavailable: sanitizeRequestRecord blanks a list it refuses, so the stored row has no list and the evidence says so.
proxy/internal/store/cache_components_test.go:198
FunctionTestRefusedEffortRejectsTheDecision
A provider refusing a routed effort rejects the decision like a refused model.
proxy/internal/gateway/route_effort_test.go:789
FunctionTestRefusedHealsConverge
A provider refusing every heal: a refused drop_block moves the session to the strip path, a refused strip ends its heals, so the calls per request con
proxy/internal/gateway/route_effort_test.go:1517
FunctionTestRefusedKeyFailsOpenUntilANewLogin
A key minted before it could route answers 403: the request keeps its model, status learns why from route-state.json, and a new login lifts the pause.
proxy/internal/cloudlink/link_test.go:689
FunctionTestRefusedModelTakesTheEffortTopLevel
A model that refused marks gets Cloud's effort top-level on every later request of the turn, as the heal that found out sent it.
proxy/internal/gateway/route_effort_test.go:1055
FunctionTestRefusedWriteBelowPageCapReportsDiskFull
(t *testing.T)
engine/ccr/store_full_test.go:164
FunctionTestRegenGlyphAtlas
TestRegenGlyphAtlas rewrites atlas-pixels.bin.gz and atlasgray-pixels.bin.gz with intendedGlyphs applied. Glyph dimensions are unchanged, so the offse
engine/pixel/glyphs_test.go:155
FunctionTestRegionFallback
(t *testing.T)
shared/platform/awscreds/awscreds_test.go:592
FunctionTestRegistryOAuthRowsCarryTerms
(t *testing.T)
proxy/internal/pool/pool_test.go:229
FunctionTestRegressionIsNeverPriced
TestRegressionIsNeverPriced keeps a regression from rendering as money returned. It stays visible, in tokens, with its verdict.
proxy/internal/store/learn_attribution_test.go:141
FunctionTestRejectFitsTheEffortToTheAskedModel
The answered effort was chosen for the target: a failed target's cached fallback fits it to the asked model's levels (minimal is low on Claude, max is
proxy/internal/cloudlink/pool_test.go:225
FunctionTestRejectedModelKeepsTheAskOnTheAskedModel
Once the provider refuses the routed model, the rest of the ask keeps the asked one rather than failing over on every turn.
proxy/internal/cloudlink/link_test.go:991
FunctionTestRejectsDirectAndFileCATogether
(t *testing.T)
shared/platform/postgresconfig/postgresconfig_test.go:165
FunctionTestRelayCutInsideAnEventSurfacesAnAPIError
A relayed stream cut anywhere inside an event reaches the agent's SDK as an API error, never as a parse error on a fragment: after an event line, mid
proxy/internal/translate/review_regressions_test.go:351
FunctionTestRelayDecidesByEventType
The relay decides the end and a failure by the event's own type: a delta whose text reads "message_stop", "response.completed" or "response.failed" is
proxy/internal/translate/wire_gaps_test.go:1016
FunctionTestRelayedFailureIsTerminal
A relayed response.failed after content ends the answer: the caller gets it once, with nothing appended.
proxy/internal/translate/review_regressions_test.go:164
FunctionTestRelayedResponseHeadersForbidContentSniffing
(t *testing.T)
proxy/internal/gateway/headers_test.go:28
FunctionTestReleaseShapeReadListingsCompress
The released binaries are what users run, so a coding agent's Read of a TypeScript, JavaScript or Python file has to compress in the build they are co
engine/release_shape_test.go:41
FunctionTestReleaseShapeSubscriptionReadOfTypeScriptCompresses
TestReleaseShapeSubscriptionReadOfTypeScriptCompresses replays the #1020 report through the real engine: a Claude Code subscription turn whose live to
proxy/internal/gateway/release_shape_test.go:22
FunctionTestRememberIsIdempotentAndDurable
(t *testing.T)
mem/store_test.go:21
FunctionTestRememberRejectsEmpty
(t *testing.T)
mem/store_test.go:64
FunctionTestRememberRejectsExpiredHistoricalTextInsteadOfReportingFalseSuccess
(t *testing.T)
mem/store_test.go:39
FunctionTestRememberRejectsOversized
TestRememberRejectsOversized asserts Remember fails closed on a memory over the byte cap, with the cave_memory_too_large idiom, and stores nothing.
mem/recall_budget_test.go:131
FunctionTestRememberStaysIdempotentForARevertedFact
(t *testing.T)
mem/store_test.go:370
FunctionTestRememberStdinTooLargeSubprocessExits65
(t *testing.T)
mem/cmd/cavemem/main_test.go:226
FunctionTestRemoteHostRequiresExplicitSSLMode
A remote host without an explicit sslmode would get pgx's prefer: TLS that checks no certificate, then plaintext. Only loopback keeps that default.
shared/platform/postgresconfig/postgresconfig_test.go:39
FunctionTestRenderChunkToPNG
(t *testing.T)
engine/pixel/render_test.go:122
FunctionTestRenderRepositoryEvidenceShowsOnlyDirectMatches
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:463
FunctionTestRenderSplitsLongInput
(t *testing.T)
engine/pixel/render_test.go:141
FunctionTestRenderUnicodeCoverageAndDrops
(t *testing.T)
engine/pixel/render_test.go:156
FunctionTestReopenOversizedDatabaseUsesAppliedCap
(t *testing.T)
engine/ccr/store_full_test.go:315
FunctionTestRepairLeavesAnIntactStoreAlone
(t *testing.T)
engine/ccr/store_repair_test.go:127
FunctionTestRepairRebuildsDamagedStoreAndKeepsEveryVerifiedRow
(t *testing.T)
engine/ccr/store_repair_test.go:15
FunctionTestRepairRefusesAStoreAnotherConnectionHolds
(t *testing.T)
engine/ccr/store_repair_test.go:99
FunctionTestRepairResolvesReferencesThroughAnyVerifiedCopy
(t *testing.T)
engine/ccr/store_repair_test.go:163
FunctionTestRepeatLoopHintsOnceEscalatesOnceAndNeverFloods
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:1299
FunctionTestRepeatedAskGetsItsOwnDecision
A repeated short ask in a later turn is a new ask, not the old decision.
proxy/internal/cloudlink/link_test.go:414
FunctionTestRepeatedFullRecoveryAfterManyQueriesIsTheRawOriginal
More than five distinct queries must not prevent a later exact recovery, including when the host has compacted away an earlier full tool result.
mcp/retrieve_integration_test.go:273
FunctionTestRepeatedRetrieveRemainsAvailableAfterHostCompaction
A host may discard old tool results during compaction while retaining its MCP process. Identical requests must still return bytes through the same too
mcp/engine_tools_retrieve_test.go:71
FunctionTestRepetitionCollapsesIdenticalRuns
(t *testing.T)
engine/compressors/repetition_test.go:11
FunctionTestRepetitionDeterministic
(t *testing.T)
engine/compressors/repetition_test.go:77
FunctionTestRepetitionIdempotent
(t *testing.T)
engine/compressors/repetition_test.go:44
FunctionTestRepetitionNoDuplicatesPassesThrough
(t *testing.T)
engine/compressors/repetition_test.go:62
FunctionTestRepetitionShortRunNotCollapsed
(t *testing.T)
engine/compressors/repetition_test.go:90
FunctionTestRepetitionTinyInputPassesThrough
(t *testing.T)
engine/compressors/repetition_test.go:70
FunctionTestReplaceQuotesChangedStringsAndPreservesEverythingElse
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:103
FunctionTestReplaceRawPreservesOutsideSpan
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:287
FunctionTestReplaceRawRejectsInvalidRangeAndReplacement
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:311
FunctionTestReplaceRejectsCountAndRangeErrors
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:129
FunctionTestReplacedConnectionKeepsPageCap
(t *testing.T)
engine/ccr/store_full_test.go:36
FunctionTestRepoFilterSkipsRepoUnknownSourcesAndCapsPendingEvents
(t *testing.T)
proxy/internal/store/learn_portfolio_test.go:63
FunctionTestReportOnlyOpportunityBandsAreClosed
(t *testing.T)
shared/platform/optimizers/optimizers_test.go:103
FunctionTestRepositoryEvidenceIgnoresPixiVendorTree
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:555
FunctionTestRepositoryEvidenceInjectsNothingWithoutDirectMatch
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:499
FunctionTestRepositoryIntelligenceAblationIsMechanismReal
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:601
FunctionTestRepositoryMapDedupSurvivesSessionListing
TestRepositoryMapDedupSurvivesSessionListing pins the reader path the receipt builder depends on: ListSessionObjects resolves a deduped row's data_ref
engine/ccr/store_repositorymap_dedup_test.go:201
FunctionTestRepositoryMapDedupedAcrossRepositoryStates
TestRepositoryMapDedupedAcrossRepositoryStates covers the other half of #1023, and the half a session-scoped dedup key misses entirely. The object ID
engine/ccr/store_repositorymap_dedup_test.go:136
FunctionTestRepositoryMapDedupedAcrossSessions
(t *testing.T)
engine/ccr/store_repositorymap_dedup_test.go:9
FunctionTestRepositoryStateChangesForExternalEditIndexAndWorktree
(t *testing.T)
proxy/internal/nativehook/hook_unix_test.go:150
FunctionTestRepositoryStateIgnoresRepositoryControlledCommands
`git status` refreshes the index, which runs core.fsmonitor. It is the git call this process makes most often against a repository it did not write, s
proxy/internal/nativehook/hook_repostate_test.go:16
FunctionTestRepositoryStatePrunedAfterIdleWindow
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:1476
FunctionTestRequestAccountingAllowsMediaNamesInTextToolSchemas
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:112
FunctionTestRequestAccountingBoundsWorkAndPreservesProviderPricing
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:181
FunctionTestRequestAccountingDecodesUnchangedBytesOnce
TestRequestAccountingDecodesUnchangedBytesOnce: an untransformed request (same bytes both sides) counts exactly as a request whose sides differ only i
proxy/internal/gateway/hotpath_golden_test.go:68
FunctionTestRequestAccountingDoesNotPriceMissingCacheClassAsFree
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:231
FunctionTestRequestAccountingExcludesUnprovenPayloads
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:154
FunctionTestRequestAccountingIgnoresTheRoutedModelSwap
gpt-6.1-sol is two o200k tokens longer than gpt-6-sol: without the guard a routed turn would book them as a compression saving.
proxy/internal/gateway/stats_accounting_test.go:123
FunctionTestRequestAccountingIncludesMarkersAndToolOverhead
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:53
FunctionTestRequestAccountingKeepsCompleteFailedUsagePricedWithoutSavings
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:190
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
← previousnext →10,001–10,100 of 12,391, ranked by callers