Process the oats in a food processor by pulsing 3-5 times. The oats should still have pieces that are approximately 1/2 the size of original oats (not fully ground); set aside.: The oats should still have pieces that are approximately 1/2 the size of original oats (not fully ground); set aside.: Close your eyes for a moment and listen as the food processor hums in short bursts, the oats breaking down with a gentle, rhythmic chop. You want a mix of tiny bits and a few recognizable flakes so the texture remains interesting, not powdery; this creates pockets of chew in the finished cookie. If you overprocess into a fine powder the dough will lose that rustic oat bite, and the cookies may become denser. A common mistake is pulsing too long because you think it will speed things up, but watch the bowl and stop when you see a coarse meal with some oat flakes still visible. Clean the processor gasket and blade right away if you used sticky oats or any oily add ins, to keep everything functioning smoothly.
Grate the carrots and place the grated carrots on 3-4 layers of paper towels. Top the carrots with more paper towels and tightly roll up the carrots, squeezing as you roll to remove as much moisture as possible; set aside.: Top the carrots with more paper towels and tightly roll up the carrots, squeezing as you roll to remove as much moisture as possible; set aside.: You will feel the dampness release as you squeeze, and it almost perfumes your hands with fresh vegetal sweetness. Removing moisture prevents the dough from becoming overly wet and ensures the cookies hold their shape while baking. If you skip this step the cookies can spread and become soggy around the middle, losing the tender structure you want. A helpful trick is to press firmly and rotate the roll, squeezing until the towels have absorbed most of the liquid. If the carrots remain very wet, pat them again or let them sit in the towels for a few extra minutes before adding to the batter.
In the bowl of a stand mixer fitted with the paddle attachment, beat the butter, coconut oil, brown sugar, and granulated sugar together until light and fluffy, about 3 minutes at medium speed.: : As you beat, the mixture will lighten in color and become airy, a sign that air is being incorporated which helps the cookies rise and have a tender crumb. The sound will go from a rapid whir to a slightly subdued rhythm as the fats and sugars emulsify. If the mixture looks grainy, keep beating a bit longer; if the fats are too warm and glossy it means they are over softened and the dough may spread in the oven. Avoid using a whisk attachment here, it can over aerate and change texture.
Add the salt and vanilla and beat another 2 minutes at medium speed until fully incorporated, smooth, and fluffy.: : The aroma of vanilla will bloom when it hits the warm fats, lifting the other flavors. You want a homogeneous, glossy mixture without streaks of uncombined ingredients. If you see pockets of sugar or oil the texture will be uneven in the finished cookies, so scrape the bowl and finish beating until smooth. Be mindful not to overbeat once eggs are added as this can create excessive air.
On medium-low speed, add the eggs, one at a time, scraping down the bowl after adding each egg. Mix just until fully incorporated, about 30 seconds per egg.: Mix just until fully incorporated about 30 seconds per egg.: You will notice the batter smoothing out after each addition, becoming silkier and slightly looser. Adding eggs slowly helps maintain an emulsion so the fat and water components do not separate. If you add them too quickly the batter can curdle and appear broken; scrape the bowl and beat gently until smooth to rescue it. Using cold eggs can cause the batter to seize slightly, so room temperature eggs are preferred for ease of mixing.
In a large bowl, sift the all-purpose flour, bread flour, baking soda, baking powder, cinnamon, apple pie spice, and ground ginger together. Add the flour mixture to the wet ingredients in one addition and mix on low speed until the flour is incorporated and no dry flour can be seen. (Don’t mix too long or too much gluten will form, making the cookies a little tough.): Add the flour mixture to the wet ingredients in one addition and mix on low speed until the flour is incorporated and no dry flour can be seen.: The sifted dry mix should smell faintly of spice and look uniform, which ensures even distribution of leavening and flavor. When you add it all at once and mix gently you avoid overdeveloping gluten, keeping the cookies tender. If you see streaks of flour after a minute of mixing, scrape the bowl and fold carefully with a spatula until fully combined. Overmixing here gives a tougher cookie, so stop as soon as the dough looks cohesive.
Add the oats, coconut, grated carrots, raisins, and pecans and mix on the lowest speed just until incorporated.: : At this stage you will get glimpses of texture and color as the orange of the carrots , brown of the raisins , and flecks of pecans come together. The dough should be studded with mix ins but still hold together when scooped. If you mix too vigorously the fruits and nuts can break down and the dough may become gummy, so low speed or hand folding is preferable. A typical error is adding too many mix ins or unevenly distributing them, so check the batter and redistribute by hand if needed.
Cover the dough and refrigerate for 30 minutes before scooping and baking.: : Chilling firms the fats which helps cookies keep their shape in the oven and also deepens the flavors. You will feel the dough tighten as it cools; this is normal and helpful for neat, puffy cookies. Skipping refrigeration can lead to excessive spreading and thin, flat cookies. If you are short on time you can freeze scoops briefly, but note the texture may differ slightly from a fully chilled dough.
While the dough rests in the refrigerator, adjust the oven rack to the middle position, heat the oven to 350°F, and line 2 baking sheets with parchment.: : Preheating ensures an even bake right away, and using the middle rack avoids too much browning on the top or bottom. The oven will make a steady warming hum as it reaches temperature, and the parchment provides a nonstick barrier that prevents overbrowning on the bottoms. If you place sheets too close together the air will not circulate properly, so keep them spaced. An oven thermometer can help if your oven runs hot or cool.
When ready to bake, scoop cookie dough using a #40 scoop (a 2-tablespoon scoop) and place scoops of cookie dough 2 inches apart onto the lined cookie sheets.: : The uniform scoops create even baking times and similarly sized cookies that match up when you sandwich them. You should see small domes form and the dough should be slightly chilled to reduce spreading. If the dough is sticky and clings to the scoop, dip the scoop in cold water between portions. Crowding the pans leads to merged cookies and uneven baking.
Bake 12-15 minutes, rotating the cookie sheet halfway through baking. The cookies should be slightly darker in color with slightly firm edges and centers still slightly soft to the touch.: The cookies should be slightly darker in color with slightly firm edges and centers still slightly soft to the touch.: As they bake you will notice the edges setting first and the centers keeping a tender give; the aroma of spices will become more pronounced and the tops may develop gentle fissures. Rotate the sheet for even browning and remove when edges are set but centers yield slightly under a fingertip. Overbaking leads to dry cookies, while underbaking may result in collapse when cooling, so watch closely in the final minutes.
Let the cookies cool for 1 minute on the baking sheet, then use a spatula to transfer the cookies to a wire rack to completely cool.: : The cookies continue to firm as they cool, and transferring them prevents steam from making the bottoms soggy. You will feel the residual warmth and the scent of spices will be strongest in this moment. If you attempt to frost warm cookies the filling can melt and ooze, so patience is rewarded. A common slip is leaving them on the sheet too long where they can overcook from residual heat.
While the cookies cool, make the frosting: In the bowl of a stand mixer fitted with the paddle attachment, cream the powdered sugar, cream cheese, and butter together for 3 minutes on medium speed, or until light and fluffy.: : The frosting will change from dense to airy, gaining volume and a cloud like appearance. The texture should be smooth and spreadable, with the tang of the cream cheese cutting through the sugar. If the mixture looks grainy, continue beating a bit before adding liquids. Too warm ingredients can yield a runny frosting, so keep components at room temperature, not melted.
Add sour cream, vanilla extract, ground ginger, salt, lemon juice and zest, and orange juice. Beat on medium speed until smooth and fully incorporated, about 1 minute.: : When the citrus hits the bowl the frosting brightens instantly, and the aroma becomes fresher and alive. This balance of tang and sugar keeps the filling from feeling heavy. If the frosting seems too loose chill for a short time and then whip again to reach spreading consistency. Overdoing citrus will thin it excessively, so measure carefully.
The frosting can be used immediately. If making ahead, the frosting will keep refrigerated in an airtight container for up to 3 days. When ready to use, let the filling come to room temperature and fluff it up using an electric mixer with a paddle attachment at medium speed for 1 minute before using.: When ready to use let the filling come to room temperature and fluff it up using an electric mixer with a paddle attachment at medium speed for 1 minute before using.: You will notice the frosting regain its fluffiness as it warms, making it easy to pipe or spread. If it separates slightly, whipping rescues it quickly. A common issue is storing without an airtight seal which can dry the frosting out; keep it well covered.
To assemble the cookies, spread about 1 1/2 tablespoons of the cream cheese filling onto the flat side of 24 cookies and top with a second cookie (flat sides together). Slightly press the sandwich cookie together so both sides stick together.: Slightly press the sandwich cookie together so both sides stick together.: The moment you press them together you will see the filling gently edge out, creating an inviting profile. The balance of cookie to filling should be even so each bite has spice crumb and tang. Press too firmly and you will squeeze out too much filling; press too lightly and the sandwiches may separate. Place assembled cookies on a rack or tray and let the filling set briefly before stacking for storage.