agent: builder model: opus max_turns: 110 budget_usd: 22 —

Brief: E12-3b, the host’s seed calls and place/floor into Nikaia (#125)

Score: self-hosting lane (docs/priorities.md; docs/selfhosting-plan.md, C-7 rest and E12, row E12-3, second half). About 190 Rust lines; E12-3a put self-hosting at 79.0 %.

Facts

Locations

To build

  1. place: EmitSeedsPlace and floor: bool move into EmitWalk; Emitter.place/floor are removed; Emitter::seeded (Rust, for ty_filled) reads them from the walk held in self.w. EmitState gets the seed tables (EmitSeedsTables, moved or cloned once when the state is built: say which in Body:). Remove place_declare_type, place_finish, place_enter, place_leave, set_floor, seeds_arity from the host: their callers use walk.place / walk.floor / the tables directly. Commit (Part of #125).
  2. seeds_begin, seeds_end and seeded become Nikaia functions in emit_seeds.nika over (EmitState’s tables, mut walk, the item); the only host method left is seeds_shape(key) -> (groups: Vec[i64], within: Vec[i64], start: i64)? (Rust looks up Seeds::shape; within’s None crosses as -1, as now). trusted_input comes from EmitState. Remove the moved Rust. Commit (Part of #125). Both steps in one commit is fine if step 1 alone would be rewritten at once (say so in Body:).
  3. A lowering defect met is fixed in the compiler as its own commit with a test (CLAUDE.md, Fix, do not work around); if it cannot be fixed here, stop and report blocked.

Done when

lower-std byte-identical apart from the moved code (the oracle); it filters seed, map, hash, barrier, trusted, and the guard set of .claude/agents/builder.md; nikaia test tests/compiler --both-settings; python3 scripts/self_hosting.py figure under Tests:. Changelog: none (no behaviour changes).

Stop and report if

An output of lower-std or a test changes beyond the moved code; a Rust caller of place/floor outside a hosted call (then self.w is empty: report it with its location, do not add a second copy); an error in another agent’s file.

Read docs/builder-facts.md.

Rules (CLAUDE.md; this block is pasted into every brief, also a fix-forward)

Report (at most 15 lines, to exactly /home/user/Nikaia/docs/briefs/e12-3b.md.report.md)

Fields of docs/architect.md, Briefs and reports: Result: done|noop|partial|blocked (the bare word alone on that line: Result: done, never a summary after it, which cuts the batch, b869a 2026-10-27; Owner: is a question for the owner or none, never a role), Files, Commit, Body (optional, one paragraph for the commit message), Fixes, Pushed, Tests, Gate (green|red), Deviation, Found, Needs, Changelog, Owner, Disk freed. none where nothing, and then the bare word: Deviation: none (a note) cuts the batch (batch.nika compares exactly); a note goes into the commit message. Found: is only for a defect outside your change (it cuts the batch); how you solved your own step goes into the commit message. Deviation: is only a step of the brief built otherwise than written or not built (a choice the brief left to you, such as keep what X needs and say so, is no deviation: it goes into the commit message; nor is building two steps in one commit when every step is built, e12-3a 2026-10-27: say so in Body:); how you verified (e.g. a test not run against the unfixed compiler) goes under Tests:. A noop says why under Tests: (what was probed), not under Deviation:. Final answer, one line: done <sha>, report <path> (or BLOCKED: ... / PUSH REJECTED ...).

Attribution: Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Claude-Session: https://claude.ai/code/session_01GFeMqxRbtUMiGVyDMxsvEq

This site is open source. Improve this page.