jocelyn looked at magnus for a moment , her mouth slightly open , and simon realized that of course magnus must have known clary 's mother when she was young , when she betrayed valentine and the circle and nearly died in the uprising .