I believe ApJohn was written with GosJohn in mind, as was TriProt, and in some respects it could have represented a retort on what the far right (the proto-orthodox) was teaching. Whether or not the treatise is meant to be read literally, or if it is an allegory (extended metaphor,) does not necessarily seem to matter as it does portray Christ delivering the message to John, and it dovetails with many of the Chapters and Verses in GosJohn (and sections of GosMark as we shall see.) ApJohn and TriProt both utilize mythology to express concepts, in addition to traditional Christian tenets, and we know that such mythos traditionally serves to teach lessons. Furthermore, we’re in the Land of the Spirit.
In the text, Barbelo/Pronoia represents to us the conceptual and anthropological qualities of the Father, thus his mirror image. However, regarding the Wisdom concept, or Sophia—in the twelfth Aeon (or somehow the thirteenth if you’re a Valentinian)—is the emanation from which the initial rupture occurred due to Sophia’s wanton behavior, a breach that created matter in theory, Yaltabaoth (and his subsequent Archons,) and this Universe or Realm (I hesitate to call it an aeon, even with a small ‘a.’ TriProt correctly refers to Aeons in the Pleroma with a capital ‘A.’) As Alastair Logan of The University of Exeter states in his book Gnostic Truth and Christian Heresy, p. 123: “The Apocryphon has Sophia produce her conception through the wantonness, or through her watchfulness, or through her invincible power.”