From f3d3ce2784c431d79d8fcd9897608aafdae09883 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 19:03:46 +0000 Subject: [PATCH] test(mcpx): probe the five plumbing source and launcher switches (#8473 chain 35) launcherPlaceholderRepeat, allowTsJsOverlap, sourceDirAllowed, sourceDirRecursive and sourceProbePaths each get a with/without e2e probe, driven through script.launcher and paths.scripts. EffectExemptionPin 114 -> 109. Co-Authored-By: Claude Opus 5.5 --- pkgs/mcpx/internal/e2e/effect_test.go | 360 ++++++++----- .../e2e/feature_coverage_exemptions.txt | 5 - pkgs/mcpx/internal/settings/effect.go | 482 +++++++++--------- 3 files changed, 473 insertions(+), 374 deletions(-) diff --git a/pkgs/mcpx/internal/e2e/effect_test.go b/pkgs/mcpx/internal/e2e/effect_test.go index c0b078519a..2db544128c 100644 --- a/pkgs/mcpx/internal/e2e/effect_test.go +++ b/pkgs/mcpx/internal/e2e/effect_test.go @@ -39,132 +39,137 @@ import ( // in the surface group that observes them, next to their neighbours. var implementedEffectProbes = map[string]string{ - "pool.max": "TestPoolDefaultsAreReachableFromTheEnvironment", - "pool.sharing": "TestPoolDefaultsAreReachableFromTheEnvironment", - "pool.scope": "TestPoolDefaultsAreReachableFromTheEnvironment", - "output.json": "TestOutputJSONIsReachableFromTheEnvironment", - "script.prefix": "TestScriptPrefixIsReachableFromTheEnvironment", - "script.cwd": "TestScriptCwdIsReachableFromTheEnvironment", - "script.interpreter": "TestScriptInterpreterIsReachableFromTheEnvironment", - "script.env": "TestScriptEnvIsReachableFromTheEnvironment", - "script.devshell": "TestScriptDevshellIsReachableFromTheEnvironment", - "script.captureConsole": "TestScriptCaptureConsoleOffDropsConsoleOutput", - "script.check": "TestScriptTypecheckOnRefusesATypeError", - "logging.file": "TestLoggingFileOffWritesNoDurableLog", - "plumbing.strictUnknownKeys": "TestStrictUnknownKeysRefusesATypo", - "paths.state": "TestStateDirectoryIsReachableAsASetting", - "paths.configFile": "TestPathsConfigFileChangesWhichConfigLoads", - "paths.scripts": "TestPathsScriptsFindsRecipesThatLiveOnlyThere", - "paths.cache": "TestPathsCacheChangesTheDoctorDirectory", - "paths.plugins": "TestPathsPluginsDiscoversAPluginThatLivesOnlyThere", - "search.limit": "TestSearchLimitCapsTheResults", - "registry.pageSize": "TestRegistryPageSizeChangesWhatTheCLIAsksFor", - "registry.limit": "TestRegistryLimitReachesTheCLI", - "registry.maxPages": "TestTheRegistryPageCapSaysItStoppedEarly", - "registry.url": "TestRegistryPageSizeChangesWhatTheCLIAsksFor", - "deps.source": "TestDepsSourceNoneDropsTheManifestLayer", - "deps.manifest": "TestDepsManifestNamesTheManifestResolutionReads", - "deps.packages": "TestDepsPackagesPinContradictingTheManifestFailsTheRun", - "paths.deps": "TestPathsDepsExtendsManifestDiscovery", - "proxy.timeout": "TestProxyUpstreamTimeoutIsReachableFromTheEnvironment", - "tasks.maxAge": "TestTasksMaxAgeIsReachableFromEnvironment", - "stats.top": "TestStatsTopLimitsTheRowsTheStatsAPIReports", - "proto.askPoll": "TestAskPollCeilingIsReachableFromTheEnvironment", - "proto.askRounds": "TestAskRoundsLimitIsReachableFromTheEnvironment", - "proto.askTTL": "TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment", - "proto.askTimeout": "TestAskTimeoutReleasesAHeldRequestFromTheEnvironment", - "proto.stateTTL": "TestStateTTLExpiresAResumableRequestFromTheEnvironment", - "proto.sessionIdle": "TestSessionIdleReapsAnUnusedSessionFromTheEnvironment", - "proto.mcpPath": "TestMCPPathMovesTheEndpointFromTheEnvironment", - "proto.native": "TestNativeAsksTheCallingClientFromTheEnvironment", - "protoMessages.listMaxAge": "TestListMaxAgeSetsTheListCacheHintFromTheEnvironment", - "protoMessages.readMaxAge": "TestReadMaxAgeSetsTheReadCacheHintFromTheEnvironment", - "protoMessages.taskAfter": "TestTaskAfterHandsASlowCallATaskFromTheEnvironment", - "protoTasks.pollInterval": "TestTaskPollIntervalSetsTheTaskPollHintFromTheEnvironment", - "spec.first": "TestTheRevisionPolicyDecidesWhetherProgressKeepsItsMessage", - "spec.lenient": "TestTheRevisionPolicyDecidesWhetherAServerInitiatedRequestIsAnswered", - "spec.precedence": "TestSpecPrecedenceDecidesWhetherProgressKeepsItsMessageFromTheEnvironment", - "exec.maxOutputBytes": "TestExecMaxOutputBytesCapsStdoutFromTheEnvironment", - "exec.timeout": "TestExecTimeoutStopsALongScriptFromTheEnvironment", - "exec.output": "TestExecOutputShapesTheResultFromTheEnvironment", - "mcp.pageSize": "TestMCPPageSizePagesToolsListFromTheEnvironment", - "mcp.passthrough": "TestMCPPassthroughServesANamespaceDirectlyFromTheEnvironment", - "completion.perMinute": "TestCompletionPerMinuteLimitsOneCallerFromTheEnvironment", - "completion.serverPerMinute": "TestCompletionServerPerMinuteLimitsAllCallersFromTheEnvironment", - "logstore.queryLimit": "TestLogstoreQueryLimitBoundsALogQueryFromTheEnvironment", - "recipes.minScore": "TestRecipesMinScoreRefusesAWeakMatchFromTheEnvironment", - "recipes.matchMargin": "TestRecipesMatchMarginSettlesATieFromTheEnvironment", - "recipes.limit": "TestRecipesLimitBoundsTheRankingFromTheEnvironment", - "tasks.ttl": "TestTasksTTLSetsAnExecTasksRetentionFromTheEnvironment", - "tasks.resultWait": "TestTasksResultWaitBoundsCollectingAResultFromTheEnvironment", - "protoTasks.maxTTL": "TestProtoTasksMaxTTLClampsATasksRetentionFromTheEnvironment", - "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", - "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", - "events.history": "TestEventsHistoryBoundsTheReplay", - "artifacts.chunkBytes": "TestArtifactsChunkBytesSplitsAStreamedBody", - "script.launcher": "TestScriptLauncherReplacesTheLauncher", - "paths.placeholders": "TestPathsPlaceholdersDeclaresALauncherPlaceholder", - "artifacts.interceptImages": "TestArtifactsInterceptImagesStoresAnEmittedImage", - "plumbing.indexOnQuery": "TestPlumbingIndexOnQueryIngestsBeforeALogQuery", - "plumbing.validatePaths": "TestPlumbingValidatePathsChecksTheLogDirUpFront", - "script.language": "TestScriptLanguageRunsPython", - "logging.trace": "TestLoggingTraceLogsEachCall", - "exec.where": "TestExecWhereRemoteRunsOnTheDaemon", - "paths.adapters": "TestPathsAdaptersFindsADeclarationFile", - "paths.apis": "TestPathsAPIsFindsADeclarationFile", - "script.runtime": "TestScriptRuntimeSelectsTheRuntime", - "script.runtimeOrder": "TestScriptRuntimeOrderRanksTheAutoPick", - "script.permissions": "TestScriptPermissionsSandboxesNode", - "script.profiles": "TestScriptProfilesDefinesAProfile", - "script.runtimes": "TestScriptRuntimesDeclaresARuntime", - "script.before": "TestScriptPhasesRunFromTheEnvironment", - "script.onSuccess": "TestScriptPhasesRunFromTheEnvironment", - "script.onError": "TestScriptPhasesRunFromTheEnvironment", - "script.suffix": "TestScriptPhasesRunFromTheEnvironment", - "hooks": "TestHooksRunOnTheirEvent", - "hooks.timeout": "TestHooksTimeoutStopsASlowHook", - "daemon.ui": "TestDaemonUITurnsTheDashboardOff", - "daemon.uiDir": "TestDaemonUIDirOverridesTheDashboard", - "logging.level": "TestLoggingLevelShowsDebugRecords", - "logging.format": "TestLoggingFormatRendersJSON", - "logging.source": "TestLoggingSourceAddsTheCallSite", - "logging.dir": "TestLoggingDirHoldsTheDurableLog", - "logging.include": "TestLoggingIncludeChoosesTheAmbientBlocks", - "logging.maxLines": "TestLoggingMaxLinesRotatesTheFile", - "logging.maxBytes": "TestLoggingMaxBytesRotatesTheFile", - "logging.keep": "TestLoggingKeepPrunesRotatedFiles", - "artifacts.enabled": "TestArtifactsEnabledGatesTheStore", - "artifacts.maxBytes": "TestArtifactsMaxBytesRefusesALargeArtifact", - "artifacts.quota": "TestArtifactsQuotaBoundsTheStore", - "artifacts.delivery": "TestArtifactsDeliveryInlinesTheBody", - "artifacts.inlineMaxBytes": "TestArtifactsInlineMaxBytesBoundsAnInlinedBody", - "artifacts.dir": "TestArtifactsDirReceivesTheRunsArtifacts", - "preset": "TestPresetSelectsADefinedBundle", - "serve.mode": "TestServeModeSelectsTheServedSurface", - "presets": "TestPresetsDefinesNamedFlagBundles", - "catalog.budget": "TestCatalogBudgetFitsTheSignatures", - "catalog.bias": "TestCatalogBiasPicksWhatATightBudgetShows", - "catalog.pinnedTools": "TestCatalogPinnedToolsAlwaysListInReactiveMode", - "retention.maxTools": "TestRetentionMaxToolsCapsTheReactiveWorkingSet", - "diagnose.history": "TestDiagnoseHistoryCapsRecordedSchemaChanges", - "diagnose.preflight": "TestDiagnosePreflightStopsAMismatchedScript", - "proto.serveMCP": "TestServeMCPUnmountsTheEndpointFromTheEnvironment", - "daemon.address": "TestDaemonAddressIsReachableFromTheEnvironment", - "daemon.autostart": "TestDaemonAutostartIsReachableFromTheEnvironment", - "http.bodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", - "http.callBodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", - "http.controlBodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", - "http.ssePing": "TestHTTPEventStreamSettingsChangeTheStream", - "http.sseRetry": "TestHTTPEventStreamSettingsChangeTheStream", - "http.readHeaderTimeout": "TestHTTPReadHeaderTimeoutClosesSlowClients", - "http.shutdownGrace": "TestHTTPShutdownGraceBoundsHowLongAStopWaits", - "http.requestTimeout": "TestHTTPRequestTimeoutBoundsAClientCall", - "http.streamBufferMax": "TestHTTPStreamBufferMaxEndsAnOversizedEventLine", - "transport.bearerToken": "TestTransportBearerTokenGatesTheDaemon", - "transport.allowedOrigins": "TestTransportAllowedOriginsAreServed", - "transport.sessionMetaKeys": "TestTransportSessionMetaKeysNameTheSession", - "transport.sseKeepAlive": "TestTransportSSEKeepAliveCommentsOnAQuietStream", - "transport.stdioDrain": "TestTransportStdioDrainBoundsServeShutdown", + "pool.max": "TestPoolDefaultsAreReachableFromTheEnvironment", + "pool.sharing": "TestPoolDefaultsAreReachableFromTheEnvironment", + "pool.scope": "TestPoolDefaultsAreReachableFromTheEnvironment", + "output.json": "TestOutputJSONIsReachableFromTheEnvironment", + "script.prefix": "TestScriptPrefixIsReachableFromTheEnvironment", + "script.cwd": "TestScriptCwdIsReachableFromTheEnvironment", + "script.interpreter": "TestScriptInterpreterIsReachableFromTheEnvironment", + "script.env": "TestScriptEnvIsReachableFromTheEnvironment", + "script.devshell": "TestScriptDevshellIsReachableFromTheEnvironment", + "script.captureConsole": "TestScriptCaptureConsoleOffDropsConsoleOutput", + "script.check": "TestScriptTypecheckOnRefusesATypeError", + "logging.file": "TestLoggingFileOffWritesNoDurableLog", + "plumbing.strictUnknownKeys": "TestStrictUnknownKeysRefusesATypo", + "paths.state": "TestStateDirectoryIsReachableAsASetting", + "paths.configFile": "TestPathsConfigFileChangesWhichConfigLoads", + "paths.scripts": "TestPathsScriptsFindsRecipesThatLiveOnlyThere", + "paths.cache": "TestPathsCacheChangesTheDoctorDirectory", + "paths.plugins": "TestPathsPluginsDiscoversAPluginThatLivesOnlyThere", + "search.limit": "TestSearchLimitCapsTheResults", + "registry.pageSize": "TestRegistryPageSizeChangesWhatTheCLIAsksFor", + "registry.limit": "TestRegistryLimitReachesTheCLI", + "registry.maxPages": "TestTheRegistryPageCapSaysItStoppedEarly", + "registry.url": "TestRegistryPageSizeChangesWhatTheCLIAsksFor", + "deps.source": "TestDepsSourceNoneDropsTheManifestLayer", + "deps.manifest": "TestDepsManifestNamesTheManifestResolutionReads", + "deps.packages": "TestDepsPackagesPinContradictingTheManifestFailsTheRun", + "paths.deps": "TestPathsDepsExtendsManifestDiscovery", + "proxy.timeout": "TestProxyUpstreamTimeoutIsReachableFromTheEnvironment", + "tasks.maxAge": "TestTasksMaxAgeIsReachableFromEnvironment", + "stats.top": "TestStatsTopLimitsTheRowsTheStatsAPIReports", + "proto.askPoll": "TestAskPollCeilingIsReachableFromTheEnvironment", + "proto.askRounds": "TestAskRoundsLimitIsReachableFromTheEnvironment", + "proto.askTTL": "TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment", + "proto.askTimeout": "TestAskTimeoutReleasesAHeldRequestFromTheEnvironment", + "proto.stateTTL": "TestStateTTLExpiresAResumableRequestFromTheEnvironment", + "proto.sessionIdle": "TestSessionIdleReapsAnUnusedSessionFromTheEnvironment", + "proto.mcpPath": "TestMCPPathMovesTheEndpointFromTheEnvironment", + "proto.native": "TestNativeAsksTheCallingClientFromTheEnvironment", + "protoMessages.listMaxAge": "TestListMaxAgeSetsTheListCacheHintFromTheEnvironment", + "protoMessages.readMaxAge": "TestReadMaxAgeSetsTheReadCacheHintFromTheEnvironment", + "protoMessages.taskAfter": "TestTaskAfterHandsASlowCallATaskFromTheEnvironment", + "protoTasks.pollInterval": "TestTaskPollIntervalSetsTheTaskPollHintFromTheEnvironment", + "spec.first": "TestTheRevisionPolicyDecidesWhetherProgressKeepsItsMessage", + "spec.lenient": "TestTheRevisionPolicyDecidesWhetherAServerInitiatedRequestIsAnswered", + "spec.precedence": "TestSpecPrecedenceDecidesWhetherProgressKeepsItsMessageFromTheEnvironment", + "exec.maxOutputBytes": "TestExecMaxOutputBytesCapsStdoutFromTheEnvironment", + "exec.timeout": "TestExecTimeoutStopsALongScriptFromTheEnvironment", + "exec.output": "TestExecOutputShapesTheResultFromTheEnvironment", + "mcp.pageSize": "TestMCPPageSizePagesToolsListFromTheEnvironment", + "mcp.passthrough": "TestMCPPassthroughServesANamespaceDirectlyFromTheEnvironment", + "completion.perMinute": "TestCompletionPerMinuteLimitsOneCallerFromTheEnvironment", + "completion.serverPerMinute": "TestCompletionServerPerMinuteLimitsAllCallersFromTheEnvironment", + "logstore.queryLimit": "TestLogstoreQueryLimitBoundsALogQueryFromTheEnvironment", + "recipes.minScore": "TestRecipesMinScoreRefusesAWeakMatchFromTheEnvironment", + "recipes.matchMargin": "TestRecipesMatchMarginSettlesATieFromTheEnvironment", + "recipes.limit": "TestRecipesLimitBoundsTheRankingFromTheEnvironment", + "tasks.ttl": "TestTasksTTLSetsAnExecTasksRetentionFromTheEnvironment", + "tasks.resultWait": "TestTasksResultWaitBoundsCollectingAResultFromTheEnvironment", + "protoTasks.maxTTL": "TestProtoTasksMaxTTLClampsATasksRetentionFromTheEnvironment", + "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", + "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", + "events.history": "TestEventsHistoryBoundsTheReplay", + "plumbing.launcherPlaceholderRepeat": "TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName", + "plumbing.allowTsJsOverlap": "TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts", + "plumbing.sourceDirAllowed": "TestPlumbingSourceDirAllowedTakesADirectoryAsSource", + "plumbing.sourceDirRecursive": "TestPlumbingSourceDirRecursiveReadsSubdirectories", + "plumbing.sourceProbePaths": "TestPlumbingSourceProbePathsReadsANamedFile", + "artifacts.chunkBytes": "TestArtifactsChunkBytesSplitsAStreamedBody", + "script.launcher": "TestScriptLauncherReplacesTheLauncher", + "paths.placeholders": "TestPathsPlaceholdersDeclaresALauncherPlaceholder", + "artifacts.interceptImages": "TestArtifactsInterceptImagesStoresAnEmittedImage", + "plumbing.indexOnQuery": "TestPlumbingIndexOnQueryIngestsBeforeALogQuery", + "plumbing.validatePaths": "TestPlumbingValidatePathsChecksTheLogDirUpFront", + "script.language": "TestScriptLanguageRunsPython", + "logging.trace": "TestLoggingTraceLogsEachCall", + "exec.where": "TestExecWhereRemoteRunsOnTheDaemon", + "paths.adapters": "TestPathsAdaptersFindsADeclarationFile", + "paths.apis": "TestPathsAPIsFindsADeclarationFile", + "script.runtime": "TestScriptRuntimeSelectsTheRuntime", + "script.runtimeOrder": "TestScriptRuntimeOrderRanksTheAutoPick", + "script.permissions": "TestScriptPermissionsSandboxesNode", + "script.profiles": "TestScriptProfilesDefinesAProfile", + "script.runtimes": "TestScriptRuntimesDeclaresARuntime", + "script.before": "TestScriptPhasesRunFromTheEnvironment", + "script.onSuccess": "TestScriptPhasesRunFromTheEnvironment", + "script.onError": "TestScriptPhasesRunFromTheEnvironment", + "script.suffix": "TestScriptPhasesRunFromTheEnvironment", + "hooks": "TestHooksRunOnTheirEvent", + "hooks.timeout": "TestHooksTimeoutStopsASlowHook", + "daemon.ui": "TestDaemonUITurnsTheDashboardOff", + "daemon.uiDir": "TestDaemonUIDirOverridesTheDashboard", + "logging.level": "TestLoggingLevelShowsDebugRecords", + "logging.format": "TestLoggingFormatRendersJSON", + "logging.source": "TestLoggingSourceAddsTheCallSite", + "logging.dir": "TestLoggingDirHoldsTheDurableLog", + "logging.include": "TestLoggingIncludeChoosesTheAmbientBlocks", + "logging.maxLines": "TestLoggingMaxLinesRotatesTheFile", + "logging.maxBytes": "TestLoggingMaxBytesRotatesTheFile", + "logging.keep": "TestLoggingKeepPrunesRotatedFiles", + "artifacts.enabled": "TestArtifactsEnabledGatesTheStore", + "artifacts.maxBytes": "TestArtifactsMaxBytesRefusesALargeArtifact", + "artifacts.quota": "TestArtifactsQuotaBoundsTheStore", + "artifacts.delivery": "TestArtifactsDeliveryInlinesTheBody", + "artifacts.inlineMaxBytes": "TestArtifactsInlineMaxBytesBoundsAnInlinedBody", + "artifacts.dir": "TestArtifactsDirReceivesTheRunsArtifacts", + "preset": "TestPresetSelectsADefinedBundle", + "serve.mode": "TestServeModeSelectsTheServedSurface", + "presets": "TestPresetsDefinesNamedFlagBundles", + "catalog.budget": "TestCatalogBudgetFitsTheSignatures", + "catalog.bias": "TestCatalogBiasPicksWhatATightBudgetShows", + "catalog.pinnedTools": "TestCatalogPinnedToolsAlwaysListInReactiveMode", + "retention.maxTools": "TestRetentionMaxToolsCapsTheReactiveWorkingSet", + "diagnose.history": "TestDiagnoseHistoryCapsRecordedSchemaChanges", + "diagnose.preflight": "TestDiagnosePreflightStopsAMismatchedScript", + "proto.serveMCP": "TestServeMCPUnmountsTheEndpointFromTheEnvironment", + "daemon.address": "TestDaemonAddressIsReachableFromTheEnvironment", + "daemon.autostart": "TestDaemonAutostartIsReachableFromTheEnvironment", + "http.bodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", + "http.callBodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", + "http.controlBodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", + "http.ssePing": "TestHTTPEventStreamSettingsChangeTheStream", + "http.sseRetry": "TestHTTPEventStreamSettingsChangeTheStream", + "http.readHeaderTimeout": "TestHTTPReadHeaderTimeoutClosesSlowClients", + "http.shutdownGrace": "TestHTTPShutdownGraceBoundsHowLongAStopWaits", + "http.requestTimeout": "TestHTTPRequestTimeoutBoundsAClientCall", + "http.streamBufferMax": "TestHTTPStreamBufferMaxEndsAnOversizedEventLine", + "transport.bearerToken": "TestTransportBearerTokenGatesTheDaemon", + "transport.allowedOrigins": "TestTransportAllowedOriginsAreServed", + "transport.sessionMetaKeys": "TestTransportSessionMetaKeysNameTheSession", + "transport.sseKeepAlive": "TestTransportSSEKeepAliveCommentsOnAQuietStream", + "transport.stdioDrain": "TestTransportStdioDrainBoundsServeShutdown", } // effectProbeFuncs anchors every declared probe name to the actual @@ -234,6 +239,11 @@ var effectProbeFuncs = map[string]func(*testing.T){ "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment": TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment, "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment": TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment, "TestEventsHistoryBoundsTheReplay": TestEventsHistoryBoundsTheReplay, + "TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName": TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName, + "TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts": TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts, + "TestPlumbingSourceDirAllowedTakesADirectoryAsSource": TestPlumbingSourceDirAllowedTakesADirectoryAsSource, + "TestPlumbingSourceDirRecursiveReadsSubdirectories": TestPlumbingSourceDirRecursiveReadsSubdirectories, + "TestPlumbingSourceProbePathsReadsANamedFile": TestPlumbingSourceProbePathsReadsANamedFile, "TestArtifactsChunkBytesSplitsAStreamedBody": TestArtifactsChunkBytesSplitsAStreamedBody, "TestScriptLauncherReplacesTheLauncher": TestScriptLauncherReplacesTheLauncher, "TestPathsPlaceholdersDeclaresALauncherPlaceholder": TestPathsPlaceholdersDeclaresALauncherPlaceholder, @@ -2460,10 +2470,17 @@ func TestArtifactsChunkBytesSplitsAStreamedBody(t *testing.T) { // environment, and returns its stdout. func launcherRun(t *testing.T, launcher string, env ...string) (string, error) { t.Helper() - e := newEnv(t, oneServer) file := filepath.Join(t.TempDir(), "launcher.ts") mustWrite(t, file, launcher) - e.setenv(append([]string{"MCPX_SCRIPT_LAUNCHER=" + file}, env...)...) + return launcherAt(t, file, env...) +} + +// launcherAt runs a one-line script with script.launcher set to source, +// which may be a file, a directory or inline text, and returns its stdout. +func launcherAt(t *testing.T, source string, env ...string) (string, error) { + t.Helper() + e := newEnv(t, oneServer) + e.setenv(append([]string{"MCPX_SCRIPT_LAUNCHER=" + source}, env...)...) script := filepath.Join(e.dir, "launched.ts") mustWrite(t, script, `console.log("script-ran")`) out, _, err := e.split("run", script) @@ -2499,6 +2516,93 @@ func TestPathsPlaceholdersDeclaresALauncherPlaceholder(t *testing.T) { } } +// TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName is the effect +// probe for plumbing.launcherPlaceholderRepeat: a launcher that uses @greet +// twice is refused by default and runs it twice once greet is listed. +func TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName(t *testing.T) { + dir := t.TempDir() + mustWrite(t, filepath.Join(dir, "greet.ts"), `console.log("greeted");`) + if out, err := launcherRun(t, "@greet\n@greet\n", "MCPX_PATHS_PLACEHOLDERS="+dir); err == nil { + t.Errorf("a placeholder used twice should be refused by default:\n%s", out) + } + out, err := launcherRun(t, "@greet\n@greet\n", "MCPX_PATHS_PLACEHOLDERS="+dir, "MCPX_PLUMBING_LAUNCHER_PLACEHOLDER_REPEAT=greet") + if err != nil || strings.Count(out, "greeted") != 2 { + t.Errorf("plumbing.launcherPlaceholderRepeat=greet should run @greet twice (err %v):\n%s", err, out) + } +} + +// TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts is the effect probe for +// plumbing.allowTsJsOverlap: a script directory holding foo.ts and foo.js +// makes `mcpx run foo` ambiguous by default, and runs once overlap is allowed. +func TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts(t *testing.T) { + run := func(env ...string) (string, string, error) { + e := newEnv(t, oneServer) + dir := t.TempDir() + mustWrite(t, filepath.Join(dir, "foo.ts"), `console.log("ts")`) + mustWrite(t, filepath.Join(dir, "foo.js"), `console.log("js")`) + e.setenv(append([]string{"MCPX_PATHS_SCRIPTS=" + dir}, env...)...) + return e.split("run", "foo") + } + if _, se, err := run(); err == nil || !strings.Contains(se, "ambiguous") { + t.Errorf("foo.ts beside foo.js should be ambiguous by default (err %v):\n%s", err, se) + } + if out, se, err := run("MCPX_PLUMBING_ALLOW_TS_JS_OVERLAP=true"); err != nil { + t.Errorf("plumbing.allowTsJsOverlap should let foo run (err %v):\n%s%s", err, out, se) + } +} + +// launcherDir is a directory of launcher fragments: a.ts at the top and +// b.ts one level down. +func launcherDir(t *testing.T) string { + t.Helper() + dir := t.TempDir() + if err := os.MkdirAll(filepath.Join(dir, "sub"), 0o755); err != nil { + t.Fatal(err) + } + mustWrite(t, filepath.Join(dir, "a.ts"), `console.log("dir-a");`) + mustWrite(t, filepath.Join(dir, "sub", "b.ts"), `console.log("dir-b");`) + return dir +} + +// TestPlumbingSourceDirAllowedTakesADirectoryAsSource is the effect probe +// for plumbing.sourceDirAllowed: a directory given as the launcher is read +// by default and refused once directories are not allowed. +func TestPlumbingSourceDirAllowedTakesADirectoryAsSource(t *testing.T) { + dir := launcherDir(t) + if out, err := launcherAt(t, dir); err != nil || !strings.Contains(out, "dir-a") { + t.Errorf("a directory should stand in for the launcher by default (err %v):\n%s", err, out) + } + if out, err := launcherAt(t, dir, "MCPX_PLUMBING_SOURCE_DIR_ALLOWED=false"); err == nil || strings.Contains(out, "dir-a") { + t.Errorf("plumbing.sourceDirAllowed=false should refuse the directory (err %v):\n%s", err, out) + } +} + +// TestPlumbingSourceDirRecursiveReadsSubdirectories is the effect probe for +// plumbing.sourceDirRecursive: a directory launcher reads only its top level +// by default, and its subdirectories too when recursion is on. +func TestPlumbingSourceDirRecursiveReadsSubdirectories(t *testing.T) { + dir := launcherDir(t) + if out, err := launcherAt(t, dir); err != nil || strings.Contains(out, "dir-b") { + t.Errorf("by default the subdirectory should not be read (err %v):\n%s", err, out) + } + if out, err := launcherAt(t, dir, "MCPX_PLUMBING_SOURCE_DIR_RECURSIVE=true"); err != nil || !strings.Contains(out, "dir-b") { + t.Errorf("plumbing.sourceDirRecursive should read sub/b.ts (err %v):\n%s", err, out) + } +} + +// TestPlumbingSourceProbePathsReadsANamedFile is the effect probe for +// plumbing.sourceProbePaths: a launcher value naming a file is read from it +// by default, and taken as inline source once probing is off. +func TestPlumbingSourceProbePathsReadsANamedFile(t *testing.T) { + file := filepath.Join(launcherDir(t), "a.ts") + if out, err := launcherAt(t, file); err != nil || !strings.Contains(out, "dir-a") { + t.Errorf("a path should be read as a file by default (err %v):\n%s", err, out) + } + if out, err := launcherAt(t, file, "MCPX_PLUMBING_SOURCE_PROBE_PATHS=false"); err == nil || strings.Contains(out, "dir-a") { + t.Errorf("plumbing.sourceProbePaths=false should take the path as source text (err %v):\n%s", err, 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 d81cce406d..3aafde893a 100644 --- a/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt +++ b/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt @@ -118,11 +118,6 @@ setting deps.autoInstall no integration-test exercise yet; burn-down #8470 (sett setting doctor.timeout no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting events.reconnect no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting hooks.autonomy no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test -setting plumbing.allowTsJsOverlap no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test -setting plumbing.launcherPlaceholderRepeat no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test -setting plumbing.sourceDirAllowed no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test -setting plumbing.sourceDirRecursive no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test -setting plumbing.sourceProbePaths no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting policy.write no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting registry.timeout no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting repair.autonomy no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test diff --git a/pkgs/mcpx/internal/settings/effect.go b/pkgs/mcpx/internal/settings/effect.go index dd8d54f9a8..bb8f9c8056 100644 --- a/pkgs/mcpx/internal/settings/effect.go +++ b/pkgs/mcpx/internal/settings/effect.go @@ -39,258 +39,258 @@ import ( // EffectProbes maps a setting path to the e2e test that proves its // value can change observable behaviour. var EffectProbes = map[string]string{ - "pool.max": "TestPoolDefaultsAreReachableFromTheEnvironment", - "pool.sharing": "TestPoolDefaultsAreReachableFromTheEnvironment", - "pool.scope": "TestPoolDefaultsAreReachableFromTheEnvironment", - "logging.file": "TestLoggingFileOffWritesNoDurableLog", - "script.captureConsole": "TestScriptCaptureConsoleOffDropsConsoleOutput", - "script.prefix": "TestScriptPrefixIsReachableFromTheEnvironment", - "script.check": "TestScriptTypecheckOnRefusesATypeError", - "script.env": "TestScriptEnvIsReachableFromTheEnvironment", - "script.devshell": "TestScriptDevshellIsReachableFromTheEnvironment", - "paths.state": "TestStateDirectoryIsReachableAsASetting", - "registry.url": "TestRegistryPageSizeChangesWhatTheCLIAsksFor", - "output.json": "TestOutputJSONIsReachableFromTheEnvironment", - "plumbing.strictUnknownKeys": "TestStrictUnknownKeysRefusesATypo", - "search.limit": "TestSearchLimitCapsTheResults", - "registry.limit": "TestRegistryLimitReachesTheCLI", - "registry.pageSize": "TestRegistryPageSizeChangesWhatTheCLIAsksFor", - "registry.maxPages": "TestTheRegistryPageCapSaysItStoppedEarly", - "paths.configFile": "TestPathsConfigFileChangesWhichConfigLoads", - "paths.scripts": "TestPathsScriptsFindsRecipesThatLiveOnlyThere", - "paths.cache": "TestPathsCacheChangesTheDoctorDirectory", - "paths.plugins": "TestPathsPluginsDiscoversAPluginThatLivesOnlyThere", - "tasks.maxAge": "TestTasksMaxAgeIsReachableFromEnvironment", - "stats.top": "TestStatsTopLimitsTheRowsTheStatsAPIReports", - "deps.source": "TestDepsSourceNoneDropsTheManifestLayer", - "deps.manifest": "TestDepsManifestNamesTheManifestResolutionReads", - "deps.packages": "TestDepsPackagesPinContradictingTheManifestFailsTheRun", - "paths.deps": "TestPathsDepsExtendsManifestDiscovery", - "script.cwd": "TestScriptCwdIsReachableFromTheEnvironment", - "script.interpreter": "TestScriptInterpreterIsReachableFromTheEnvironment", - "proxy.timeout": "TestProxyUpstreamTimeoutIsReachableFromTheEnvironment", - "proto.askPoll": "TestAskPollCeilingIsReachableFromTheEnvironment", - "proto.askRounds": "TestAskRoundsLimitIsReachableFromTheEnvironment", - "proto.askTTL": "TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment", - "proto.askTimeout": "TestAskTimeoutReleasesAHeldRequestFromTheEnvironment", - "proto.stateTTL": "TestStateTTLExpiresAResumableRequestFromTheEnvironment", - "proto.sessionIdle": "TestSessionIdleReapsAnUnusedSessionFromTheEnvironment", - "proto.mcpPath": "TestMCPPathMovesTheEndpointFromTheEnvironment", - "proto.native": "TestNativeAsksTheCallingClientFromTheEnvironment", - "protoMessages.listMaxAge": "TestListMaxAgeSetsTheListCacheHintFromTheEnvironment", - "protoMessages.readMaxAge": "TestReadMaxAgeSetsTheReadCacheHintFromTheEnvironment", - "protoMessages.taskAfter": "TestTaskAfterHandsASlowCallATaskFromTheEnvironment", - "protoTasks.pollInterval": "TestTaskPollIntervalSetsTheTaskPollHintFromTheEnvironment", - "spec.first": "TestTheRevisionPolicyDecidesWhetherProgressKeepsItsMessage", - "spec.lenient": "TestTheRevisionPolicyDecidesWhetherAServerInitiatedRequestIsAnswered", - "spec.precedence": "TestSpecPrecedenceDecidesWhetherProgressKeepsItsMessageFromTheEnvironment", - "exec.maxOutputBytes": "TestExecMaxOutputBytesCapsStdoutFromTheEnvironment", - "exec.timeout": "TestExecTimeoutStopsALongScriptFromTheEnvironment", - "exec.output": "TestExecOutputShapesTheResultFromTheEnvironment", - "mcp.pageSize": "TestMCPPageSizePagesToolsListFromTheEnvironment", - "mcp.passthrough": "TestMCPPassthroughServesANamespaceDirectlyFromTheEnvironment", - "completion.perMinute": "TestCompletionPerMinuteLimitsOneCallerFromTheEnvironment", - "completion.serverPerMinute": "TestCompletionServerPerMinuteLimitsAllCallersFromTheEnvironment", - "logstore.queryLimit": "TestLogstoreQueryLimitBoundsALogQueryFromTheEnvironment", - "recipes.minScore": "TestRecipesMinScoreRefusesAWeakMatchFromTheEnvironment", - "recipes.matchMargin": "TestRecipesMatchMarginSettlesATieFromTheEnvironment", - "recipes.limit": "TestRecipesLimitBoundsTheRankingFromTheEnvironment", - "tasks.ttl": "TestTasksTTLSetsAnExecTasksRetentionFromTheEnvironment", - "tasks.resultWait": "TestTasksResultWaitBoundsCollectingAResultFromTheEnvironment", - "protoTasks.maxTTL": "TestProtoTasksMaxTTLClampsATasksRetentionFromTheEnvironment", - "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", - "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", - "events.history": "TestEventsHistoryBoundsTheReplay", - "artifacts.chunkBytes": "TestArtifactsChunkBytesSplitsAStreamedBody", - "script.launcher": "TestScriptLauncherReplacesTheLauncher", - "paths.placeholders": "TestPathsPlaceholdersDeclaresALauncherPlaceholder", - "artifacts.interceptImages": "TestArtifactsInterceptImagesStoresAnEmittedImage", - "plumbing.indexOnQuery": "TestPlumbingIndexOnQueryIngestsBeforeALogQuery", - "plumbing.validatePaths": "TestPlumbingValidatePathsChecksTheLogDirUpFront", - "script.language": "TestScriptLanguageRunsPython", - "logging.trace": "TestLoggingTraceLogsEachCall", - "exec.where": "TestExecWhereRemoteRunsOnTheDaemon", - "paths.adapters": "TestPathsAdaptersFindsADeclarationFile", - "paths.apis": "TestPathsAPIsFindsADeclarationFile", - "script.runtime": "TestScriptRuntimeSelectsTheRuntime", - "script.runtimeOrder": "TestScriptRuntimeOrderRanksTheAutoPick", - "script.permissions": "TestScriptPermissionsSandboxesNode", - "script.profiles": "TestScriptProfilesDefinesAProfile", - "script.runtimes": "TestScriptRuntimesDeclaresARuntime", - "script.before": "TestScriptPhasesRunFromTheEnvironment", - "script.onSuccess": "TestScriptPhasesRunFromTheEnvironment", - "script.onError": "TestScriptPhasesRunFromTheEnvironment", - "script.suffix": "TestScriptPhasesRunFromTheEnvironment", - "hooks": "TestHooksRunOnTheirEvent", - "hooks.timeout": "TestHooksTimeoutStopsASlowHook", - "daemon.ui": "TestDaemonUITurnsTheDashboardOff", - "daemon.uiDir": "TestDaemonUIDirOverridesTheDashboard", - "logging.level": "TestLoggingLevelShowsDebugRecords", - "logging.format": "TestLoggingFormatRendersJSON", - "logging.source": "TestLoggingSourceAddsTheCallSite", - "logging.dir": "TestLoggingDirHoldsTheDurableLog", - "logging.include": "TestLoggingIncludeChoosesTheAmbientBlocks", - "logging.maxLines": "TestLoggingMaxLinesRotatesTheFile", - "logging.maxBytes": "TestLoggingMaxBytesRotatesTheFile", - "logging.keep": "TestLoggingKeepPrunesRotatedFiles", - "artifacts.enabled": "TestArtifactsEnabledGatesTheStore", - "artifacts.maxBytes": "TestArtifactsMaxBytesRefusesALargeArtifact", - "artifacts.quota": "TestArtifactsQuotaBoundsTheStore", - "artifacts.delivery": "TestArtifactsDeliveryInlinesTheBody", - "artifacts.inlineMaxBytes": "TestArtifactsInlineMaxBytesBoundsAnInlinedBody", - "artifacts.dir": "TestArtifactsDirReceivesTheRunsArtifacts", - "preset": "TestPresetSelectsADefinedBundle", - "serve.mode": "TestServeModeSelectsTheServedSurface", - "presets": "TestPresetsDefinesNamedFlagBundles", - "catalog.budget": "TestCatalogBudgetFitsTheSignatures", - "catalog.bias": "TestCatalogBiasPicksWhatATightBudgetShows", - "catalog.pinnedTools": "TestCatalogPinnedToolsAlwaysListInReactiveMode", - "retention.maxTools": "TestRetentionMaxToolsCapsTheReactiveWorkingSet", - "diagnose.history": "TestDiagnoseHistoryCapsRecordedSchemaChanges", - "diagnose.preflight": "TestDiagnosePreflightStopsAMismatchedScript", - "proto.serveMCP": "TestServeMCPUnmountsTheEndpointFromTheEnvironment", - "daemon.address": "TestDaemonAddressIsReachableFromTheEnvironment", - "daemon.autostart": "TestDaemonAutostartIsReachableFromTheEnvironment", - "http.bodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", - "http.callBodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", - "http.controlBodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", - "http.ssePing": "TestHTTPEventStreamSettingsChangeTheStream", - "http.sseRetry": "TestHTTPEventStreamSettingsChangeTheStream", - "http.readHeaderTimeout": "TestHTTPReadHeaderTimeoutClosesSlowClients", - "http.shutdownGrace": "TestHTTPShutdownGraceBoundsHowLongAStopWaits", - "http.requestTimeout": "TestHTTPRequestTimeoutBoundsAClientCall", - "http.streamBufferMax": "TestHTTPStreamBufferMaxEndsAnOversizedEventLine", - "transport.bearerToken": "TestTransportBearerTokenGatesTheDaemon", - "transport.allowedOrigins": "TestTransportAllowedOriginsAreServed", - "transport.sessionMetaKeys": "TestTransportSessionMetaKeysNameTheSession", - "transport.sseKeepAlive": "TestTransportSSEKeepAliveCommentsOnAQuietStream", - "transport.stdioDrain": "TestTransportStdioDrainBoundsServeShutdown", + "pool.max": "TestPoolDefaultsAreReachableFromTheEnvironment", + "pool.sharing": "TestPoolDefaultsAreReachableFromTheEnvironment", + "pool.scope": "TestPoolDefaultsAreReachableFromTheEnvironment", + "logging.file": "TestLoggingFileOffWritesNoDurableLog", + "script.captureConsole": "TestScriptCaptureConsoleOffDropsConsoleOutput", + "script.prefix": "TestScriptPrefixIsReachableFromTheEnvironment", + "script.check": "TestScriptTypecheckOnRefusesATypeError", + "script.env": "TestScriptEnvIsReachableFromTheEnvironment", + "script.devshell": "TestScriptDevshellIsReachableFromTheEnvironment", + "paths.state": "TestStateDirectoryIsReachableAsASetting", + "registry.url": "TestRegistryPageSizeChangesWhatTheCLIAsksFor", + "output.json": "TestOutputJSONIsReachableFromTheEnvironment", + "plumbing.strictUnknownKeys": "TestStrictUnknownKeysRefusesATypo", + "search.limit": "TestSearchLimitCapsTheResults", + "registry.limit": "TestRegistryLimitReachesTheCLI", + "registry.pageSize": "TestRegistryPageSizeChangesWhatTheCLIAsksFor", + "registry.maxPages": "TestTheRegistryPageCapSaysItStoppedEarly", + "paths.configFile": "TestPathsConfigFileChangesWhichConfigLoads", + "paths.scripts": "TestPathsScriptsFindsRecipesThatLiveOnlyThere", + "paths.cache": "TestPathsCacheChangesTheDoctorDirectory", + "paths.plugins": "TestPathsPluginsDiscoversAPluginThatLivesOnlyThere", + "tasks.maxAge": "TestTasksMaxAgeIsReachableFromEnvironment", + "stats.top": "TestStatsTopLimitsTheRowsTheStatsAPIReports", + "deps.source": "TestDepsSourceNoneDropsTheManifestLayer", + "deps.manifest": "TestDepsManifestNamesTheManifestResolutionReads", + "deps.packages": "TestDepsPackagesPinContradictingTheManifestFailsTheRun", + "paths.deps": "TestPathsDepsExtendsManifestDiscovery", + "script.cwd": "TestScriptCwdIsReachableFromTheEnvironment", + "script.interpreter": "TestScriptInterpreterIsReachableFromTheEnvironment", + "proxy.timeout": "TestProxyUpstreamTimeoutIsReachableFromTheEnvironment", + "proto.askPoll": "TestAskPollCeilingIsReachableFromTheEnvironment", + "proto.askRounds": "TestAskRoundsLimitIsReachableFromTheEnvironment", + "proto.askTTL": "TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment", + "proto.askTimeout": "TestAskTimeoutReleasesAHeldRequestFromTheEnvironment", + "proto.stateTTL": "TestStateTTLExpiresAResumableRequestFromTheEnvironment", + "proto.sessionIdle": "TestSessionIdleReapsAnUnusedSessionFromTheEnvironment", + "proto.mcpPath": "TestMCPPathMovesTheEndpointFromTheEnvironment", + "proto.native": "TestNativeAsksTheCallingClientFromTheEnvironment", + "protoMessages.listMaxAge": "TestListMaxAgeSetsTheListCacheHintFromTheEnvironment", + "protoMessages.readMaxAge": "TestReadMaxAgeSetsTheReadCacheHintFromTheEnvironment", + "protoMessages.taskAfter": "TestTaskAfterHandsASlowCallATaskFromTheEnvironment", + "protoTasks.pollInterval": "TestTaskPollIntervalSetsTheTaskPollHintFromTheEnvironment", + "spec.first": "TestTheRevisionPolicyDecidesWhetherProgressKeepsItsMessage", + "spec.lenient": "TestTheRevisionPolicyDecidesWhetherAServerInitiatedRequestIsAnswered", + "spec.precedence": "TestSpecPrecedenceDecidesWhetherProgressKeepsItsMessageFromTheEnvironment", + "exec.maxOutputBytes": "TestExecMaxOutputBytesCapsStdoutFromTheEnvironment", + "exec.timeout": "TestExecTimeoutStopsALongScriptFromTheEnvironment", + "exec.output": "TestExecOutputShapesTheResultFromTheEnvironment", + "mcp.pageSize": "TestMCPPageSizePagesToolsListFromTheEnvironment", + "mcp.passthrough": "TestMCPPassthroughServesANamespaceDirectlyFromTheEnvironment", + "completion.perMinute": "TestCompletionPerMinuteLimitsOneCallerFromTheEnvironment", + "completion.serverPerMinute": "TestCompletionServerPerMinuteLimitsAllCallersFromTheEnvironment", + "logstore.queryLimit": "TestLogstoreQueryLimitBoundsALogQueryFromTheEnvironment", + "recipes.minScore": "TestRecipesMinScoreRefusesAWeakMatchFromTheEnvironment", + "recipes.matchMargin": "TestRecipesMatchMarginSettlesATieFromTheEnvironment", + "recipes.limit": "TestRecipesLimitBoundsTheRankingFromTheEnvironment", + "tasks.ttl": "TestTasksTTLSetsAnExecTasksRetentionFromTheEnvironment", + "tasks.resultWait": "TestTasksResultWaitBoundsCollectingAResultFromTheEnvironment", + "protoTasks.maxTTL": "TestProtoTasksMaxTTLClampsATasksRetentionFromTheEnvironment", + "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", + "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", + "events.history": "TestEventsHistoryBoundsTheReplay", + "plumbing.launcherPlaceholderRepeat": "TestPlumbingLauncherPlaceholderRepeatAllowsATwiceUsedName", + "plumbing.allowTsJsOverlap": "TestPlumbingAllowTsJsOverlapPicksAmbiguousScripts", + "plumbing.sourceDirAllowed": "TestPlumbingSourceDirAllowedTakesADirectoryAsSource", + "plumbing.sourceDirRecursive": "TestPlumbingSourceDirRecursiveReadsSubdirectories", + "plumbing.sourceProbePaths": "TestPlumbingSourceProbePathsReadsANamedFile", + "artifacts.chunkBytes": "TestArtifactsChunkBytesSplitsAStreamedBody", + "script.launcher": "TestScriptLauncherReplacesTheLauncher", + "paths.placeholders": "TestPathsPlaceholdersDeclaresALauncherPlaceholder", + "artifacts.interceptImages": "TestArtifactsInterceptImagesStoresAnEmittedImage", + "plumbing.indexOnQuery": "TestPlumbingIndexOnQueryIngestsBeforeALogQuery", + "plumbing.validatePaths": "TestPlumbingValidatePathsChecksTheLogDirUpFront", + "script.language": "TestScriptLanguageRunsPython", + "logging.trace": "TestLoggingTraceLogsEachCall", + "exec.where": "TestExecWhereRemoteRunsOnTheDaemon", + "paths.adapters": "TestPathsAdaptersFindsADeclarationFile", + "paths.apis": "TestPathsAPIsFindsADeclarationFile", + "script.runtime": "TestScriptRuntimeSelectsTheRuntime", + "script.runtimeOrder": "TestScriptRuntimeOrderRanksTheAutoPick", + "script.permissions": "TestScriptPermissionsSandboxesNode", + "script.profiles": "TestScriptProfilesDefinesAProfile", + "script.runtimes": "TestScriptRuntimesDeclaresARuntime", + "script.before": "TestScriptPhasesRunFromTheEnvironment", + "script.onSuccess": "TestScriptPhasesRunFromTheEnvironment", + "script.onError": "TestScriptPhasesRunFromTheEnvironment", + "script.suffix": "TestScriptPhasesRunFromTheEnvironment", + "hooks": "TestHooksRunOnTheirEvent", + "hooks.timeout": "TestHooksTimeoutStopsASlowHook", + "daemon.ui": "TestDaemonUITurnsTheDashboardOff", + "daemon.uiDir": "TestDaemonUIDirOverridesTheDashboard", + "logging.level": "TestLoggingLevelShowsDebugRecords", + "logging.format": "TestLoggingFormatRendersJSON", + "logging.source": "TestLoggingSourceAddsTheCallSite", + "logging.dir": "TestLoggingDirHoldsTheDurableLog", + "logging.include": "TestLoggingIncludeChoosesTheAmbientBlocks", + "logging.maxLines": "TestLoggingMaxLinesRotatesTheFile", + "logging.maxBytes": "TestLoggingMaxBytesRotatesTheFile", + "logging.keep": "TestLoggingKeepPrunesRotatedFiles", + "artifacts.enabled": "TestArtifactsEnabledGatesTheStore", + "artifacts.maxBytes": "TestArtifactsMaxBytesRefusesALargeArtifact", + "artifacts.quota": "TestArtifactsQuotaBoundsTheStore", + "artifacts.delivery": "TestArtifactsDeliveryInlinesTheBody", + "artifacts.inlineMaxBytes": "TestArtifactsInlineMaxBytesBoundsAnInlinedBody", + "artifacts.dir": "TestArtifactsDirReceivesTheRunsArtifacts", + "preset": "TestPresetSelectsADefinedBundle", + "serve.mode": "TestServeModeSelectsTheServedSurface", + "presets": "TestPresetsDefinesNamedFlagBundles", + "catalog.budget": "TestCatalogBudgetFitsTheSignatures", + "catalog.bias": "TestCatalogBiasPicksWhatATightBudgetShows", + "catalog.pinnedTools": "TestCatalogPinnedToolsAlwaysListInReactiveMode", + "retention.maxTools": "TestRetentionMaxToolsCapsTheReactiveWorkingSet", + "diagnose.history": "TestDiagnoseHistoryCapsRecordedSchemaChanges", + "diagnose.preflight": "TestDiagnosePreflightStopsAMismatchedScript", + "proto.serveMCP": "TestServeMCPUnmountsTheEndpointFromTheEnvironment", + "daemon.address": "TestDaemonAddressIsReachableFromTheEnvironment", + "daemon.autostart": "TestDaemonAutostartIsReachableFromTheEnvironment", + "http.bodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", + "http.callBodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", + "http.controlBodyLimit": "TestHTTPBodyLimitsRejectOversizedBodies", + "http.ssePing": "TestHTTPEventStreamSettingsChangeTheStream", + "http.sseRetry": "TestHTTPEventStreamSettingsChangeTheStream", + "http.readHeaderTimeout": "TestHTTPReadHeaderTimeoutClosesSlowClients", + "http.shutdownGrace": "TestHTTPShutdownGraceBoundsHowLongAStopWaits", + "http.requestTimeout": "TestHTTPRequestTimeoutBoundsAClientCall", + "http.streamBufferMax": "TestHTTPStreamBufferMaxEndsAnOversizedEventLine", + "transport.bearerToken": "TestTransportBearerTokenGatesTheDaemon", + "transport.allowedOrigins": "TestTransportAllowedOriginsAreServed", + "transport.sessionMetaKeys": "TestTransportSessionMetaKeysNameTheSession", + "transport.sseKeepAlive": "TestTransportSSEKeepAliveCommentsOnAQuietStream", + "transport.stdioDrain": "TestTransportStdioDrainBoundsServeShutdown", } // EffectExemptions maps a setting path to the reason no effect probe // covers it yet. An empty or missing reason is a violation, and the // count is pinned by EffectExemptionPin. var EffectExemptions = map[string]string{ - "pool.min": "pre-warming is daemon-internal state; no CLI surface reports the live instance count a probe could assert on", - "pool.idleTimeout": "daemon pool timing bound: its effect is when the daemon gives up or reaps, observable only with a stalled upstream and a timing assertion the harness does not make deterministically", - "pool.callTimeout": "daemon pool timing bound: its effect is when the daemon gives up or reaps, observable only with a stalled upstream and a timing assertion the harness does not make deterministically", - "pool.startTimeout": "daemon pool timing bound: its effect is when the daemon gives up or reaps, observable only with a stalled upstream and a timing assertion the harness does not make deterministically", - "logging.maxAge": "log pipeline bound or rendering choice: its effect appears only across log volume, rotation, or time, none of which a single harness run produces deterministically", - "script.imports": "static import resolution is covered by deterministic internal/preflight graph tests; the e2e harness has no Deno graph fixture yet", - "script.importsOnMissing": "missing-package policies are covered by deterministic internal/preflight resolver tests; the e2e harness has no Deno graph fixture yet", - "script.importsOnDynamic": "computed-import policies are covered by deterministic internal/preflight graph tests; the e2e harness has no Deno graph fixture yet", - "script.importsCrossProject": "cross-project subset policies are covered by deterministic internal/preflight resolver tests; the e2e harness has no multi-project Deno graph fixture yet", - "script.importsNetwork": "registry lookup gating is covered by deterministic internal/preflight resolver tests; the e2e harness has no Deno graph fixture yet", - "script.checkOnError": "check failure policy is covered by deterministic internal/preflight stub-runtime tests; the e2e harness has no isolated checker fixture yet", - "script.checkOnUnsupported": "unsupported-runtime policy is covered by deterministic internal/preflight stub-runtime tests; the e2e harness has no isolated checker fixture yet", - "deps.autoInstall": "a runtime fetch policy: its effect is which --install flag a bun run carries, observable only when a runtime actually fetches a missing package -- a network install the harness does not perform deterministically", - "artifacts.ttl": "artifact store behaviour: its effect needs artifact-producing calls plus volume or time (ttl, quota, gc) that the fake server's fixtures do not drive", - "artifacts.idleTtl": "artifact store behaviour: its effect needs artifact-producing calls plus volume or time (ttl, quota, gc) that the fake server's fixtures do not drive", - "artifacts.maxAge": "artifact store behaviour: its effect needs artifact-producing calls plus volume or time (ttl, quota, gc) that the fake server's fixtures do not drive", - "artifacts.gcInterval": "artifact store behaviour: its effect needs artifact-producing calls plus volume or time (ttl, quota, gc) that the fake server's fixtures do not drive", - "paths.config": "a discovery search path: its effect appears only when fixture content exists solely on that path, which the harness does not plant per-path", - "daemon.tsnetUpTimeout": "tsnet bring-up needs a tailnet the harness does not have", - "daemon.reapInterval": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.saveInterval": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.port": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.endpoint": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.tsnet.hostname": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.inline": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.roots": "configured upstream roots only affect an upstream roots/list request; the e2e harness does not yet issue that server request, while daemon hook and mcpclient unit tests cover settings conversion and the response path", - "output.color": "only the interactive browser (tui) renders colour; no non-interactive surface the harness drives can show a with/without difference", - "catalog.instructions": "the fake MCP server serves no server instructions, so `types` output cannot differ either way until a fixture gains instructions", - "proto.elicitationPerMinute": "daemon proto rate limit: its effect appears only when an upstream server exceeds the per-minute elicitation bound, a flood the e2e harness's fake server does not drive deterministically; the limiter itself is covered by internal/mcpclient and internal/daemon ratelimit tests", - "proto.samplingPerMinute": "daemon proto rate limit: its effect appears only when an upstream server exceeds the per-minute sampling bound, a flood the e2e harness's fake server does not drive deterministically; the limiter itself is covered by internal/mcpclient and internal/daemon ratelimit tests", - "proto.samplingSessionPerMinute": "daemon proto rate limit: its effect appears only when one session exceeds the per-minute sampling bound, a flood the e2e harness's fake server does not drive deterministically; the limiter itself is covered by internal/mcpclient and internal/daemon ratelimit tests", - "plumbing.allowTsJsOverlap": "plumbing switch: the branch it guards is read in its own package, but no e2e with/without probe exists yet - plumbing is the ratchet's expected bulk", - "plumbing.sourceDirRecursive": "plumbing switch: the branch it guards is read in its own package, but no e2e with/without probe exists yet - plumbing is the ratchet's expected bulk", - "plumbing.sourceDirAllowed": "plumbing switch: the branch it guards is read in its own package, but no e2e with/without probe exists yet - plumbing is the ratchet's expected bulk", - "plumbing.sourceProbePaths": "plumbing switch: the branch it guards is read in its own package, but no e2e with/without probe exists yet - plumbing is the ratchet's expected bulk", - "plumbing.launcherPlaceholderRepeat": "plumbing switch: the branch it guards is read in its own package, but no e2e with/without probe exists yet - plumbing is the ratchet's expected bulk", - "elicit.disambiguate": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", - "elicit.disambiguateDefault": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", - "elicit.confirmDestructive": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", - "policy.write": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; daemon unit tests cover the gate, not an e2e with/without probe", - "elicit.askTimeout": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", - "elicit.ttl": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", - "elicit.maxAge": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", - "autonomy.max": "autonomy behaviour: its effect needs several candidate actions or a sampling provider; no fixture provides one", - "repair.autonomy": "repair autonomy: its effect needs a repairable failure fixture and a sampling provider; none exists yet", - "hooks.autonomy": "hook execution: its effect needs a hook configured for a specific event and an event that fires it; the harness has no per-event hook fixture", - "prompt.autonomy": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", - "prompt.sample": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", - "prompt.catalogBudget": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", - "prompt.sampleTimeout": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", - "model.apiKeyEnv": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "model.baseURL": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "model.budget": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "model.default": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "model.profiles": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "model.provider": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "model.providers": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "model.timeout": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "sampling.answerLocally": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", - "prompt.maxTokens": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", - "prompt.runTimeout": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", - "http.streamBufferInit": "HTTP server bound (body limits, timeouts, buffers): its effect needs oversized bodies, idle connections, or time passage a single run does not produce", - "http.idleConns": "HTTP server bound (body limits, timeouts, buffers): its effect needs oversized bodies, idle connections, or time passage a single run does not produce", - "http.remoteIdleConns": "HTTP server bound (body limits, timeouts, buffers): its effect needs oversized bodies, idle connections, or time passage a single run does not produce", - "http.idleConnTimeout": "HTTP server bound (body limits, timeouts, buffers): its effect needs oversized bodies, idle connections, or time passage a single run does not produce", - "autostart.bin": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", - "autostart.args": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", - "autostart.idleExit": "the harness itself sets this (a 60s backstop) for every env; a with/without probe would have to wait out a daemon's idle exit", - "autostart.connectTimeout": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", - "autostart.pollInterval": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", - "autostart.pingTimeout": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", - "autostart.logTail": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", - "search.semantic": "semantic search needs an embeddings backend fixture the harness does not provide", - "completion.maxValues": "shell completion surface: the harness never drives completion", - "elicit.pendingLimit": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", - "registry.timeout": "a timeout bound: observing it needs a registry slower than the stub registry ever is", - "logstore.followBacklog": "log store surface: its effect needs stored log volume beyond what one harness run writes", - "events.reconnect": "daemon event buffer/reconnect behaviour: needs disconnect/reconnect timing the harness does not drive", - "daemon.idleExit": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "retention.stickyWindow": "retention window: its effect appears across call history and time, not within one run", - "embeddings.backend": "embeddings backend: needs a live embeddings service or a wasm model fixture the harness does not provide", - "embeddings.url": "embeddings backend: needs a live embeddings service or a wasm model fixture the harness does not provide", - "embeddings.apiKey": "needs a live embeddings service that accepts the key; no fixture serves one", - "embeddings.model": "embeddings backend: needs a live embeddings service or a wasm model fixture the harness does not provide", - "embeddings.wasmPath": "embeddings backend: needs a live embeddings service or a wasm model fixture the harness does not provide", - "daemon.warm": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.watchConfig": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.warmTimeout": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "daemon.refreshTimeout": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", - "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", - "doctor.timeout": "doctor timeout bound: observing it needs a check slower than the bound", - "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", - "plugin.backend": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.discoveryRetry": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.toolTiming": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.env": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.instructions": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.tools": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.remember": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.annotate": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.headless": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.daemonTools": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "plugin.disabledTools": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", - "protoTasks.cancelGrace": "task-store cancellation timing: covered by internal/tasks store tests, not by a settings with/without probe", - "upstream.protocol": "upstream protocol detection: its effect needs a peer whose era must be probed, beyond what the fake server presents", - "upstream.probeTimeout": "upstream protocol detection: its effect needs a peer whose era must be probed, beyond what the fake server presents", - "upstream.eraCache": "upstream protocol detection: its effect needs a peer whose era must be probed, beyond what the fake server presents", + "pool.min": "pre-warming is daemon-internal state; no CLI surface reports the live instance count a probe could assert on", + "pool.idleTimeout": "daemon pool timing bound: its effect is when the daemon gives up or reaps, observable only with a stalled upstream and a timing assertion the harness does not make deterministically", + "pool.callTimeout": "daemon pool timing bound: its effect is when the daemon gives up or reaps, observable only with a stalled upstream and a timing assertion the harness does not make deterministically", + "pool.startTimeout": "daemon pool timing bound: its effect is when the daemon gives up or reaps, observable only with a stalled upstream and a timing assertion the harness does not make deterministically", + "logging.maxAge": "log pipeline bound or rendering choice: its effect appears only across log volume, rotation, or time, none of which a single harness run produces deterministically", + "script.imports": "static import resolution is covered by deterministic internal/preflight graph tests; the e2e harness has no Deno graph fixture yet", + "script.importsOnMissing": "missing-package policies are covered by deterministic internal/preflight resolver tests; the e2e harness has no Deno graph fixture yet", + "script.importsOnDynamic": "computed-import policies are covered by deterministic internal/preflight graph tests; the e2e harness has no Deno graph fixture yet", + "script.importsCrossProject": "cross-project subset policies are covered by deterministic internal/preflight resolver tests; the e2e harness has no multi-project Deno graph fixture yet", + "script.importsNetwork": "registry lookup gating is covered by deterministic internal/preflight resolver tests; the e2e harness has no Deno graph fixture yet", + "script.checkOnError": "check failure policy is covered by deterministic internal/preflight stub-runtime tests; the e2e harness has no isolated checker fixture yet", + "script.checkOnUnsupported": "unsupported-runtime policy is covered by deterministic internal/preflight stub-runtime tests; the e2e harness has no isolated checker fixture yet", + "deps.autoInstall": "a runtime fetch policy: its effect is which --install flag a bun run carries, observable only when a runtime actually fetches a missing package -- a network install the harness does not perform deterministically", + "artifacts.ttl": "artifact store behaviour: its effect needs artifact-producing calls plus volume or time (ttl, quota, gc) that the fake server's fixtures do not drive", + "artifacts.idleTtl": "artifact store behaviour: its effect needs artifact-producing calls plus volume or time (ttl, quota, gc) that the fake server's fixtures do not drive", + "artifacts.maxAge": "artifact store behaviour: its effect needs artifact-producing calls plus volume or time (ttl, quota, gc) that the fake server's fixtures do not drive", + "artifacts.gcInterval": "artifact store behaviour: its effect needs artifact-producing calls plus volume or time (ttl, quota, gc) that the fake server's fixtures do not drive", + "paths.config": "a discovery search path: its effect appears only when fixture content exists solely on that path, which the harness does not plant per-path", + "daemon.tsnetUpTimeout": "tsnet bring-up needs a tailnet the harness does not have", + "daemon.reapInterval": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.saveInterval": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.port": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.endpoint": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.tsnet.hostname": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.inline": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.roots": "configured upstream roots only affect an upstream roots/list request; the e2e harness does not yet issue that server request, while daemon hook and mcpclient unit tests cover settings conversion and the response path", + "output.color": "only the interactive browser (tui) renders colour; no non-interactive surface the harness drives can show a with/without difference", + "catalog.instructions": "the fake MCP server serves no server instructions, so `types` output cannot differ either way until a fixture gains instructions", + "proto.elicitationPerMinute": "daemon proto rate limit: its effect appears only when an upstream server exceeds the per-minute elicitation bound, a flood the e2e harness's fake server does not drive deterministically; the limiter itself is covered by internal/mcpclient and internal/daemon ratelimit tests", + "proto.samplingPerMinute": "daemon proto rate limit: its effect appears only when an upstream server exceeds the per-minute sampling bound, a flood the e2e harness's fake server does not drive deterministically; the limiter itself is covered by internal/mcpclient and internal/daemon ratelimit tests", + "proto.samplingSessionPerMinute": "daemon proto rate limit: its effect appears only when one session exceeds the per-minute sampling bound, a flood the e2e harness's fake server does not drive deterministically; the limiter itself is covered by internal/mcpclient and internal/daemon ratelimit tests", + "elicit.disambiguate": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", + "elicit.disambiguateDefault": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", + "elicit.confirmDestructive": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", + "policy.write": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; daemon unit tests cover the gate, not an e2e with/without probe", + "elicit.askTimeout": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", + "elicit.ttl": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", + "elicit.maxAge": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", + "autonomy.max": "autonomy behaviour: its effect needs several candidate actions or a sampling provider; no fixture provides one", + "repair.autonomy": "repair autonomy: its effect needs a repairable failure fixture and a sampling provider; none exists yet", + "hooks.autonomy": "hook execution: its effect needs a hook configured for a specific event and an event that fires it; the harness has no per-event hook fixture", + "prompt.autonomy": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", + "prompt.sample": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", + "prompt.catalogBudget": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", + "prompt.sampleTimeout": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", + "model.apiKeyEnv": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "model.baseURL": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "model.budget": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "model.default": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "model.profiles": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "model.provider": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "model.providers": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "model.timeout": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "sampling.answerLocally": "model layer is covered by internal/model and daemon unit tests; no settings-driven e2e with/without probe exists yet", + "prompt.maxTokens": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", + "prompt.runTimeout": "prompt/sampling behaviour: its effect needs a sampling provider or several candidate actions; no fixture provides one", + "http.streamBufferInit": "HTTP server bound (body limits, timeouts, buffers): its effect needs oversized bodies, idle connections, or time passage a single run does not produce", + "http.idleConns": "HTTP server bound (body limits, timeouts, buffers): its effect needs oversized bodies, idle connections, or time passage a single run does not produce", + "http.remoteIdleConns": "HTTP server bound (body limits, timeouts, buffers): its effect needs oversized bodies, idle connections, or time passage a single run does not produce", + "http.idleConnTimeout": "HTTP server bound (body limits, timeouts, buffers): its effect needs oversized bodies, idle connections, or time passage a single run does not produce", + "autostart.bin": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", + "autostart.args": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", + "autostart.idleExit": "the harness itself sets this (a 60s backstop) for every env; a with/without probe would have to wait out a daemon's idle exit", + "autostart.connectTimeout": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", + "autostart.pollInterval": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", + "autostart.pingTimeout": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", + "autostart.logTail": "client autostart mechanics: the harness itself depends on these to start daemons, so varying them per-test would fight the fixture", + "search.semantic": "semantic search needs an embeddings backend fixture the harness does not provide", + "completion.maxValues": "shell completion surface: the harness never drives completion", + "elicit.pendingLimit": "elicitation flow: its effect needs an interactive client answering (or not answering) inside that window; ask fixtures cover the flow, not this bound", + "registry.timeout": "a timeout bound: observing it needs a registry slower than the stub registry ever is", + "logstore.followBacklog": "log store surface: its effect needs stored log volume beyond what one harness run writes", + "events.reconnect": "daemon event buffer/reconnect behaviour: needs disconnect/reconnect timing the harness does not drive", + "daemon.idleExit": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "retention.stickyWindow": "retention window: its effect appears across call history and time, not within one run", + "embeddings.backend": "embeddings backend: needs a live embeddings service or a wasm model fixture the harness does not provide", + "embeddings.url": "embeddings backend: needs a live embeddings service or a wasm model fixture the harness does not provide", + "embeddings.apiKey": "needs a live embeddings service that accepts the key; no fixture serves one", + "embeddings.model": "embeddings backend: needs a live embeddings service or a wasm model fixture the harness does not provide", + "embeddings.wasmPath": "embeddings backend: needs a live embeddings service or a wasm model fixture the harness does not provide", + "daemon.warm": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.watchConfig": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.warmTimeout": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "daemon.refreshTimeout": "daemon lifecycle, binding, or timing: its effect is a bound, an interval, or a network identity the isolated harness cannot vary deterministically", + "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", + "doctor.timeout": "doctor timeout bound: observing it needs a check slower than the bound", + "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", + "plugin.backend": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.discoveryRetry": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.toolTiming": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.env": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.instructions": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.tools": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.remember": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.annotate": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.headless": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.daemonTools": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "plugin.disabledTools": "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host", + "protoTasks.cancelGrace": "task-store cancellation timing: covered by internal/tasks store tests, not by a settings with/without probe", + "upstream.protocol": "upstream protocol detection: its effect needs a peer whose era must be probed, beyond what the fake server presents", + "upstream.probeTimeout": "upstream protocol detection: its effect needs a peer whose era must be probed, beyond what the fake server presents", + "upstream.eraCache": "upstream protocol detection: its effect needs a peer whose era must be probed, beyond what the fake server presents", } // 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 = 114 // 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 = 109 // 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,