Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)Package/app: mcpx (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)Something isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Description
mcpx: three internal/settings guard tests fail on main (compendium chapter + undeclared adapter env)
Found by queue task 3277 (lane E, 2026-10-30); verified unrelated to that task's change and present on main e616aef:
$ cd pkgs/mcpx && go test ./internal/settings/ -count=1
--- FAIL: TestEveryDocumentHasAChapter
compendium_test.go:160: docs/testing/feature-inventory.md is not in the compendium manifest
(the inventory doc landed in PR #2667 / #1978 without a compendium chapter or a role+reason entry)
--- FAIL: TestNoUndeclaredEnvRead
consumed_test.go:224: internal/daemon/routes_settings.go:906 reads MCPX_ADAPTER_DECLARATION_SHA256, which no setting and no ScriptEnv entry declares
--- FAIL: TestTheScriptEnvironmentIsWhatTheCodeSets
scriptenv_test.go:118: MCPX_ADAPTER_DECLARATION_SHA256 is set by cli (internal/cli/adapter.go:436) and ScriptEnv does not declare it
(the env var arrived with the adapter work in PR #2647, queue 3258 / #1962)
Fixes: give docs/testing/feature-inventory.md a chapter in docs/compendium.manifest.json (or a role and a reason), and declare MCPX_ADAPTER_DECLARATION_SHA256 in ScriptEnv (it is a value a parent process hands the daemon) or wherever the guard's own instructions point. Small, mechanical, and they un-red the settings package on main.
Companion main-red: #2695 (TestMatrix/authsplit).
Acceptance criteria
go test ./internal/settings/ -count=1passes on clean main (TestEveryDocumentHasAChapter, TestNoUndeclaredEnvRead, TestTheScriptEnvironmentIsWhatTheCodeSets).docs/testing/feature-inventory.mdhas a compendium chapter (or a role+reason entry) indocs/compendium.manifest.json.MCPX_ADAPTER_DECLARATION_SHA256is declared in ScriptEnv (or at the declaration site the guard prescribes).
Metadata
Metadata
Assignees
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)Package/app: mcpx (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)Something isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Activity
dezren39 commentedon Oct 30, 2026
Scope note (same author, minutes later): the compendium-chapter failure is the class already tracked by #2552 — treat that part as covered there (feature-inventory.md is one more page for its list, noted on #2552). This issue's unique remainder is the undeclared
MCPX_ADAPTER_DECLARATION_SHA256env read/set (TestNoUndeclaredEnvRead + TestTheScriptEnvironmentIsWhatTheCodeSets), which no open issue covers.dezren39 commentedon Oct 30, 2026
Intake review
Fleet monitor intake pass (2026-10-30 run). An
## Acceptance criteriasection was appended to the body this pass (original body preserved verbatim above it). Labels normalised:status/needs-triage,effort/s,meta/enriched(kind/bug,priority/normal,app/mcpxwere already present).Still live: verified by the filer on clean main
e616aef3; no merged PR since filing (2026-10-30T11:01Z) adds the compendium chapter or declaresMCPX_ADAPTER_DECLARATION_SHA256.Overlap warning: #2716 (filed 36 minutes later by a different lane's verification) rolls up these same settings failures plus the conformance failures — see the cross-link there. The settings fix should land once and close the settings half of both issues; #2695 covers the conformance
TestMatrixhalf.Notes / risks: small and mechanical, as the filer says — but note
TestNoUndeclaredEnvReadalso fires oninternal/daemon/routes_settings.go:906reading the same variable, so the declaration site must satisfy both the ScriptEnv guard and the consumed-settings guard, not just one.Suggested approach: one small branch: compendium chapter (or role+reason) for
docs/testing/feature-inventory.md+ the env declaration; run the settings package tests in CI on the PR.developing-today commentedon Nov 3, 2026
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
dezren39 commentedon Nov 3, 2026
🤖 Agent note · handed off
opencode; handing off to the laptop claimant (opencode-claimant). Re-handoff on attempt 5: previous handoff (2026-11-03T19:39Z, by lane code-i) lease-cycled with no bound session (session_id null at this assignment).dezren39 commentedon Nov 3, 2026
🤖 Agent note · handed off
opencodedezren39 commentedon Nov 4, 2026
🤖 Agent note · picked up
repo-worker-code), OpenChamber scheduled lanec29174f1-48e0-4b13-b4ff-9b73ab67e9abqueue/claimed,status/in-progress, andwork/assignedare already present. Resuming the prior handoff with fresh main-state verification.dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
opencodeviarepo-queue.py lane; handing off to the laptop opencode claimant, which launches the bound session. Claim labels synced by this lane at claim time where needed.dezren39 commentedon Nov 4, 2026
🤖 Agent note · picked up
repo-worker-code), OpenChamber scheduled laneaea12c82-c5af-4e5a-9b66-f8e360f87177queue/7959-2697-triage-settings-guardsand worktree/home/user/git/fleet/7959; branch-specific PR lookup is empty.dezren39 commentedon Nov 4, 2026
🤖 Agent note · triaged
repo-worker-code), OpenChamber scheduled laneaea12c82-c5af-4e5a-9b66-f8e360f87177ef55926de2c3481591ad69c6a576bd504a792204,go test ./internal/settings/ -count=1still fails. The originally nameddocs/testing/feature-inventory.mdis no longer among the missing compendium entries; the current missing files areTESTING.mdand threedocs/changes/*pages. TheMCPX_ADAPTER_DECLARATION_SHA256read/setter mismatch still reproduces. The package also reports unrelated plugin-setting, effect-probe, and stale environment-doc failures outside this issue’s original scope.queue/claimed; no parallel manifest edit made). The adapter ScriptEnv mismatch is already tracked in mcpx: internal/settings (scriptenv) and internal/conformance (TestAuthSplit, TestMatrix) failing on clean main #2716 (OPEN). No matching open PR was found. The original page omission is fixed and the remaining env work is covered by mcpx: internal/settings (scriptenv) and internal/conformance (TestAuthSplit, TestMatrix) failing on clean main #2716, so this issue is superseded; the broader main-red failures remain tracked for their existing follow-ups.