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).
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
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?
std defect with a probe (nikaia run scripts/probe.nika -- SNIPPET), a defect in docs/ or scripts/ with the command or check that shows it; a behaviour the code does on purpose (name the function or ADR) closes it as by design. The Found line may lack them (#1710): the commit message, or the report’s Body: when closed, gives the probe or check with its expected output, the ADR or Part I-III section that says so, and its actual output (docs/issues.md I5, I6), and the cause, file and function, traced or suspected (I7).tests/compiler/tests/, unless a check that already runs (name it, e.g. check-adr-refs.py for a docs citation) turns red on it.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