MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

FunctionTestSubscriptionRecoveryFromRequestToolList
(t *testing.T)
proxy/internal/gateway/subscription_live_zone_test.go:472
FunctionTestSubscriptionWithoutMCPRecoveryPassesThrough
TestSubscriptionWithoutMCPRecoveryPassesThrough pins recoverability. Subscription compression is marker-only — the proxy never injects its server-side
proxy/internal/gateway/subscription_live_zone_test.go:136
FunctionTestSubscriptionWithoutPrefixCachePassesThrough
TestSubscriptionWithoutPrefixCachePassesThrough pins the maintainability half of the same rule: a rewrite the proxy cannot re-issue on the next turn w
proxy/internal/gateway/subscription_live_zone_test.go:163
FunctionTestSuggestedAllowlistEntryWorksAtDialTime
The suggestion must also work at DIAL time, which is where a real request is actually stopped — a token that only satisfies pre-flight sends the opera
shared/platform/ssrf/ssrf_test.go:682
FunctionTestSummarizeElidedRespectsItsBudget
(t *testing.T)
engine/compressors/invariants_test.go:247
FunctionTestSummarizeElidedStatesOnlyWhatHoldsEverywhere
(t *testing.T)
engine/compressors/invariants_test.go:37
FunctionTestSummary
(t *testing.T)
engine/ccr/store_test.go:307
FunctionTestSummaryDisclosesCacheWarms
(t *testing.T)
proxy/internal/store/cache_warm_stats_test.go:37
FunctionTestSupersedeCanRevertToAnEarlierValue
(t *testing.T)
mem/store_test.go:407
FunctionTestSupersedeExpiresOldMemoryAndRecallUsesCurrentVersion
(t *testing.T)
mem/store_test.go:234
FunctionTestSupersedeFailsClosedWithoutCorruptingLineage
(t *testing.T)
mem/store_test.go:287
FunctionTestSupersedeReadsReplacementFromStdinAndMapsTooLargeExit
(t *testing.T)
mem/cmd/cavemem/main_test.go:317
FunctionTestSupersedeRejectsOversizedReplacementWithoutExpiringCurrent
(t *testing.T)
mem/store_test.go:309
FunctionTestSupported
(t *testing.T)
proxy/internal/translate/messages_test.go:17
FunctionTestSupportsReasoningEffort
(t *testing.T)
proxy/providers/openai/reasoning_effort_test.go:293
FunctionTestSupportsReasoningEffortForEndpointSkipsProAliases
(t *testing.T)
proxy/providers/openai/reasoning_effort_test.go:272
FunctionTestSweepBudgetAndBacklogGauge
GO-9: the sweep stops at its time budget, and whatever it left is reported.
proxy/internal/middleware/hardening_test.go:433
FunctionTestSweepReclaimsWithoutRequests
Expiry used to run in front of every optimize, sharing its writer. It now runs in the background sweep, in its own transactions, so it commits whether
proxy/internal/middleware/runtime_test.go:543
FunctionTestSweptGrantAnswersExpiredUntilGraceEnds
GO-2: a swept grant keeps answering 410 expired until its grace ends, and only then becomes unknown.
proxy/internal/middleware/hardening_test.go:195
FunctionTestSwitchingStoresLeavesOneSecret
(t *testing.T)
proxy/internal/pool/pool_test.go:284
FunctionTestTLSListenerMapsClientCertificatesToPrincipals
(t *testing.T)
proxy/internal/identity/tls_test.go:64
FunctionTestTOONCompressorTabularArrayRoundTrips
(t *testing.T)
engine/compressors/toon_test.go:10
FunctionTestTOONCompressorUnsupportedShapesPassThrough
(t *testing.T)
engine/compressors/toon_test.go:27
FunctionTestTOONDeterministic
(t *testing.T)
engine/compressors/toon_test.go:73
FunctionTestTOONEncodeDecodeRoundTrip
The agent emits the compact TOON form; downstream recovers JSON. The two must be semantically identical so nothing the agent omits gets corrupted on t
engine/cmd/caveman-engine/main_test.go:21
FunctionTestTOONNumbersPreserveLexicalForm
(t *testing.T)
engine/compressors/toon_test.go:57
FunctionTestTOONRootScalarAndScalarArrayRoundTrip
(t *testing.T)
engine/compressors/toon_test.go:106
FunctionTestTOONSortsNonTabularObjectKeys
(t *testing.T)
engine/compressors/toon_test.go:89
FunctionTestTOONStringsNeedingQuotesRoundTrip
(t *testing.T)
engine/compressors/toon_test.go:41
FunctionTestTOONVerbsFailClosed
Both verbs fail closed: encode refuses shapes it cannot prove round-trip, and decode refuses malformed input, rather than emitting a lossy/guessed res
engine/cmd/caveman-engine/main_test.go:45
FunctionTestTabularCSVMarkerHasStableFieldCount
(t *testing.T)
engine/compressors/tabular_test.go:175
FunctionTestTabularCSVPreservesCRLFWithoutAddingTrailingNewline
(t *testing.T)
engine/compressors/tabular_test.go:196
FunctionTestTabularCSVStaysValidAndKeepsHeaderExtremaAndErrors
(t *testing.T)
engine/compressors/tabular_test.go:30
FunctionTestTabularLargeIntegerRangeCoversEveryElidedRow
Past 2^53 two different integers can parse to the same float64 (snowflake IDs, nanosecond timestamps). The id column stayed on the numeric track, the
engine/compressors/tabular_test.go:257
FunctionTestTabularMalformedOrTinyPassesThrough
(t *testing.T)
engine/compressors/tabular_test.go:162
FunctionTestTabularMarkdownKeepsEscapedPipesInsideCells
(t *testing.T)
engine/compressors/tabular_test.go:130
FunctionTestTabularMarkdownKeepsShapeAndIsIdempotent
(t *testing.T)
engine/compressors/tabular_test.go:108
FunctionTestTabularMarkerCarriesRowInvariants
(t *testing.T)
engine/compressors/invariants_test.go:458
FunctionTestTabularNonFiniteCellIsNotAbsorbedIntoARange
A CSV export with one non-numeric measurement — how pandas, Postgres `numeric` and R all spell a missing value — must not compress to something indist
engine/compressors/tabular_test.go:221
FunctionTestTabularQueryKeepsRelevantMiddleRows
(t *testing.T)
engine/compressors/tabular_test.go:62
FunctionTestTabularTSVStaysValidAndKeepsQueryRow
(t *testing.T)
engine/compressors/tabular_test.go:80
FunctionTestTakeoverKeepsTheDropBlockRefusal
A side loop taking the session over keeps the refused drop_block: back on the main thread a new binding 400 goes straight to the strip.
proxy/internal/gateway/route_effort_test.go:1835
FunctionTestTakeoverKeepsTheFixedTopLevel
The main thread's fixed top-level effort comes back with its marks after a side loop took the session over.
proxy/internal/gateway/route_effort_test.go:1763
FunctionTestTakeoverKeepsThePreviousMarksPending
An unlabeled multi-turn side loop that takes the session over leaves the main thread's marks pending: the main thread takes them back.
proxy/internal/gateway/route_effort_test.go:1665
FunctionTestTamperedPriceCapabilityBreaksTheSnapshotPin
TestTamperedPriceCapabilityBreaksTheSnapshotPin reproduces the 2026-07-31 review probe verbatim: change regional_processing_multiplier from the 1.10 t
shared/platform/catalog/catalog_test.go:342
FunctionTestTamperedSignatureHealsByStripping
A tampered or undecryptable signature is no prefix change: drop_block does not apply, so the heal strips from the failing message on.
proxy/internal/gateway/route_effort_test.go:1315
FunctionTestTargetCarriesTheLoginsCredentialAndTheHostsWire
(t *testing.T)
proxy/internal/pool/pool_test.go:109
FunctionTestTaskContractKeepsPolicyAcrossFollowupsAndInjectsOnlyOnPolicyChange
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:169
FunctionTestTaskContractStartsNewGeneralTaskAndRefreshesGoalIdentity
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:275
FunctionTestTemporaryCredentialWithoutExpiryStillRefreshes
(t *testing.T)
shared/platform/awscreds/awscreds_test.go:716
FunctionTestTerminalANSIColoredOutput
(t *testing.T)
engine/compressors/terminal_test.go:107
FunctionTestTerminalCRLFDocumentBehavior
(t *testing.T)
engine/compressors/terminal_test.go:121
FunctionTestTerminalCRNumberedRecordsAllSurvive
The collapse decision is all or nothing per line. Dropping only the segments the redundancy gate judges redundant reintroduced #1294 at a smaller scal
engine/compressors/terminal_test.go:219
FunctionTestTerminalCRTerminatedDocumentKeepsEveryLine
A bare \r is only a redraw when the frame it overwrote said the same thing. The same byte terminates lines in a classic-Mac document and shows up as a
engine/compressors/terminal_test.go:149
FunctionTestTerminalCRTerminatedDocumentWithANSIKeepsEveryLine
(t *testing.T)
engine/compressors/terminal_test.go:167
FunctionTestTerminalCollapsesCarriageReturns
(t *testing.T)
engine/compressors/terminal_test.go:27
FunctionTestTerminalColoredFinalFrameCollapses
Compress strips ANSI only after collapsing, so the segments have to be compared by their visible text. Judging the raw bytes let a frame that merely g
engine/compressors/terminal_test.go:235
FunctionTestTerminalCompressRoundTrip
TestTerminalCompressRoundTrip checks the recoverable-RTK contract end to end: noisy command output is auto-detected as terminal, compressed (lossy, S4
engine/terminal_test.go:82
FunctionTestTerminalEventEndsTheStream
An answer ends when the upstream's terminal event arrives, not when the upstream closes the connection: with the upstream lingering 30 s after it, eve
proxy/internal/translate/wire_gaps_test.go:930
FunctionTestTerminalIntraLineCRKeepsDistinctSegments
(t *testing.T)
engine/compressors/terminal_test.go:182
FunctionTestTerminalIsIdempotent
(t *testing.T)
engine/compressors/terminal_test.go:129
FunctionTestTerminalKeepsMixedLineEndings
A single CRLF anywhere used to decide the line ending for the whole document: terminal/config/tabular rewrote every LF to CRLF, and log/searchresult/d
engine/compressors/lineends_test.go:15
FunctionTestTerminalKeepsSignalElidesMiddle
(t *testing.T)
engine/compressors/terminal_test.go:44
FunctionTestTerminalPassesThroughPlainShort
(t *testing.T)
engine/compressors/terminal_test.go:81
FunctionTestTerminalProgressRedrawStillCollapsesWithoutLF
(t *testing.T)
engine/compressors/terminal_test.go:197
FunctionTestTerminalProgressRedrawWithLFAndANSI
(t *testing.T)
engine/compressors/terminal_test.go:90
FunctionTestTerminalStripsANSI
(t *testing.T)
engine/compressors/terminal_test.go:10
FunctionTestTestReportAllPassed
(t *testing.T)
engine/compressors/testreport_test.go:537
FunctionTestTestReportDetectedShapesCompress
TestTestReportDetectedShapesCompress pins that a payload Detect routes to test-report really compresses through the engine. Engine.Compress has no fal
engine/compressors/testreport_test.go:398
FunctionTestTestReportDetection
Test detection
engine/compressors/testreport_test.go:298
FunctionTestTestReportDetectionIsAnchored
TestTestReportDetectionIsAnchored pins that detection reads only top-level shape. Payloads that merely mention JUnit tags or pytest keys somewhere ins
engine/compressors/testreport_test.go:351
FunctionTestTestReportDetectionRequiresParse
TestTestReportDetectionRequiresParse pins that a test-report root the compressor cannot read keeps its pre-test-report routing instead of being claime
engine/compressors/testreport_test.go:436
FunctionTestTestReportFailClosed
Test behavior
engine/compressors/testreport_test.go:477
FunctionTestTestReportIdempotent
(t *testing.T)
engine/compressors/testreport_test.go:501
FunctionTestTestReportJUnitXML
Test format parsing
engine/compressors/testreport_test.go:129
FunctionTestTestReportJestJSON
(t *testing.T)
engine/compressors/testreport_test.go:264
FunctionTestTestReportPytestJSON
(t *testing.T)
engine/compressors/testreport_test.go:219
FunctionTestTestReportPytestKeepsEveryOutcome
TestTestReportPytestKeepsEveryOutcome pins that outcomes beyond passed/failed/skipped/error still reach the summary, and that a setup or teardown erro
engine/compressors/testreport_test.go:457
FunctionTestTestReportStackTrimming
(t *testing.T)
engine/compressors/testreport_test.go:576
FunctionTestTextCompressorKeepsHeadingsAndImportantSections
(t *testing.T)
engine/compressors/breadth_test.go:215
FunctionTestTextCompressorRejectsTinyOrBinaryInput
(t *testing.T)
engine/compressors/breadth_test.go:263
FunctionTestTextKeepsFencedBlockWhole
(t *testing.T)
engine/compressors/lineends_test.go:76
FunctionTestTextQueryKeepsRelevantMiddleSection
(t *testing.T)
engine/compressors/breadth_test.go:241
FunctionTestThinkingOffIsEffortNone
--- 5. thinking off is effort none, clamped to the model --------------------------
proxy/internal/translate/wire_gaps_test.go:244
FunctionTestThirdReviewFindings
(t *testing.T)
proxy/internal/translate/wire_gaps_test.go:781
FunctionTestThreeTurnLiveZoneKeepsFrozenPrefixAndStaticTools
(t *testing.T)
proxy/internal/gateway/live_zone_test.go:277
FunctionTestTinyCSVClassesAreNotElided
(t *testing.T)
engine/compressors/invariants_test.go:826
FunctionTestTinyClassesAreNotElided
--- small classes are not elided at all --- TestTinyClassesAreNotElided: a one- or two-unit marker plus its recovery handle costs about what the units
engine/compressors/invariants_test.go:786
FunctionTestTinyLogClassesAreNotElided
(t *testing.T)
engine/compressors/invariants_test.go:847
FunctionTestTokenMapPrincipalsNamespacesAndLegacyToken
(t *testing.T)
proxy/internal/identity/identity_test.go:50
FunctionTestTokenMapQuotaOverridesArePerPrincipal
Per-principal quota overrides from the token map bound only that principal.
proxy/internal/middleware/identity_test.go:124
FunctionTestTokenMapRejectsAmbiguousFiles
(t *testing.T)
proxy/internal/identity/identity_test.go:128
FunctionTestTokenMapRotationAndReload
Two tokens per principal rotate without an outage; a broken file keeps the last good map instead of locking everyone out or opening up.
proxy/internal/identity/identity_test.go:100
FunctionTestTokenVocabularyMatchesRuneOracle
(t *testing.T)
engine/compressors/tokenize_equivalence_test.go:57
FunctionTestTokenizeDeterministic
(t *testing.T)
mem/bm25_test.go:5
FunctionTestToolLoopKeepsTheAsk
Claude Code puts its system-reminders next to tool results: that message is part of the tool loop, so the loop keeps the ask's text and its decision.
proxy/internal/cloudlink/link_test.go:308
FunctionTestToolPortfolioRanksAndDisclosesItsBasis
TestToolPortfolioRanksAndDisclosesItsBasis proves the sink names the heaviest call shape, prices it at the measured rate, and labels its token basis a
proxy/internal/store/detect_tool_portfolio_test.go:39
FunctionTestToolPortfolioSilentBelowThreshold
TestToolPortfolioSilentBelowThreshold keeps the sink off a machine with nothing worth reporting.
proxy/internal/store/detect_tool_portfolio_test.go:78
FunctionTestToolSchemaAbbreviationNotSplit
TestToolSchemaAbbreviationNotSplit guards abbreviation boundaries: the description reducer must not cut inside an abbreviation. "Target path, e.g. /sr
engine/compressors/toolschema_test.go:322
FunctionTestToolSchemaAnnotationsCompressorIsForcedOnlyAndS4
(t *testing.T)
engine/compressors/toolschema_annotations_test.go:205
← previousnext →10,501–10,600 of 12,391, ranked by callers