agent: builder model: sonnet max_turns: 45 budget_usd: 8 effort: low —

Brief: C1c, LedgerOps::lookup into ledger_items.nika (Part #125)

Score: self-hosting lane, plan row C1 of docs/selfhosting-plan.md (third and last part; C1a 5bd603f3, C1b 547e6462). Small: S=1, C~0.5 M. It waited on #1107 (b26, a062b45a): a ref T? map view unwrapped by ?? now stays a view for a struct that does not copy, and FnContract does not copy (ty.nika:1082, Vec fields). Touches no file of K3b (comptime_run.rs, comptime_bundle.nika).

Cut: crates/nikaia/src/contracts/mod.rs:542-546 Convert: –profile check Shape: faithful

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

Facts

To build

  1. ledger_items_lookup in ledger_items.nika, the Rust forward, lower-std and its fixpoint. Tests: cargo test -p nikaia --lib contracts::, cargo test -p nikaia --test it -- throws ledger contract trust prelude (anchored grep -E '^test result:|FAILED|panicked'). Plan row C1: C1c built, row closed (what stays Rust: the rest of infer_package_noted, evaluate_defaults, set_default, computed_literal); self-hosting share in Body:. Commit contracts: lookup moves into ledger_items.nika (C1c), Part: #125.

Rules

Report (at most 15 lines, to exactly /home/user/Nikaia/docs/briefs/c1c-ledger-lookup.md.report.md)

Fields of docs/architect.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, for a move Rs2nika: (the kept N of M lines of rs2nika --score and the three costliest hand edits, else none), and last Attribution: with your commit trailer lines below it.

This site is open source. Improve this page.