MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

FunctionTestLearnRetroExcludesUsageFreeSessionsFromEveryFamily
(t *testing.T)
proxy/internal/store/learn_retro_test.go:255
FunctionTestLearnRetroFailsClosedWithoutEngine
(t *testing.T)
proxy/internal/store/learn_retro_test.go:1160
FunctionTestLearnRetroFamilyLabelsNameTheirFix
(t *testing.T)
proxy/internal/store/learn_retro_test.go:303
FunctionTestLearnRetroOmittedWithoutFlag
(t *testing.T)
proxy/internal/store/learn_retro_test.go:1200
FunctionTestLearnRetroOptionsCarriesBothPassBudgets
(t *testing.T)
proxy/cmd/caveman-proxy/main_test.go:76
FunctionTestLearnRetroRepeatedSizeSkewUsesOccurrenceSizes
(t *testing.T)
proxy/internal/store/learn_retro_test.go:589
FunctionTestLearnRetroStreamCapsResidencyByCountedContext
Believed residency is capped by each turn's provider-counted size: a turn the provider counted smaller than the believed-resident tool output evicts t
proxy/internal/store/learn_retro_test.go:768
FunctionTestLearnRetroStreamCrossFileAttributionIsNewestFirst
A segment appearing in several files weights deterministically in the newest file that carries it, regardless of scan-goroutine scheduling.
proxy/internal/store/learn_retro_test.go:797
FunctionTestLearnRetroStreamExcludesEarliestExactTimestampTie
(t *testing.T)
proxy/internal/store/learn_retro_test.go:556
FunctionTestLearnRetroStreamExcludesSidechains
Sidechain (subagent) lines share the transcript file but are a separate API stream: their turns must not weight a main-thread cut, and a sidechain cut
proxy/internal/store/learn_retro_test.go:717
FunctionTestLearnRetroStreamOmitsUndatedRepeatedBlocks
(t *testing.T)
proxy/internal/store/learn_retro_test.go:665
FunctionTestLearnRetroStreamPreservesFractionalOccurrenceOrderAcrossFiles
(t *testing.T)
proxy/internal/store/learn_retro_test.go:517
FunctionTestLearnRetroStreamWeightsCutsByObservedTurns
The stream figure weights each cut by the provider-counted turns that contained the block, and a compact boundary stops the weighting because compacti
proxy/internal/store/learn_retro_test.go:439
FunctionTestLearnRetroStreamWeightsTimestampedRepeatedBlocks
(t *testing.T)
proxy/internal/store/learn_retro_test.go:476
FunctionTestLearnRetroStreamZeroWithoutLaterTurns
A block whose session shows no provider-counted turn after it was never sent, so it must weigh zero in the stream figure (while still counting once in
proxy/internal/store/learn_retro_test.go:845
FunctionTestLearnRetroTimeBoxTruncatesNewestFirst
(t *testing.T)
proxy/internal/store/learn_retro_test.go:870
FunctionTestLearnScanNoRememberSkipsDurableLearnings
(t *testing.T)
proxy/cmd/caveman-proxy/learn_wire_test.go:289
FunctionTestLearnScanReportsHomeLeavesCanonicalReportAlone
(t *testing.T)
proxy/cmd/caveman-proxy/learn_wire_test.go:322
FunctionTestLearnSessionSourcesUsesTheRelocatedPiSessionsDir
The relocation tests above build the source directly, so every one of them still passes if learnSessionSources() is left constructing the pi source fr
proxy/internal/store/source_pi_test.go:228
FunctionTestLearnSimulateOccurrenceAndObservedTurnArithmetic
(t *testing.T)
proxy/internal/store/learn_simulate_test.go:10
FunctionTestLearnSimulateRefusesSameFileOverlap
(t *testing.T)
proxy/internal/store/learn_simulate_test.go:84
FunctionTestLearnV2BehavioralTokensObservedAndDailyEquivalentRanking
(t *testing.T)
proxy/internal/store/learn_v2_p0_test.go:72
FunctionTestLearnV2ConfigSnapshotHistoryAppendsOnlyChangedCounts
(t *testing.T)
proxy/internal/store/learn_v2_p0_test.go:340
FunctionTestLearnV2ConfigSnapshotsUseO200kAndNameBasis
(t *testing.T)
proxy/internal/store/learn_v2_p0_test.go:183
FunctionTestLearnV2MeasuredPrefixUsesFirstDeduplicatedTurnAcrossSources
(t *testing.T)
proxy/internal/store/learn_v2_p0_test.go:14
FunctionTestLearnV2StructuredSkillUseRejectsBareSubstring
(t *testing.T)
proxy/internal/store/learn_v2_p0_test.go:147
FunctionTestLearnWireHelperProcess
TestLearnWireHelperProcess runs runLearn in a child so failure paths, which exit the process, can be asserted on exit code and stderr.
proxy/cmd/caveman-proxy/learn_wire_test.go:66
FunctionTestLeaveAloneAnythingCavemanDoesNotOwn
Restrict rewrites a home's permissions for good. Only a plain folder holding nothing but Caveman's own files, one of them a file no other program writ
proxy/internal/securehome/securehome_test.go:11
FunctionTestLeaveAloneWindowsRootsAndShares
(t *testing.T)
proxy/internal/securehome/securehome_windows_test.go:91
FunctionTestLedgerEvictionForgetsAFreeze
TestLedgerEvictionForgetsAFreeze is the honest consequence of a bounded ledger: eviction is a loss of memory, so an evicted session's lever comes back
proxy/internal/gateway/ledger_test.go:165
FunctionTestLedgerEvictsLeastRecentlyUsed
TestLedgerEvictsLeastRecentlyUsed: the ledger is bounded, so a client that mints a fresh session per request cannot grow it without limit — and the se
proxy/internal/gateway/ledger_test.go:138
FunctionTestLedgerFreezesAfterThreeStrikes
TestLedgerFreezesAfterThreeStrikes walks the whole tripwire: a quiet baseline, three anomalous calls, the freeze, and the fail-open consequence.
proxy/internal/gateway/ledger_test.go:46
FunctionTestLedgerIsInertWithoutASessionID
(t *testing.T)
proxy/internal/gateway/ledger_test.go:26
FunctionTestLedgerJudgesThePreviousRequestsLevers
TestLedgerJudgesThePreviousRequestsLevers: a lever is judged by what the NEXT request had to pay to re-cache the prefix it produced. A spike on a requ
proxy/internal/gateway/ledger_test.go:116
FunctionTestLedgerNilReceiverIsPermissive
TestLedgerNilReceiverIsPermissive: a Server built without a ledger must not take a lever away or panic. The tripwire only ever subtracts capability.
proxy/internal/gateway/ledger_test.go:203
FunctionTestLedgerRequiresBothThresholds
TestLedgerRequiresBothThresholds pins that neither half of the rule fires alone: a huge ratio under the floor is noise, and a huge absolute number tha
proxy/internal/gateway/ledger_test.go:90
FunctionTestLedgerTracksSessionTotals
(t *testing.T)
proxy/internal/gateway/ledger_test.go:186
FunctionTestLegacyConditionsFromParityFixture
(t *testing.T)
proxy/internal/middleware/protocol_v11_test.go:222
FunctionTestLegacyOptOutPathFollowsTheUserHome
The old CLI wrote that opt-out under Node's os.homedir(). PowerShell and cmd leave HOME unset, and the user home there (USERPROFILE) is not the parent
proxy/internal/cloudlink/link_test.go:888
FunctionTestLegacyUnsafeTrialRowsFailClosed
(t *testing.T)
proxy/internal/store/trial_feature_test.go:320
FunctionTestLimitPauseLiftsWhenMeSaysSo
A limit pause asks /me at most every 15 minutes and lifts once routing is no longer limited (a card added, a limit raised).
proxy/internal/cloudlink/link_test.go:937
FunctionTestLinkTransportKeepsConnections
The link's own transport keeps connections for the asks: HTTP/2 tried, idle connections held at least 10 min, proxies from the environment.
proxy/internal/cloudlink/warm_test.go:279
FunctionTestLintReportsInferredReductions
(t *testing.T)
shrink/shrink_test.go:233
FunctionTestListFilesSkipsWalkWhenRootIsHomeDirectory
A cwd equal to the user's home directory is never a repository: mapping it walks everything a user keeps at home, including .Trash. listFiles must rec
proxy/internal/repointel/index_test.go:538
FunctionTestListPriceEligibilityAndResolvedOpenAIRegion
(t *testing.T)
proxy/providers/adapter_contract_test.go:107
FunctionTestListReturnsFullCatalog
(t *testing.T)
shared/platform/catalog/catalog_test.go:806
FunctionTestListSessionObjectsReadsOneSnapshot
(t *testing.T)
engine/ccr/store_consolidation_blocks_test.go:241
FunctionTestListenAuthenticationSourcesAndTLSPairs
Every identity source makes a non-loopback listener legal; nothing does not. TLS files must come as a pair.
proxy/internal/config/middleware_test.go:92
FunctionTestListingGivesIntroducedBlankLinesNoNumber
The text compressor joins kept sections with blank lines a one-line-per-entry log never had. Those blanks took the cursor's number, so the gutter read
engine/listing_test.go:206
FunctionTestListingKeepsTrueNumbersAfterElidingRepeatingLines
A log whose text repeats every 420 lines: the line kept after a 645-line elision was numbered from its first identical copy (source line 648 printed a
engine/listing_test.go:191
FunctionTestLiveOpenRouterCache
(t *testing.T)
proxy/internal/cloudlink/live_cache_test.go:134
FunctionTestLiveZoneConsumesDensity
The proxy live zone must CONSUME density, not ignore it: with CAVE_PIXEL_DENSITY unset (default balanced) a density-capable reader renders denser (mor
proxy/internal/gateway/pixel_density_test.go:16
FunctionTestLiveZoneDeterminismAndMarkerContentAddressing
(t *testing.T)
proxy/internal/gateway/live_zone_test.go:132
FunctionTestLiveZoneDuplicateReadCollapsingPreservesPrefixAndRecovers
(t *testing.T)
proxy/internal/gateway/dedup_test.go:97
FunctionTestLiveZoneRequiresPrefixStabilizer
TestLiveZoneRequiresPrefixStabilizer pins the capability gate: OpenAI is eligible because it exposes frozen/live Responses/chat zones, while an otherw
proxy/internal/gateway/prefix_stability_test.go:453
FunctionTestLiveZoneTokenAwarePerBlockRevert
(t *testing.T)
proxy/internal/gateway/live_zone_test.go:157
FunctionTestLoadOrCreateSessionKeyIsStableAndUserOnly
(t *testing.T)
proxy/internal/nativeruntime/marker_test.go:91
FunctionTestLoad_AcceptsLoopbackListen
(t *testing.T)
proxy/internal/config/config_test.go:140
FunctionTestLoad_AuthTokenAllowsNonLoopbackListen
(t *testing.T)
proxy/internal/config/config_test.go:89
FunctionTestLoad_AuthTokenInYAMLIsRefused
`auth_token:` in caveman.yaml used to be dropped silently by the yaml:"-" tag, leaving an operator convinced their non-loopback proxy was gated when i
proxy/internal/config/config_test.go:752
FunctionTestLoad_AuthTokenIsEnvironmentOnly
AuthToken is env-only in both directions: a YAML or JSON value never reaches it, and the environment is assigned unconditionally so a stale field cann
proxy/internal/config/config_test.go:773
FunctionTestLoad_BreakpointPlanDefaultsFrontierAndFailsClosed
Cache planning defaults on in optimization modes. Explicit off and unknown values remain fail-closed off-switches; record mode never runs planner.
proxy/internal/config/config_test.go:563
FunctionTestLoad_CABundle
(t *testing.T)
proxy/internal/config/config_test.go:664
FunctionTestLoad_CacheOptimizersDefaultOnWithExplicitOff
(t *testing.T)
proxy/internal/config/config_test.go:275
FunctionTestLoad_CompatMalformedErrors
(t *testing.T)
proxy/internal/config/config_test.go:339
FunctionTestLoad_CompressModeAccepted
(t *testing.T)
proxy/internal/config/config_test.go:172
FunctionTestLoad_ForwardHeadersRemedyOnACompatMountLoads
The remedy the error names must itself load, or the error is a dead end.
proxy/internal/config/config_test.go:824
FunctionTestLoad_ForwardHeadersUnderAProviderIsRefused
Header forwarding is a compat-mount contract: `forward_headers` exists on `compat.<name>` and is validated there. Written under a `providers.<name>` b
proxy/internal/config/config_test.go:802
FunctionTestLoad_MissingFileYieldsRecordDefaults
(t *testing.T)
proxy/internal/config/config_test.go:32
FunctionTestLoad_ParsesCompatUpstreams
(t *testing.T)
proxy/internal/config/config_test.go:303
FunctionTestLoad_ParsesProvidersAndOptimizers
(t *testing.T)
proxy/internal/config/config_test.go:249
FunctionTestLoad_ProviderBaseURLWithoutForwardHeadersStillLoads
A provider block that does not mention the key is untouched.
proxy/internal/config/config_test.go:840
FunctionTestLoad_RejectsNonLoopbackListen
(t *testing.T)
proxy/internal/config/config_test.go:68
FunctionTestLoad_RejectsUnusableAuthToken
(t *testing.T)
proxy/internal/config/config_test.go:112
FunctionTestLoad_SubscriptionCompressDefaultsToAllowed
A bare config leaves the subscription off-switch at its permissive default: local compression needs no account, so an empty value means "allowed" and
proxy/internal/config/config_test.go:189
FunctionTestLoad_SubscriptionCompressEnvOverrideAndUnknownFailClosed
(t *testing.T)
proxy/internal/config/config_test.go:214
FunctionTestLoad_SubscriptionCompressLiveZoneAccepted
(t *testing.T)
proxy/internal/config/config_test.go:200
FunctionTestLoad_ToolSchemaStripDefaultsOffAndFailsClosed
The tool-schema strip is DEFAULT OFF: it changes model-visible bytes, so only the explicit value "annotations" turns it on and every other spelling —
proxy/internal/config/config_test.go:509
FunctionTestLoad_UnknownModeFailsClosedToRecord
(t *testing.T)
proxy/internal/config/config_test.go:158
FunctionTestLoad_UpstreamProxy
(t *testing.T)
proxy/internal/config/config_test.go:608
FunctionTestLocalPlaintextRemainsAvailable
(t *testing.T)
shared/platform/postgresconfig/postgresconfig_test.go:178
FunctionTestLocalTurnEffortOpenAIGPT6CacheSafeAndSkipsGPT5AndChat
(t *testing.T)
proxy/internal/gateway/local_turn_effort_test.go:290
FunctionTestLocalTurnEffortOpus55DefaultEffortAndNoSessionHeaderFallback
(t *testing.T)
proxy/internal/gateway/local_turn_effort_test.go:218
FunctionTestLocalTurnEffortOpus55IsCacheSafeEndToEnd
(t *testing.T)
proxy/internal/gateway/local_turn_effort_test.go:118
FunctionTestLocalTurnEffortSkipsUnsupportedModelsAndHealsWithoutTopLevelMutation
(t *testing.T)
proxy/internal/gateway/local_turn_effort_test.go:244
FunctionTestLockedBuildExecutesExactTypedTransform
(t *testing.T)
proxy/internal/gateway/compress_test.go:372
FunctionTestLogCompressesMixedLineEndings
(t *testing.T)
engine/compressors/lineends_test.go:32
FunctionTestLogFastFilterMatchesCanonicalRegexp
(t *testing.T)
engine/compressors/log_match_test.go:8
FunctionTestLogIdempotent
(t *testing.T)
engine/compressors/log_test.go:71
FunctionTestLogInvalidUTF8PassesThrough
(t *testing.T)
engine/compressors/log_test.go:103
FunctionTestLogKeepsErrorsDropsNoise
(t *testing.T)
engine/compressors/log_test.go:24
FunctionTestLogKeepsSyslogEmergencySeverities
(t *testing.T)
engine/compressors/log_test.go:44
FunctionTestLogMarkerCarriesLineInvariants
(t *testing.T)
engine/compressors/invariants_test.go:478
FunctionTestLogPreservesCRLF
(t *testing.T)
engine/compressors/log_test.go:83
FunctionTestLogQueryKeepsRelevantNonErrorLine
(t *testing.T)
engine/compressors/log_test.go:117
FunctionTestLogTooShortPassesThrough
(t *testing.T)
engine/compressors/log_test.go:110
FunctionTestLogfmtFieldsExtraction
(t *testing.T)
engine/compressors/invariants_test.go:393
FunctionTestLoginWarms
A login after start warms: the link takes the new credential at its next read of the CLI state.
proxy/internal/cloudlink/warm_test.go:106
FunctionTestLogoutPendingCleanupIsSignedOut
A logout that stopped after revoking the session but before its final save leaves logoutPendingLocalCleanup in cloud.json: the proxy is signed out.
proxy/internal/cloudlink/link_test.go:1218
FunctionTestLoneSessionTokenIsNotAPair
(t *testing.T)
shared/platform/awscreds/awscreds_test.go:109
← previousnext →9,701–9,800 of 12,853, ranked by callers