MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

FunctionTestRecordModeStillNeverTransformsAListing
record mode never transforms, gutter or no gutter.
engine/listing_test.go:138
FunctionTestRecordStoresCacheComponentsOutsideRequestsRow
(t *testing.T)
proxy/internal/store/cache_components_test.go:154
FunctionTestRecorderBatchesFinishedRows
TestRecorderBatchesFinishedRows: finished rows queued together go out in one write, in order, and a row still being counted does not hold up the finis
proxy/internal/gateway/recorder_test.go:258
FunctionTestRecorderSurvivesPanics
TestRecorderSurvivesPanics: a panic while finishing or writing rows drops those rows, as a panicking handler did, and neither stops the proxy nor the
proxy/internal/gateway/recorder_test.go:232
FunctionTestRecoverUnknownHandleFails
(t *testing.T)
shrink/shrink_test.go:227
FunctionTestRecoverUnknownHandleFailsClosed
(t *testing.T)
browse/session_test.go:372
FunctionTestRecoveryFunctionResponseIsNotRewritable
A functionResponse from caveman_retrieve carries the exact bytes an earlier elision removed. Rewriting it hands the agent back its own elision.
proxy/providers/gemini/recovery_exempt_test.go:39
FunctionTestRecoveryResultIsNeverRecompressed
TestRecoveryResultIsNeverRecompressed is the citation-check regression. Measured on 2026-08-06: the agent read a file, saw it elided, called its own
proxy/internal/gateway/recovery_exempt_test.go:38
FunctionTestRecoveryStoreFreshHomeProcess
Exercise the shipped entrypoint in fresh homes: an installed binary may be launched directly without the npm downloader having created .caveman first.
mcp/cmd/caveman-mcp/recovery_process_test.go:19
FunctionTestRecoveryStoreStatusOnAHealthyAndAMissingStore
(t *testing.T)
proxy/cmd/caveman-proxy/recovery_store_test.go:81
FunctionTestRecurringMinerIgnoresHostAndHookInjectedContext
#1459: the repaste miner mined every text payload in a transcript turn, so context the HOST and caveman's own hook re-inject each session — Claude Cod
proxy/internal/store/recurring_test.go:24
FunctionTestRecurringMinerKeepsHumanBlocksThatOnlyMentionInjectedText
A payload is injected or it is not; the guard must not spread across a turn. A user's own paste in the same turn as a system-reminder still counts, an
proxy/internal/store/recurring_test.go:69
FunctionTestRecurringPositionsAreRetroOnly
(t *testing.T)
proxy/internal/store/learn_retro_test.go:643
FunctionTestRefIntegrityGuardDetectsDrop
TestRefIntegrityGuardDetectsDrop checks that the $ref-integrity assertion catches: it must report a dropped definition as unresolvable and a present o
engine/compressors/toolschema_test.go:505
FunctionTestRefIntegrityGuardDoesNotCrossToolSchemaRoots
(t *testing.T)
engine/compressors/toolschema_test.go:522
FunctionTestRefIntegrityGuardRejectsNonCanonicalArrayIndex
(t *testing.T)
engine/compressors/toolschema_test.go:542
FunctionTestRefIntegrityGuardUsesNearestIDResourceRoot
(t *testing.T)
engine/compressors/toolschema_test.go:532
FunctionTestReferenceToReferenceResolvesThroughFallback
(t *testing.T)
engine/ccr/store_consolidation_blocks_test.go:162
FunctionTestReflowAndDereflow
(t *testing.T)
engine/pixel/render_test.go:37
FunctionTestRefreshNeverResurrectsARemovedOrNewerLogin
A refresh that lands after the login was removed, or after a new sign-in, saves nothing.
proxy/internal/pool/pool_test.go:252
FunctionTestRefreshRetriesASaveThatMetTheLock
A refresh whose save meets a held lock tries once more, so a single-use refresh token is not lost to contention.
proxy/internal/pool/pool_test.go:387
FunctionTestRefusalHoldsForTheSessionsModelPair
A refusal drops the routed model from that scope's pool for rememberFor: with only the asked model left the ask still goes (Cloud decides its effort)
proxy/internal/cloudlink/link_test.go:1013
FunctionTestRefusalIsScopedToAgentAndEndpoint
Without a session id a refusal is scoped to the agent and endpoint: Codex on the ChatGPT plan (/responses) losing a model leaves an API-key client on
proxy/internal/cloudlink/link_test.go:1063
FunctionTestRefusalWordingVariantsHealAndLatch
A refusal saying "configuration updates" heals and latches like the item name does: one extra send, never one per request.
proxy/internal/gateway/route_effort_responses_test.go:318
FunctionTestRefuseGatewayProductionDefaultsDoesNotRequireControlPlaneSecrets
(t *testing.T)
shared/platform/env/env_test.go:123
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
FunctionTestRepoSearchBlocksSymlinkEscapeAndPRCiLogsUsesNumber
(t *testing.T)
mcp/codemode/companion_test.go:84
FunctionTestRepoSearchCode
(t *testing.T)
mcp/codemode/stdio_js_builtin_test.go:760
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
← previousnext →10,401–10,500 of 12,853, ranked by callers