From ddf69f39ad1ee94eef847173e20f9692984e7ce3 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 18:19:39 +0000 Subject: [PATCH] test(mcpx): probe script.runtime, runtimeOrder, permissions, profiles and runtimes Node-backed e2e probes: MCPX_SCRIPT_RUNTIME=node and MCPX_SCRIPT_RUNTIME_ORDER=node,bun move the run from bun to node; MCPX_SCRIPT_PERMISSIONS=readnet and a profile defined in MCPX_SCRIPT_PROFILES make node refuse a write; MCPX_SCRIPT_RUNTIMES declares a named runtime. Each skips where node is missing, like the existing node permission tests. Pin 130 -> 125. Refs #8473 Co-Authored-By: Claude Opus 5.5 --- pkgs/mcpx/internal/e2e/effect_test.go | 111 ++++++++++++++++++ .../e2e/feature_coverage_exemptions.txt | 5 - pkgs/mcpx/internal/settings/effect.go | 12 +- 3 files changed, 117 insertions(+), 11 deletions(-) diff --git a/pkgs/mcpx/internal/e2e/effect_test.go b/pkgs/mcpx/internal/e2e/effect_test.go index 86cce84a00..67afb0f1f9 100644 --- a/pkgs/mcpx/internal/e2e/effect_test.go +++ b/pkgs/mcpx/internal/e2e/effect_test.go @@ -17,6 +17,7 @@ import ( "time" "github.com/developing-today/code/pkgs/mcpx/internal/settings" + "github.com/developing-today/code/pkgs/mcpx/internal/testsupport" ) // Effect probes, grouped by surface (#1971, Approach C). @@ -100,6 +101,11 @@ var implementedEffectProbes = map[string]string{ "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", "events.history": "TestEventsHistoryBoundsTheReplay", + "script.runtime": "TestScriptRuntimeSelectsTheRuntime", + "script.runtimeOrder": "TestScriptRuntimeOrderRanksTheAutoPick", + "script.permissions": "TestScriptPermissionsSandboxesNode", + "script.profiles": "TestScriptProfilesDefinesAProfile", + "script.runtimes": "TestScriptRuntimesDeclaresARuntime", "script.before": "TestScriptPhasesRunFromTheEnvironment", "script.onSuccess": "TestScriptPhasesRunFromTheEnvironment", "script.onError": "TestScriptPhasesRunFromTheEnvironment", @@ -217,6 +223,11 @@ var effectProbeFuncs = map[string]func(*testing.T){ "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment": TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment, "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment": TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment, "TestEventsHistoryBoundsTheReplay": TestEventsHistoryBoundsTheReplay, + "TestScriptRuntimeSelectsTheRuntime": TestScriptRuntimeSelectsTheRuntime, + "TestScriptRuntimeOrderRanksTheAutoPick": TestScriptRuntimeOrderRanksTheAutoPick, + "TestScriptPermissionsSandboxesNode": TestScriptPermissionsSandboxesNode, + "TestScriptProfilesDefinesAProfile": TestScriptProfilesDefinesAProfile, + "TestScriptRuntimesDeclaresARuntime": TestScriptRuntimesDeclaresARuntime, "TestScriptPhasesRunFromTheEnvironment": TestScriptPhasesRunFromTheEnvironment, "TestHooksRunOnTheirEvent": TestHooksRunOnTheirEvent, "TestHooksTimeoutStopsASlowHook": TestHooksTimeoutStopsASlowHook, @@ -2138,6 +2149,106 @@ func TestScriptPhasesRunFromTheEnvironment(t *testing.T) { } } +// runtimeOf runs a script with --json and returns the runtime it reports. +func runtimeOf(t *testing.T, e *env, args ...string) string { + t.Helper() + var doc struct { + Runtime string `json:"runtime"` + } + out := e.run(append(append([]string{"exec", "--json"}, args...), `console.log("hi")`)...) + if err := json.Unmarshal([]byte(jsonOf(t, out)), &doc); err != nil { + t.Fatalf("%v\n%s", err, out) + } + return doc.Runtime +} + +// TestScriptRuntimeSelectsTheRuntime is the effect probe for +// script.runtime: scripts run on bun by default and on node once the +// environment names it. +func TestScriptRuntimeSelectsTheRuntime(t *testing.T) { + testsupport.RequireBinary(t, "node") + e := newEnv(t, oneServer) + if rt := runtimeOf(t, e); rt != "bun" { + t.Errorf("the default script.runtime should pick bun, got %q", rt) + } + e.setenv("MCPX_SCRIPT_RUNTIME=node") + if rt := runtimeOf(t, e); rt != "node" { + t.Errorf("script.runtime=node should run on node, got %q", rt) + } +} + +// TestScriptRuntimeOrderRanksTheAutoPick is the effect probe for +// script.runtimeOrder: the automatic pick is bun by default and node once +// the environment ranks node first. +func TestScriptRuntimeOrderRanksTheAutoPick(t *testing.T) { + testsupport.RequireBinary(t, "node") + e := newEnv(t, oneServer) + if rt := runtimeOf(t, e); rt != "bun" { + t.Errorf("the default script.runtimeOrder should pick bun, got %q", rt) + } + e.setenv("MCPX_SCRIPT_RUNTIME_ORDER=node,bun") + if rt := runtimeOf(t, e); rt != "node" { + t.Errorf("script.runtimeOrder=node,bun should pick node, got %q", rt) + } +} + +// nodeWrite runs, on node, a script that tries to write a file and prints +// WROTE or DENIED. +func nodeWrite(t *testing.T, e *env, args ...string) string { + t.Helper() + target := filepath.Join(t.TempDir(), "w") + probe := `import { writeFileSync } from "node:fs"; +try { writeFileSync(` + jsonQuote(target) + `, "1"); console.log("WROTE"); } catch (e) { console.log("DENIED " + e.code); }` + out, _ := e.try(append(append([]string{"exec", "--runtime", "node"}, args...), probe)...) + return out +} + +// TestScriptPermissionsSandboxesNode is the effect probe for +// script.permissions: node writes freely at the default, and the readnet +// profile named in the environment makes node refuse the write. +func TestScriptPermissionsSandboxesNode(t *testing.T) { + testsupport.RequireBinary(t, "node") + e := newEnv(t, oneServer) + if out := nodeWrite(t, e); !strings.Contains(out, "WROTE") { + t.Errorf("the default script.permissions should let node write:\n%s", out) + } + e.setenv("MCPX_SCRIPT_PERMISSIONS=readnet") + if out := nodeWrite(t, e); !strings.Contains(out, "DENIED ERR_ACCESS_DENIED") { + t.Errorf("script.permissions=readnet should make node refuse the write:\n%s", out) + } +} + +// TestScriptProfilesDefinesAProfile is the effect probe for script.profiles: +// --permissions ro names no profile by default, and once the environment +// defines ro with node's read-only flags, node refuses the write under it. +func TestScriptProfilesDefinesAProfile(t *testing.T) { + testsupport.RequireBinary(t, "node") + e := newEnv(t, oneServer) + if out := nodeWrite(t, e, "--permissions", "ro"); strings.Contains(out, "WROTE") || strings.Contains(out, "DENIED") { + t.Errorf("with no profile ro defined, the script should not run:\n%s", out) + } + e.setenv(`MCPX_SCRIPT_PROFILES={"ro":{"node":["--permission","--allow-fs-read=*"]}}`) + if out := nodeWrite(t, e, "--permissions", "ro"); !strings.Contains(out, "DENIED ERR_ACCESS_DENIED") { + t.Errorf("script.profiles defining ro should make node refuse the write:\n%s", out) + } +} + +// TestScriptRuntimesDeclaresARuntime is the effect probe for +// script.runtimes: --runtime engine is unknown by default, and runs on +// node once the environment declares engine as a node binary. +func TestScriptRuntimesDeclaresARuntime(t *testing.T) { + node := testsupport.RequireBinary(t, "node") + e := newEnv(t, oneServer) + src := `console.log("kind=" + process.env.MCPX_RUNTIME)` + if out, err := e.try("exec", "--runtime", "engine", src); err == nil || strings.Contains(out, "kind=node") { + t.Errorf("with nothing declared, --runtime engine should fail: %v\n%s", err, out) + } + e.setenv(`MCPX_SCRIPT_RUNTIMES={"engine":{"kind":"node","bin":` + jsonQuote(node) + `}}`) + if out, err := e.try("exec", "--runtime", "engine", src); err != nil || !strings.Contains(out, "kind=node") { + t.Errorf("script.runtimes should declare engine as node: %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 0c3beb3df6..4c3ad1c523 100644 --- a/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt +++ b/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt @@ -50,11 +50,6 @@ setting script.importsNetwork no integration-test exercise yet; burn-down #8474 setting script.importsOnDynamic no integration-test exercise yet; burn-down #8474 (settings script family); needs an EffectProbes entry + e2e test setting script.importsOnMissing no integration-test exercise yet; burn-down #8474 (settings script family); needs an EffectProbes entry + e2e test setting script.launcher no integration-test exercise yet; burn-down #8474 (settings script family); needs an EffectProbes entry + e2e test -setting script.permissions no integration-test exercise yet; burn-down #8474 (settings script family); needs an EffectProbes entry + e2e test -setting script.profiles no integration-test exercise yet; burn-down #8474 (settings script family); needs an EffectProbes entry + e2e test -setting script.runtime no integration-test exercise yet; burn-down #8474 (settings script family); needs an EffectProbes entry + e2e test -setting script.runtimeOrder no integration-test exercise yet; burn-down #8474 (settings script family); needs an EffectProbes entry + e2e test -setting script.runtimes no integration-test exercise yet; burn-down #8474 (settings script family); needs an EffectProbes entry + e2e test setting proto.elicitationPerMinute no integration-test exercise yet; burn-down #8473 (settings proto family); needs an EffectProbes entry + e2e test setting proto.samplingPerMinute no integration-test exercise yet; burn-down #8473 (settings proto family); needs an EffectProbes entry + e2e test setting proto.samplingSessionPerMinute no integration-test exercise yet; burn-down #8473 (settings proto family); needs an EffectProbes entry + e2e test diff --git a/pkgs/mcpx/internal/settings/effect.go b/pkgs/mcpx/internal/settings/effect.go index 2261c3bb9a..483bc2c83f 100644 --- a/pkgs/mcpx/internal/settings/effect.go +++ b/pkgs/mcpx/internal/settings/effect.go @@ -101,6 +101,11 @@ var EffectProbes = map[string]string{ "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", "events.history": "TestEventsHistoryBoundsTheReplay", + "script.runtime": "TestScriptRuntimeSelectsTheRuntime", + "script.runtimeOrder": "TestScriptRuntimeOrderRanksTheAutoPick", + "script.permissions": "TestScriptPermissionsSandboxesNode", + "script.profiles": "TestScriptProfilesDefinesAProfile", + "script.runtimes": "TestScriptRuntimesDeclaresARuntime", "script.before": "TestScriptPhasesRunFromTheEnvironment", "script.onSuccess": "TestScriptPhasesRunFromTheEnvironment", "script.onError": "TestScriptPhasesRunFromTheEnvironment", @@ -160,7 +165,6 @@ var EffectExemptions = map[string]string{ "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.runtime": "script launcher pipeline: its effect needs a runtime, profile, or launcher fixture exercising that exact stage, which the harness script fixtures do not yet provide", "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", @@ -169,10 +173,6 @@ var EffectExemptions = map[string]string{ "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", "script.language": "script language selection is covered by deterministic internal/runner tests (TestEffectiveScriptLanguage, TestExplicitPythonLanguageRunsInlineSnippet); the e2e harness script fixtures are TypeScript-only", - "script.runtimes": "script launcher pipeline: its effect needs a runtime, profile, or launcher fixture exercising that exact stage, which the harness script fixtures do not yet provide", - "script.runtimeOrder": "script launcher pipeline: its effect needs a runtime, profile, or launcher fixture exercising that exact stage, which the harness script fixtures do not yet provide", - "script.permissions": "script launcher pipeline: its effect needs a runtime, profile, or launcher fixture exercising that exact stage, which the harness script fixtures do not yet provide", - "script.profiles": "script launcher pipeline: its effect needs a runtime, profile, or launcher fixture exercising that exact stage, which the harness script fixtures do not yet provide", "script.launcher": "script launcher pipeline: its effect needs a runtime, profile, or launcher fixture exercising that exact stage, which the harness script fixtures do not yet provide", "exec.where": "call-scoped exec behaviour with no dedicated with/without probe yet; the exec e2e tests exercise the surface only at its defaults", "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", @@ -290,7 +290,7 @@ var EffectExemptions = map[string]string{ // EffectExemptionPin is the ratchet: the exemption count at the time // the guard landed. It may only ever be lowered, and only in the PR // that removes an exemption by adding the probe that replaces it. -const EffectExemptionPin = 130 // 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 = 125 // 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,