Skip to content

D22 compliant and its 66 fixtures promoted; D44 extraction copy glue (#1159); aarch64 seeds cut from 3d73b98c (#2305); pub_lint one pass (#2211) - #2451

Merged
ehartford merged 4 commits into
mainfrom
noncompliance-stack
Oct 18, 2026
Merged

ehartford merged 4 commits into
mainfrom
noncompliance-stack

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Four commits, one battery. The work was staged by another agent in an uncommitted worktree; this PR is its review, split into its logical changes, with one fixture restored and its own verification.

  1. D118 (D118: linux-aarch64 and windows-aarch64 seeds that accept List #2305): linux-aarch64 and windows-aarch64 seeds cut from main 3d73b98 as assets of the pinned seed release; seed.lock and the four workflows carry their digests. Evidence: the Linux seed's native docker bootstrap reached stage2 == stage3 over all 16 units and passed :no-host-toolchain (its wasm-tests red is the container's missing wasm runtime, exit 127); the Windows seed is the Mac cross build (green). The seed workflow's Windows cross link failed on main with undefined symbol: with_clang_main; the two Windows cross-link actions now add the clang main link lines.
  2. D44 (Ownership audit accepts shallow owning HashMap keys/values/items snapshots #1159): ListSlot.get, ListRange.get, SlotMapSlot.get, HashMapEntry.get / or_insert refuse a non-Copy element in Sema and run copy glue in codegen; or_insert / set retain the stored key and drop the unused default; analyze audit:all fails on an extraction intrinsic over a non-Copy element. Two new tests.
  3. D22: all 66 fixtures of test/non_compliant/d22 promoted (11 behavior, 37 compile-error, 19 debug-alloc); the one the other agent deleted instead (err_d22_raw_pointer_not_contextual_copy) is promoted here, since the compiler already rejects it. Compiler: xs[i] origin mask, the non-Copy join remedy text, comptime collection return typing. The promoted fixtures' NON-COMPLIANT headers are rewritten. CLAUDE.md, the D22 and D44 entries, the plan and the AI guide (regenerated template) no longer say NON-COMPLIANT.
  4. D100 (D100: a lint removes pub from items nothing outside the package uses #2211): tools/pub_lint.w reads facts once instead of three select: compilations. The two .clone() the draft added on value lists are dropped (main's spelling compiles).

Verification (pinned seed nightly-20261015-local-1-efcb91c30a6a, on cbf16a6): :gate green (228 s); :drop-audit, :debug-alloc-tests, :deep-debug-tool-tests green; ceremony census diff ok (two move the draft added are gone); the 75 targeted fixtures green under stage1 (the one red, test/d_acceptance/issue64_unwrap_chain_receivers.w, fails identically on main under the plain runner and is untouched here); battery GREEN, 489 s wall (out/battery/status.txt).

Eric Hartford added 4 commits October 18, 2026 08:40
…the Windows cross link carries with_clang_main (#2305)

linux-aarch64 was bootstrapped natively in tools/docker/linux-aarch64 to a
stage2 == stage3 fixpoint over all 16 units and passed :no-host-toolchain
(the published binary is that run's release compiler, byte for byte).
windows-aarch64 was cross-built from the same tree on the Mac; the native
lane bootstraps and verifies it. Both are assets of the pinned seed release
nightly-20261015-local-1-efcb91c30a6a, and the lock's digests are theirs.

The seed workflow's Windows cross link failed on main with
'lld-link: error: undefined symbol: with_clang_main' since #2447 linked the
embedded clang driver: the two Windows cross-link actions now add the clang
main link lines the native link already has.
…n-Copy element; the ownership audit checks the boundary (#1159)

ListSlot.get, ListRange.get, SlotMapSlot.get, HashMapEntry.get and
HashMapEntry.or_insert read an element out of a container that keeps it,
so the element must be Copy (§2.3: transport is not duplication): Sema
refuses a non-Copy element with a named error, and codegen runs the
element's copy glue (a str retains) instead of byte-copying it. or_insert
and HashMapEntry.set retain the key they store, or_insert drops the default
it did not insert, and set releases the overwritten element through the
owned-insert path. analyze audit:all fails on an extraction intrinsic
whose element type is not Copy, the validator #1159 asked for.

D44's entry and the AGENTS.md paragraph record the compiler compliant:
#1158 and #1187 are closed, and the five non-compliance items are done.
…/non_compliant for the active lanes

The d22 matrix (test/non_compliant/d22, excluded from the green runner
since 2026-07-23) is promoted: 11 behavior tests, 36 compile-error tests
and 19 debug-allocator tests, each under its lane's name. What the
promotion needed: an indexed element `xs[i]` is typed `&Elem` (D27), so
its storage-origin mask reads a stored view handle only when the element
is itself a view; the non-Copy join diagnostic names the remedy (clone the
borrowed side, borrow the owned side, or implement Clone); comptime
returns a list or map value under the declared collection type, knows
`capacity` and the remaining builtin collection methods, and gives an
untyped integer or tuple a semantic type. The D27 matrix README (already
fully promoted) goes with it.

CLAUDE.md, the D22 entry, the plan and the AI guide (and its generated
template) no longer call the compiler NON-COMPLIANT for D22.
Three select: queries over the root (declarations, types, references) were
three full compilations; one `facts` run feeds the same three extractions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant