agent: builder model: opus max_turns: 80 budget_usd: 15 effort: medium —

Brief: M7, emit with_contracts and parse_unrefined into Nikaia (Part #125)

Score: self-hosting lane, goal of the day 90 %. crates/nikaia/src/emit/mod.rs with_contracts (:710-1051) into the emit_*.nika file that holds its neighbours (emit_entry.nika or a new emit_contracts.nika), then crates/nikaia/src/parser/mod.rs parse_unrefined (:787-886) into the parser .nika files. Callers in modules.rs and sysroot.rs keep their signatures (those files are not yours).

Facts: Where things live, Traps already met, Moving Rust into Nikaia, Commands

Facts

To build

  1. Piece by piece, largest first, each its own commit. Tests: cargo test -p nikaia --lib emit, cargo test -p nikaia --lib parser, cargo test -p nikaia --test it -- self_hosting:: and 40 tests/compiler tests with .stderr via target/fast/nikaia test (pick across NK codes).

Rules

Report (at most 15 lines, to exactly /home/user/Nikaia/docs/briefs/m7-emit-contracts.md.report.md)

Fields of docs/supervisor.md, Briefs and reports: Result, Files, Commit, Body (optional), Fixes, Pushed, Tests, Gate, Deviation, Found, Needs, Changelog, Owner (a question for the owner), Disk freed, and last Attribution: with your commit trailer lines below it.

This site is open source. Improve this page.