Pour 1 teaspoon (5 ml) of pickle brine into a small cup and set aside. Slice pickles into thin planks, stack, cut into matchsticks, then crosswise into ⅛-inch (3 mm) pieces. Measure ¼ cup (40 g), spread over a double layer of paper towels, fold, and press firmly for about 10 seconds to dry.
Drain 1 tablespoon (9 g) of capers in a fine-mesh strainer, blot with a paper towel, and chop finely. Peel and mince 1 small shallot, measuring 2 tablespoons (20 g). Pull dill fronds from stems and chop finely, measuring 1 tablespoon (4 g).
Roll the lemon firmly on the counter, cut it in half, and squeeze one half through a citrus juicer or strainer to catch seeds. Measure 1 tablespoon (15 ml) of juice.
Spoon 1 cup (240 g) mayonnaise into a medium mixing bowl. Add the pressed pickles, chopped capers, minced shallot, and chopped dill, then fold with a rubber spatula until evenly distributed. Add 1 tablespoon (15 ml) lemon juice, 1 teaspoon (5 g) Dijon mustard, and ⅛ teaspoon black pepper, stirring until smooth and uniform.
Lift a spoonful and let it drop back into the bowl; the sauce should be thick and fall in a ribbon that briefly holds its shape. For a looser dipping sauce, stir in the reserved 1 teaspoon (5 ml) pickle brine; skip it for a thick sandwich spread.
Cover the bowl tightly with plastic wrap or transfer the sauce to an airtight container. Refrigerate for at least 30 minutes so the flavors can blend; an hour gives an even rounder flavor.
Stir the sauce well, since a little liquid may have collected on the surface. Taste it on a fry or piece of fish rather than from the spoon, and add a small pinch of kosher salt only if needed. Spoon into a serving bowl and serve cold.