Skip to content

Remove code that no production path reaches #484

Closed

Description

@lynnswap

Why

Earlier designs left code that no production path reaches. It adds branches to the SDK session layer and keeps tests and checks alive for behavior the package no longer has.

What

  • MCPClientSessionAuthority has no forwarded initialization mode. Since the STDIO adapter was removed in Remove the STDIO adapter #427, makeForwarded is called only from tests.

  • Declarations without a production caller are removed from XcodeMCPCore, XcodeMCPWire, and XcodeMCPProxyKit, together with tests that exercise only them. Known cases: ExecutableLookupClient, XcrunArguments, RequestInspector, TimeoutError, testDependency, and XcodeMCPProxyServer.listeningLogLine.

  • scripts/verify-proxy-target-boundaries.sh stops searching for type names that no longer exist.

  • Public API and server behavior are unchanged.

  • Ref: Bring the package structure and SDK API in line with the owned-host design #483

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions