Actually, law does not always use intent. Intent is the primary basis for one of the philosophies of jurisprudence, not every judicial body/judge follows that. See textualism for an example where intent is irrelevant.
Good faith implies intent of the entity is measured, not necessarily of the way the law is written. Textualists like Gorsuch would actually not read into the intent of the law writers and interpret "good faith" how he pleases cause that's as specific as the written law is. Don't you agree?