{
    "schema": "orbit.public-laravel-mcp-protocol-reproduction.v1",
    "generated_at_utc": "2026-10-09T04:22:46Z",
    "environment": {
        "php_version": "8.3.24",
        "php_sapi": "cli",
        "os_family": "Darwin",
        "packages": {
            "laravel/mcp": {
                "version": "v1.0.1",
                "reference": "92987a9d03847801299ff4abe909ba7686147dde"
            },
            "laravel/framework": {
                "version": "v13.34.0",
                "reference": "c829b4982d29344cbcf1d7ad78eb5d2bb8ae66c4"
            }
        }
    },
    "execution": {
        "transport": "minimal public-package in-process Laravel HTTP kernel; no network server",
        "application_source": "inline in reproduce.php; no Orbit checkout loaded",
        "temporary_files": "isolated application/bootstrap cache; removed on process shutdown",
        "request_cache": "array",
        "telemetry": "no telemetry provider registered",
        "database": "empty in-memory SQLite configuration; no migrations or queries",
        "requests": "initialize, tools/list, server/discover only; tools/call is not exercised",
        "network_scope": "harness issues no external requests; Laravel HTTP-client stray requests blocked; trusted executable dependencies, not a sandbox"
    },
    "source_sha256": {
        "reproduce.php": "dc5ab64d7a659bc4c0fdc1790ade94388ac6f976bdeaab69e1217948da453ea5",
        "laravel/mcp/src/Transport/JsonRpcRequest.php": "84dd50b5639a74c305243ef39a44de7bc6cc33c29bf973ac6e74d11327196407",
        "laravel/mcp/src/Server.php": "49a4ceb68ff05dfa4305a234ba6ef109b710d1464c22b4cba58553a0f1874391",
        "laravel/mcp/src/Enums/ProtocolVersion.php": "876f7c707135e451773a205d9d0a5b266e53dee49a0dff02a5bf63f4d4b16f33",
        "laravel/mcp/src/Server/Methods/Initialize.php": "5c0c1e9c810fc158bd1a0cd9c5d67b152e40616ae003121c1c1ca12dc200286a",
        "laravel/mcp/src/Server/Middleware/ValidateMcpHeaders.php": "672eef6e99d1f644c184230c1528bda8e7ec88bdd8700307e1f65a6b0df1c677"
    },
    "cases": [
        {
            "case": "legacy_initialize_with_modern_meta",
            "request": {
                "method": "POST",
                "path": "/mcp",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json, text/event-stream",
                    "MCP-Protocol-Version": "2025-06-18",
                    "Mcp-Method": "initialize",
                    "X-Orbit-Traffic": "test"
                },
                "body": {
                    "jsonrpc": "2.0",
                    "id": 1,
                    "method": "initialize",
                    "params": {
                        "protocolVersion": "2025-06-18",
                        "capabilities": {},
                        "clientInfo": {
                            "name": "orbit-local-protocol-reproduction",
                            "version": "1"
                        },
                        "_meta": {
                            "io.modelcontextprotocol/protocolVersion": "2025-06-18",
                            "io.modelcontextprotocol/clientCapabilities": {}
                        }
                    }
                }
            },
            "response": {
                "http_status": 400,
                "content_type": "application/json",
                "body": {
                    "jsonrpc": "2.0",
                    "id": 1,
                    "error": {
                        "code": -32022,
                        "message": "Unsupported protocol version",
                        "data": {
                            "supported": [
                                "2026-07-28"
                            ],
                            "requested": "2025-06-18"
                        }
                    }
                }
            },
            "expected": {
                "http_status": 400,
                "rpc_error_code": -32022
            },
            "matched_expectation": true
        },
        {
            "case": "legacy_list_with_modern_meta",
            "request": {
                "method": "POST",
                "path": "/mcp",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json, text/event-stream",
                    "MCP-Protocol-Version": "2025-06-18",
                    "Mcp-Method": "tools/list",
                    "X-Orbit-Traffic": "test"
                },
                "body": {
                    "jsonrpc": "2.0",
                    "id": 2,
                    "method": "tools/list",
                    "params": {
                        "_meta": {
                            "io.modelcontextprotocol/protocolVersion": "2025-06-18",
                            "io.modelcontextprotocol/clientCapabilities": {}
                        }
                    }
                }
            },
            "response": {
                "http_status": 400,
                "content_type": "application/json",
                "body": {
                    "jsonrpc": "2.0",
                    "id": 2,
                    "error": {
                        "code": -32022,
                        "message": "Unsupported protocol version",
                        "data": {
                            "supported": [
                                "2026-07-28"
                            ],
                            "requested": "2025-06-18"
                        }
                    }
                }
            },
            "expected": {
                "http_status": 400,
                "rpc_error_code": -32022
            },
            "matched_expectation": true
        },
        {
            "case": "changing_legacy_version_keeps_failure",
            "request": {
                "method": "POST",
                "path": "/mcp",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json, text/event-stream",
                    "MCP-Protocol-Version": "2025-11-25",
                    "Mcp-Method": "tools/list",
                    "X-Orbit-Traffic": "test"
                },
                "body": {
                    "jsonrpc": "2.0",
                    "id": 3,
                    "method": "tools/list",
                    "params": {
                        "_meta": {
                            "io.modelcontextprotocol/protocolVersion": "2025-11-25",
                            "io.modelcontextprotocol/clientCapabilities": {}
                        }
                    }
                }
            },
            "response": {
                "http_status": 400,
                "content_type": "application/json",
                "body": {
                    "jsonrpc": "2.0",
                    "id": 3,
                    "error": {
                        "code": -32022,
                        "message": "Unsupported protocol version",
                        "data": {
                            "supported": [
                                "2026-07-28"
                            ],
                            "requested": "2025-11-25"
                        }
                    }
                }
            },
            "expected": {
                "http_status": 400,
                "rpc_error_code": -32022
            },
            "matched_expectation": true
        },
        {
            "case": "corrected_legacy_initialize",
            "request": {
                "method": "POST",
                "path": "/mcp",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json, text/event-stream",
                    "MCP-Protocol-Version": "2025-06-18",
                    "Mcp-Method": "initialize",
                    "X-Orbit-Traffic": "test"
                },
                "body": {
                    "jsonrpc": "2.0",
                    "id": 4,
                    "method": "initialize",
                    "params": {
                        "protocolVersion": "2025-06-18",
                        "capabilities": {},
                        "clientInfo": {
                            "name": "orbit-local-protocol-reproduction",
                            "version": "1"
                        }
                    }
                }
            },
            "response": {
                "http_status": 200,
                "content_type": "application/json",
                "body": {
                    "jsonrpc": "2.0",
                    "id": 4,
                    "result": {
                        "resultType": "complete",
                        "protocolVersion": "2025-06-18",
                        "capabilities": {
                            "tools": {
                                "listChanged": false
                            },
                            "resources": {
                                "listChanged": false
                            },
                            "prompts": {
                                "listChanged": false
                            }
                        },
                        "serverInfo": {
                            "name": "public-protocol-reproduction",
                            "version": "1"
                        },
                        "instructions": "Minimal package-level protocol reproduction; no Orbit application or database.",
                        "_meta": {
                            "io.modelcontextprotocol/serverInfo": {
                                "name": "public-protocol-reproduction",
                                "version": "1"
                            }
                        }
                    }
                }
            },
            "expected": {
                "http_status": 200,
                "rpc_error_code": null
            },
            "matched_expectation": true
        },
        {
            "case": "corrected_legacy_list",
            "request": {
                "method": "POST",
                "path": "/mcp",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json, text/event-stream",
                    "MCP-Protocol-Version": "2025-06-18",
                    "Mcp-Method": "tools/list",
                    "X-Orbit-Traffic": "test"
                },
                "body": {
                    "jsonrpc": "2.0",
                    "id": 5,
                    "method": "tools/list",
                    "params": {}
                }
            },
            "response": {
                "http_status": 200,
                "content_type": "application/json",
                "body": {
                    "jsonrpc": "2.0",
                    "id": 5,
                    "result": {
                        "resultType": "complete",
                        "ttlMs": 0,
                        "cacheScope": "private",
                        "tools": [
                            {
                                "name": "reproduction_read_only",
                                "title": "Protocol Reproduction Tool",
                                "description": "Read-only constant response; only its description is listed in this experiment.",
                                "inputSchema": {
                                    "type": "object",
                                    "properties": {}
                                },
                                "annotations": {
                                    "readOnlyHint": true,
                                    "destructiveHint": false
                                }
                            }
                        ],
                        "_meta": {
                            "io.modelcontextprotocol/serverInfo": {
                                "name": "public-protocol-reproduction",
                                "version": "1"
                            }
                        }
                    }
                }
            },
            "expected": {
                "http_status": 200,
                "rpc_error_code": null
            },
            "matched_expectation": true
        },
        {
            "case": "modern_discovery",
            "request": {
                "method": "POST",
                "path": "/mcp",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json, text/event-stream",
                    "MCP-Protocol-Version": "2026-07-28",
                    "Mcp-Method": "server/discover",
                    "X-Orbit-Traffic": "test"
                },
                "body": {
                    "jsonrpc": "2.0",
                    "id": 6,
                    "method": "server/discover",
                    "params": {
                        "_meta": {
                            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
                            "io.modelcontextprotocol/clientCapabilities": {}
                        }
                    }
                }
            },
            "response": {
                "http_status": 200,
                "content_type": "application/json",
                "body": {
                    "jsonrpc": "2.0",
                    "id": 6,
                    "result": {
                        "resultType": "complete",
                        "ttlMs": 0,
                        "cacheScope": "private",
                        "supportedVersions": [
                            "2026-07-28"
                        ],
                        "capabilities": {
                            "tools": {
                                "listChanged": false
                            },
                            "resources": {
                                "listChanged": false
                            },
                            "prompts": {
                                "listChanged": false
                            }
                        },
                        "instructions": "Minimal package-level protocol reproduction; no Orbit application or database.",
                        "_meta": {
                            "io.modelcontextprotocol/serverInfo": {
                                "name": "public-protocol-reproduction",
                                "version": "1"
                            }
                        }
                    }
                }
            },
            "expected": {
                "http_status": 200,
                "rpc_error_code": null
            },
            "matched_expectation": true
        },
        {
            "case": "modern_list",
            "request": {
                "method": "POST",
                "path": "/mcp",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json, text/event-stream",
                    "MCP-Protocol-Version": "2026-07-28",
                    "Mcp-Method": "tools/list",
                    "X-Orbit-Traffic": "test"
                },
                "body": {
                    "jsonrpc": "2.0",
                    "id": 7,
                    "method": "tools/list",
                    "params": {
                        "_meta": {
                            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
                            "io.modelcontextprotocol/clientCapabilities": {}
                        }
                    }
                }
            },
            "response": {
                "http_status": 200,
                "content_type": "application/json",
                "body": {
                    "jsonrpc": "2.0",
                    "id": 7,
                    "result": {
                        "resultType": "complete",
                        "ttlMs": 0,
                        "cacheScope": "private",
                        "tools": [
                            {
                                "name": "reproduction_read_only",
                                "title": "Protocol Reproduction Tool",
                                "description": "Read-only constant response; only its description is listed in this experiment.",
                                "inputSchema": {
                                    "type": "object",
                                    "properties": {}
                                },
                                "annotations": {
                                    "readOnlyHint": true,
                                    "destructiveHint": false
                                }
                            }
                        ],
                        "_meta": {
                            "io.modelcontextprotocol/serverInfo": {
                                "name": "public-protocol-reproduction",
                                "version": "1"
                            }
                        }
                    }
                }
            },
            "expected": {
                "http_status": 200,
                "rpc_error_code": null
            },
            "matched_expectation": true
        }
    ],
    "all_expectations_matched": true
}
