On this page

0077. Package-level coherence reporting

Context

Global interface coherence permits bridge packages because Harness checks a whole loaded program (ADR-0027). Package-qualified identities and logical source names distinguish dependencies without making diagnostics depend on checkout paths (ADR-0069, ADR-0071). When one exact interface/type pair has implementations in different packages, E0650 must identify both owners and provide stable, actionable locations.

Decision

Extend ADR-0027's cross-file E0650 reporting to package-level conflicts:

Alternatives considered

Consequences

Conflict diagnostics identify package ownership and version reproducibly while preserving same-package diagnostics. The loaded graph remains the coherence boundary, so newly loaded modules may expose conflicts. This implements the design review's whole-program coherence and bridge-plugin decision (design review).