mut out: T from n written where there is no body, and Part I’s sentences on what a mut parameter receives (ADR-views-v4 D32)Open and answer this issue on GitHub.
blocked, yaml · opened 2026-11-21 · updated 2026-11-22 · 3 comments
Part of #2425 After #2425
ADR-views-v4 D32: a function may put a view of another lent parameter into a mut parameter; the source is inferred from the body, and from is written only where there is no body: a trait’s method, a function type, a foreign or Rust function (D14’s places), as fn(n: Node, mut out: Vec[Event] from n). #2425 builds the inferred rule; this part builds the written form and the specification’s sentences. It is not built: the run of 2026-11-21 on #2425 reported it as not built.
mut p: T from a | b in D14’s places, checked against an implementation’s body where there is one, and refused where a body stores a view the from does not name.
tests/compiler/tests/: a trait method whose implementation stores a view into its mut parameter without from (refused); the same with from (accepted).mut parameter receives, citing D32.A trait method written mut out: Vec[E] from n accepts an implementation that stores a view of n into out, the same method without from is refused, and Part I 6.5 and 6.6 each say what a mut parameter receives, citing D32; the report gives a Found: line per finding.
Split from #2425 by Claude Code
Brief queued: issue-2570
agent: builder model: opus max_turns: 200 budget_usd: 30 effort: medium —
Your work order is issue #2570, inlined below with its comments. There is no
brief written around it: plan your own steps from its To build list, build
them in order, commit after each finished step, and end when its Done when
holds (or at the limits of builder.md, reporting what is left). The
facts in your prompt are Core of docs/builder-facts.md; more on a topic:
nikaia run scripts/syntax.nika -- KEYWORD, a probe: nikaia run scripts/probe.nika -- SNIPPET.
Measure the issue against docs/issues.md while you work: what it lacked,
what was wrong in it. That answer goes into the report’s Issue: field.
A finding, a changed plan or a finished item also goes into the issue as a
comment (gh api repos/Nikaia-Foundation/Nikaia/issues/2570/comments -F body=@file,
ending with the Claude Code footer), rule I13.
develop in the main checkout; other agents’ uncommitted files are not yours: never touch or stage them.target/fast/nikaia run scripts/commit.nika -- REPORT (it adds exactly the report’s Files:); the driver pushes.cargo build --profile fast -p nikaia, lower-std and its fixpoint when a tools/*.nika changed, cargo fmt, cargo clippy --all-targets -- -D warnings, nikaia run scripts/pre-push.nika, the tests the issue names and the ones your change touches.CHANGELOG.md, badges and NK codes are the supervisor’s. New tests in Nikaia only: a Rust test file an older issue names is built as a tests/compiler/tests/ program, no Deviation: and no Issue: point (I9, #1671).Body:. Found: is only for what lies outside the area, cannot be fixed this run or needs a decision; the driver files it as an issue.std or the toolchain lacks stops the work, unless an ADR or Part I-III refuses it (name it): Result: blocked, Found: the gap with a probe, Needs: supervisor decision.NIKAIA_CACHE_LIMIT=2G; at the end delete your own clone’s target/ and target/release/nikaia-scratch.suspected, or does not mark (docs/issues.md I7), is a hypothesis: run the check that settles it (nikaia run scripts/where.nika -- NAME, the probe with a trace, callgrind for a cost) before you build on it (owner, 2026-11-16). Shown false: say so in Issue: as wrong I7: <what the check showed> (the driver comments it on the issue) and follow the real cause.Result: partial with what you ruled out, the probe, and the suspected file and function./home/user/Nikaia/docs/briefs/yaml/issue-2570.md.report.md)Fields: Result, Files, Commit, Body (optional), Fixes, Pushed, Tests, Gate, Deviation, Found, Needs, Changelog, Issue, Owner (a question for the owner), Comment (#N <text>, what to say on another issue; the driver posts it, one line each), Friction, Disk freed, and last Attribution: with your commit trailer lines below it.
Result:, Gate: (green or red <check>), Deviation:, Found: and the other fields with nothing to say hold the bare word: done, none. Anything after it reads as content.Result: done only when the issue’s Done when holds; partial with the items left otherwise.Deviation: only for an item of the issue built otherwise than written, or not built. Found: only for a defect outside your area, or one this run cannot fix: one defect per Found: line, with its probe and the output it gives, only the shapes that fail today, and the suspected file and function or cause unknown (#1695); a by-design behaviour is none (#1677). A correct program your own change refuses (a fail-closed check’s false refusal) is no Deviation: but one Found: line per shape, with its probe (#1680). Everything else goes into Body:; how you verified goes into Tests:.Issue: by docs/issues.md, How a run judges its issue: complete, or broke I<n>: ..., rules-gap: ..., wrong I<n>: ..., joined with ;; a point your own commit built gets (built) after its kind (rules-gap (built): ...), and the driver does not file it. complete is the bare word: prose after it (complete; the earlier runs ...) is filed as an improvement issue (#1931); history or a note for your own issue goes into Body: or Comment: #N <text>.done <sha>, report <path> (or BLOCKED: ... / PUSH REJECTED ...).Generated by Claude Code
Run: issue-2570, Result: blocked
Tokens: input 8, cache read 94495, cache write 16282, output 1106 Cost: 0.20 USD, time 0 min 18 s, turns 4
Result: blocked
Pushed: none
Tests: none
Gate: green
Deviation: none
Found: #2570 is After #2425 (the inferred rule of ADR-views-v4 D32 a mut parameter receives), and #2425 is still open: no Fixes #2425 in git log -400 of HEAD or origin/develop, only Part of #2425 commits (4cd47895 “A mut parameter may receive views of another lent text parameter, inferred”, a54a3365)
Needs: #2425
Changelog: none
Issue: complete
Friction: none
Disk freed: none
Attribution:
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01UVxJDwSpspVvrTQMgwWNUS
Fixes #2425 commit, fetched origin/develop and searched again, then wrote the report. The only open question was how to read the state of A mut parameter may receive views of another lent parameter, inferred (#2425): the prompt does not include that issue, so I fell back on the git log -400 --grep='Fixes #N' rule.After #2425.git log -400 --grep='Fixes #2425' on HEAD and on origin/develop, plus git log --grep='#2425' to see the Part of #2425 commits. None were wasted. I ran no probe: the dependency was open, so the run stopped before probing, as the rules say.After/Needs/Blocked by in the prompt, or not queue an issue whose After #N is still open. As it is, this run was spent only to find the block.rules-gap: #2570 depends on an open #2425 but was queued as ready. No rule in docs/issues.md stops a ready label on an issue whose After #N is still open.complete for its purpose: it has a To build list, a Done when and the places D14 names.| Fact: Core | An issue that says After #N gets no state for #N in the prompt; it counts as closed only if git log -400 --grep='Fixes #N' finds the fix on HEAD or origin/develop. Part of #N commits do not close it. |
Generated by Claude Code
Driver: not queued, this issue waits for #2425, #2758, which is still open (#1819). Set ready again when it is closed.
Generated by Claude Code