From 3704781586a0e36e055e2e8654abd1d7ae97ade6 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 19:36:59 +0000 Subject: [PATCH] test(mcpx): probe daemon.inlineStartTimeout and daemon.probeTimeout (#8473 chain 41) daemon.inlineStartTimeout: with daemon.inline=always and a 1ns bound the inline rung fails with "the in-process daemon did not answer"; the default bound lists demo. daemon.probeTimeout: a second configuration with autostart off fails with the connection ladder. By default its sibling rung reports the first configuration's live daemon; with a 1ns bound no dial finishes and no sibling is reported. Drops two exemptions; the pin goes from 99 to 97. Refs #8473 Co-Authored-By: Claude Opus 5.5 --- pkgs/mcpx/internal/e2e/effect_test.go | 320 ++++++++++-------- .../e2e/feature_coverage_exemptions.txt | 2 - pkgs/mcpx/internal/settings/effect.go | 6 +- 3 files changed, 191 insertions(+), 137 deletions(-) diff --git a/pkgs/mcpx/internal/e2e/effect_test.go b/pkgs/mcpx/internal/e2e/effect_test.go index f57c88d1b6..32fd3909ff 100644 --- a/pkgs/mcpx/internal/e2e/effect_test.go +++ b/pkgs/mcpx/internal/e2e/effect_test.go @@ -101,6 +101,8 @@ var implementedEffectProbes = map[string]string{ "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", "events.history": "TestEventsHistoryBoundsTheReplay", + "daemon.inlineStartTimeout": "TestDaemonInlineStartTimeoutBoundsTheInProcessStartFromTheEnvironment", + "daemon.probeTimeout": "TestDaemonProbeTimeoutDecidesWhetherASiblingDaemonIsReportedFromTheEnvironment", "daemon.warmTimeout": "TestDaemonWarmTimeoutBoundsTheStartupWarm", "autostart.connectTimeout": "TestAutostartConnectTimeoutBoundsTheWaitForADaemon", "autostart.pingTimeout": "TestAutostartPingTimeoutBoundsEachReadinessPing", @@ -190,138 +192,140 @@ var implementedEffectProbes = map[string]string{ // implemented probe name to appear here, so a declared probe must // really exist -- not just be spelled the same in two maps. var effectProbeFuncs = map[string]func(*testing.T){ - "TestLoggingFileOffWritesNoDurableLog": TestLoggingFileOffWritesNoDurableLog, - "TestOutputJSONIsReachableFromTheEnvironment": TestOutputJSONIsReachableFromTheEnvironment, - "TestPathsConfigFileChangesWhichConfigLoads": TestPathsConfigFileChangesWhichConfigLoads, - "TestPathsScriptsFindsRecipesThatLiveOnlyThere": TestPathsScriptsFindsRecipesThatLiveOnlyThere, - "TestPathsCacheChangesTheDoctorDirectory": TestPathsCacheChangesTheDoctorDirectory, - "TestPathsPluginsDiscoversAPluginThatLivesOnlyThere": TestPathsPluginsDiscoversAPluginThatLivesOnlyThere, - "TestProxyUpstreamTimeoutIsReachableFromTheEnvironment": TestProxyUpstreamTimeoutIsReachableFromTheEnvironment, - "TestPoolDefaultsAreReachableFromTheEnvironment": TestPoolDefaultsAreReachableFromTheEnvironment, - "TestRegistryLimitReachesTheCLI": TestRegistryLimitReachesTheCLI, - "TestRegistryPageSizeChangesWhatTheCLIAsksFor": TestRegistryPageSizeChangesWhatTheCLIAsksFor, - "TestScriptCaptureConsoleOffDropsConsoleOutput": TestScriptCaptureConsoleOffDropsConsoleOutput, - "TestScriptCwdIsReachableFromTheEnvironment": TestScriptCwdIsReachableFromTheEnvironment, - "TestScriptInterpreterIsReachableFromTheEnvironment": TestScriptInterpreterIsReachableFromTheEnvironment, - "TestScriptEnvIsReachableFromTheEnvironment": TestScriptEnvIsReachableFromTheEnvironment, - "TestScriptDevshellIsReachableFromTheEnvironment": TestScriptDevshellIsReachableFromTheEnvironment, - "TestScriptPrefixIsReachableFromTheEnvironment": TestScriptPrefixIsReachableFromTheEnvironment, - "TestScriptTypecheckOnRefusesATypeError": TestScriptTypecheckOnRefusesATypeError, - "TestSearchLimitCapsTheResults": TestSearchLimitCapsTheResults, - "TestStateDirectoryIsReachableAsASetting": TestStateDirectoryIsReachableAsASetting, - "TestStrictUnknownKeysRefusesATypo": TestStrictUnknownKeysRefusesATypo, - "TestTheRegistryPageCapSaysItStoppedEarly": TestTheRegistryPageCapSaysItStoppedEarly, - "TestDepsSourceNoneDropsTheManifestLayer": TestDepsSourceNoneDropsTheManifestLayer, - "TestDepsManifestNamesTheManifestResolutionReads": TestDepsManifestNamesTheManifestResolutionReads, - "TestDepsPackagesPinContradictingTheManifestFailsTheRun": TestDepsPackagesPinContradictingTheManifestFailsTheRun, - "TestPathsDepsExtendsManifestDiscovery": TestPathsDepsExtendsManifestDiscovery, - "TestTasksMaxAgeIsReachableFromEnvironment": TestTasksMaxAgeIsReachableFromEnvironment, - "TestStatsTopLimitsTheRowsTheStatsAPIReports": TestStatsTopLimitsTheRowsTheStatsAPIReports, - "TestAskPollCeilingIsReachableFromTheEnvironment": TestAskPollCeilingIsReachableFromTheEnvironment, - "TestAskRoundsLimitIsReachableFromTheEnvironment": TestAskRoundsLimitIsReachableFromTheEnvironment, - "TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment": TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment, - "TestAskTimeoutReleasesAHeldRequestFromTheEnvironment": TestAskTimeoutReleasesAHeldRequestFromTheEnvironment, - "TestStateTTLExpiresAResumableRequestFromTheEnvironment": TestStateTTLExpiresAResumableRequestFromTheEnvironment, - "TestSessionIdleReapsAnUnusedSessionFromTheEnvironment": TestSessionIdleReapsAnUnusedSessionFromTheEnvironment, - "TestMCPPathMovesTheEndpointFromTheEnvironment": TestMCPPathMovesTheEndpointFromTheEnvironment, - "TestNativeAsksTheCallingClientFromTheEnvironment": TestNativeAsksTheCallingClientFromTheEnvironment, - "TestListMaxAgeSetsTheListCacheHintFromTheEnvironment": TestListMaxAgeSetsTheListCacheHintFromTheEnvironment, - "TestReadMaxAgeSetsTheReadCacheHintFromTheEnvironment": TestReadMaxAgeSetsTheReadCacheHintFromTheEnvironment, - "TestTaskAfterHandsASlowCallATaskFromTheEnvironment": TestTaskAfterHandsASlowCallATaskFromTheEnvironment, - "TestTaskPollIntervalSetsTheTaskPollHintFromTheEnvironment": TestTaskPollIntervalSetsTheTaskPollHintFromTheEnvironment, - "TestTheRevisionPolicyDecidesWhetherProgressKeepsItsMessage": TestTheRevisionPolicyDecidesWhetherProgressKeepsItsMessage, - "TestTheRevisionPolicyDecidesWhetherAServerInitiatedRequestIsAnswered": TestTheRevisionPolicyDecidesWhetherAServerInitiatedRequestIsAnswered, - "TestSpecPrecedenceDecidesWhetherProgressKeepsItsMessageFromTheEnvironment": TestSpecPrecedenceDecidesWhetherProgressKeepsItsMessageFromTheEnvironment, - "TestExecMaxOutputBytesCapsStdoutFromTheEnvironment": TestExecMaxOutputBytesCapsStdoutFromTheEnvironment, - "TestExecTimeoutStopsALongScriptFromTheEnvironment": TestExecTimeoutStopsALongScriptFromTheEnvironment, - "TestExecOutputShapesTheResultFromTheEnvironment": TestExecOutputShapesTheResultFromTheEnvironment, - "TestMCPPageSizePagesToolsListFromTheEnvironment": TestMCPPageSizePagesToolsListFromTheEnvironment, - "TestMCPPassthroughServesANamespaceDirectlyFromTheEnvironment": TestMCPPassthroughServesANamespaceDirectlyFromTheEnvironment, - "TestCompletionPerMinuteLimitsOneCallerFromTheEnvironment": TestCompletionPerMinuteLimitsOneCallerFromTheEnvironment, - "TestCompletionServerPerMinuteLimitsAllCallersFromTheEnvironment": TestCompletionServerPerMinuteLimitsAllCallersFromTheEnvironment, - "TestLogstoreQueryLimitBoundsALogQueryFromTheEnvironment": TestLogstoreQueryLimitBoundsALogQueryFromTheEnvironment, - "TestRecipesMinScoreRefusesAWeakMatchFromTheEnvironment": TestRecipesMinScoreRefusesAWeakMatchFromTheEnvironment, - "TestRecipesMatchMarginSettlesATieFromTheEnvironment": TestRecipesMatchMarginSettlesATieFromTheEnvironment, - "TestRecipesLimitBoundsTheRankingFromTheEnvironment": TestRecipesLimitBoundsTheRankingFromTheEnvironment, - "TestTasksTTLSetsAnExecTasksRetentionFromTheEnvironment": TestTasksTTLSetsAnExecTasksRetentionFromTheEnvironment, - "TestTasksResultWaitBoundsCollectingAResultFromTheEnvironment": TestTasksResultWaitBoundsCollectingAResultFromTheEnvironment, - "TestProtoTasksMaxTTLClampsATasksRetentionFromTheEnvironment": TestProtoTasksMaxTTLClampsATasksRetentionFromTheEnvironment, - "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment": TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment, - "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment": TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment, - "TestEventsHistoryBoundsTheReplay": TestEventsHistoryBoundsTheReplay, - "TestDaemonWarmTimeoutBoundsTheStartupWarm": TestDaemonWarmTimeoutBoundsTheStartupWarm, - "TestAutostartConnectTimeoutBoundsTheWaitForADaemon": TestAutostartConnectTimeoutBoundsTheWaitForADaemon, - "TestAutostartPingTimeoutBoundsEachReadinessPing": TestAutostartPingTimeoutBoundsEachReadinessPing, - "TestPoolCallTimeoutBoundsASlowCall": TestPoolCallTimeoutBoundsASlowCall, - "TestPoolStartTimeoutBoundsServerStart": TestPoolStartTimeoutBoundsServerStart, - "TestDaemonRefreshTimeoutBoundsARefresh": TestDaemonRefreshTimeoutBoundsARefresh, - "TestDoctorTimeoutBoundsTheDaemonCheck": TestDoctorTimeoutBoundsTheDaemonCheck, - "TestRegistryTimeoutBoundsARegistryRequest": TestRegistryTimeoutBoundsARegistryRequest, - "TestCompletionMaxValuesCapsTheValues": TestCompletionMaxValuesCapsTheValues, - "TestCatalogInstructionsShowsServerGuidance": TestCatalogInstructionsShowsServerGuidance, - "TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName": TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName, - "TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts": TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts, - "TestPlumbingSourceDirAllowedTakesADirectoryAsSource": TestPlumbingSourceDirAllowedTakesADirectoryAsSource, - "TestPlumbingSourceDirRecursiveReadsSubdirectories": TestPlumbingSourceDirRecursiveReadsSubdirectories, - "TestPlumbingSourceProbePathsReadsANamedFile": TestPlumbingSourceProbePathsReadsANamedFile, - "TestArtifactsChunkBytesSplitsAStreamedBody": TestArtifactsChunkBytesSplitsAStreamedBody, - "TestScriptLauncherReplacesTheLauncher": TestScriptLauncherReplacesTheLauncher, - "TestPathsPlaceholdersDeclaresALauncherPlaceholder": TestPathsPlaceholdersDeclaresALauncherPlaceholder, - "TestArtifactsInterceptImagesStoresAnEmittedImage": TestArtifactsInterceptImagesStoresAnEmittedImage, - "TestPlumbingIndexOnQueryIngestsBeforeALogQuery": TestPlumbingIndexOnQueryIngestsBeforeALogQuery, - "TestPlumbingValidatePathsChecksTheLogDirUpFront": TestPlumbingValidatePathsChecksTheLogDirUpFront, - "TestScriptLanguageRunsPython": TestScriptLanguageRunsPython, - "TestLoggingTraceLogsEachCall": TestLoggingTraceLogsEachCall, - "TestExecWhereRemoteRunsOnTheDaemon": TestExecWhereRemoteRunsOnTheDaemon, - "TestPathsAdaptersFindsADeclarationFile": TestPathsAdaptersFindsADeclarationFile, - "TestPathsAPIsFindsADeclarationFile": TestPathsAPIsFindsADeclarationFile, - "TestScriptRuntimeSelectsTheRuntime": TestScriptRuntimeSelectsTheRuntime, - "TestScriptRuntimeOrderRanksTheAutoPick": TestScriptRuntimeOrderRanksTheAutoPick, - "TestScriptPermissionsSandboxesNode": TestScriptPermissionsSandboxesNode, - "TestScriptProfilesDefinesAProfile": TestScriptProfilesDefinesAProfile, - "TestScriptRuntimesDeclaresARuntime": TestScriptRuntimesDeclaresARuntime, - "TestScriptPhasesRunFromTheEnvironment": TestScriptPhasesRunFromTheEnvironment, - "TestHooksRunOnTheirEvent": TestHooksRunOnTheirEvent, - "TestHooksTimeoutStopsASlowHook": TestHooksTimeoutStopsASlowHook, - "TestDaemonUITurnsTheDashboardOff": TestDaemonUITurnsTheDashboardOff, - "TestDaemonUIDirOverridesTheDashboard": TestDaemonUIDirOverridesTheDashboard, - "TestLoggingLevelShowsDebugRecords": TestLoggingLevelShowsDebugRecords, - "TestLoggingFormatRendersJSON": TestLoggingFormatRendersJSON, - "TestLoggingSourceAddsTheCallSite": TestLoggingSourceAddsTheCallSite, - "TestLoggingDirHoldsTheDurableLog": TestLoggingDirHoldsTheDurableLog, - "TestLoggingIncludeChoosesTheAmbientBlocks": TestLoggingIncludeChoosesTheAmbientBlocks, - "TestLoggingMaxLinesRotatesTheFile": TestLoggingMaxLinesRotatesTheFile, - "TestLoggingMaxBytesRotatesTheFile": TestLoggingMaxBytesRotatesTheFile, - "TestLoggingKeepPrunesRotatedFiles": TestLoggingKeepPrunesRotatedFiles, - "TestArtifactsEnabledGatesTheStore": TestArtifactsEnabledGatesTheStore, - "TestArtifactsMaxBytesRefusesALargeArtifact": TestArtifactsMaxBytesRefusesALargeArtifact, - "TestArtifactsQuotaBoundsTheStore": TestArtifactsQuotaBoundsTheStore, - "TestArtifactsDeliveryInlinesTheBody": TestArtifactsDeliveryInlinesTheBody, - "TestArtifactsInlineMaxBytesBoundsAnInlinedBody": TestArtifactsInlineMaxBytesBoundsAnInlinedBody, - "TestArtifactsDirReceivesTheRunsArtifacts": TestArtifactsDirReceivesTheRunsArtifacts, - "TestPresetSelectsADefinedBundle": TestPresetSelectsADefinedBundle, - "TestServeModeSelectsTheServedSurface": TestServeModeSelectsTheServedSurface, - "TestPresetsDefinesNamedFlagBundles": TestPresetsDefinesNamedFlagBundles, - "TestCatalogBudgetFitsTheSignatures": TestCatalogBudgetFitsTheSignatures, - "TestCatalogBiasPicksWhatATightBudgetShows": TestCatalogBiasPicksWhatATightBudgetShows, - "TestCatalogPinnedToolsAlwaysListInReactiveMode": TestCatalogPinnedToolsAlwaysListInReactiveMode, - "TestRetentionMaxToolsCapsTheReactiveWorkingSet": TestRetentionMaxToolsCapsTheReactiveWorkingSet, - "TestDiagnoseHistoryCapsRecordedSchemaChanges": TestDiagnoseHistoryCapsRecordedSchemaChanges, - "TestDiagnosePreflightStopsAMismatchedScript": TestDiagnosePreflightStopsAMismatchedScript, - "TestServeMCPUnmountsTheEndpointFromTheEnvironment": TestServeMCPUnmountsTheEndpointFromTheEnvironment, - "TestDaemonAddressIsReachableFromTheEnvironment": TestDaemonAddressIsReachableFromTheEnvironment, - "TestDaemonAutostartIsReachableFromTheEnvironment": TestDaemonAutostartIsReachableFromTheEnvironment, - "TestHTTPBodyLimitsRejectOversizedBodies": TestHTTPBodyLimitsRejectOversizedBodies, - "TestHTTPEventStreamSettingsChangeTheStream": TestHTTPEventStreamSettingsChangeTheStream, - "TestHTTPReadHeaderTimeoutClosesSlowClients": TestHTTPReadHeaderTimeoutClosesSlowClients, - "TestHTTPRequestTimeoutBoundsAClientCall": TestHTTPRequestTimeoutBoundsAClientCall, - "TestHTTPShutdownGraceBoundsHowLongAStopWaits": TestHTTPShutdownGraceBoundsHowLongAStopWaits, - "TestHTTPStreamBufferMaxEndsAnOversizedEventLine": TestHTTPStreamBufferMaxEndsAnOversizedEventLine, - "TestTransportAllowedOriginsAreServed": TestTransportAllowedOriginsAreServed, - "TestTransportBearerTokenGatesTheDaemon": TestTransportBearerTokenGatesTheDaemon, - "TestTransportSSEKeepAliveCommentsOnAQuietStream": TestTransportSSEKeepAliveCommentsOnAQuietStream, - "TestTransportSessionMetaKeysNameTheSession": TestTransportSessionMetaKeysNameTheSession, - "TestTransportStdioDrainBoundsServeShutdown": TestTransportStdioDrainBoundsServeShutdown, + "TestLoggingFileOffWritesNoDurableLog": TestLoggingFileOffWritesNoDurableLog, + "TestOutputJSONIsReachableFromTheEnvironment": TestOutputJSONIsReachableFromTheEnvironment, + "TestPathsConfigFileChangesWhichConfigLoads": TestPathsConfigFileChangesWhichConfigLoads, + "TestPathsScriptsFindsRecipesThatLiveOnlyThere": TestPathsScriptsFindsRecipesThatLiveOnlyThere, + "TestPathsCacheChangesTheDoctorDirectory": TestPathsCacheChangesTheDoctorDirectory, + "TestPathsPluginsDiscoversAPluginThatLivesOnlyThere": TestPathsPluginsDiscoversAPluginThatLivesOnlyThere, + "TestProxyUpstreamTimeoutIsReachableFromTheEnvironment": TestProxyUpstreamTimeoutIsReachableFromTheEnvironment, + "TestPoolDefaultsAreReachableFromTheEnvironment": TestPoolDefaultsAreReachableFromTheEnvironment, + "TestRegistryLimitReachesTheCLI": TestRegistryLimitReachesTheCLI, + "TestRegistryPageSizeChangesWhatTheCLIAsksFor": TestRegistryPageSizeChangesWhatTheCLIAsksFor, + "TestScriptCaptureConsoleOffDropsConsoleOutput": TestScriptCaptureConsoleOffDropsConsoleOutput, + "TestScriptCwdIsReachableFromTheEnvironment": TestScriptCwdIsReachableFromTheEnvironment, + "TestScriptInterpreterIsReachableFromTheEnvironment": TestScriptInterpreterIsReachableFromTheEnvironment, + "TestScriptEnvIsReachableFromTheEnvironment": TestScriptEnvIsReachableFromTheEnvironment, + "TestScriptDevshellIsReachableFromTheEnvironment": TestScriptDevshellIsReachableFromTheEnvironment, + "TestScriptPrefixIsReachableFromTheEnvironment": TestScriptPrefixIsReachableFromTheEnvironment, + "TestScriptTypecheckOnRefusesATypeError": TestScriptTypecheckOnRefusesATypeError, + "TestSearchLimitCapsTheResults": TestSearchLimitCapsTheResults, + "TestStateDirectoryIsReachableAsASetting": TestStateDirectoryIsReachableAsASetting, + "TestStrictUnknownKeysRefusesATypo": TestStrictUnknownKeysRefusesATypo, + "TestTheRegistryPageCapSaysItStoppedEarly": TestTheRegistryPageCapSaysItStoppedEarly, + "TestDepsSourceNoneDropsTheManifestLayer": TestDepsSourceNoneDropsTheManifestLayer, + "TestDepsManifestNamesTheManifestResolutionReads": TestDepsManifestNamesTheManifestResolutionReads, + "TestDepsPackagesPinContradictingTheManifestFailsTheRun": TestDepsPackagesPinContradictingTheManifestFailsTheRun, + "TestPathsDepsExtendsManifestDiscovery": TestPathsDepsExtendsManifestDiscovery, + "TestTasksMaxAgeIsReachableFromEnvironment": TestTasksMaxAgeIsReachableFromEnvironment, + "TestStatsTopLimitsTheRowsTheStatsAPIReports": TestStatsTopLimitsTheRowsTheStatsAPIReports, + "TestAskPollCeilingIsReachableFromTheEnvironment": TestAskPollCeilingIsReachableFromTheEnvironment, + "TestAskRoundsLimitIsReachableFromTheEnvironment": TestAskRoundsLimitIsReachableFromTheEnvironment, + "TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment": TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment, + "TestAskTimeoutReleasesAHeldRequestFromTheEnvironment": TestAskTimeoutReleasesAHeldRequestFromTheEnvironment, + "TestStateTTLExpiresAResumableRequestFromTheEnvironment": TestStateTTLExpiresAResumableRequestFromTheEnvironment, + "TestSessionIdleReapsAnUnusedSessionFromTheEnvironment": TestSessionIdleReapsAnUnusedSessionFromTheEnvironment, + "TestMCPPathMovesTheEndpointFromTheEnvironment": TestMCPPathMovesTheEndpointFromTheEnvironment, + "TestNativeAsksTheCallingClientFromTheEnvironment": TestNativeAsksTheCallingClientFromTheEnvironment, + "TestListMaxAgeSetsTheListCacheHintFromTheEnvironment": TestListMaxAgeSetsTheListCacheHintFromTheEnvironment, + "TestReadMaxAgeSetsTheReadCacheHintFromTheEnvironment": TestReadMaxAgeSetsTheReadCacheHintFromTheEnvironment, + "TestTaskAfterHandsASlowCallATaskFromTheEnvironment": TestTaskAfterHandsASlowCallATaskFromTheEnvironment, + "TestTaskPollIntervalSetsTheTaskPollHintFromTheEnvironment": TestTaskPollIntervalSetsTheTaskPollHintFromTheEnvironment, + "TestTheRevisionPolicyDecidesWhetherProgressKeepsItsMessage": TestTheRevisionPolicyDecidesWhetherProgressKeepsItsMessage, + "TestTheRevisionPolicyDecidesWhetherAServerInitiatedRequestIsAnswered": TestTheRevisionPolicyDecidesWhetherAServerInitiatedRequestIsAnswered, + "TestSpecPrecedenceDecidesWhetherProgressKeepsItsMessageFromTheEnvironment": TestSpecPrecedenceDecidesWhetherProgressKeepsItsMessageFromTheEnvironment, + "TestExecMaxOutputBytesCapsStdoutFromTheEnvironment": TestExecMaxOutputBytesCapsStdoutFromTheEnvironment, + "TestExecTimeoutStopsALongScriptFromTheEnvironment": TestExecTimeoutStopsALongScriptFromTheEnvironment, + "TestExecOutputShapesTheResultFromTheEnvironment": TestExecOutputShapesTheResultFromTheEnvironment, + "TestMCPPageSizePagesToolsListFromTheEnvironment": TestMCPPageSizePagesToolsListFromTheEnvironment, + "TestMCPPassthroughServesANamespaceDirectlyFromTheEnvironment": TestMCPPassthroughServesANamespaceDirectlyFromTheEnvironment, + "TestCompletionPerMinuteLimitsOneCallerFromTheEnvironment": TestCompletionPerMinuteLimitsOneCallerFromTheEnvironment, + "TestCompletionServerPerMinuteLimitsAllCallersFromTheEnvironment": TestCompletionServerPerMinuteLimitsAllCallersFromTheEnvironment, + "TestLogstoreQueryLimitBoundsALogQueryFromTheEnvironment": TestLogstoreQueryLimitBoundsALogQueryFromTheEnvironment, + "TestRecipesMinScoreRefusesAWeakMatchFromTheEnvironment": TestRecipesMinScoreRefusesAWeakMatchFromTheEnvironment, + "TestRecipesMatchMarginSettlesATieFromTheEnvironment": TestRecipesMatchMarginSettlesATieFromTheEnvironment, + "TestRecipesLimitBoundsTheRankingFromTheEnvironment": TestRecipesLimitBoundsTheRankingFromTheEnvironment, + "TestTasksTTLSetsAnExecTasksRetentionFromTheEnvironment": TestTasksTTLSetsAnExecTasksRetentionFromTheEnvironment, + "TestTasksResultWaitBoundsCollectingAResultFromTheEnvironment": TestTasksResultWaitBoundsCollectingAResultFromTheEnvironment, + "TestProtoTasksMaxTTLClampsATasksRetentionFromTheEnvironment": TestProtoTasksMaxTTLClampsATasksRetentionFromTheEnvironment, + "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment": TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment, + "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment": TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment, + "TestEventsHistoryBoundsTheReplay": TestEventsHistoryBoundsTheReplay, + "TestDaemonInlineStartTimeoutBoundsTheInProcessStartFromTheEnvironment": TestDaemonInlineStartTimeoutBoundsTheInProcessStartFromTheEnvironment, + "TestDaemonProbeTimeoutDecidesWhetherASiblingDaemonIsReportedFromTheEnvironment": TestDaemonProbeTimeoutDecidesWhetherASiblingDaemonIsReportedFromTheEnvironment, + "TestDaemonWarmTimeoutBoundsTheStartupWarm": TestDaemonWarmTimeoutBoundsTheStartupWarm, + "TestAutostartConnectTimeoutBoundsTheWaitForADaemon": TestAutostartConnectTimeoutBoundsTheWaitForADaemon, + "TestAutostartPingTimeoutBoundsEachReadinessPing": TestAutostartPingTimeoutBoundsEachReadinessPing, + "TestPoolCallTimeoutBoundsASlowCall": TestPoolCallTimeoutBoundsASlowCall, + "TestPoolStartTimeoutBoundsServerStart": TestPoolStartTimeoutBoundsServerStart, + "TestDaemonRefreshTimeoutBoundsARefresh": TestDaemonRefreshTimeoutBoundsARefresh, + "TestDoctorTimeoutBoundsTheDaemonCheck": TestDoctorTimeoutBoundsTheDaemonCheck, + "TestRegistryTimeoutBoundsARegistryRequest": TestRegistryTimeoutBoundsARegistryRequest, + "TestCompletionMaxValuesCapsTheValues": TestCompletionMaxValuesCapsTheValues, + "TestCatalogInstructionsShowsServerGuidance": TestCatalogInstructionsShowsServerGuidance, + "TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName": TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName, + "TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts": TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts, + "TestPlumbingSourceDirAllowedTakesADirectoryAsSource": TestPlumbingSourceDirAllowedTakesADirectoryAsSource, + "TestPlumbingSourceDirRecursiveReadsSubdirectories": TestPlumbingSourceDirRecursiveReadsSubdirectories, + "TestPlumbingSourceProbePathsReadsANamedFile": TestPlumbingSourceProbePathsReadsANamedFile, + "TestArtifactsChunkBytesSplitsAStreamedBody": TestArtifactsChunkBytesSplitsAStreamedBody, + "TestScriptLauncherReplacesTheLauncher": TestScriptLauncherReplacesTheLauncher, + "TestPathsPlaceholdersDeclaresALauncherPlaceholder": TestPathsPlaceholdersDeclaresALauncherPlaceholder, + "TestArtifactsInterceptImagesStoresAnEmittedImage": TestArtifactsInterceptImagesStoresAnEmittedImage, + "TestPlumbingIndexOnQueryIngestsBeforeALogQuery": TestPlumbingIndexOnQueryIngestsBeforeALogQuery, + "TestPlumbingValidatePathsChecksTheLogDirUpFront": TestPlumbingValidatePathsChecksTheLogDirUpFront, + "TestScriptLanguageRunsPython": TestScriptLanguageRunsPython, + "TestLoggingTraceLogsEachCall": TestLoggingTraceLogsEachCall, + "TestExecWhereRemoteRunsOnTheDaemon": TestExecWhereRemoteRunsOnTheDaemon, + "TestPathsAdaptersFindsADeclarationFile": TestPathsAdaptersFindsADeclarationFile, + "TestPathsAPIsFindsADeclarationFile": TestPathsAPIsFindsADeclarationFile, + "TestScriptRuntimeSelectsTheRuntime": TestScriptRuntimeSelectsTheRuntime, + "TestScriptRuntimeOrderRanksTheAutoPick": TestScriptRuntimeOrderRanksTheAutoPick, + "TestScriptPermissionsSandboxesNode": TestScriptPermissionsSandboxesNode, + "TestScriptProfilesDefinesAProfile": TestScriptProfilesDefinesAProfile, + "TestScriptRuntimesDeclaresARuntime": TestScriptRuntimesDeclaresARuntime, + "TestScriptPhasesRunFromTheEnvironment": TestScriptPhasesRunFromTheEnvironment, + "TestHooksRunOnTheirEvent": TestHooksRunOnTheirEvent, + "TestHooksTimeoutStopsASlowHook": TestHooksTimeoutStopsASlowHook, + "TestDaemonUITurnsTheDashboardOff": TestDaemonUITurnsTheDashboardOff, + "TestDaemonUIDirOverridesTheDashboard": TestDaemonUIDirOverridesTheDashboard, + "TestLoggingLevelShowsDebugRecords": TestLoggingLevelShowsDebugRecords, + "TestLoggingFormatRendersJSON": TestLoggingFormatRendersJSON, + "TestLoggingSourceAddsTheCallSite": TestLoggingSourceAddsTheCallSite, + "TestLoggingDirHoldsTheDurableLog": TestLoggingDirHoldsTheDurableLog, + "TestLoggingIncludeChoosesTheAmbientBlocks": TestLoggingIncludeChoosesTheAmbientBlocks, + "TestLoggingMaxLinesRotatesTheFile": TestLoggingMaxLinesRotatesTheFile, + "TestLoggingMaxBytesRotatesTheFile": TestLoggingMaxBytesRotatesTheFile, + "TestLoggingKeepPrunesRotatedFiles": TestLoggingKeepPrunesRotatedFiles, + "TestArtifactsEnabledGatesTheStore": TestArtifactsEnabledGatesTheStore, + "TestArtifactsMaxBytesRefusesALargeArtifact": TestArtifactsMaxBytesRefusesALargeArtifact, + "TestArtifactsQuotaBoundsTheStore": TestArtifactsQuotaBoundsTheStore, + "TestArtifactsDeliveryInlinesTheBody": TestArtifactsDeliveryInlinesTheBody, + "TestArtifactsInlineMaxBytesBoundsAnInlinedBody": TestArtifactsInlineMaxBytesBoundsAnInlinedBody, + "TestArtifactsDirReceivesTheRunsArtifacts": TestArtifactsDirReceivesTheRunsArtifacts, + "TestPresetSelectsADefinedBundle": TestPresetSelectsADefinedBundle, + "TestServeModeSelectsTheServedSurface": TestServeModeSelectsTheServedSurface, + "TestPresetsDefinesNamedFlagBundles": TestPresetsDefinesNamedFlagBundles, + "TestCatalogBudgetFitsTheSignatures": TestCatalogBudgetFitsTheSignatures, + "TestCatalogBiasPicksWhatATightBudgetShows": TestCatalogBiasPicksWhatATightBudgetShows, + "TestCatalogPinnedToolsAlwaysListInReactiveMode": TestCatalogPinnedToolsAlwaysListInReactiveMode, + "TestRetentionMaxToolsCapsTheReactiveWorkingSet": TestRetentionMaxToolsCapsTheReactiveWorkingSet, + "TestDiagnoseHistoryCapsRecordedSchemaChanges": TestDiagnoseHistoryCapsRecordedSchemaChanges, + "TestDiagnosePreflightStopsAMismatchedScript": TestDiagnosePreflightStopsAMismatchedScript, + "TestServeMCPUnmountsTheEndpointFromTheEnvironment": TestServeMCPUnmountsTheEndpointFromTheEnvironment, + "TestDaemonAddressIsReachableFromTheEnvironment": TestDaemonAddressIsReachableFromTheEnvironment, + "TestDaemonAutostartIsReachableFromTheEnvironment": TestDaemonAutostartIsReachableFromTheEnvironment, + "TestHTTPBodyLimitsRejectOversizedBodies": TestHTTPBodyLimitsRejectOversizedBodies, + "TestHTTPEventStreamSettingsChangeTheStream": TestHTTPEventStreamSettingsChangeTheStream, + "TestHTTPReadHeaderTimeoutClosesSlowClients": TestHTTPReadHeaderTimeoutClosesSlowClients, + "TestHTTPRequestTimeoutBoundsAClientCall": TestHTTPRequestTimeoutBoundsAClientCall, + "TestHTTPShutdownGraceBoundsHowLongAStopWaits": TestHTTPShutdownGraceBoundsHowLongAStopWaits, + "TestHTTPStreamBufferMaxEndsAnOversizedEventLine": TestHTTPStreamBufferMaxEndsAnOversizedEventLine, + "TestTransportAllowedOriginsAreServed": TestTransportAllowedOriginsAreServed, + "TestTransportBearerTokenGatesTheDaemon": TestTransportBearerTokenGatesTheDaemon, + "TestTransportSSEKeepAliveCommentsOnAQuietStream": TestTransportSSEKeepAliveCommentsOnAQuietStream, + "TestTransportSessionMetaKeysNameTheSession": TestTransportSessionMetaKeysNameTheSession, + "TestTransportStdioDrainBoundsServeShutdown": TestTransportStdioDrainBoundsServeShutdown, } func TestEffectProbeDeclarationsMatchTheProbesThatExist(t *testing.T) { @@ -2846,6 +2850,58 @@ func TestAutostartPingTimeoutBoundsEachReadinessPing(t *testing.T) { } } +// TestDaemonInlineStartTimeoutBoundsTheInProcessStartFromTheEnvironment is +// the effect probe for daemon.inlineStartTimeout. With daemon.inline=always +// the client skips the socket and spawn rungs and hosts the daemon in +// process; a 1ns start bound expires before the first ping, so the inline +// rung reports that the in-process daemon did not answer. The default +// bound lets the same ls answer. +func TestDaemonInlineStartTimeoutBoundsTheInProcessStartFromTheEnvironment(t *testing.T) { + inline := func(extra ...string) (string, error) { + e := newEnv(t, oneServer) + e.setenv(append([]string{"MCPX_DAEMON_INLINE=always"}, extra...)...) + return e.try("ls") + } + if out, err := inline(); err != nil || !strings.Contains(out, "demo") { + t.Fatalf("oracle: an inline ls with the default start bound should list demo (err %v):\n%s", err, out) + } + out, err := inline("MCPX_DAEMON_INLINE_START_TIMEOUT=1ns") + if err == nil { + t.Fatalf("with daemon.inlineStartTimeout=1ns the inline ls should fail; got:\n%s", out) + } + if !strings.Contains(out, "the in-process daemon did not answer") { + t.Fatalf("the failure should be the inline rung's expired start, got:\n%s", out) + } +} + +// TestDaemonProbeTimeoutDecidesWhetherASiblingDaemonIsReportedFromTheEnvironment +// is the effect probe for daemon.probeTimeout. A daemon is started for one +// configuration; a second configuration then finds no daemon of its own +// and, with autostart off, fails with the connection ladder. The ladder's +// sibling rung dials every other socket in the state directory within +// daemon.probeTimeout: by default the live sibling answers and is +// reported, and with a 1ns bound no dial can finish, so it is not. +func TestDaemonProbeTimeoutDecidesWhetherASiblingDaemonIsReportedFromTheEnvironment(t *testing.T) { + ladder := func(extra ...string) string { + e := newEnv(t, oneServer) + e.run("ls") // a daemon for the first configuration + other := filepath.Join(e.dir, "other.json") + mustWrite(t, other, "{}") + e.setenv(append([]string{"MCPX_DAEMON_AUTOSTART=false"}, extra...)...) + out, err := e.try("--config", other, "ls") + if err == nil { + t.Fatalf("oracle: the second configuration has no daemon and autostart is off, so ls should fail; got:\n%s", out) + } + return out + } + if out := ladder(); !strings.Contains(out, "1 other daemon(s) here") { + t.Fatalf("oracle: with the default probe bound the live sibling should be reported, got:\n%s", out) + } + if out := ladder("MCPX_DAEMON_PROBE_TIMEOUT=1ns"); strings.Contains(out, "sibling-socket") { + t.Fatalf("with daemon.probeTimeout=1ns no sibling dial can finish, so none should be reported, got:\n%s", out) + } +} + // TestDaemonAddressIsReachableFromTheEnvironment is the effect probe // for daemon.address (#8468 chain 1). The exemption it replaced said // a bind address is a network identity the harness cannot vary diff --git a/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt b/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt index 93059271ac..bc7731f16c 100644 --- a/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt +++ b/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt @@ -22,10 +22,8 @@ setting daemon.endpoint no integration-test exercise yet; burn-down #8468 (setti setting daemon.idleExit no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test setting daemon.inline no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test setting daemon.inlineStartPoll no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test -setting daemon.inlineStartTimeout no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test setting daemon.leaseTTL no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test setting daemon.port no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test -setting daemon.probeTimeout no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test setting daemon.reapInterval no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test setting daemon.roots no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test setting daemon.saveInterval no integration-test exercise yet; burn-down #8468 (settings daemon family); needs an EffectProbes entry + e2e test diff --git a/pkgs/mcpx/internal/settings/effect.go b/pkgs/mcpx/internal/settings/effect.go index 7510c8f876..88793d3c3f 100644 --- a/pkgs/mcpx/internal/settings/effect.go +++ b/pkgs/mcpx/internal/settings/effect.go @@ -101,6 +101,8 @@ var EffectProbes = map[string]string{ "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", "events.history": "TestEventsHistoryBoundsTheReplay", + "daemon.inlineStartTimeout": "TestDaemonInlineStartTimeoutBoundsTheInProcessStartFromTheEnvironment", + "daemon.probeTimeout": "TestDaemonProbeTimeoutDecidesWhetherASiblingDaemonIsReportedFromTheEnvironment", "daemon.warmTimeout": "TestDaemonWarmTimeoutBoundsTheStartupWarm", "autostart.connectTimeout": "TestAutostartConnectTimeoutBoundsTheWaitForADaemon", "autostart.pingTimeout": "TestAutostartPingTimeoutBoundsEachReadinessPing", @@ -264,9 +266,7 @@ var EffectExemptions = map[string]string{ "daemon.leaseTTL": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", "daemon.socketProbeTimeout": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", "daemon.takeoverTimeout": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.inlineStartTimeout": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", "daemon.inlineStartPoll": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.probeTimeout": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", "session.releaseTimeout": "session release timing bound: observable only across time passage", "plugin.bin": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", "plugin.binArgs": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", @@ -290,7 +290,7 @@ var EffectExemptions = map[string]string{ // EffectExemptionPin is the ratchet: the exemption count at the time // the guard landed. It may only ever be lowered, and only in the PR // that removes an exemption by adding the probe that replaces it. -const EffectExemptionPin = 99 // Shrunk 2026-11-18 (#8473 chain 40): daemon.warmTimeout, autostart.connectTimeout and autostart.pingTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 39): pool.callTimeout, pool.startTimeout and daemon.refreshTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 38): doctor.timeout and registry.timeout gained probes that set a bound no request can meet. Earlier shrunk 2026-11-18 (#8473 chain 37): completion.maxValues gained a probe once the fake server could answer completions. Earlier shrunk 2026-11-18 (#8473 chain 36): catalog.instructions gained a probe once the fake server could serve instructions. Earlier shrunk 2026-11-18 (#8473 chain 35): the five plumbing source and launcher switches gained probes. Earlier shrunk 2026-11-18 (#8473 chain 34): artifacts.chunkBytes, script.launcher and paths.placeholders gained probes. Earlier shrunk 2026-11-18 (#8473 chain 33): artifacts.interceptImages and plumbing.indexOnQuery gained probes. Earlier shrunk 2026-11-18 (#8473 chain 32): plumbing.validatePaths and script.language gained probes. Earlier shrunk 2026-11-18 (#8473 chain 31): logging.trace and exec.where gained probes. Earlier shrunk 2026-11-18 (#8473 chain 30): paths.adapters and paths.apis gained declaration-file probes. Earlier shrunk 2026-11-18 (#8473 chain 29): script.runtime, runtimeOrder, permissions, profiles and runtimes gained node-backed probes. Earlier shrunk 2026-11-18 (#8473 chain 28): script.before, onSuccess, onError and suffix gained a run-phase probe. Earlier shrunk 2026-11-18 (#8473 chain 27): hooks, hooks.timeout, daemon.ui and daemon.uiDir gained probes. Earlier shrunk 2026-11-18 (#8473 chain 26): logging.level, format, source, dir, include, maxLines, maxBytes and keep gained durable-log probes. Earlier shrunk 2026-11-18 (#8473 chain 25): artifacts.enabled, maxBytes, quota, delivery, inlineMaxBytes and dir gained script-artifact probes. Earlier shrunk 2026-11-18 (#8473 chain 24): preset and serve.mode gained probes. Earlier shrunk 2026-11-18 (#8473 chain 23): presets gained a --preset probe. Earlier shrunk 2026-11-18 (#8473 chain 22): catalog.budget and catalog.bias gained `mcpx catalog` probes. Earlier shrunk 2026-11-18 (#8473 chain 21): catalog.pinnedTools and retention.maxTools gained reactive-session probes. Earlier shrunk 2026-11-18 (#8473 chain 20): diagnose.history and diagnose.preflight gained schema-churn probes. Earlier shrunk 2026-11-18 (#8473 chain 19): events.history gained a trimmed-replay probe. Earlier shrunk 2026-11-18 (#8473 chain 18): protoTasks.maxTTL, maxPerRequestor and perMinute gained task-store probes. Earlier shrunk 2026-11-18 (#8473 chain 17): tasks.ttl and tasks.resultWait gained /v1 task probes. Earlier shrunk 2026-11-18 (#8473 chain 16): recipes.minScore, matchMargin and limit gained recipe probes. Earlier shrunk 2026-11-18 (#8473 chain 15): logstore.queryLimit gained a /v1/log probe. Earlier shrunk 2026-11-18 (#8473 chain 14): completion.perMinute and completion.serverPerMinute gained 429 probes. Earlier shrunk 2026-11-18 (#8473 chain 13): mcp.pageSize and mcp.passthrough gained tools/list probes. Earlier shrunk 2026-11-18 (#8473 chain 12): exec.timeout (now read by local runs), exec.maxOutputBytes and exec.output gained probes. Earlier shrunk 2026-11-18 (#8473 chain 11): spec.first and spec.lenient mapped to their existing revision-policy probes, spec.precedence gained one. Earlier shrunk 2026-11-18 (#8473 chain 10): protoMessages.taskAfter and protoTasks.pollInterval gained task probes. Earlier shrunk 2026-11-18 (#8473 chain 9): protoMessages.listMaxAge and readMaxAge gained cache-hint probes. Earlier shrunk 2026-11-18 (#8473 chain 8): proto.native gained an asked-client probe. Earlier shrunk 2026-11-18 (#8473 chain 7): proto.mcpPath and proto.serveMCP gained mount probes. Earlier shrunk 2026-11-18 (#8473 chain 6): proto.sessionIdle gained a reaped-session probe. Earlier shrunk 2026-11-18 (#8473 chain 5): proto.stateTTL gained a late-resume probe. Earlier shrunk 2026-11-18 (#8473 chain 4): proto.askTimeout gained a held-request probe. Earlier shrunk 2026-11-18 (#8473 chain 3): proto.askTTL gained a /v1/ask deadline probe. Earlier shrunk 2026-11-18 (#8473 chain 2): proto.askRounds gained a two-round MCP e2e probe. Earlier shrunk 2026-11-18 (#8468 chain 2): daemon.autostart gained its probe. Earlier shrunk 2026-11-17: (#8467 settings core-paths burn-down) paths.plugins gained its probe. Earlier shrunk 2026-11-17: (#8469) 14 http.* and transport.* settings gained their probes. Earlier shrunk 2026-11-17: (#8470 burn-down) stats.top gained its probe. Earlier shrunk 2026-11-17 (#8467 settings core-paths burn-down): paths.cache gained its probe. Earlier shrunk 2026-11-17 (#8467 settings core-paths burn-down): paths.scripts gained its probe. Earlier shrunk 2026-11-17 (#8468 chain 1): daemon.address gained its probe. Earlier shrunk 2026-11-17 (#8473 chain 1): proto.askPoll gained its probe. Deliberate +1 (2026-11-14, #1917 remainder shepherd of PR #7818) for script.language: covered by deterministic internal/runner tests (TestEffectiveScriptLanguage, TestExplicitPythonLanguageRunsInlineSnippet); the e2e harness script fixtures are TypeScript-only. Earlier deliberate +3 (2026-11-09, #2716) for proto.elicitationPerMinute, proto.samplingPerMinute and proto.samplingSessionPerMinute: daemon rate limits whose effect needs an over-limit sampling/elicitation flood no e2e fixture drives deterministically; the limiter is covered by internal/mcpclient and internal/daemon ratelimit tests. Earlier deliberate raises: +1 for daemon.roots and +8 for model.*: model settings are covered by internal/model and daemon unit tests; settings-driven e2e probes are not yet present. Deliberate +1 (2026-11-03, #1925 slice 3) for sampling.answerLocally: same model-layer coverage, daemon unit tests in internal/daemon/sampling_local_test.go. Deliberate +1 (2026-11-03, #5242) for plugin.disabledTools: read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host, the same basis as every other plugin.* exemption. Deliberate +5 (2026-11-04, #1915 stage 2): import graph, missing, dynamic, cross-project and network policies are covered by deterministic internal/preflight tests, but the e2e harness has no isolated Deno graph fixture yet. Deliberate +2 (2026-11-05, #1911): checker error and unsupported-runtime policies are covered by deterministic internal/preflight stub-runtime tests; the e2e harness has no isolated Deno checker fixture. +const EffectExemptionPin = 97 // Shrunk 2026-11-18 (#8473 chain 41): daemon.inlineStartTimeout and daemon.probeTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 40): daemon.warmTimeout, autostart.connectTimeout and autostart.pingTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 39): pool.callTimeout, pool.startTimeout and daemon.refreshTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 38): doctor.timeout and registry.timeout gained probes that set a bound no request can meet. Earlier shrunk 2026-11-18 (#8473 chain 37): completion.maxValues gained a probe once the fake server could answer completions. Earlier shrunk 2026-11-18 (#8473 chain 36): catalog.instructions gained a probe once the fake server could serve instructions. Earlier shrunk 2026-11-18 (#8473 chain 35): the five plumbing source and launcher switches gained probes. Earlier shrunk 2026-11-18 (#8473 chain 34): artifacts.chunkBytes, script.launcher and paths.placeholders gained probes. Earlier shrunk 2026-11-18 (#8473 chain 33): artifacts.interceptImages and plumbing.indexOnQuery gained probes. Earlier shrunk 2026-11-18 (#8473 chain 32): plumbing.validatePaths and script.language gained probes. Earlier shrunk 2026-11-18 (#8473 chain 31): logging.trace and exec.where gained probes. Earlier shrunk 2026-11-18 (#8473 chain 30): paths.adapters and paths.apis gained declaration-file probes. Earlier shrunk 2026-11-18 (#8473 chain 29): script.runtime, runtimeOrder, permissions, profiles and runtimes gained node-backed probes. Earlier shrunk 2026-11-18 (#8473 chain 28): script.before, onSuccess, onError and suffix gained a run-phase probe. Earlier shrunk 2026-11-18 (#8473 chain 27): hooks, hooks.timeout, daemon.ui and daemon.uiDir gained probes. Earlier shrunk 2026-11-18 (#8473 chain 26): logging.level, format, source, dir, include, maxLines, maxBytes and keep gained durable-log probes. Earlier shrunk 2026-11-18 (#8473 chain 25): artifacts.enabled, maxBytes, quota, delivery, inlineMaxBytes and dir gained script-artifact probes. Earlier shrunk 2026-11-18 (#8473 chain 24): preset and serve.mode gained probes. Earlier shrunk 2026-11-18 (#8473 chain 23): presets gained a --preset probe. Earlier shrunk 2026-11-18 (#8473 chain 22): catalog.budget and catalog.bias gained `mcpx catalog` probes. Earlier shrunk 2026-11-18 (#8473 chain 21): catalog.pinnedTools and retention.maxTools gained reactive-session probes. Earlier shrunk 2026-11-18 (#8473 chain 20): diagnose.history and diagnose.preflight gained schema-churn probes. Earlier shrunk 2026-11-18 (#8473 chain 19): events.history gained a trimmed-replay probe. Earlier shrunk 2026-11-18 (#8473 chain 18): protoTasks.maxTTL, maxPerRequestor and perMinute gained task-store probes. Earlier shrunk 2026-11-18 (#8473 chain 17): tasks.ttl and tasks.resultWait gained /v1 task probes. Earlier shrunk 2026-11-18 (#8473 chain 16): recipes.minScore, matchMargin and limit gained recipe probes. Earlier shrunk 2026-11-18 (#8473 chain 15): logstore.queryLimit gained a /v1/log probe. Earlier shrunk 2026-11-18 (#8473 chain 14): completion.perMinute and completion.serverPerMinute gained 429 probes. Earlier shrunk 2026-11-18 (#8473 chain 13): mcp.pageSize and mcp.passthrough gained tools/list probes. Earlier shrunk 2026-11-18 (#8473 chain 12): exec.timeout (now read by local runs), exec.maxOutputBytes and exec.output gained probes. Earlier shrunk 2026-11-18 (#8473 chain 11): spec.first and spec.lenient mapped to their existing revision-policy probes, spec.precedence gained one. Earlier shrunk 2026-11-18 (#8473 chain 10): protoMessages.taskAfter and protoTasks.pollInterval gained task probes. Earlier shrunk 2026-11-18 (#8473 chain 9): protoMessages.listMaxAge and readMaxAge gained cache-hint probes. Earlier shrunk 2026-11-18 (#8473 chain 8): proto.native gained an asked-client probe. Earlier shrunk 2026-11-18 (#8473 chain 7): proto.mcpPath and proto.serveMCP gained mount probes. Earlier shrunk 2026-11-18 (#8473 chain 6): proto.sessionIdle gained a reaped-session probe. Earlier shrunk 2026-11-18 (#8473 chain 5): proto.stateTTL gained a late-resume probe. Earlier shrunk 2026-11-18 (#8473 chain 4): proto.askTimeout gained a held-request probe. Earlier shrunk 2026-11-18 (#8473 chain 3): proto.askTTL gained a /v1/ask deadline probe. Earlier shrunk 2026-11-18 (#8473 chain 2): proto.askRounds gained a two-round MCP e2e probe. Earlier shrunk 2026-11-18 (#8468 chain 2): daemon.autostart gained its probe. Earlier shrunk 2026-11-17: (#8467 settings core-paths burn-down) paths.plugins gained its probe. Earlier shrunk 2026-11-17: (#8469) 14 http.* and transport.* settings gained their probes. Earlier shrunk 2026-11-17: (#8470 burn-down) stats.top gained its probe. Earlier shrunk 2026-11-17 (#8467 settings core-paths burn-down): paths.cache gained its probe. Earlier shrunk 2026-11-17 (#8467 settings core-paths burn-down): paths.scripts gained its probe. Earlier shrunk 2026-11-17 (#8468 chain 1): daemon.address gained its probe. Earlier shrunk 2026-11-17 (#8473 chain 1): proto.askPoll gained its probe. Deliberate +1 (2026-11-14, #1917 remainder shepherd of PR #7818) for script.language: covered by deterministic internal/runner tests (TestEffectiveScriptLanguage, TestExplicitPythonLanguageRunsInlineSnippet); the e2e harness script fixtures are TypeScript-only. Earlier deliberate +3 (2026-11-09, #2716) for proto.elicitationPerMinute, proto.samplingPerMinute and proto.samplingSessionPerMinute: daemon rate limits whose effect needs an over-limit sampling/elicitation flood no e2e fixture drives deterministically; the limiter is covered by internal/mcpclient and internal/daemon ratelimit tests. Earlier deliberate raises: +1 for daemon.roots and +8 for model.*: model settings are covered by internal/model and daemon unit tests; settings-driven e2e probes are not yet present. Deliberate +1 (2026-11-03, #1925 slice 3) for sampling.answerLocally: same model-layer coverage, daemon unit tests in internal/daemon/sampling_local_test.go. Deliberate +1 (2026-11-03, #5242) for plugin.disabledTools: read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host, the same basis as every other plugin.* exemption. Deliberate +5 (2026-11-04, #1915 stage 2): import graph, missing, dynamic, cross-project and network policies are covered by deterministic internal/preflight tests, but the e2e harness has no isolated Deno graph fixture yet. Deliberate +2 (2026-11-05, #1911): checker error and unsupported-runtime policies are covered by deterministic internal/preflight stub-runtime tests; the e2e harness has no isolated Deno checker fixture. // CheckEffectCoverage returns one violation per way the probe and // exemption maps fail to cover reg exactly: a setting with neither,