Skip to content

Final Runtime upgrade acceptance and superseded-path cleanup #23

Description

@ethan-huo

Objective

Complete the accepted MCP Runtime upgrade with local end-to-end acceptance, superseded-path deletion, and independent review.

Scope

  • Run every acceptance criterion in docs/specs/mcp-runtime-upgrade.md.
  • Remove obsolete V2 ownership paths, compatibility machinery, temporary token-cache locking, and dead tests after replacement coverage exists.
  • Mark superseded BDD documents clearly while retaining useful historical evidence.
  • Perform an independent code review focused on lifecycle races, queue fairness, store atomicity, secret exposure, and process cleanup.
  • Fix every actionable finding before closure.

TDD acceptance

  • Issue bug: parallel cf-api execute processes spin at ~100% CPU after caller exits #16 process-level scenarios pass with at least five concurrent CLI processes and deterministic local fixtures.
  • Success, error, cancellation, broken pipe, and final-waiter OAuth cancellation all exit within bounded deadlines.
  • No CLI process survives its terminal frame; the idle Runtime does not busy-spin.
  • All stdio, Streamable HTTP, notification, migration, auth, and protocol-mismatch suites pass.
  • No real OAuth or remote MCP is accessed.

Verification

  • Focused acceptance suite.
  • Full test suite and typecheck.
  • Repository and prototype formatter checks.
  • git diff --check.
  • Final issue dependency/readiness audit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified and agent-ready

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions