To make the crust, place the flour and salt in a food processor and pulse. Drop in the butter and pulse until just barely the texture of oatmeal. Add the ice water slowly and pulse once or twice, until the dough clumps together. Turn onto a floured board and form into a ball. Wrap in plastic wrap and chill in refrigerator for at least 30 minutes.
Meanwhile, peel and remove the root ends from the shallots. Slice them in quarters and place on a small sheet pan. Pour 2 tablespoons of olive oil, the vinegar, 1 teaspoon salt and ¼ teaspoon pepper over top. Roast until the onions are soft and begin to color but still hold their shape, about 45 minutes. Remove from the oven and cool.
When pie dough has chilled, roll it out onto a lightly floured surface to a circle roughly 12 inches in diameter. Gently transfer to a tart ring, and fit into the ring evenly. Pierce bottom with a fork and return to refrigerator to chill another 20 to 30 minutes
Separate the egg and transfer the yolk to a small bowl; reserve the egg white for the topping.
Mix the egg yolk, ricotta, remaining 1 tablespoon olive oil, ½ cup of Parmesan, and chives. Remove the tart shell from refrigerator. Spread the ricotta mixture evenly across the bottom of the tart shell. Nestle the shallots across ricotta base and the bacon bits.
In another small bowl, beat the reserved egg white, heavy cream and the remaining ¼ cup Parmesan. Pour mixture evenly over top of the shallots.
Cover the tart with foil and bake at 350°F for 40 minutes. Remove the foil and bake another 15 minutes, until top is bubbling and crust is slightly brown, but not too dark.
Toss some baby kale with lemon juice and olive oil and sprinkle over top before servings. Serve warm or at room temperature.
Notes
Serve warm or room temp - makes it easy to let it rest for the length of a gathering.