On this page

0071. Package-qualified identity

Context

Packages can declare the same module and item paths as local files. Their identities must remain distinct through whole-program checking and C emission, without changing existing root-package names, ordering or output. Dependency source locations must also remain reproducible across checkout locations.

Decision

Extend ADR-0064 and ADR-0068:

Alternatives considered

Consequences

Existing name-keyed phases remain usable and this refactor has no user-visible change. The loader still creates only root-package modules in Step 2. Step 3 must resolve imports per package and restrict suggestions to accessible providers; the current missing-name scan stays within the importer's package.