Issue #1770: a path dependency’s ledger written by another compiler is believed while its…

Open and answer this issue on GitHub.

decision, bugs · opened 2026-11-16 · updated 2026-11-16 · 0 comments

Filed by the driver from the Found: of the run of issue-1621 (#1621) (owner, 2026-11-06).

Found

a path dependency’s ledger written by another compiler is believed while its source hashes match, because modules_believed (crates/nikaia-std/src/compiler/modules.nika) checks only the sources, toolchain() (crates/nikaia/src/contracts/mod.rs) always writes “nikaia 0.1.0”, and INFERENCE is not bumped when the inference changes. Probe as in Tests: two packages, nikaia check src/main.nika in app, an edited lib/nikaia.contracts (throws = []) plus another toolchain/inference in lib/nikaia.derived; today it prints Checked src/main.nika instead of NK2605

Needs

supervisor decision: should belief in a dependency’s ledger also need the recorded inference (rule a) or toolchain (rule b) to match this compiler, amending ADR-100 D3 and ADR-251 D1, and who bumps INFERENCE when the inference changes?

To build

Done when

The probe or check gives the expected output the first item names from its ADR or Part I-III section, and a tests/compiler/tests/ test (or the named check) that failed on the unfixed tree is green; or the issue is closed as by design, naming the function or ADR.


Generated by Claude Code

Back to Open Issues