From b6deb1be2367a4ac89b1bb0ba4188ab5197a1c36 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 19:50:32 +0000 Subject: [PATCH] test(mcpx): probe prompt.autonomy, hooks.autonomy and repair.autonomy (#8473 chain 44) - prompt.autonomy: a prompt matching a mark-leaving recipe proposes its source by default and runs it with prompt.autonomy=run. - hooks.autonomy: an onSuccess hook from the environment runs by default and is skipped, with a stderr note, under propose. - repair.autonomy: a call refused after a schema change carries diagnostics by default and only the validator's error under off. Drops three exemptions; the pin goes from 89 to 86. Refs #8473 Co-Authored-By: Claude Opus 5.5 --- pkgs/mcpx/internal/e2e/effect_test.go | 93 +++++++++++++++++++ .../e2e/feature_coverage_exemptions.txt | 3 - pkgs/mcpx/internal/settings/effect.go | 8 +- 3 files changed, 97 insertions(+), 7 deletions(-) diff --git a/pkgs/mcpx/internal/e2e/effect_test.go b/pkgs/mcpx/internal/e2e/effect_test.go index 0fae79594d..1cd6072912 100644 --- a/pkgs/mcpx/internal/e2e/effect_test.go +++ b/pkgs/mcpx/internal/e2e/effect_test.go @@ -101,6 +101,9 @@ var implementedEffectProbes = map[string]string{ "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", "events.history": "TestEventsHistoryBoundsTheReplay", + "prompt.autonomy": "TestPromptAutonomyRunsTheMatchedRecipeFromTheEnvironment", + "hooks.autonomy": "TestHooksAutonomySkipsAConfiguredHookFromTheEnvironment", + "repair.autonomy": "TestRepairAutonomyOffDropsTheDiagnosticsFromTheEnvironment", "policy.write": "TestPolicyWriteDeniesAnUnannotatedCallFromTheEnvironment", "elicit.confirmDestructive": "TestElicitConfirmDestructiveGatesADestructiveCallFromTheEnvironment", "autonomy.max": "TestAutonomyMaxClampsARecipeRunFromTheEnvironment", @@ -259,6 +262,9 @@ var effectProbeFuncs = map[string]func(*testing.T){ "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment": TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment, "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment": TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment, "TestEventsHistoryBoundsTheReplay": TestEventsHistoryBoundsTheReplay, + "TestPromptAutonomyRunsTheMatchedRecipeFromTheEnvironment": TestPromptAutonomyRunsTheMatchedRecipeFromTheEnvironment, + "TestHooksAutonomySkipsAConfiguredHookFromTheEnvironment": TestHooksAutonomySkipsAConfiguredHookFromTheEnvironment, + "TestRepairAutonomyOffDropsTheDiagnosticsFromTheEnvironment": TestRepairAutonomyOffDropsTheDiagnosticsFromTheEnvironment, "TestPolicyWriteDeniesAnUnannotatedCallFromTheEnvironment": TestPolicyWriteDeniesAnUnannotatedCallFromTheEnvironment, "TestElicitConfirmDestructiveGatesADestructiveCallFromTheEnvironment": TestElicitConfirmDestructiveGatesADestructiveCallFromTheEnvironment, "TestAutonomyMaxClampsARecipeRunFromTheEnvironment": TestAutonomyMaxClampsARecipeRunFromTheEnvironment, @@ -3097,6 +3103,93 @@ func TestAutonomyMaxClampsARecipeRunFromTheEnvironment(t *testing.T) { } } +// TestPromptAutonomyRunsTheMatchedRecipeFromTheEnvironment is the effect +// probe for prompt.autonomy. A prompt that matches a recipe leaving a +// file behind proposes the script by default (propose): the source comes +// back and nothing runs. With prompt.autonomy=run the same prompt runs +// the recipe and the file appears. +func TestPromptAutonomyRunsTheMatchedRecipeFromTheEnvironment(t *testing.T) { + prompt := func(extra ...string) (string, bool) { + e := newEnv(t, oneServer) + writeRecipe(t, e, "mark", markRecipe) + e.setenv(extra...) + mark := filepath.Join(e.dir, "mark.out") + out := e.run("prompt", "--set", "path="+mark, "leave a mark on the filesystem") + _, err := os.Stat(mark) + return out, err == nil + } + out, marked := prompt() + if marked || !strings.Contains(out, "writeFileSync") { + t.Fatalf("oracle: by default the prompt should propose the recipe's source without running it (marked %v):\n%s", marked, out) + } + if out, marked := prompt("MCPX_PROMPT_AUTONOMY=run"); !marked || !strings.Contains(out, "marked") { + t.Fatalf("with prompt.autonomy=run the recipe should run and leave its mark (marked %v):\n%s", marked, out) + } +} + +// TestHooksAutonomySkipsAConfiguredHookFromTheEnvironment is the effect +// probe for hooks.autonomy. A hook from the environment is code the +// command did not send. At the default (run) it runs after the body; +// with hooks.autonomy=propose it is skipped and stderr says so. +func TestHooksAutonomySkipsAConfiguredHookFromTheEnvironment(t *testing.T) { + hook := `MCPX_SCRIPT_ON_SUCCESS=console.log("configured-hook")` + def := newEnv(t, oneServer) + def.setenv(hook) + if out := def.run("exec", `console.log("body")`); !strings.Contains(out, "configured-hook") { + t.Fatalf("oracle: at the default hooks.autonomy the configured hook should run:\n%s", out) + } + e := newEnv(t, oneServer) + e.setenv(hook, "MCPX_HOOKS_AUTONOMY=propose") + out, errOut, err := e.split("exec", `console.log("body")`) + if err != nil { + t.Fatalf("%v\n%s\n%s", err, out, errOut) + } + if strings.Contains(out, "configured-hook") || !strings.Contains(out, "body") { + t.Fatalf("with hooks.autonomy=propose the body should run and the hook should not:\n%s", out) + } + if !strings.Contains(errOut, "hooks.autonomy is propose; not running the configured onSuccess hook") { + t.Fatalf("stderr should say the hook was skipped:\n%s", errOut) + } +} + +// TestRepairAutonomyOffDropsTheDiagnosticsFromTheEnvironment is the +// effect probe for repair.autonomy. A server's schema gains a required +// argument, and a call made to the old shape is refused. At the default +// (advise) the refusal carries a diagnostic naming the missing argument; +// with repair.autonomy=off only the validator's own error comes back. +func TestRepairAutonomyOffDropsTheDiagnosticsFromTheEnvironment(t *testing.T) { + refused := func(extra ...string) callErrorDoc { + schema := filepath.Join(t.TempDir(), "schema") + mustWrite(t, schema, "v1") + e := newEnv(t, strings.ReplaceAll(schemaServer, "VERSIONFILE", schema)) + e.setenv(extra...) + e.run("refresh") + mustWrite(t, schema, "v2") + e.run("refresh") + resp, err := e.socketClient(t).Post("http://mcpx/v1/call", "application/json", + strings.NewReader(`{"server":"demo","tool":"create_issue","args":{"title":"x"}}`)) + if err != nil { + t.Fatal(err) + } + b, _ := io.ReadAll(resp.Body) + _ = resp.Body.Close() + var got callErrorDoc + if err := json.Unmarshal(b, &got); err != nil || resp.StatusCode != http.StatusBadGateway { + t.Fatalf("the old-shape call should be refused with 502: status %d: %v\n%s", resp.StatusCode, err, b) + } + if !strings.HasPrefix(got.Error, "Invalid params") { + t.Fatalf("the refusal's own error should come back:\n%s", b) + } + return got + } + if got := refused(); len(got.Diagnostics) == 0 { + t.Fatalf("oracle: at the default repair.autonomy the refusal should carry diagnostics: %+v", got) + } + if got := refused("MCPX_REPAIR_AUTONOMY=off"); len(got.Diagnostics) != 0 { + t.Fatalf("with repair.autonomy=off no diagnostics should be attached: %+v", got) + } +} + // 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 3e12dd4f53..97d32176ee 100644 --- a/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt +++ b/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt @@ -84,7 +84,6 @@ setting model.profiles no integration-test exercise yet; burn-down #8471 (settin setting model.provider no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting model.providers no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting model.timeout no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test -setting prompt.autonomy no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting prompt.catalogBudget no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting prompt.maxTokens no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting prompt.runTimeout no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test @@ -98,8 +97,6 @@ setting autostart.idleExit no integration-test exercise yet; burn-down #8470 (se setting autostart.pollInterval no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting deps.autoInstall 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 repair.autonomy no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting retention.stickyWindow no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting sampling.answerLocally no integration-test exercise yet; burn-down #8470 (settings long-tail families); needs an EffectProbes entry + e2e test setting search.semantic 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 d1ff9a388b..5969c92853 100644 --- a/pkgs/mcpx/internal/settings/effect.go +++ b/pkgs/mcpx/internal/settings/effect.go @@ -101,6 +101,9 @@ var EffectProbes = map[string]string{ "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", "events.history": "TestEventsHistoryBoundsTheReplay", + "prompt.autonomy": "TestPromptAutonomyRunsTheMatchedRecipeFromTheEnvironment", + "hooks.autonomy": "TestHooksAutonomySkipsAConfiguredHookFromTheEnvironment", + "repair.autonomy": "TestRepairAutonomyOffDropsTheDiagnosticsFromTheEnvironment", "policy.write": "TestPolicyWriteDeniesAnUnannotatedCallFromTheEnvironment", "elicit.confirmDestructive": "TestElicitConfirmDestructiveGatesADestructiveCallFromTheEnvironment", "autonomy.max": "TestAutonomyMaxClampsARecipeRunFromTheEnvironment", @@ -228,9 +231,6 @@ var EffectExemptions = map[string]string{ "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", - "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", @@ -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 = 89 // Shrunk 2026-11-18 (#8473 chain 43): policy.write, elicit.confirmDestructive and autonomy.max gained probes. Earlier shrunk 2026-11-18 (#8473 chain 42): daemon.inline, autostart.bin, autostart.args, autostart.logTail and daemon.watchConfig gained probes. Earlier shrunk 2026-11-18 (#8473 chain 41): daemon.inlineStartTimeout and daemon.probeTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 40): daemon.warmTimeout, autostart.connectTimeout and autostart.pingTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 39): pool.callTimeout, pool.startTimeout and daemon.refreshTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 38): doctor.timeout and registry.timeout gained probes that set a bound no request can meet. Earlier shrunk 2026-11-18 (#8473 chain 37): completion.maxValues gained a probe once the fake server could answer completions. Earlier shrunk 2026-11-18 (#8473 chain 36): catalog.instructions gained a probe once the fake server could serve instructions. Earlier shrunk 2026-11-18 (#8473 chain 35): the five plumbing source and launcher switches gained probes. Earlier shrunk 2026-11-18 (#8473 chain 34): artifacts.chunkBytes, script.launcher and paths.placeholders gained probes. Earlier shrunk 2026-11-18 (#8473 chain 33): artifacts.interceptImages and plumbing.indexOnQuery gained probes. Earlier shrunk 2026-11-18 (#8473 chain 32): plumbing.validatePaths and script.language gained probes. Earlier shrunk 2026-11-18 (#8473 chain 31): logging.trace and exec.where gained probes. Earlier shrunk 2026-11-18 (#8473 chain 30): paths.adapters and paths.apis gained declaration-file probes. Earlier shrunk 2026-11-18 (#8473 chain 29): script.runtime, runtimeOrder, permissions, profiles and runtimes gained node-backed probes. Earlier shrunk 2026-11-18 (#8473 chain 28): script.before, onSuccess, onError and suffix gained a run-phase probe. Earlier shrunk 2026-11-18 (#8473 chain 27): hooks, hooks.timeout, daemon.ui and daemon.uiDir gained probes. Earlier shrunk 2026-11-18 (#8473 chain 26): logging.level, format, source, dir, include, maxLines, maxBytes and keep gained durable-log probes. Earlier shrunk 2026-11-18 (#8473 chain 25): artifacts.enabled, maxBytes, quota, delivery, inlineMaxBytes and dir gained script-artifact probes. Earlier shrunk 2026-11-18 (#8473 chain 24): preset and serve.mode gained probes. Earlier shrunk 2026-11-18 (#8473 chain 23): presets gained a --preset probe. Earlier shrunk 2026-11-18 (#8473 chain 22): catalog.budget and catalog.bias gained `mcpx catalog` probes. Earlier shrunk 2026-11-18 (#8473 chain 21): catalog.pinnedTools and retention.maxTools gained reactive-session probes. Earlier shrunk 2026-11-18 (#8473 chain 20): diagnose.history and diagnose.preflight gained schema-churn probes. Earlier shrunk 2026-11-18 (#8473 chain 19): events.history gained a trimmed-replay probe. Earlier shrunk 2026-11-18 (#8473 chain 18): protoTasks.maxTTL, maxPerRequestor and perMinute gained task-store probes. Earlier shrunk 2026-11-18 (#8473 chain 17): tasks.ttl and tasks.resultWait gained /v1 task probes. Earlier shrunk 2026-11-18 (#8473 chain 16): recipes.minScore, matchMargin and limit gained recipe probes. Earlier shrunk 2026-11-18 (#8473 chain 15): logstore.queryLimit gained a /v1/log probe. Earlier shrunk 2026-11-18 (#8473 chain 14): completion.perMinute and completion.serverPerMinute gained 429 probes. Earlier shrunk 2026-11-18 (#8473 chain 13): mcp.pageSize and mcp.passthrough gained tools/list probes. Earlier shrunk 2026-11-18 (#8473 chain 12): exec.timeout (now read by local runs), exec.maxOutputBytes and exec.output gained probes. Earlier shrunk 2026-11-18 (#8473 chain 11): spec.first and spec.lenient mapped to their existing revision-policy probes, spec.precedence gained one. Earlier shrunk 2026-11-18 (#8473 chain 10): protoMessages.taskAfter and protoTasks.pollInterval gained task probes. Earlier shrunk 2026-11-18 (#8473 chain 9): protoMessages.listMaxAge and readMaxAge gained cache-hint probes. Earlier shrunk 2026-11-18 (#8473 chain 8): proto.native gained an asked-client probe. Earlier shrunk 2026-11-18 (#8473 chain 7): proto.mcpPath and proto.serveMCP gained mount probes. Earlier shrunk 2026-11-18 (#8473 chain 6): proto.sessionIdle gained a reaped-session probe. Earlier shrunk 2026-11-18 (#8473 chain 5): proto.stateTTL gained a late-resume probe. Earlier shrunk 2026-11-18 (#8473 chain 4): proto.askTimeout gained a held-request probe. Earlier shrunk 2026-11-18 (#8473 chain 3): proto.askTTL gained a /v1/ask deadline probe. Earlier shrunk 2026-11-18 (#8473 chain 2): proto.askRounds gained a two-round MCP e2e probe. Earlier shrunk 2026-11-18 (#8468 chain 2): daemon.autostart gained its probe. Earlier shrunk 2026-11-17: (#8467 settings core-paths burn-down) paths.plugins gained its probe. Earlier shrunk 2026-11-17: (#8469) 14 http.* and transport.* settings gained their probes. Earlier shrunk 2026-11-17: (#8470 burn-down) stats.top gained its probe. Earlier shrunk 2026-11-17 (#8467 settings core-paths burn-down): paths.cache gained its probe. Earlier shrunk 2026-11-17 (#8467 settings core-paths burn-down): paths.scripts gained its probe. Earlier shrunk 2026-11-17 (#8468 chain 1): daemon.address gained its probe. Earlier shrunk 2026-11-17 (#8473 chain 1): proto.askPoll gained its probe. Deliberate +1 (2026-11-14, #1917 remainder shepherd of PR #7818) for script.language: covered by deterministic internal/runner tests (TestEffectiveScriptLanguage, TestExplicitPythonLanguageRunsInlineSnippet); the e2e harness script fixtures are TypeScript-only. Earlier deliberate +3 (2026-11-09, #2716) for proto.elicitationPerMinute, proto.samplingPerMinute and proto.samplingSessionPerMinute: daemon rate limits whose effect needs an over-limit sampling/elicitation flood no e2e fixture drives deterministically; the limiter is covered by internal/mcpclient and internal/daemon ratelimit tests. Earlier deliberate raises: +1 for daemon.roots and +8 for model.*: model settings are covered by internal/model and daemon unit tests; settings-driven e2e probes are not yet present. Deliberate +1 (2026-11-03, #1925 slice 3) for sampling.answerLocally: same model-layer coverage, daemon unit tests in internal/daemon/sampling_local_test.go. Deliberate +1 (2026-11-03, #5242) for plugin.disabledTools: read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host, the same basis as every other plugin.* exemption. Deliberate +5 (2026-11-04, #1915 stage 2): import graph, missing, dynamic, cross-project and network policies are covered by deterministic internal/preflight tests, but the e2e harness has no isolated Deno graph fixture yet. Deliberate +2 (2026-11-05, #1911): checker error and unsupported-runtime policies are covered by deterministic internal/preflight stub-runtime tests; the e2e harness has no isolated Deno checker fixture. +const EffectExemptionPin = 86 // Shrunk 2026-11-18 (#8473 chain 44): prompt.autonomy, hooks.autonomy and repair.autonomy gained probes. Earlier shrunk 2026-11-18 (#8473 chain 43): policy.write, elicit.confirmDestructive and autonomy.max gained probes. Earlier shrunk 2026-11-18 (#8473 chain 42): daemon.inline, autostart.bin, autostart.args, autostart.logTail and daemon.watchConfig gained probes. Earlier shrunk 2026-11-18 (#8473 chain 41): daemon.inlineStartTimeout and daemon.probeTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 40): daemon.warmTimeout, autostart.connectTimeout and autostart.pingTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 39): pool.callTimeout, pool.startTimeout and daemon.refreshTimeout gained probes. Earlier shrunk 2026-11-18 (#8473 chain 38): doctor.timeout and registry.timeout gained probes that set a bound no request can meet. Earlier shrunk 2026-11-18 (#8473 chain 37): completion.maxValues gained a probe once the fake server could answer completions. Earlier shrunk 2026-11-18 (#8473 chain 36): catalog.instructions gained a probe once the fake server could serve instructions. Earlier shrunk 2026-11-18 (#8473 chain 35): the five plumbing source and launcher switches gained probes. Earlier shrunk 2026-11-18 (#8473 chain 34): artifacts.chunkBytes, script.launcher and paths.placeholders gained probes. Earlier shrunk 2026-11-18 (#8473 chain 33): artifacts.interceptImages and plumbing.indexOnQuery gained probes. Earlier shrunk 2026-11-18 (#8473 chain 32): plumbing.validatePaths and script.language gained probes. Earlier shrunk 2026-11-18 (#8473 chain 31): logging.trace and exec.where gained probes. Earlier shrunk 2026-11-18 (#8473 chain 30): paths.adapters and paths.apis gained declaration-file probes. Earlier shrunk 2026-11-18 (#8473 chain 29): script.runtime, runtimeOrder, permissions, profiles and runtimes gained node-backed probes. Earlier shrunk 2026-11-18 (#8473 chain 28): script.before, onSuccess, onError and suffix gained a run-phase probe. Earlier shrunk 2026-11-18 (#8473 chain 27): hooks, hooks.timeout, daemon.ui and daemon.uiDir gained probes. Earlier shrunk 2026-11-18 (#8473 chain 26): logging.level, format, source, dir, include, maxLines, maxBytes and keep gained durable-log probes. Earlier shrunk 2026-11-18 (#8473 chain 25): artifacts.enabled, maxBytes, quota, delivery, inlineMaxBytes and dir gained script-artifact probes. Earlier shrunk 2026-11-18 (#8473 chain 24): preset and serve.mode gained probes. Earlier shrunk 2026-11-18 (#8473 chain 23): presets gained a --preset probe. Earlier shrunk 2026-11-18 (#8473 chain 22): catalog.budget and catalog.bias gained `mcpx catalog` probes. Earlier shrunk 2026-11-18 (#8473 chain 21): catalog.pinnedTools and retention.maxTools gained reactive-session probes. Earlier shrunk 2026-11-18 (#8473 chain 20): diagnose.history and diagnose.preflight gained schema-churn probes. Earlier shrunk 2026-11-18 (#8473 chain 19): events.history gained a trimmed-replay probe. Earlier shrunk 2026-11-18 (#8473 chain 18): protoTasks.maxTTL, maxPerRequestor and perMinute gained task-store probes. Earlier shrunk 2026-11-18 (#8473 chain 17): tasks.ttl and tasks.resultWait gained /v1 task probes. Earlier shrunk 2026-11-18 (#8473 chain 16): recipes.minScore, matchMargin and limit gained recipe probes. Earlier shrunk 2026-11-18 (#8473 chain 15): logstore.queryLimit gained a /v1/log probe. Earlier shrunk 2026-11-18 (#8473 chain 14): completion.perMinute and completion.serverPerMinute gained 429 probes. Earlier shrunk 2026-11-18 (#8473 chain 13): mcp.pageSize and mcp.passthrough gained tools/list probes. Earlier shrunk 2026-11-18 (#8473 chain 12): exec.timeout (now read by local runs), exec.maxOutputBytes and exec.output gained probes. Earlier shrunk 2026-11-18 (#8473 chain 11): spec.first and spec.lenient mapped to their existing revision-policy probes, spec.precedence gained one. Earlier shrunk 2026-11-18 (#8473 chain 10): protoMessages.taskAfter and protoTasks.pollInterval gained task probes. Earlier shrunk 2026-11-18 (#8473 chain 9): protoMessages.listMaxAge and readMaxAge gained cache-hint probes. Earlier shrunk 2026-11-18 (#8473 chain 8): proto.native gained an asked-client probe. Earlier shrunk 2026-11-18 (#8473 chain 7): proto.mcpPath and proto.serveMCP gained mount probes. Earlier shrunk 2026-11-18 (#8473 chain 6): proto.sessionIdle gained a reaped-session probe. Earlier shrunk 2026-11-18 (#8473 chain 5): proto.stateTTL gained a late-resume probe. Earlier shrunk 2026-11-18 (#8473 chain 4): proto.askTimeout gained a held-request probe. Earlier shrunk 2026-11-18 (#8473 chain 3): proto.askTTL gained a /v1/ask deadline probe. Earlier shrunk 2026-11-18 (#8473 chain 2): proto.askRounds gained a two-round MCP e2e probe. Earlier shrunk 2026-11-18 (#8468 chain 2): daemon.autostart gained its probe. Earlier shrunk 2026-11-17: (#8467 settings core-paths burn-down) paths.plugins gained its probe. Earlier shrunk 2026-11-17: (#8469) 14 http.* and transport.* settings gained their probes. Earlier shrunk 2026-11-17: (#8470 burn-down) stats.top gained its probe. Earlier shrunk 2026-11-17 (#8467 settings core-paths burn-down): paths.cache gained its probe. Earlier shrunk 2026-11-17 (#8467 settings core-paths burn-down): paths.scripts gained its probe. Earlier shrunk 2026-11-17 (#8468 chain 1): daemon.address gained its probe. Earlier shrunk 2026-11-17 (#8473 chain 1): proto.askPoll gained its probe. Deliberate +1 (2026-11-14, #1917 remainder shepherd of PR #7818) for script.language: covered by deterministic internal/runner tests (TestEffectiveScriptLanguage, TestExplicitPythonLanguageRunsInlineSnippet); the e2e harness script fixtures are TypeScript-only. Earlier deliberate +3 (2026-11-09, #2716) for proto.elicitationPerMinute, proto.samplingPerMinute and proto.samplingSessionPerMinute: daemon rate limits whose effect needs an over-limit sampling/elicitation flood no e2e fixture drives deterministically; the limiter is covered by internal/mcpclient and internal/daemon ratelimit tests. Earlier deliberate raises: +1 for daemon.roots and +8 for model.*: model settings are covered by internal/model and daemon unit tests; settings-driven e2e probes are not yet present. Deliberate +1 (2026-11-03, #1925 slice 3) for sampling.answerLocally: same model-layer coverage, daemon unit tests in internal/daemon/sampling_local_test.go. Deliberate +1 (2026-11-03, #5242) for plugin.disabledTools: read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host, the same basis as every other plugin.* exemption. Deliberate +5 (2026-11-04, #1915 stage 2): import graph, missing, dynamic, cross-project and network policies are covered by deterministic internal/preflight tests, but the e2e harness has no isolated Deno graph fixture yet. Deliberate +2 (2026-11-05, #1911): checker error and unsupported-runtime policies are covered by deterministic internal/preflight stub-runtime tests; the e2e harness has no isolated Deno checker fixture. // CheckEffectCoverage returns one violation per way the probe and // exemption maps fail to cover reg exactly: a setting with neither,