in making a one-off harness, there are several don't in this one for me and it is too complicated.
A cardinal mistake: the battery connection: you should run both pus and minus from the rectifier directly to the battery, better yet to special posts centrally located. Connect the harness, the battery, and the coil directly to these.
Likewise, you definitely should use two relays to switch the headlight hi and low beams, runing the +12 from that post directly to those relays with a 2mm2 9at least) wire; then use the handle bar switch only for the coils to the relays. Instead of a candle, you will get a real headlight.
You really should streamline to plan as much as possible.
In particular, If you must have the ignition key on the triple tree, then use it only to switch a heavy-duty 12v relay to switch the +12v to the bike. Better yet is to put the key switch as close to the battery/connector posts as possible and do away with that relay entirely. It is nonsense to run the 12V all the eay to the front and back again for the sole purpose of easy switching. You can leave the steering lock at the front for legal purposes if that is necessary.
Just an example, a Skorpion (not mine), the post connector is in the center. The LiPeFo accu can be lifted out without disturbing the harness or anything lest; the starter relay in directly next to it.
I put the ignition key switch on the right directly under the seat frame and fastened with the seatframe bolt:
In its present state, the LiPeFo accu is under seat on the tray right next to the posts, just like in the picture above, the ignition box and the SilentHektik electronic fuse box are also right next the posts and battery. It is not cheap, but I definitely would use that SilentHektik fuse box for a street use bike.
http://www.silent-hektik.com/Zub_Sicher.htmthe second one listed, S4403 which includes an internal 400W relay.
The box contains 3 8A fuses, that relay and the blinker relay which is is completely independent: 1,2 4 or no bulbs at all, it blinks. It a fuse "blows", turn off the ignition, wait 10 seconds and turn it back on; the fuse is reset. I have been using this for 10 years now and with absolutely no problems.
I turn the plus 12 main to this box on and off with the key. I use the internal relay for the ignition itself, controlling it with the kill switch. Both the ignition box and the coil get ±12 directly from this relay.
If you choose to run the headlight thru the relays mounted up front next to it, It is best to use an inline fuse in the heavy wire running directly from the +12v post.
Here is a sample harness from SilentHektik:
http://www.silent-hektik.com/MINI_K_03.pdf