Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,391 in github.com/JuliusBrussee/caveman
⨍
Functions
12,391
◇
Types & classes
1,304
↳
Endpoints
5
Function
TestRefuseGatewayProductionDefaultsRequiresReplayTokenOnlyWhenEnabled
(t *testing.T)
shared/platform/env/env_test.go:134
Function
TestRefuseProductionDefaultsAcceptsStrongConfiguration
(t *testing.T)
shared/platform/env/env_test.go:77
Function
TestRefuseProductionDefaultsDoesNotConstrainLocalMode
(t *testing.T)
shared/platform/env/env_test.go:115
Function
TestRefuseProductionDefaultsRejectsWeakSecretsAndOrigins
(t *testing.T)
shared/platform/env/env_test.go:84
Function
TestRefusedComponentListIsUnavailable
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
Function
TestRefusedEffortRejectsTheDecision
A provider refusing a routed effort rejects the decision like a refused model.
proxy/internal/gateway/route_effort_test.go:789
Function
TestRefusedHealsConverge
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
Function
TestRefusedKeyFailsOpenUntilANewLogin
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
Function
TestRefusedModelTakesTheEffortTopLevel
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
Function
TestRefusedWriteBelowPageCapReportsDiskFull
(t *testing.T)
engine/ccr/store_full_test.go:164
Function
TestRegenGlyphAtlas
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
Function
TestRegionFallback
(t *testing.T)
shared/platform/awscreds/awscreds_test.go:592
Function
TestRegistryOAuthRowsCarryTerms
(t *testing.T)
proxy/internal/pool/pool_test.go:229
Function
TestRegressionIsNeverPriced
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
Function
TestRejectFitsTheEffortToTheAskedModel
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
Function
TestRejectedModelKeepsTheAskOnTheAskedModel
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
Function
TestRejectsDirectAndFileCATogether
(t *testing.T)
shared/platform/postgresconfig/postgresconfig_test.go:165
Function
TestRelayCutInsideAnEventSurfacesAnAPIError
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
Function
TestRelayDecidesByEventType
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
Function
TestRelayedFailureIsTerminal
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
Function
TestRelayedResponseHeadersForbidContentSniffing
(t *testing.T)
proxy/internal/gateway/headers_test.go:28
Function
TestReleaseShapeReadListingsCompress
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
Function
TestReleaseShapeSubscriptionReadOfTypeScriptCompresses
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
Function
TestRememberIsIdempotentAndDurable
(t *testing.T)
mem/store_test.go:21
Function
TestRememberRejectsEmpty
(t *testing.T)
mem/store_test.go:64
Function
TestRememberRejectsExpiredHistoricalTextInsteadOfReportingFalseSuccess
(t *testing.T)
mem/store_test.go:39
Function
TestRememberRejectsOversized
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
Function
TestRememberStaysIdempotentForARevertedFact
(t *testing.T)
mem/store_test.go:370
Function
TestRememberStdinTooLargeSubprocessExits65
(t *testing.T)
mem/cmd/cavemem/main_test.go:226
Function
TestRemoteHostRequiresExplicitSSLMode
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
Function
TestRenderChunkToPNG
(t *testing.T)
engine/pixel/render_test.go:122
Function
TestRenderRepositoryEvidenceShowsOnlyDirectMatches
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:463
Function
TestRenderSplitsLongInput
(t *testing.T)
engine/pixel/render_test.go:141
Function
TestRenderUnicodeCoverageAndDrops
(t *testing.T)
engine/pixel/render_test.go:156
Function
TestReopenOversizedDatabaseUsesAppliedCap
(t *testing.T)
engine/ccr/store_full_test.go:315
Function
TestRepairLeavesAnIntactStoreAlone
(t *testing.T)
engine/ccr/store_repair_test.go:127
Function
TestRepairRebuildsDamagedStoreAndKeepsEveryVerifiedRow
(t *testing.T)
engine/ccr/store_repair_test.go:15
Function
TestRepairRefusesAStoreAnotherConnectionHolds
(t *testing.T)
engine/ccr/store_repair_test.go:99
Function
TestRepairResolvesReferencesThroughAnyVerifiedCopy
(t *testing.T)
engine/ccr/store_repair_test.go:163
Function
TestRepeatLoopHintsOnceEscalatesOnceAndNeverFloods
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:1299
Function
TestRepeatedAskGetsItsOwnDecision
A repeated short ask in a later turn is a new ask, not the old decision.
proxy/internal/cloudlink/link_test.go:414
Function
TestRepeatedFullRecoveryAfterManyQueriesIsTheRawOriginal
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
Function
TestRepeatedRetrieveRemainsAvailableAfterHostCompaction
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
Function
TestRepetitionCollapsesIdenticalRuns
(t *testing.T)
engine/compressors/repetition_test.go:11
Function
TestRepetitionDeterministic
(t *testing.T)
engine/compressors/repetition_test.go:77
Function
TestRepetitionIdempotent
(t *testing.T)
engine/compressors/repetition_test.go:44
Function
TestRepetitionNoDuplicatesPassesThrough
(t *testing.T)
engine/compressors/repetition_test.go:62
Function
TestRepetitionShortRunNotCollapsed
(t *testing.T)
engine/compressors/repetition_test.go:90
Function
TestRepetitionTinyInputPassesThrough
(t *testing.T)
engine/compressors/repetition_test.go:70
Function
TestReplaceQuotesChangedStringsAndPreservesEverythingElse
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:103
Function
TestReplaceRawPreservesOutsideSpan
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:287
Function
TestReplaceRawRejectsInvalidRangeAndReplacement
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:311
Function
TestReplaceRejectsCountAndRangeErrors
(t *testing.T)
proxy/providers/jsonsplice/jsonsplice_test.go:129
Function
TestReplacedConnectionKeepsPageCap
(t *testing.T)
engine/ccr/store_full_test.go:36
Function
TestRepoFilterSkipsRepoUnknownSourcesAndCapsPendingEvents
(t *testing.T)
proxy/internal/store/learn_portfolio_test.go:63
Function
TestReportOnlyOpportunityBandsAreClosed
(t *testing.T)
shared/platform/optimizers/optimizers_test.go:103
Function
TestRepositoryEvidenceIgnoresPixiVendorTree
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:555
Function
TestRepositoryEvidenceInjectsNothingWithoutDirectMatch
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:499
Function
TestRepositoryIntelligenceAblationIsMechanismReal
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:601
Function
TestRepositoryMapDedupSurvivesSessionListing
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
Function
TestRepositoryMapDedupedAcrossRepositoryStates
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
Function
TestRepositoryMapDedupedAcrossSessions
(t *testing.T)
engine/ccr/store_repositorymap_dedup_test.go:9
Function
TestRepositoryStateChangesForExternalEditIndexAndWorktree
(t *testing.T)
proxy/internal/nativehook/hook_unix_test.go:150
Function
TestRepositoryStateIgnoresRepositoryControlledCommands
`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
Function
TestRepositoryStatePrunedAfterIdleWindow
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:1476
Function
TestRequestAccountingAllowsMediaNamesInTextToolSchemas
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:112
Function
TestRequestAccountingBoundsWorkAndPreservesProviderPricing
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:181
Function
TestRequestAccountingDecodesUnchangedBytesOnce
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
Function
TestRequestAccountingDoesNotPriceMissingCacheClassAsFree
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:231
Function
TestRequestAccountingExcludesUnprovenPayloads
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:154
Function
TestRequestAccountingIgnoresTheRoutedModelSwap
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
Function
TestRequestAccountingIncludesMarkersAndToolOverhead
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:53
Function
TestRequestAccountingKeepsCompleteFailedUsagePricedWithoutSavings
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:190
Function
TestRequestAccountingKeepsSubscriptionEquivalentSeparate
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:134
Function
TestRequestAccountingNormalizesEquivalentJSONRepresentations
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:102
Function
TestRequestAccountingPreservesOverheadAndZero
(t *testing.T)
proxy/internal/gateway/stats_accounting_test.go:77
Function
TestRequestContextCancelsWithParent
(t *testing.T)
browse/cdp_test.go:35
Function
TestRequestEvidenceFromHeadersValidatesContentBlindJoin
(t *testing.T)
proxy/internal/gateway/agent_evidence_test.go:9
Function
TestRequestFromEachShape
(t *testing.T)
proxy/internal/cloudlink/route_effort_test.go:20
Function
TestRequestOriginsCountNoWarm
(t *testing.T)
proxy/internal/store/cache_warm_stats_test.go:67
Function
TestRequestQuotaIsPerPrincipal
(t *testing.T)
proxy/internal/middleware/protocol_v11_test.go:635
Function
TestRequestViewsLeaveWarmsOut
(t *testing.T)
proxy/internal/store/cache_warm_stats_test.go:109
Function
TestRequiredFieldsCannotBecomeImplicitZeroValues
(t *testing.T)
proxy/internal/middleware/runtime_test.go:231
Function
TestRereadFloorExcludesFirstReadAndNormalizesOnePath
(t *testing.T)
proxy/internal/store/detect_reread_test.go:8
Function
TestResetAfterTheAnswerIsNoError
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
Function
TestResidualRiskDoesNotFlagImpossibleOrLongerDigitRuns
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
Function
TestResidualRiskDoesNotFlagNumericFieldsNamedLikeCredentials
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
Function
TestResidualRiskDoesNotFlagOrdinaryLongStrings
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
Function
TestResidualRiskDoesNotFlagUUIDs
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
Function
TestResidualRiskDoesNotTrustEmbeddedPlaceholderText
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
Function
TestResidualRiskFlagsCredentialsInTheirNaturalForm
--- 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
Function
TestResidualRiskFlagsEveryEntryInADigitList
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
Function
TestResidualRiskFlagsHighEntropyTokens
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
Function
TestResidualRiskFlagsKnownCredentialPrefixes
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
Function
TestResidualRiskFlagsMostRandomBase64
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
Function
TestResidualRiskFlagsSecretsWithOneInteriorSeparator
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
Function
TestResidualRiskFlagsShapesTheCorpusGateNames
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
Function
TestResidualRiskFlagsUnlabelledGovernmentIDShapes
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
Function
TestResidualRiskIgnoresItsOwnPlaceholders
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
Function
TestResidualRiskIsDeterministicAndDeduplicated
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
← previous
next →
10,001–10,100 of 12,391, ranked by callers