- non-repo mode: use fullName() instead of flawed logic in type constraint failures - repo mode: save the original filename when flattening traits