I was working from memory and couldn't remember just who was who.
I don't think there's any doubt that Lee considered the PA incursion to be largely defensive; he needed the Yankees out of VA so that the harvest could be brought in. I think I read a quote where he said, "they'd be quiet as suckling doves" thereafter. Of course, could he have forced and won the decisive clash of the Armies that he desired, the defensive thrust could have become decidedly offensive.
If the strategic objective was indeed defensive, the PA incursion was very successful; huge amounts of stores were acquired and the Yankees were quiescent for ten months thereafter.
That said, the ANV that returned from PA was not the same army that sortied out in June '63. The losses in officers makes the army of May '64 almost a stranger to the army of May '63.