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

Brief: M9, main.rs commands into Nikaia (Part #125)

Score: self-hosting lane, goal of the day 90 %. crates/nikaia/src/main.rs (1134 lines): project_command (:707-814), test_command (:837-940), describe (:606-706), single_file (:956-1014), explained/explain (:414-494), lower_to_rust, lower_std, lower_std_bounds (:495-605), run (:1078-) into a new crates/nikaia-std/src/tools/cli_commands.nika (or the existing tool file that already holds the neighbour, e.g. project_drive.nika for drive). Keep main/main_run and the clap types in Rust as thin forwards.

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 --test it -- cli:: (or the CLI test module where.nika names), cargo test -p nikaia --test it -- project::, 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/m9-main.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.