Skip to content

MCP shell origin resolution must skip dead-pid proxy-origin records #599

Closed

Description

@ranxianglei

Problem

Proxy-origin records live in the instance registry. A stale record whose owning pid is dead can still be adopted when the MCP shell resolves its origin, pointing tool injection at a dead proxy port.

Impact

MCP plugin spawn-time injection fails or attaches to the wrong instance — residual of the #403/#405 proxy-origin hijack chain after #514/#527's fixes.

Suggested fix

Liveness-check (pid alive) before adopting an origin record in MCP shell origin resolution. PR #522 carries the fix (+49/−2, merges clean).

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions