Builder facts

Fixed facts a builder otherwise looks up itself (counted over 48 builder runs, 2026-10-25: median 2, up to 19 grep -r calls per run to find where a name is defined; four pre-push failures on the same badge; seven runs puzzled by the same dirty lock file). Read once; the brief adds only what is specific.

Red on develop now

Guards of the gate that are red on develop before your change, with their figure; whoever finds such a red or fixes it rewrites this list (y7a, 2026-10-30: a builder spent a build and two runs on a guard that was red without it). A change that leaves the figure where it stands, or better, does not make your gate red: report Gate: green and the figure under Tests:.

Where things live

What Where
Checker, moved parts crates/nikaia-std/src/tools/check_*.nika (87 files); Rust adapter in crates/nikaia/src/check/
Emitter crates/nikaia/src/emit/mod.rs, emit/host.rs; moved parts tools/emit_*.nika
std methods by receiver std_receivers in tools/check_core_method.nika
Generated Rust of a tools file tools/lowered/<file>.rs, index tools/lowered.rs (never edit, lower-std writes them)
Program tests (new tests) tests/compiler/tests/NAME.nika + .stdout / .stderr
Rust tests by NK code grep -rln NK1234 crates/nikaia/tests/it/
Specification docs/specification/10-nikaia-light.md, 20-nikaia-advance.md, 30-nikaia-tooling.md (code table)
A name, Rust or Nikaia nikaia run scripts/where.nika -- NAME...: definitions (fn, struct, enum, type) with file:line, the files that call it; for an NKnnnn the tests and the spec row (a field is not found: grep it); -- --outline FILE lists each item of a .rs / .nika with its line range
An unfixed binary, for before/after probes copy target/fast/nikaia to your scratchpad before your first build (the suite runs on CI since 2026-11-01; /home/user/nikaia-suite is no longer updated)

Traps already met

Moving Rust into Nikaia (self-hosting, ADR-294, #125)

Rules from the sessions that moved the most; they save tokens, not just time.

Commands

The cycle, clippy beside the tests, the report and commit.nika: .claude/agents/builder.md. Disk at the end: the same file, last step.

This site is open source. Improve this page.