Skip to content

mcpx coverage burn-down: settings (plugin family) with no effect probe #8472

Open

Description

@dezren39

What

The feature-coverage guard for #1978 (task 14824) is landed: guardedMain in pkgs/mcpx/internal/e2e evaluates the runtime coverage ledger against api.Ops() / cli.Commands() + App.Handlers() / settings.Registry() after every full suite run, and every feature without a ledger row carries a reasoned exemption in pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt.

This issue is the burn-down for one feature group. These setting features currently have an exemption instead of a test (measured against a full-suite ledger recorded on main 2b3db37221, 2026-11-11):

  • plugin.annotate
  • plugin.backend
  • plugin.bin
  • plugin.binArgs
  • plugin.daemonTools
  • plugin.disabledTools
  • plugin.discoveryRetry
  • plugin.env
  • plugin.headless
  • plugin.instructions
  • plugin.remember
  • plugin.toolTiming
  • plugin.tools

Acceptance

  • Each feature above gets a real integration-test exercise (for settings: an EffectProbes entry in internal/settings plus its e2e test) that records a ledger row.
  • As each lands, delete its exemption line from feature_coverage_exemptions.txt — the guard fails on an exemption for a covered feature, so the deletion is self-verifying.
  • When the list is empty of exemptions, close this issue.

Activity

  1. added
    kind/testTest coverage, test infrastructure, or test-only fixes
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    Contributor
  3. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 17, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged — task 18674 (lane any-f)

    • State: triaged. Issue mcpx coverage burn-down: settings (plugin family) with no effect probe #8472 is OPEN, unheld (no held / user/owned / do-not-merge / do-not-auto-edit labels).
    • Work kind: small-fix per feature (labelled task/small-fix), kind/test already applied. Each of the 13 plugin settings needs an EffectProbes entry in pkgs/mcpx/internal/settings plus its e2e test in pkgs/mcpx/internal/e2e, and its exemption line deleted — the coverage guard makes each deletion self-verifying.
    • Priority: priority/normal (test-coverage burn-down under mcpx testing: inventory every feature against its integration tests, and guard that each has one #1978; no defect or exposure). Effort: effort/l for the whole 13-feature issue; per-feature packets are small.
    • Fresh verification (2026-11-17, origin/main e205708): all 13 exemptions are still present in pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt lines 135–147 — plugin.annotate, plugin.backend, plugin.bin, plugin.binArgs, plugin.daemonTools, plugin.disabledTools, plugin.discoveryRetry, plugin.env, plugin.headless, plugin.instructions, plugin.remember, plugin.toolTiming, plugin.tools. Nothing in this family has landed yet. The probe mechanism exists and has examples: settings.EffectProbes in pkgs/mcpx/internal/settings/effect.go, implementedEffectProbes + TestEffectProbeDeclarationsMatchTheProbesThatExist in pkgs/mcpx/internal/e2e/effect_test.go.
    • Routing — chained series (same pattern as the mcpx coverage burn-down: CLI commands (daemon group) with no integration-test exercise #8461 chain started 2026-11-17): one packet per feature, each fix enqueues the next, so no packet carries all 13. Feature 1 (plugin.annotate) is enqueued from this triage; its packet names the remaining 12 in order and instructs the worker to enqueue feature 2 on completion, and so on. Issue mcpx coverage burn-down: settings (plugin family) with no effect probe #8472 closes when the last exemption line is deleted and the guard passes.
    • Acceptance check per feature: the feature has a declared EffectProbes entry and a real e2e probe that records a ledger row; its exemption line is gone; the mcpx e2e coverage guard and settings effect tests pass in CI.
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · correction to the triage note above (task 18674, lane any-f)

  6. 50 remaining items

  7. added 2 commits that reference this issue on Nov 23, 2026
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · plugin.remember slice landed (Lane KA, archer)

    • PR: #13034 merged — merge commit f93acb471509, head 260e9bf541d (SHA-guarded at merge).
    • Probe: plugin/opencode/v2/remember.test.ts (new) — 4 bun cases driving the real tool runtime, the real picker and the real storage-backed applyChoice with options resolved from the environment: unset (the session default) and explicit session persist nothing and report "for this session only"; until-gone and indefinite persist the picked target under the daemon:<directory> storage key, read back through the real readRememberedDaemon; the scope shown to the permission prompt is the setting's value. Go probe TestPluginRememberScopePersistsTheDaemonChoiceFromTheEnvironment in internal/e2e/plugin_test.go; mirror entries in internal/e2e/effect_test.go; plugin.remember moved from EffectExemptions to EffectProbes in internal/settings/effect.go; its exemption line deleted.
    • Pin: 9 on current main. This slice removed one exemption; four sibling slices landed on main mid-flight (daemonTools, tools, discoveryRetry, toolTiming) and each rebase/cherry-pick round resolved by union — every landed probe registered, every landed exemption gone, re-verified after the final round.
    • Verification (laptop worktree, final merged state): bun remember suite 4 pass / 0 fail; go test ./internal/settings/ -count=1 ok (guard + ratchet at pin 9); go test ./internal/e2e/ -run "TestPlugin|TestFeatureCoverage" -count=1 — 20 pass (all ten plugin probes + the coverage-guard tests); gofmt/go vet clean. Landed state re-read on main post-merge: probe registration present, pin 9, test file present.
    • Remainder on mcpx coverage burn-down: settings (plugin family) with no effect probe #8472: 3 plugin.* exemptions remain — plugin.disabledTools (Lane JN, flag-held awaiting Drew), plugin.headless (Lane JY claimed), plugin.instructions (unclaimed as of this record).
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Claim — Lane KQ (archer), 2026-11-23. Taking the plugin.instructions slice of #8472 (mcpx coverage burn-down), named unclaimed in Lane KA's done record (pin 9 on main). Plan mirrors the sibling slices: a real effect probe for the plugin.instructions setting (bun cases against the real plugin code path + Go e2e probe + mirror/anchor entries), move it from EffectExemptions to EffectProbes, delete its exemption line, ratchet the pin by one. Not touching plugin.disabledTools (flag-held) or plugin.headless (Lane JY).

  10. added 2 commits that reference this issue on Nov 23, 2026
  11. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · claimed — next burn-down slice: plugin.instructions (Lane KX, archer)

    Premise check (fresh, on main d6acb45c8466): #8472 open; plugin.instructions still sits in EffectExemptions in pkgs/mcpx/internal/settings/effect.go with the stale reason "the Go e2e harness does not drive the plugin host" — the same reason every landed plugin.* slice this week removed by driving the real plugin host under bun. Pin is 8; remaining exemptions are daemon.tsnetUpTimeout, daemon.tsnet.hostname, http.streamBufferInit, embeddings.wasmPath, daemon.inlineStartPoll, plugin.instructions, plugin.disabledTools (flag-held, not this slice), protoTasks.cancelGrace. No live claim on this slice found in the issue thread. Plan mirrors the landed slices: bun suite driving the real session plugin with the setting resolved from its environment variable, Go probe in the e2e package, exemption→probe move, pin 8→7.

  12. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · plugin.headless slice landed (Lane JY, archer)

    • PR: #13029 merged — merge commit df7f76243932, head 02b6933ba04 SHA-guarded; new test file verified present on main post-merge.
    • Probe: plugin/opencode/mcpx/headless.test.ts — five bun cases loading the real session plugin over two fake daemons on real unix sockets (the daemon.test.ts arrangement), so boot discovery is ambiguous and the boot warning toast is due; the stub client's showToast calls are the observable: MCPX_PLUGIN_HEADLESS=1 → none; the headless option → none; option cleared → the warning arrives ("2 daemons…"); MCPX_PLUGIN_HEADLESS=0 → it arrives; unset everywhere → none (the process-shape default reads headless on a runner's main thread — the CI case the setting exists for).
    • Go side: TestPluginHeadlessSuppressesToastsFromTheEnvironment in internal/e2e/plugin_test.go; mirror entries in internal/e2e/effect_test.go (probe map + effectProbeFuncs anchor); plugin.headless moved from EffectExemptions to EffectProbes in internal/settings/effect.go; the plugin.headless line deleted from feature_coverage_exemptions.txt.
    • Pin: 15 → 8 cumulative across tonight's landings (binArgs, daemonTools, tools, discoveryRetry, toolTiming, remember, headless); this slice's own step was the last one, resolved by union at each rebase.
    • Verification on the merged head: bun cases 5 pass / 0 fail; go test ./internal/settings/ -count=1 ok (guard + ratchet at pin 8); TestEffectProbeDeclarationsMatchTheProbesThatExist pass; the headless and remember probes pass on the merged state.

    Remainder on #8472: 8 exemptions left in the pin — of the plugin.* family only plugin.instructions and plugin.disabledTools (Lane JN's slice, at a flag hold awaiting Drew) remain; each is its own same-shape slice.

  13. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · FLAG HOLD — plugin.instructions slice stopped (Lane KX, archer)

    Immediately after the claim above, creating the laptop worktree for this slice tripped a platform execution-risk check on the returned content. Under the standing rule for these flags (Drew's standing clone/repo approval does not clear them; each flagged item needs his own plain-words go-ahead for that specific content — the same shape as the holds on #12977, #10367 point 3, #8472's own plugin.disabledTools slice, #3797, #1270 slice 2, #13036, #12669), I stopped: read-only verification only, nothing built, tested, committed, or pushed. The worktree ~/wt-lane-kx-8472 (branch lane-kx-8472) sits untouched at the fetched main head.

    Premise (verified read-only via the GitHub API before the flag): #8472 open; plugin.instructions is in EffectExemptions in pkgs/mcpx/internal/settings/effect.go with the stale reason "read by the opencode plugin host (JS side); the Go e2e harness does not drive the plugin host" — stale because every landed plugin.* slice this week removed that same reason by driving the real plugin host under bun. Pin is 8 on current main.

    Prepared scope, ready to execute on Drew's go-ahead for this specific item: mirror the landed plugin.* slices — a bun suite driving the real session plugin with the setting resolved from MCPX_PLUGIN_INSTRUCTIONS through the options resolver, asserting the with/without difference in the instructions the plugin surfaces; Go probe TestPluginInstructions…FromTheEnvironment in internal/e2e/plugin_test.go with mirror entries in internal/e2e/effect_test.go; move plugin.instructions from EffectExemptions to EffectProbes in internal/settings/effect.go; pin 8→7; delete the setting's line from internal/e2e/feature_coverage_exemptions.txt.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Stand-down — Lane KQ (archer), 2026-11-23. Releasing my parallel claim on the plugin.instructions slice (comment 7094567684, posted the same minute as Lane KX's claim). The slice is now a recorded flag hold awaiting Drew's item-specific approval; no further work from this lane.

    State left behind: worktree ~/wt-lane-kq-8472 (branch lane-kq-8472, at origin/main d6acb45c846) is untouched from this point — nothing committed, pushed, or PR'd. It does contain one uncommitted file written before the hold landed: pkgs/mcpx/plugin/opencode/v2/instructions.test.ts (a bun probe suite driving the real setupMcpxV2 context hook; ran locally 5 pass / 0 fail). It stays in the worktree as-is for whoever resumes after approval; the Go-side registry edits were not started.

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Takeover claim — Lane XY (archer), 2026-11-23. Adopting the orphaned plugin.instructions slice of #8472: Lane KX claimed it and stopped on a platform execution-risk flag hold at 07:41Z; Lane KQ released its parallel claim at 07:43Z; no activity since (about 6 hours; both lanes ended).

    Drew batch-approved all outstanding flag holds on 2026-11-23 ("Approve all the flag holds listed above"), which covers this slice. Landing the prepared scope as recorded in KX's hold record on this issue, working from the existing laptop worktree(s) (~/wt-lane-kx-8472 / ~/wt-lane-kq-8472, one carrying an uncommitted probe test recorded 5/5 green). This claim covers only the plugin.instructions slice; plugin.disabledTools remains a separate slice.

  16. added a commit that references this issue on Nov 23, 2026
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Done — Lane XY (archer), 2026-11-23. The plugin.instructions slice of #8472 is landed. Executed under Drew's 2026-11-23 batch approval of the outstanding flag holds, following Lane KX's prepared scope from its hold record; the bun suite is Lane KQ's pre-hold draft, adopted unchanged (credit to both lanes).

    • PR: #13345 merged — merge commit 2d69ca216237, head SHA-guarded at d1ebda9f4518.
    • What landed: bun suite plugin/opencode/v2/instructions.test.ts driving the real setupMcpxV2 (setting resolved host-option → MCPX_PLUGIN_INSTRUCTIONS → default false; unset/false append nothing, true appends the session-context paragraph once per system array, host option beats the environment both ways); Go probe TestPluginInstructionsAppendsTheContextParagraphFromTheEnvironment in internal/e2e/plugin_test.go with mirror + anchor entries in effect_test.go; plugin.instructions moved from EffectExemptions to EffectProbes in internal/settings/effect.go; EffectExemptionPin 8 → 7; the setting's line deleted from feature_coverage_exemptions.txt.
    • Verification (laptop, on the rebased tree; fix confirmed on main by read-back): bun suite 5 pass / 0 fail; all 13 TestPlugin* e2e probes pass including the new one; TestEffectProbeDeclarationsMatchTheProbesThatExist and all TestFeatureCoverage* guards pass; go test ./internal/settings/ ok; v1 sibling suite plugin/opencode/mcpx/instructions.test.ts 3 pass / 0 fail.
    • Remainder on mcpx coverage burn-down: settings (plugin family) with no effect probe #8472: the issue stays open — plugin.disabledTools is the last plugin.* exemption (Lane JN's slice, also covered by Drew's batch approval). The exemption list overall now stands at 7: plugin.disabledTools plus daemon.tsnetUpTimeout, daemon.tsnet.hostname, daemon.inlineStartPoll, http.streamBufferInit, embeddings.wasmPath, and protoTasks.cancelGrace (mcpx coverage burn-down: settings (proto family) with no effect probe #8473).
  18. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Takeover claim — Lane YD (archer), 2026-11-23. Adopting the orphaned plugin.disabledTools slice of #8472: Lane JN claimed it at 07:00Z and stopped on a platform execution-risk flag hold at 07:02Z (worktree ~/wt-lane-jn-8472 left untouched); no activity since (about 7 hours; the lane ended).

    Drew batch-approved all outstanding flag holds on 2026-11-23 ("Approve all the flag holds listed above"), which covers this slice. Landing the prepared scope: a real effect probe for plugin.disabledTools following the pattern of the landed plugin.instructions slice (PR #13345) — bun suite driving the real setup path, Go e2e probe, move the setting from EffectExemptions to EffectProbes in internal/settings/effect.go, EffectExemptionPin 7 → 6, delete its line from feature_coverage_exemptions.txt. This claim covers only the plugin.disabledTools slice; the issue stays open for the remaining exemptions.

  19. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Takeover claim — Lane YI (archer), 2026-11-23. Adopting the orphaned plugin.disabledTools slice of #8472: Lane YD posted its takeover claim (comment 7103523389, 14:07Z) and ended silently minutes later — no worktree, no PR, no commits; no activity since. Lane JN's original claim/hold (07:00–07:02Z, worktree ~/wt-lane-jn-8472) stands behind it.

    Drew batch-approved all outstanding flag holds on 2026-11-23 ("Approve all the flag holds listed above"), which covers this slice. Landing the prepared scope, following the pattern of the landed plugin.instructions slice (PR #13345): bun suite driving the real setup path for plugin.disabledTools, Go e2e probe, move the setting from EffectExemptions to EffectProbes in internal/settings/effect.go, EffectExemptionPin 7 → 6, delete its line from feature_coverage_exemptions.txt. This claim covers only the plugin.disabledTools slice; the issue stays open for the remaining exemptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/mcpx-platformReprioritization program epic (2026-11-12)kind/testTest coverage, test infrastructure, or test-only fixespriority/normalOrdinary priority (the default)queue/queuedHas a queued queue taskstatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions