From 017b66f5217853e04e7f543694459758860eda69 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 20:07:38 +0000 Subject: [PATCH] fix(mcpx): upstream questions take their deadline from elicit.ttl/maxAge The daemon's elicitation, sampling and roots hooks stamped every question they opened with now + the built-in elicit.ttl, so the broker never computed the deadline itself and the configured elicit.ttl and elicit.maxAge had no effect on questions an upstream server asked. Leaving ExpiresAt unset lets OpenRequest apply the broker's configured touch-on-read deadline, which the daemon already sets from settings. Adds effect probes for elicit.ttl and elicit.maxAge and drops both from the exemption list (EffectExemptionPin 71 -> 69, #8473 chain 51). Co-Authored-By: Claude Opus 5.5 --- pkgs/mcpx/internal/daemon/hooks.go | 38 +++++------- pkgs/mcpx/internal/e2e/effect_test.go | 62 +++++++++++++++++++ .../e2e/feature_coverage_exemptions.txt | 2 - pkgs/mcpx/internal/settings/effect.go | 6 +- 4 files changed, 82 insertions(+), 26 deletions(-) diff --git a/pkgs/mcpx/internal/daemon/hooks.go b/pkgs/mcpx/internal/daemon/hooks.go index 22e6278ba4..33575e3391 100644 --- a/pkgs/mcpx/internal/daemon/hooks.go +++ b/pkgs/mcpx/internal/daemon/hooks.go @@ -9,7 +9,6 @@ import ( "os" "path/filepath" "strconv" - "time" "github.com/developing-today/code/pkgs/mcpx/internal/defaults" "github.com/developing-today/code/pkgs/mcpx/internal/elicit" @@ -286,14 +285,13 @@ func (r *Registry) elicitViaBroker(ctx context.Context, server, key string, para // migrated; they expire by TTL. brokerID := brokerRowID(server, p.ElicitationID) req := elicit.Request{ - ID: brokerID, - Server: server, - Mode: mode, - Message: p.Message, - Schema: p.RequestedSchema, - URL: p.URL, - Trace: r.askIDFor(ctx, server, key), - ExpiresAt: time.Now().Add(defaults.ElicitTTL), + ID: brokerID, + Server: server, + Mode: mode, + Message: p.Message, + Schema: p.RequestedSchema, + URL: p.URL, + Trace: r.askIDFor(ctx, server, key), } if !r.hasAnswerer(req) { return nil, noAudience("elicitation/create", req) @@ -388,11 +386,10 @@ func (r *Registry) sampleViaBroker(ctx context.Context, server, key string, para // A sampling request has no question as such. The system prompt is // the closest thing to one, and it is what a human reading the // queue needs to see first. - Message: firstNonEmptyStr(p.SystemPrompt, server+" asks for a model completion"), - Schema: params, - Audience: elicit.ToAgent, - Reason: "sampling asks a model, and the agent driving mcpx has one", - ExpiresAt: time.Now().Add(defaults.ElicitTTL), + Message: firstNonEmptyStr(p.SystemPrompt, server+" asks for a model completion"), + Schema: params, + Audience: elicit.ToAgent, + Reason: "sampling asks a model, and the agent driving mcpx has one", } if !r.hasAnswerer(req) { return nil, noAudience("sampling/createMessage", req) @@ -461,13 +458,12 @@ func (r *Registry) rootsViaBroker(ctx context.Context, server, key string, param return nil, mcpclient.ErrNotRelayed } req, err := r.broker.OpenRequest(elicit.Request{ - Server: server, - Trace: r.askIDFor(ctx, server, key), - Mode: elicit.Roots, - Message: server + " asks for the client's roots", - Audience: elicit.ToAgent, - Reason: "roots are the client's own, and only it can list them", - ExpiresAt: time.Now().Add(defaults.ElicitTTL), + Server: server, + Trace: r.askIDFor(ctx, server, key), + Mode: elicit.Roots, + Message: server + " asks for the client's roots", + Audience: elicit.ToAgent, + Reason: "roots are the client's own, and only it can list them", }) if err != nil { return nil, err diff --git a/pkgs/mcpx/internal/e2e/effect_test.go b/pkgs/mcpx/internal/e2e/effect_test.go index 558bec088e..744e001d30 100644 --- a/pkgs/mcpx/internal/e2e/effect_test.go +++ b/pkgs/mcpx/internal/e2e/effect_test.go @@ -101,6 +101,8 @@ var implementedEffectProbes = map[string]string{ "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", "events.history": "TestEventsHistoryBoundsTheReplay", + "elicit.ttl": "TestElicitTTLSetsAnUpstreamQuestionsDeadlineFromTheEnvironment", + "elicit.maxAge": "TestElicitMaxAgeCapsAnUpstreamQuestionsDeadlineFromTheEnvironment", "elicit.pendingLimit": "TestElicitPendingLimitBoundsTheListingFromTheEnvironment", "elicit.askTimeout": "TestElicitAskTimeoutBoundsTheWaitForAnAnswerFromTheEnvironment", "artifacts.idleTtl": "TestArtifactsIdleTTLRenewsAReadArtifactFromTheEnvironment", @@ -277,6 +279,8 @@ var effectProbeFuncs = map[string]func(*testing.T){ "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment": TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment, "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment": TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment, "TestEventsHistoryBoundsTheReplay": TestEventsHistoryBoundsTheReplay, + "TestElicitTTLSetsAnUpstreamQuestionsDeadlineFromTheEnvironment": TestElicitTTLSetsAnUpstreamQuestionsDeadlineFromTheEnvironment, + "TestElicitMaxAgeCapsAnUpstreamQuestionsDeadlineFromTheEnvironment": TestElicitMaxAgeCapsAnUpstreamQuestionsDeadlineFromTheEnvironment, "TestElicitPendingLimitBoundsTheListingFromTheEnvironment": TestElicitPendingLimitBoundsTheListingFromTheEnvironment, "TestElicitAskTimeoutBoundsTheWaitForAnAnswerFromTheEnvironment": TestElicitAskTimeoutBoundsTheWaitForAnAnswerFromTheEnvironment, "TestArtifactsIdleTTLRenewsAReadArtifactFromTheEnvironment": TestArtifactsIdleTTLRenewsAReadArtifactFromTheEnvironment, @@ -3557,6 +3561,64 @@ func TestElicitPendingLimitBoundsTheListingFromTheEnvironment(t *testing.T) { } } +// upstreamQuestionLife raises one question from an upstream server (the +// ask fixture's need_repo) under env, reads its listed deadline, answers +// it and returns the deadline's distance from the question's creation. +func upstreamQuestionLife(t *testing.T, env ...string) time.Duration { + t.Helper() + e := askWith(t, `{"sharing":"shared","scope":"global"}`) + e.setenv(env...) + e.run("refresh") + beAnswerer(t, e) + c := e.longSocketClient(t) + done := make(chan struct{}) + go func() { + sockDo(t, c, http.MethodPost, "/v1/call", map[string]any{"server": "ask", "tool": "need_repo"}) + close(done) + }() + ids := waitQuestions(t, e, 1) + var listed []struct { + Created time.Time `json:"created"` + ExpiresAt time.Time `json:"expiresAt"` + } + out := e.run("--json", "elicit", "list") + if err := json.Unmarshal([]byte(out), &listed); err != nil || len(listed) != 1 { + t.Fatalf("one question should be listed (%v):\n%s", err, out) + } + e.run("elicit", "answer", ids[0], `{"repo":"probe"}`) + select { + case <-done: + case <-time.After(30 * time.Second): + t.Fatal("the answered call never finished") + } + return listed[0].ExpiresAt.Sub(listed[0].Created).Round(time.Second) +} + +// TestElicitTTLSetsAnUpstreamQuestionsDeadlineFromTheEnvironment is the +// effect probe for elicit.ttl. A question an upstream server asks lives +// the built-in two minutes by default and seven with elicit.ttl=7m. +func TestElicitTTLSetsAnUpstreamQuestionsDeadlineFromTheEnvironment(t *testing.T) { + if got := upstreamQuestionLife(t); got != 2*time.Minute { + t.Fatalf("oracle: an upstream question should live the default 2m, got %v", got) + } + if got := upstreamQuestionLife(t, "MCPX_ELICIT_TTL=7m"); got != 7*time.Minute { + t.Fatalf("with elicit.ttl=7m the question should live 7m, got %v", got) + } +} + +// TestElicitMaxAgeCapsAnUpstreamQuestionsDeadlineFromTheEnvironment is +// the effect probe for elicit.maxAge. Under elicit.ttl=7m the question +// lives seven minutes by default (the 30m ceiling is far off) and one +// with elicit.maxAge=1m. +func TestElicitMaxAgeCapsAnUpstreamQuestionsDeadlineFromTheEnvironment(t *testing.T) { + if got := upstreamQuestionLife(t, "MCPX_ELICIT_TTL=7m"); got != 7*time.Minute { + t.Fatalf("oracle: under elicit.ttl=7m the question should live 7m, got %v", got) + } + if got := upstreamQuestionLife(t, "MCPX_ELICIT_TTL=7m", "MCPX_ELICIT_MAX_AGE=1m"); got != time.Minute { + t.Fatalf("with elicit.maxAge=1m the question should live 1m, got %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 6d6a734c7a..d8bb7bcaba 100644 --- a/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt +++ b/pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt @@ -62,8 +62,6 @@ setting output.color no integration-test exercise yet; burn-down #8467 (settings setting paths.config no integration-test exercise yet; burn-down #8467 (settings core-paths family); needs an EffectProbes entry + e2e test setting elicit.disambiguate no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting elicit.disambiguateDefault no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test -setting elicit.maxAge no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test -setting elicit.ttl no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting embeddings.apiKey no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting embeddings.backend no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test setting embeddings.model no integration-test exercise yet; burn-down #8471 (settings model-ai family); needs an EffectProbes entry + e2e test diff --git a/pkgs/mcpx/internal/settings/effect.go b/pkgs/mcpx/internal/settings/effect.go index 37053ea779..3c70ed3d50 100644 --- a/pkgs/mcpx/internal/settings/effect.go +++ b/pkgs/mcpx/internal/settings/effect.go @@ -101,6 +101,8 @@ var EffectProbes = map[string]string{ "protoTasks.maxPerRequestor": "TestProtoTasksMaxPerRequestorCapsUnfinishedTasksFromTheEnvironment", "protoTasks.perMinute": "TestProtoTasksPerMinuteWindowsTaskReadsFromTheEnvironment", "events.history": "TestEventsHistoryBoundsTheReplay", + "elicit.ttl": "TestElicitTTLSetsAnUpstreamQuestionsDeadlineFromTheEnvironment", + "elicit.maxAge": "TestElicitMaxAgeCapsAnUpstreamQuestionsDeadlineFromTheEnvironment", "elicit.pendingLimit": "TestElicitPendingLimitBoundsTheListingFromTheEnvironment", "elicit.askTimeout": "TestElicitAskTimeoutBoundsTheWaitForAnAnswerFromTheEnvironment", "artifacts.idleTtl": "TestArtifactsIdleTTLRenewsAReadArtifactFromTheEnvironment", @@ -235,8 +237,6 @@ var EffectExemptions = map[string]string{ "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.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", "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 = 71 // Shrunk 2026-11-18 (#8473 chain 50): elicit.pendingLimit gained a probe, once `mcpx elicit list` honoured it. Earlier shrunk 2026-11-18 (#8473 chain 49): elicit.askTimeout gained a held-confirmation probe. Earlier shrunk 2026-11-18 (#8473 chain 48): artifacts.idleTtl and artifacts.maxAge gained touch-on-read probes. Earlier shrunk 2026-11-18 (#8473 chain 47): artifacts.ttl, artifacts.gcInterval, pool.min and autostart.idleExit gained probes. Earlier shrunk 2026-11-18 (#8473 chain 46): daemon.warm, pool.idleTimeout, daemon.reapInterval and daemon.endpoint gained probes. Earlier shrunk 2026-11-18 (#8473 chain 45): upstream.probeTimeout gained a probe, and upstream.eraCache and upstream.protocol were mapped to the era test, whose subtests run each with and without. Earlier 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. +const EffectExemptionPin = 69 // Shrunk 2026-11-18 (#8473 chain 51): elicit.ttl and elicit.maxAge gained probes, once upstream questions took their deadline from the broker. Earlier shrunk 2026-11-18 (#8473 chain 50): elicit.pendingLimit gained a probe, once `mcpx elicit list` honoured it. Earlier shrunk 2026-11-18 (#8473 chain 49): elicit.askTimeout gained a held-confirmation probe. Earlier shrunk 2026-11-18 (#8473 chain 48): artifacts.idleTtl and artifacts.maxAge gained touch-on-read probes. Earlier shrunk 2026-11-18 (#8473 chain 47): artifacts.ttl, artifacts.gcInterval, pool.min and autostart.idleExit gained probes. Earlier shrunk 2026-11-18 (#8473 chain 46): daemon.warm, pool.idleTimeout, daemon.reapInterval and daemon.endpoint gained probes. Earlier shrunk 2026-11-18 (#8473 chain 45): upstream.probeTimeout gained a probe, and upstream.eraCache and upstream.protocol were mapped to the era test, whose subtests run each with and without. Earlier 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,