It was abundantly clear that AA retained its existing codeshare rights on CP for a period of 10 years in exchange for giving in on their equity rights.
The bigger question is whether CP will choose to exercise codeshare rights on AA. After all, selling codeshares on your airplanes gives you cash and makes someone else do the selling.
I think it makes sense, though. UA is already selling a fairly strong bloc of seats to AC. Rather than further dilute this source, it seems to make sense to exercise some access to AA.