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

Brief: M5, contracts/mod.rs: infer_package_noted and the ledger into Nikaia (Part #125)

Score: self-hosting lane, goal of the day 90 %. crates/nikaia/src/contracts/mod.rs (927 lines): infer_package_noted (:369-523), impl LedgerOps for Ledger (:179-610, the logic of its methods), computed_literal, evaluate_defaults into the contracts_*.nika / ledger*.nika files that hold their neighbours (find them with ls crates/nikaia-std/src/tools/ | grep -iE 'contract|ledger').

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 contracts, cargo test -p nikaia --test it -- contracts self_hosting:: (anchored grep).

Rules

Report (at most 15 lines, to exactly /home/user/Nikaia/docs/briefs/m5-contracts-ledger.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.