You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcpx: Phase 3 of #1384 — supervised stdio by default + lifecycle hygiene #9963
Dependency is real, not paperwork: Phase 3's scope (supervised-by-default, adopt-or-reap, supervisor-mediated restart) is defined over Phase 2's attach semantics for supervised instances. Writing a Phase 3 packet before Phase 2 lands would repeat the stale-premise pattern this queue keeps tripping on.
Routing: no packet enqueued for Phase 3 — it unblocks when #9962 lands, and #9962 is already queued ahead of it (the queue's priority order will surface it first). Issue #9963 is labeled status/blocked + queue/blocked to record the gate; when #9962 closes, a triage pass can flip it back to queued and packet it against the landed attach semantics.
Fresh check (2026-11-14): task 16788's verdict from earlier today (13:35Z) stands and is adopted: Phase 3's scope is defined over Phase 2's attach semantics, mcpx: Phase 2 of #1384 — takeover becomes attach for supervised stdio instances #9962 is OPEN and queued ahead of it, and no implementation has started on either phase. Writing a Phase 3 packet before Phase 2 lands would repeat the stale-premise pattern.
Supervised stdio by default: Extras.Supervised is a *bool; parse materializes the default for stdio servers in file-loaded configs; "supervised": false is the opt-out into the legacy direct-spawn path. Aliases inherit only the supervised bit (per-view extras stay the alias's own).
Restart through the supervisor: new restart/terminate supervisor handshake actions; Pool.Restart restarts supervised children through their supervisor (new child PID, supervisor + socket survive).
Adopt-or-reap scan on daemon start (ScanSupervisorSockets + Registry.ReapOrphanedSupervisors): configured supervisors are adopted (Phase 2 path), orphans are reaped with the reap logged, refusals logged and left in place, stale sockets removed.
Protocol-version refusal during adoption is recorded as the pool's last error, so mcpx status names it.
Acceptance: checkboxes 1–3 are covered by new tests (config default + opt-out, pool fresh-daemon acceptance, scan adopt/reap/stale, restart PID change, refusal in status). Suites green on the laptop: config, mcpclient, pool, daemon, buildcheck, testsupport; e2e supervised takeover test passes. Codex review produced no findings (its run failed on Codex usage limits; disposition recorded on PR #10767).
Remaining: checkbox 4 (#237 darwin skip list). All four affected test packages cross-compile for darwin/arm64 (verified), but unskipping needs a darwin runtime run, which this linux lane cannot do. Enqueued as task 17495 (capability-routed: needs a darwin runner), dedupe repo-health:v1:fix:developing-today/code:issue:237. Issue #9963 stays open for that one item.
Merged work, still open. Every pull request that references this issue has merged (#10767, #11343) and none is open, but the issue kept status:in-review. Tasks that name it as a blocker have been waiting on it.
status:in-review is removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").
Activity
developing-today commentedon Nov 14, 2026
CODE-3461
dezren39 commentedon Nov 14, 2026
🤖 Agent note · triage: valid phase issue, correctly gated on Phase 2
Verified fresh (2026-11-14):
queue/queuedand no agent notes yet: it has a live queue route but has not been picked up. This issue (Phase 3) is OPEN, filed today by task 15159 per design(mcpx): a supervisor that owns each stdio child's pipes — replace the takeover handoff for stdio #1384's acceptance item 2. Parent design design(mcpx): a supervisor that owns each stdio child's pipes — replace the takeover handoff for stdio #1384 is OPEN as the program record.Routing: no packet enqueued for Phase 3 — it unblocks when #9962 lands, and #9962 is already queued ahead of it (the queue's priority order will surface it first). Issue #9963 is labeled status/blocked + queue/blocked to record the gate; when #9962 closes, a triage pass can flip it back to queued and packet it against the landed attach semantics.
dezren39 commentedon Nov 14, 2026
Agent note — task 16880 blocked on dependency (lane any-b)
--blocked-by-issueon mcpx: Phase 2 of #1384 — takeover becomes attach for supervised stdio instances #9962 (7-day TTL), converting task 16788's prose gate (and the issue's existingstatus/blocked+queue/blockedlabels) into the broker-tracked gate. When mcpx: Phase 2 of #1384 — takeover becomes attach for supervised stdio instances #9962 closes, a triage pass packets Phase 3 against the landed attach semantics.4 remaining items
dezren39 commentedon Nov 16, 2026
agent-note:v1
state: picked_up
task: 17484
lane: any-d
worker: repo-worker-code
Picked up task 17484 (mcpx Phase 3, issue #9963) — lane assignment direct.
Revalidated fresh: issue #9963 OPEN, no held/user/owned/do-not-merge/do-not-auto-edit labels; gate issue #9962 CLOSED; no competing PR found.
Next: inspect the Phase 2 supervisor code in pkgs/mcpx, implement supervised-by-default + adopt-or-reap + restart-through-supervisor + protocol-refusal-in-status + darwin skip-list shrink.
Merge pull request #10767 from developing-today/queue/17484-9963-mcpx…
dezren39 commentedon Nov 16, 2026
state: done (implementation) — task 17484, lane any-d, 2026-11-16
PR #10767 merged (merge commit 41fecc2): Phase 3 landed.
Extras.Supervisedis a*bool; parse materializes the default for stdio servers in file-loaded configs;"supervised": falseis the opt-out into the legacy direct-spawn path. Aliases inherit only the supervised bit (per-view extras stay the alias's own).restart/terminatesupervisor handshake actions;Pool.Restartrestarts supervised children through their supervisor (new child PID, supervisor + socket survive).ScanSupervisorSockets+Registry.ReapOrphanedSupervisors): configured supervisors are adopted (Phase 2 path), orphans are reaped with the reap logged, refusals logged and left in place, stale sockets removed.mcpx statusnames it.Acceptance: checkboxes 1–3 are covered by new tests (config default + opt-out, pool fresh-daemon acceptance, scan adopt/reap/stale, restart PID change, refusal in status). Suites green on the laptop: config, mcpclient, pool, daemon, buildcheck, testsupport; e2e supervised takeover test passes. Codex review produced no findings (its run failed on Codex usage limits; disposition recorded on PR #10767).
Remaining: checkbox 4 (#237 darwin skip list). All four affected test packages cross-compile for darwin/arm64 (verified), but unskipping needs a darwin runtime run, which this linux lane cannot do. Enqueued as task 17495 (capability-routed: needs a darwin runner), dedupe repo-health:v1:fix:developing-today/code:issue:237. Issue #9963 stays open for that one item.
dezren39 commentedon Nov 22, 2026
Merged work, still open. Every pull request that references this issue has merged (#10767, #11343) and none is open, but the issue kept
status:in-review. Tasks that name it as a blocker have been waiting on it.status:in-reviewis removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").By: Claude, 2026-11-22 flow review.
Generated by Claude Code