Audit Finding (API Design, Medium)
Location: crates/agnix-core/src/diagnostics.rs:7
The crate exports both LintResult and CoreResult type aliases. Usage across the public API is inconsistent. The distinction between CoreError and LintError is unclear from the API surface.
Fix: Standardize on one result type alias for the public API. Document when to use each error type. Consider deprecating one if they're redundant.
Found by /audit-project