MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

FunctionTestScanSkillsSkipsMissingAndDanglingSkillFiles
(t *testing.T)
proxy/internal/store/learn_v2_p0_test.go:246
FunctionTestScanSkillsSkipsModelInvocationDisabledSkills
(t *testing.T)
proxy/internal/store/learn_v2_p0_test.go:268
FunctionTestScanSymbolsCapsAtFiveHundredAcrossSiblingDeclarations
Top-level declarations are siblings in file.Decls, not nested; the cap must hold across all of them, not just within the one being visited.
proxy/internal/repointel/index_test.go:494
FunctionTestScopeAndBrowserAuthorization
(t *testing.T)
proxy/internal/middleware/runtime_test.go:264
FunctionTestScopedTrialMovesIgnoreImportedContext
(t *testing.T)
proxy/internal/store/trial_feature_test.go:361
FunctionTestScrubHeaders
--- ScrubHeaders tests ------------------------------------------------------
shared/platform/redact/redact_test.go:230
FunctionTestScrubHeaders_NilSafe
(t *testing.T)
shared/platform/redact/redact_test.go:262
FunctionTestSearchResultCompressorKeepsImportantHits
(t *testing.T)
engine/compressors/breadth_test.go:171
FunctionTestSearchResultQueryKeepsRelevantMiddleHit
(t *testing.T)
engine/compressors/breadth_test.go:196
FunctionTestSecondReviewFindings
The rest of the review's findings, pinned.
proxy/internal/translate/wire_gaps_test.go:671
FunctionTestSecondStripHealWidensTheFirst
A second strip heal on the same history widens the first instead of replacing it, so the earlier blocks stay stripped.
proxy/internal/gateway/route_effort_test.go:1332
FunctionTestSectionCorpusCapsSessionsAndBytes
(t *testing.T)
proxy/internal/store/detect_sections_test.go:10
FunctionTestSeededRatioFailureFailsClosed
A seeded gate failure must make the harness report Passed=false, so `caveman evals run` exits non-zero.
engine/evals/harness_test.go:65
FunctionTestSelectionProfileReadsAnthropicInputSchema
TestSelectionProfileReadsAnthropicInputSchema pins that an Anthropic-format tool (schema under input_schema) exposes the same surface as the MCP and O
shrink/shrink_test.go:133
FunctionTestSelfHostedBlockSuggestsAWorkingAllowlistEntry
A fail-closed guard that does not name its own escape hatch reads as "unsupported" rather than "not opted in": #841 concluded the proxy could not forw
shared/platform/ssrf/ssrf_test.go:647
FunctionTestServeConnClosesWithinBudgetUnderHeldWriteLock
TestServeConnClosesWithinBudgetUnderHeldWriteLock reproduces the reporter's observation at the socket layer: the connection closes with zero bytes, an
proxy/internal/nativeruntime/hook_budget_test.go:132
FunctionTestServeConnLogsAHookBudgetDrop
The same empty reply must not be silent in the proxy log: the line says the hook budget ran out, which is what the reporter could not see (#1279).
proxy/internal/nativeruntime/hook_budget_test.go:164
FunctionTestServeConnRejectsOversizedRequestWithoutDecision
(t *testing.T)
proxy/internal/nativeruntime/server_test.go:83
FunctionTestServeConnRuntimeErrorReturnsNoSyntheticDecision
(t *testing.T)
proxy/internal/nativeruntime/server_test.go:112
FunctionTestServeDoesNotExpire
Use the real serve loop in a subprocess, with isolated persistence. The old timeout is accelerated; no heartbeat or hook event keeps the process alive
proxy/cmd/caveman-proxy/lifetime_test.go:18
FunctionTestServeExitsWhenConfiguredMiddlewareCannotStart
GO-5: a middleware the operator configured that cannot start stops the process, as a shared Postgres store always did.
proxy/cmd/caveman-proxy/middleware_startup_test.go:51
FunctionTestServeStaysReadyWhenDefaultMiddlewareCannotStart
The default local middleware failing leaves inference up and the replica ready, with readiness saying the middleware is degraded (GO-5 made it unready
proxy/cmd/caveman-proxy/middleware_startup_test.go:67
FunctionTestServeUnixRejectsOverlongSocketPathWithActionableError
(t *testing.T)
proxy/internal/nativeruntime/server_unix_path_test.go:21
FunctionTestServerErrorCodesFromParityFixture
(t *testing.T)
proxy/internal/middleware/protocol_v11_test.go:250
FunctionTestServerRetrieveSupportedOnlyForImplementedWireGrammars
(t *testing.T)
proxy/internal/gateway/retrieve_tool_test.go:10
FunctionTestSessionCacheKeyNeverOverwritesThePrefixOptimizer
TestSessionCacheKeyNeverOverwritesThePrefixOptimizer: cache_key.go's prefix-signature optimizer may already have set the field on the same request. Th
proxy/providers/openai/session_cache_key_test.go:93
FunctionTestSessionCacheKeyPreconditions
(t *testing.T)
proxy/providers/openai/session_cache_key_test.go:65
FunctionTestSessionCacheKeySetsAStableHashedKey
(t *testing.T)
proxy/providers/openai/session_cache_key_test.go:27
FunctionTestSessionCloseAndTargetSnapshotsAreSafe
(t *testing.T)
browse/session_test.go:110
FunctionTestSessionConsumerRecordsTrendSession
(t *testing.T)
proxy/internal/store/learn_trends_test.go:153
FunctionTestSessionContextPastFallbackWindowInfersLargerWindow
(t *testing.T)
proxy/internal/store/learn_v2_p0_test.go:395
FunctionTestSessionEndBehindSlowEventIsStillArchived
TestSessionEndBehindSlowEventIsStillArchived pins the one event the deadline must not drop: a session.end that arrives while the session stripe is hel
proxy/internal/nativeruntime/hook_budget_test.go:234
FunctionTestSessionEndDoesNotAttestApproximateFallbackCompression
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:786
FunctionTestSessionEndDoesNotOvertakeAQueuedEvent
session.end queued behind an event that was already waiting for the session stripe must not run first: the earlier event's capture would land after th
proxy/internal/nativeruntime/hook_budget_test.go:298
FunctionTestSessionEndWritesHonestReceiptOutsideModelContext
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:697
FunctionTestSessionMarkerIgnoresInvalidSignatureAndConflictingIDsFailCorrelation
(t *testing.T)
proxy/internal/nativeruntime/marker_test.go:27
FunctionTestSessionMarkerMatchesJSONEscapedMarkerInRealRequestBody
TestSessionMarkerMatchesJSONEscapedMarkerInRealRequestBody exercises the shape a real HTTP body actually has: the marker sits inside a JSON string, so
proxy/internal/nativeruntime/marker_test.go:47
FunctionTestSessionMarkerStripsValidBytesAndPreservesEverythingElse
(t *testing.T)
proxy/internal/nativeruntime/marker_test.go:13
FunctionTestSessionProducedCommitBoundaries
TestSessionProducedCommitBoundaries pins the overlap window, including the grace period for a commit made just after the agent stopped.
proxy/internal/store/detect_outcomes_test.go:115
FunctionTestSessionResumeSurvivesRuntimeAndStoreRestart
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:948
FunctionTestSessionStatsCountCallsWithoutSharedStoreContamination
(t *testing.T)
mcp/engine_tools_stats_test.go:12
FunctionTestSessionStatsCountSafeFallbackButNotRejectedResults
(t *testing.T)
mcp/engine_tools_stats_test.go:50
FunctionTestSessionUsageCorrelatesOnlyExactSessionAndLabelsBasis
(t *testing.T)
proxy/internal/store/session_usage_test.go:9
FunctionTestSessionUsageCountsNoWarmAsARequest
(t *testing.T)
proxy/internal/store/cache_warm_stats_test.go:47
FunctionTestSessionUsagePreservesApproximateCorrelationBasis
(t *testing.T)
proxy/internal/store/session_usage_test.go:63
FunctionTestSetModelSwapsOnlyTheTopLevelModel
(t *testing.T)
proxy/internal/gateway/route_test.go:24
FunctionTestShortToolOutputIsNotMasked
TestShortToolOutputIsNotMasked (#1365): a stub that carries no content costs the agent a full extra model request to redeem, which is more than writin
proxy/internal/nativeruntime/mask_elidable_test.go:174
FunctionTestShownModelInStreamsAtEverySplit
The agent's copy names the asked model at every split of the stream, in each provider's stream shape; nothing else changes.
proxy/internal/gateway/route_effort_test.go:873
FunctionTestShownModelStaysIncremental
A stream stays live: a complete event is handed out without waiting for more input, and a pair split across reads is held only until it completes.
proxy/internal/gateway/route_effort_test.go:907
FunctionTestShrinkAndRecoverAcrossProcesses
(t *testing.T)
shrink/cmd/caveman-shrink/main_test.go:15
FunctionTestShrinkByteSafeOnMalformed
(t *testing.T)
shrink/shrink_test.go:196
FunctionTestShrinkCLIHelperProcess
(t *testing.T)
shrink/cmd/caveman-shrink/main_test.go:75
FunctionTestShrinkCompressesCatalog
(t *testing.T)
shrink/shrink_test.go:50
FunctionTestShrinkPreservesArgumentConstraints
TestShrinkPreservesArgumentConstraints is the call-validity gate at the product boundary: a shrunk catalog must keep the sentences an agent needs to b
shrink/shrink_test.go:156
FunctionTestShrinkReturnsPassThroughResultWhenCCRIsUnavailable
(t *testing.T)
shrink/shrink_test.go:210
FunctionTestShrinkRoundTripsThroughAFreshStore
TestShrinkRoundTripsThroughAFreshStore is the reversibility gate. It proves the recovery handle a shrink mints is resolvable from a SEPARATE store ins
shrink/shrink_test.go:76
FunctionTestShutdownNeedsThisGenerationsTokenOnLoopback
Windows `caveman stop` asks over the listener because no signal reaches a detached proxy there gracefully. Only the run-state file's shutdown token st
proxy/cmd/caveman-proxy/status_test.go:89
FunctionTestShutdownTokenIsNotTheIdentityHealthPublishes
health/live hands its caller the instance token on loopback, even when the gate behind it answers 401 and whatever Host the caller names. That token m
proxy/cmd/caveman-proxy/status_test.go:137
FunctionTestSideRequestKeepsTheMainThreadsHeal
An unlabeled side request leaves the main thread's strip and drop_block refusal alone: the next main request is stripped up front and served.
proxy/internal/gateway/route_effort_test.go:1685
FunctionTestSideRequestLabelsMirrorCloud
The side-request labels mirror Cloud's request kinds: Codex's subagent kind and turn metadata, OpenCode's agent name, and a Codex parent thread from t
proxy/internal/gateway/route_effort_test.go:1126
FunctionTestSideRequestLeavesTheSessionsMarks
A side request with its own history reads the session's marks but never changes them; the main thread keeps its marks.
proxy/internal/gateway/route_effort_test.go:579
FunctionTestSign_CanonicalizesQueryDeterministically
(t *testing.T)
shared/platform/awssig/awssig_test.go:172
FunctionTestSign_CollapsesSequentialHeaderWhitespace
(t *testing.T)
shared/platform/awssig/awssig_test.go:192
FunctionTestSign_MatchesBotocorePathSignatures
These fixtures were produced offline with the actual botocore==1.43.89 SigV4Auth (S3SigV4Auth for S3), not another copy of this signer's algorithm. So
shared/platform/awssig/awssig_test.go:21
FunctionTestSign_MatchesReferenceSignature
This uses the AWS documentation example credentials, time and request URL (https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html
shared/platform/awssig/awssig_test.go:90
FunctionTestSign_RejectsMissingCredentials
(t *testing.T)
shared/platform/awssig/awssig_test.go:158
FunctionTestSign_SecretNeverAppearsInHeaders
HONESTY/SECURITY: the secret access key must never appear in any header the signer sets on the request. Only the (non-reversible) signature digest and
shared/platform/awssig/awssig_test.go:126
FunctionTestSignalDuringBrowserStartup
TestSignalDuringBrowserStartup pins the startup half of #1016: a SIGTERM that lands while NewCDPDriver is still bringing the browser up must not take
browse/cmd/caveman-browse/main_test.go:198
FunctionTestSignedHostMatchesForwardURL
TestSignedHostMatchesForwardURL pins the fix for the managed-path signing bug: SigV4 always signs Host, so the signed Host must equal the URL the prox
proxy/providers/bedrock/compress_sign_test.go:101
FunctionTestSignedInProxyRoutesAndReports
The whole path in one process: the CLI's signed-in state on disk, the proxy with the link, a Cloud that routes Auto, and a provider that records the m
proxy/internal/cloudlink/e2e_test.go:42
FunctionTestSilentUpstreamIsKeptAlive
A silent upstream gets a ping (Messages) or a keepalive comment (Responses) so the caller's connection is proved alive.
proxy/internal/translate/messages_test.go:748
FunctionTestSimulateBestOfElisionRemainsLossy
(t *testing.T)
engine/simulate_test.go:190
FunctionTestSimulateBestOfTOONIsLosslessToModelButNeedsCCRForByteExactRecovery
(t *testing.T)
engine/simulate_test.go:167
FunctionTestSimulateLossyUnrecoverableWithoutStore
TestSimulateLossyUnrecoverableWithoutStore is the honesty case: a lossy (S4) compressor with NO store. A real Compress fails closed to pass-through (z
engine/simulate_test.go:112
FunctionTestSimulateMatchesCompressAccounting
TestSimulateMatchesCompressAccounting checks that the dry-run matches Compress: its token accounting equals what a real Compress reports for the same
engine/simulate_test.go:71
FunctionTestSimulateNonLossyRecoverableWithoutStore
TestSimulateNonLossyRecoverableWithoutStore exercises the byte-safe branch: a non-lossy (S1) compressor's reduction is Recoverable even with NO store,
engine/simulate_test.go:139
FunctionTestSimulateRecordAndPassThroughClaimNothing
TestSimulateRecordAndPassThroughClaimNothing covers the pass-through conditions.
engine/simulate_test.go:89
FunctionTestSimulateReportsReductionAndStoresNothing
TestSimulateReportsReductionAndStoresNothing is the S13 acceptance: a unit dry-run on a fixture, no network, and — critically — no CCR write. It repor
engine/simulate_test.go:23
FunctionTestSinkPatternsForPracticeID
(t *testing.T)
proxy/internal/store/practice_mapping_test.go:40
FunctionTestSlogRemovesJoinedAndNestedTransportURLs
(t *testing.T)
shared/platform/redact/url_error_test.go:41
FunctionTestSlogReplaceAttrScrubsStringAndErrorValues
(t *testing.T)
shared/platform/redact/redact_test.go:297
FunctionTestSlowClientKeepsTheUsage
A client slower than usageGrace on the finish chunk still gets the usage and [DONE] the upstream had already sent. (The relay arms the clock at the fi
proxy/internal/translate/wire_gaps_test.go:1103
FunctionTestSmallElisionsDoNotBuyTheContractLine
(t *testing.T)
engine/compressors/invariants_test.go:554
FunctionTestSnapshotCachesUIDTargetsAndRecoversExactAXTree
(t *testing.T)
browse/session_test.go:150
FunctionTestSnapshotIframeTreeStillCompressesToUIDs
TestSnapshotIframeTreeStillCompressesToUIDs is the issue #140 pass-through regression at the tool boundary: before the fix an iframe's dangling childI
browse/session_test.go:210
FunctionTestSnapshotPassThroughFailsClosedAndKeepsUIDCache
TestSnapshotPassThroughFailsClosedAndKeepsUIDCache pins the second half of issue #140: when the engine genuinely cannot produce a recovery-backed view
browse/session_test.go:243
FunctionTestSnapshotQueryFocusesOutputAndTargetCache
(t *testing.T)
browse/session_test.go:299
FunctionTestSnapshotRejectsDangerousURLsAndUnboundedWaitWithoutDriving
(t *testing.T)
browse/session_test.go:315
FunctionTestSniffIfdefIsNotPython
`#ifdef`, `#ifndef` and `typedef` all contain "def ", which the Python sniff matched, so a guarded C or C++ file was parsed as Python and passed throu
engine/compressors/code_cpp_realworld_test.go:12
FunctionTestSocketPathUnixIsInstallLocal
(t *testing.T)
proxy/internal/nativeruntime/server_unix_path_test.go:14
FunctionTestSocketPathWindowsIsPerInstall
(t *testing.T)
proxy/internal/nativeruntime/server_windows_test.go:10
FunctionTestSocketPathWindowsMatchesNodeAdapters
Same vector as packages/cli/tests/windows-platform.runtime.mjs. JavaScript's toLowerCase turns İ into two code points and a word-final Σ into ς, so a
proxy/internal/nativeruntime/server_windows_test.go:27
FunctionTestSourcePrefixedPrincipalsCannotReachTokenPrincipalSessions
S2: principals are keyed by source, so a certificate CN or a JWT subject spelling a token principal's name gets 404 on that principal's handle, even i
proxy/internal/standalone/principal_sources_test.go:37
FunctionTestSpendAbsentWithoutBillingUsage
TestSpendAbsentWithoutBillingUsage keeps a dollar figure off a machine whose transcripts carry no usage blocks: no card at all beats a $0.00 card.
proxy/internal/store/learn_pricing_test.go:99
FunctionTestSpendNeverBorrowsAnotherModelsPrice
TestSpendNeverBorrowsAnotherModelsPrice is the fail-closed guard: an unknown model contributes zero dollars and is disclosed, never priced at a siblin
proxy/internal/store/learn_pricing_test.go:58
FunctionTestSpendPricesDisjointBuckets
TestSpendPricesDisjointBuckets proves the headline money number is arithmetic on provider-counted, DISJOINT buckets: a cache read is not billed at the
proxy/internal/store/learn_pricing_test.go:11
FunctionTestSpendResolvesDatedModelAlias
TestSpendResolvesDatedModelAlias allows exactly one alias step — the trailing snapshot date, which names the same model — and nothing looser.
proxy/internal/store/learn_pricing_test.go:82
FunctionTestSplitAgentPath
(t *testing.T)
proxy/providers/agentpath_test.go:8
FunctionTestSplitLineNumberedListingRejectsNonListings
Recognition must be strict: a false positive corrupts content that merely begins with digits.
engine/compressors/code_listing_test.go:54
FunctionTestSplitLineNumberedListingRoundTrips
(t *testing.T)
engine/compressors/code_listing_test.go:37
← previousnext →10,701–10,800 of 12,853, ranked by callers