01 - On a clean work surface, mound the flour and create a well in the center. Crack eggs into the well and add salt. Gradually incorporate flour into eggs using a fork, then knead by hand for 8 to 10 minutes until smooth and elastic. Wrap dough in plastic and let rest for 30 minutes.
02 - Heat olive oil in a skillet over medium heat. Sauté onion until softened, about 3 minutes. Add garlic and mushrooms, cooking until mushrooms release moisture and turn golden, approximately 5 minutes. Remove from heat. Stir in chicken, Parmesan, parsley, black pepper, and salt. Allow filling to cool completely.
03 - Divide rested dough into two equal portions. Roll each piece into a thin sheet, about 1/16 inch thick, using a pasta machine or rolling pin.
04 - Place small mounds of filling, approximately 1 teaspoon each, 1 inch apart on one dough sheet. Lightly brush edges with water, cover with second sheet, and press around each filling mound to seal. Cut into individual ravioli squares and crimp edges with a fork to ensure tight closure.
05 - Heat olive oil in a saucepan over medium heat. Add sliced garlic and sauté until fragrant, about 1 minute. Pour in crushed tomatoes and add sugar, salt, black pepper, and oregano. Simmer for 15 to 20 minutes until slightly thickened. Stir in torn basil leaves just before serving.
06 - Bring a large pot of salted water to a rolling boil. Gently add ravioli and cook for 3 to 4 minutes, or until they float to the surface. Remove carefully with a slotted spoon.
07 - Place cooked ravioli on serving plates. Spoon warm tomato sauce over the top. Garnish generously with grated Parmesan cheese and fresh basil leaves.