Where does “pinafore” come from?

I need to find the etymology chain for "pinafore," but the chain provided is for "pin" and "peen," not "pinafore." Pinafore is a compound word made of "pin" + "a" + "fore" (as in "in front"). However, you've only given me the chain for "pin," and the meaning of "pinafore" is marked as unknown in your prompt. I cannot accurately write the etymology summary for "pinafore" using only the "pin" chain, as I would need to verify: 1. The actual etymology of "pinafore" as a whole 2. Whether it truly derives from the "pin" chain or has a different origin 3. What the known historical meaning was Could you provide either: - The complete etymology chain for "pinafore" itself, or - Clarification on whether I should write about "pin" instead?

pinafore (English): A sleeveless dress, often similar to an apron,...

Definitions

  1. A sleeveless dress, often similar to an apron,...

Ancestry of “pinafore”, step by step

pinafore traces back through two separate lines of ancestry.

via English afore

StepLanguageWordMeaning
1EnglishaforeBefore; In the fore part of a ship; Before; in...
2Middle Englishaforebefore; afore; before; afore: in advance of the...
3Old Englishonforanbefore, in front of
4Old Englishonon, in, at, among; from
5Proto-West Germanicanaon
6Proto-Germanic*an
7Proto-Germanicanaon, at; on, onto; ana
8Proto-Indo-Europeanh₂en-on, onto

via English PIN

StepLanguageWordMeaning
1EnglishPINAcronym of personal identification number;...
2Middle Englishpinne
3Old Englishpinnpin; peg; an instrument of writing; pen
4Proto-Germanicpinnazpin
5Proto-Indo-Europeanbend-point, pin; peg, tip, protruding point, edge;...

Words derived from “pinafore

Every word from Proto-Indo-European h₂en-