Preheat the oven to 200°C (400°F). Soak the dried chillies in warm water for 1–2 hours, then drain and reserve the soaking liquid.
Toss the garlic cloves in a little olive oil, place on a small tray and roast in the oven for about 12 minutes or until soft.
In a dry pan over high heat toast the cumin, coriander and caraway seeds until aromatic, then transfer to a food processor.
Add the drained chillies, roasted garlic, toasted seeds, cinnamon and about 2 tablespoons of the reserved soaking water to the food processor and blend until thick.
With the processor running, add about 80 ml (1/3 cup) olive oil in a steady stream until the paste is smooth; season to taste. Reserve any extra harissa in a jar covered with a little oil and keep refrigerated.
Trim sinew from the chicken breasts and season lightly with sea salt. Spread harissa over the top side of each breast.
Stir 1 teaspoon of harissa into a couple of cups of oil, place the chicken breasts in a container, pour the oil over to cover and marinate in the fridge overnight.
Preheat the oven to 180°C (350°F). Sauté the half onion and the knob of ginger in a little oil until soft and translucent, then let cool slightly.
Place the flour, 250 g corn kernels (reserve 1 cup/160 g as noted below if using that split), sautéed onion and ginger, 1 tsp ground cumin, 125 ml water and 2 eggs in the food processor and process until combined.
Transfer the batter to a bowl and fold through the remaining corn kernels, chopped spring onions, diced red bell pepper and chopped coriander leaves. Season with sea salt and freshly ground black pepper.
Heat a little oil in a non-stick frying pan over high heat. Using a 30 ml (1 oz) ladle, cook two fritters at a time for about 1 minute per side until golden.
Transfer the fried fritters to an ovenproof rack on a tray and bake in the 180°C oven for a further 3–4 minutes to finish cooking.
Meanwhile, prepare the pineapple salsa by combining diced pineapple, finely chopped purple onion, chopped mint, chopped coriander, diced red bell pepper and the additional cup of corn kernels in a bowl; dress with extra virgin olive oil and season with sea salt and black pepper. Add a little brown sugar only if the pineapple is not sweet enough.
Remove the chicken from the marinade and heat a little of the marinating oil in a non-stick pan over medium-high. Sear the breasts a couple of minutes per side, starting with the top side.
Transfer the seared breasts to an ovenproof dish and roast in the 180°C oven for 8–10 minutes until cooked through; timing can be adjusted so the chicken and fritters finish together.
To serve, place two corn fritters on each plate, slice each chicken breast in half on a 45° angle and place on the fritters. Top with pineapple salsa, garnish with a mint sprig and drizzle a little pan oil or oiled-down harissa over the chicken.