interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

GitHub aien-dev/omega-mv#1035 (code only)

open derived 970a3400c96e60e5 #1035

Imported from GitHub aien-dev/omega-mv#1035 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base d3d1b1bc7e3b970016a2176435f78c8f0251bad1 · Head 809197d92f40a0c11e2b69c2fb75f1306cbe3076

github-advanced-security[bot] commented on ports/macos-arm64/tests/output-paths.mjs line 55 on 2026-11-05 01:58 UTC

github-advanced-security[bot] reviewed (COMMENTED) on 2026-11-05 01:58 UTC

Fetch it

A git bundle of the pull request's head, 79404 bytes.

curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/970a3400c96e60e5.bundle -o 970a3400c96e60e5.bundle
git fetch 970a3400c96e60e5.bundle refs/pull/1035/head

Raw bundle · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/omega-mv
1035
809197d92f40a0c11e2b69c2fb75f1306cbe3076
{"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":1035,"url":"https://github.com/aien-dev/omega-mv/pull/1035","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:17Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index f4b156b78..2cf23226d 100644
--- a/.crumb
+++ b/.crumb
@@ -108,14 +108,14 @@
         }
       ],
       "children_root": "sha256:1d48c632f299857289d333d13ffe57e4120f1806830e6b078fbbdef86b991316",
-      "compiled_at": "2026-11-04T13:14:48Z",
+      "compiled_at": "2026-11-05T04:17:21Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:03322c058e6daf67dc09c504b09d6743f56715a8acd02d200dc175ac9b1bcaf2",
-      "evidence_files": 15321,
-      "evidence_root": "sha256:e4e83d089b086dd1dcab0cfd4babe338eab359310746dbddc14edd655012c33f",
-      "files": 23689,
-      "generated_at_commit": "e6d145055d63409dcc74fe3fcd8acb2b9307aa06",
-      "source_tree": "sha256:08f843c50dcf726e48c812d2fb6b39a06bd61c4fdbed3381427c056a6a319d1d"
+      "digest": "sha256:9591abad45d70669b2d7fffb5b6042dba76b26ed79ca8b3036045cd4d90ce844",
+      "evidence_files": 15361,
+      "evidence_root": "sha256:280f37c4b8157718e2140055b88d1a6e29e5d6a4ded9fcb17b590faf7e8e1968",
+      "files": 23753,
+      "generated_at_commit": "cd5c4c04c88e4e14dcaa540f7918d16c93c5b977",
+      "source_tree": "sha256:db91ea189a922b733670788013fd38440437b9038b68aa17723383ec1a4371ea"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/ports/macos-arm64/.crumb b/ports/macos-arm64/.crumb
new file mode 100644
index 000000000..87d041983
--- /dev/null
+++ b/ports/macos-arm64/.crumb
@@ -0,0 +1,20 @@
+{
+  "extensions": {
+    "generated": {
+      "children": [],
+      "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+      "compiled_at": "2026-11-05T04:17:21Z",
+      "compiler": "crumb-compile/1",
+      "digest": "sha256:cc759814d2273597ad214a517e0a961e9b0c226189cf1564ae1f47a13de2784a",
+      "evidence_files": 40,
+      "evidence_root": "sha256:8e5efa0aba446d22eb522927e74b4a3c7c6f384dc8095c40f06c7d09574f852c",
+      "files": 64,
+      "generated_at_commit": "cd5c4c04c88e4e14dcaa540f7918d16c93c5b977",
+      "source_tree": "sha256:dbd3e8426e289de8988ec4cab927e910049e48abe4f9b7ad8e37b9b3fd83950e"
+    }
+  },
+  "layer": "port",
+  "name": "macos-arm64",
+  "purpose": "L615 additive bounded seeded ELF to Mach-O ARM64 adapter. Production computation is handwritten Omega. Native Mac execution and independent review belong to parent L613. Never edit shared seed compiler or claim full issue634 qualification.",
+  "schema_version": "1.0.0"
+}
diff --git a/ports/macos-arm64/.gitignore b/ports/macos-arm64/.gitignore
new file mode 100644
index 000000000..567609b12
--- /dev/null
+++ b/ports/macos-arm64/.gitignore
@@ -0,0 +1 @@
+build/
diff --git a/ports/macos-arm64/ACCEPTANCE.md b/ports/macos-arm64/ACCEPTANCE.md
new file mode 100644
index 000000000..c9a4b9fa4
--- /dev/null
+++ b/ports/macos-arm64/ACCEPTANCE.md
@@ -0,0 +1,53 @@
+# Accepted bounded macOS ARM64 target milestone — L615
+
+## Verdict
+
+The scoped L615 milestone is ACCEPTED. This is not full macOS toolchain support.
+Issue634 remains OPEN for platform install, project workflow, broader language,
+ABI, runtime attachment and package gates. Integration remains with Renda/L624.
+
+The handwritten Omega adapter and original full source review are pinned to
+f43e6755d95a9783040b5ec2147ae519e9b01a11. A parent host-wrapper correction at
+80d88a6af1425d28881daf8830eb966dc0ae9f3c fixes directory destinations without
+changing adapter source, producer binary or any of15target artifacts.
+Original independent review SHA256:
+8df2113552666e3ec034100264d2cd7b8fdb166e0a1f5747070033e6c7cf1fe1.
+Final focused correction review SHA256:
+a6e0f82b8a550804f7e192fb1d6bf023ef258329ec12aed547e966f272cf7729.
+The final correction review has no findings and confirms the prior Minor fixed.
+Both original reports are preserved, not replaced by parent summaries.
+
+## Executed evidence
+
+- Source-built Spark combined gate67checks, including6output-path regressions.
+- Retained four real pre-fix RED directory/symlink-directory failures and GREEN.
+- Original10Linux native fixtures,5compiled controls,172hello-byte mutations.
+- Parent physical ARM64 Mac, macOS26.6.2:12native behavior cases passed, with
+  actual ad-hoc signing/strict verification, original artifacts and raw receipts.
+- All15unsigned Mach-O artifacts plus adapter source and seed-built producer
+  match original Mac replay inputs exactly:17identities checked after correction.
+- Apple dyld/libSystem/signing and Linux GNU/shell/Node host orchestration are
+  disclosed dependencies. No C/Rust/LLVM production compiler/runtime fallback.
+
+See evidence/parent-native/, evidence/review-fix/ and evidence/final-review/.
+The Spark combined gate's local macOS NOT_RUN label is deliberately retained:
+it did not execute macOS programs. The separate physical-Mac receipt supplies
+that evidence. No new native run is invented for a wrapper-only correction.
+
+## Canonical integration shape
+
+Public-main base: a8ffd2b912c84197d08f963b05f9c7d8b30a3f8a.
+Candidate branch: dev/macos-target-public-L615 in aien-dev/omega-mv.
+This carries only ports/macos-arm64/ into public main, with exact reviewed module
+bytes and evidence, avoiding294unrelated ancestor seed/compiler files from the
+original57f5f425-based worker branch. L408 compiler ownership is untouched.
+
+Supersedes dev/macos-arm64-L615 and verify/macos-native-L615 as merge candidate;
+retain their immutable source and receipt pins as provenance, do not merge those
+whole history branches independently. No PR, merge, release or deployment was
+performed by this coordinator. Desk L624 retains all normal acceptance policy.
+
+This accepts only validated bounded seed-ELF to ARM64 Mach-O integer/control
+flow and one exact hello, with explicit refusal grammar in CONTRACT.md. It is
+not an installable native Mac compiler, general Apple ABI or universal platform
+support. Minimum OS claims beyond the actual tested26.6.2host remain unqualified.
diff --git a/ports/macos-arm64/CONTRACT.md b/ports/macos-arm64/CONTRACT.md
new file mode 100644
index 000000000..7f709b1c3
--- /dev/null
+++ b/ports/macos-arm64/CONTRACT.md
@@ -0,0 +1,155 @@
+# L615 target contract, revision 1
+
+This is a bounded source-built format/target adapter, not a source migration or
+complete macOS toolchain. Production logic is handwritten `adapter.om`, compiled
+by the immutable seed-born compiler. Input is an explicitly validated subset of
+that compiler's Linux ELF output. It emits an unsigned dynamic ARM64 Mach-O.
+The shell drivers handle files; Node and LLVM are external qualification oracles.
+No C, Rust, Python, LLVM or Apple compiler constructs the production output.
+
+## Pins and ownership
+
+Baseline source `57f5f4258cebf3d5b2c22853cd062e351265c525`; shared compiler
+SHA256 `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`,
+source ancestry `29b12760`, reviewed payload
+`70459b34b8c4840c48c2b15f2edc4b2a7c39ea75`. The compiler hash is checked
+immediately before every invocation, including compiled negative controls.
+L408 owns compiler source; L615 never builds or edits it. L613 owns native Mac
+execution, independent review and final integration. Issue634 remains OPEN.
+
+## Input closure
+
+Read raw stdin to EOF, at most 16384 bytes. Fixed 16385-byte input storage detects
+one excess byte. Minimum 212 bytes, multiple of four. Exact ELF64 little-endian
+AArch64 ET_EXEC header: entry 0x4000b0, program-header offset64/count2/size56,
+no section table or relocations. RX segment starts at file0/VM0x400000,
+file and memory sizes equal exact input length. RW segment at0x10000000,
+file size0/memory size8388608, alignment4096. All other bytes of the 176-byte
+header must equal the compiler's zero-filled template. Globals change memory
+size and are refused. Extended, stripped, linked, PIE, foreign, old or partially
+recognized ELF layouts are refused.
+
+The branch at176 must lead exactly to the last24 bytes, a fixed bootstrap:
+MOVZ X28,#0x1000,LSL16; MOVZ X16,#0x1080,LSL16; MOV SP,X16; BL main;
+MOVZ X8,#93; SVC0. The BL must lead to180 (leaf family), or196 (exact hello).
+Void-main bootstraps and additional source functions are outside the closure.
+
+Leaf family: every 32-bit body instruction from180 to bootstrap is validated.
+Integer register operands are X0..X17 or XZR, with destination restrictions in
+the decoder; no X18, X19..X29, SP or LR access. Only exact RET X30 is allowed.
+The following instruction forms, as expressed by the masks in adapter.om, are
+accepted. Semantics are the corresponding AArch64 instructions, including W
+register zero extension, NZCV updates, modular unsigned arithmetic and division.
+The adapter preserves bytes and relative distances for every unchanged word.
+
+- 64-bit MOVN/MOVZ/MOVK, four halfword positions, destination X0..X17.
+- 32/64-bit ADD/ADDS/SUB/SUBS shifted-register form with shift zero.
+- 64-bit ADD/ADDS/SUB/SUBS immediate, imm12, shift zero; SP source forbidden;
+  destination31 allowed only for flag-setting comparisons (XZR).
+- 64-bit SBFM/UBFM, CSET conditions0..13, AND/ORR/EOR unshifted registers.
+- 64-bit UDIV/SDIV, LSLV/LSRV/ASRV, MUL with fixed Ra=XZR; 32-bit MUL.
+- B, B.cond conditions0..13, 64-bit CBZ/CBNZ. Signed targets must stay in the
+  body on a word boundary, and cannot point at the SVC half of an exit pair.
+- Exact RET X30 and exact MOVZ X8,#93; SVC0 pairs (normal/trap exit).
+  No orphaned syscall or syscall-number instruction is accepted.
+
+The final body word must be RET, SVC of a validated exit pair, or B. Conditional
+fallthrough into bootstrap is refused. No calls, memory access, globals, local
+arrays, structs, text addresses, ADR/ADRP, indirect branches, pointer operations,
+sign-extension checks, FP/SIMD, atomics, PAC, system registers, exceptions or
+unknown encodings are accepted in the leaf family. This intentionally refuses
+some otherwise valid integer source constructs. Loop termination and operation
+counts retain the source program's semantics. There is no proof of termination
+for adversarial hand-authored machine-code inputs. Replay harnesses impose a
+separate child timeout; this is not a sandbox for hostile code.
+
+Hello family: exactly376 bytes, with every byte from176..375 matching the
+handwritten word specification in `hello`. The full header is also validated.
+This is precisely the pinned compiler's result for tests/hello.om: the16 bytes
+`hello omega mac\n`, one write to stdout, return0 iff16 bytes were written,
+otherwise74. Payload bytes, FD, length, addresses, stack save/restore, bounds,
+error branch, trap tails, entry and return instructions have no wildcard.
+Other strings and every stdin program are refused. No compiler keyword was
+added or inferred. Input provenance alone is not authentication: any bytes
+matching the same frozen language are accepted regardless of their producer.
+
+## Complete target transformations and runtime ABI
+
+The input payload [176,length) is copied to Mach-O file offset16384. All original
+PC-relative branches retain distances. Bootstrap uses X28=0, NOP, NOP in place
+of Linux stack relocation, preserving the OS-provided aligned stack. The leaf
+family does not access memory. Exact hello uses48 bytes of stack, never recurses,
+saves/restores X30, and leaves its original stack pointer restored. X18 is never
+used. Programs terminate through a syscall, so no foreign caller receives
+modified callee-saved state. This internal leaf calling convention is not a
+public Apple C ABI and does not accept arguments, argc/argv or runtime callbacks.
+
+Every validated Linux exit pair becomes MOVZ X16,#1; SVC #0x80. X0 holds the
+status; the observable process exit status is its low8 bits. Trap tails retain
+100+code. On the exact hello, the two-word absolute text address becomes
+ADR X1,#-84; NOP, independent of ASLR slide. Its Linux write pair becomes BL
+appended-thunk; NOP. The four-word thunk is MOVZ X16,#4; SVC80;
+CNEG X0,X0,CS; RET. Darwin carry-set errors become negative results. The caller
+only distinguishes16 from all other results, yielding0 or74. Short writes are
+not retried; no errno numeric equality between Linux and Darwin is claimed.
+Darwin may clear X1 on syscall return; exact hello's subsequent test only uses
+X0, and its saved arguments and LR are restored as emitted by the compiler.
+SIGPIPE behavior is inherited from the OS; the receipt tests closed stdout
+(EBADF), not a closed pipe. Stdin, errno exposure, sockets and other host calls
+are outside this milestone.
+
+Output is exactly32784 bytes, little-endian ARM64_ALL MH_EXECUTE,
+MH_NOUNDEFS|MH_DYLDLINK|MH_TWOLEVEL|MH_PIE. Eleven load commands totaling608
+bytes follow the32-byte header: PAGEZERO (4GB), RX TEXT (32KB, one text section),
+read-only LINKEDIT (16KB VM,16-byte file), empty DYLD_INFO_ONLY, SYMTAB (empty
+symbols/16-byte empty strings), DYSYMTAB (empty), LOAD_DYLINKER /usr/lib/dyld,
+LOAD_DYLIB /usr/lib/libSystem.B.dylib, BUILD_VERSION macOS11.0, fixed format UUID,
+MAIN pointing at the adapted bootstrap. This declares an intended minimum;
+macOS11 and later versions are NOT_RUN until actual hardware receipts exist.
+No bind, rebase, external symbols, TLS, unwinding, initializers or fixups exist.
+The optional16-byte write thunk follows the copied code; otherwise zero padding
+occupies that reserved space. All other output bytes start at zero.
+
+Dyld and libSystem are required native host facilities. No program computation
+is delegated to libc. Apple production kernels refuse static ARM64 executables
+and require a4GB inaccessible page zero. Apple ARM64 code signing remains a
+separate, explicitly disclosed host dependency: parent copies unsigned output
+and uses `/usr/bin/codesign --force --sign -`, then strict signature verification.
+No computation-independence claim includes signing or Apple loader behavior.
+No native macOS PASS follows from an ELF run, LLVM parsing, disassembly or any
+emulator. No emulator is used in this gate.
+
+## Refusal precedence and output preservation
+
+First error wins, in this order:
+
+| Exit | Meaning |
+| --- | --- |
+|20|stdin read error|
+|21|oversized, too short, or partial word|
+|22|wrong ELF magic|
+|23|wrong ELF machine ISA|
+|24|any other header/segment discrepancy|
+|25|bootstrap, entry branch or main target mismatch|
+|28|hello-family length/complete byte-template mismatch|
+|26|leaf terminal shape, unknown instruction/register or malformed syscall pair|
+|27|otherwise recognized branch outside body or into exit SVC|
+|29|output write failure after successful validation|
+
+Leaf terminal shape is checked before the per-word scan, which is increasing
+file offset. Branch target validation occurs at each recognized branch. These
+ordering rules distinguish malformed inputs with multiple defects.
+No byte is written to stdout before complete validation. The native adapter has
+fixed global input/output pools, no heap, bounded input scan and finite validation
+loops. `target.sh` writes to a temporary sibling and renames only on success,
+preserving an existing output's bytes and mode on refusal. Direct shell redirection
+to a final filename would truncate it before the adapter starts, so consumers
+requiring preservation must use target.sh or equivalent atomic host glue.
+File I/O, timeout, chmod, rename, build orchestration and checks remain disclosed
+shell/Node host glue, not seeded host-facility retirement.
+
+Host wrapper output paths must not name directories (including symlinks to
+directories). Both build.sh and target.sh refuse these paths with status73,
+preserving the directory and its contents. Publication uses GNU mv -T on the
+Linux construction host so a directory appearing after preflight cannot be
+silently treated as a container destination. This is not a hostile-race sandbox.
diff --git a/ports/macos-arm64/README.md b/ports/macos-arm64/README.md
new file mode 100644
index 000000000..14d16d66e
--- /dev/null
+++ b/ports/macos-arm64/README.md
@@ -0,0 +1,34 @@
+# Bounded macOS ARM64 target (L615)
+
+The handwritten Omega adapter builds selected seed-compiled integer/control-flow
+programs and one exact hello into native ARM64 Mach-O candidates. Native macOS
+execution and independent review are **NOT_RUN**. Issue634 stays **OPEN**.
+This milestone does not qualify a Mac SDK, installer or complete developer package.
+
+On the assigned Linux ARM64 Spark worktree:
+
+```sh
+ports/macos-arm64/build.sh
+quiet-build node ports/macos-arm64/tests/run.mjs
+ports/macos-arm64/target.sh INPUT.elf OUTPUT.macho
+```
+
+The build script verifies the immutable shared seed compiler's hash immediately
+before consuming it. The target adapter verifies the entire input before writing.
+The file wrapper preserves existing output on refusal. Read [CONTRACT.md](CONTRACT.md)
+for exact instruction/header/ABI/resource/refusal closure and host dependencies.
+
+Pure leaf integer/control flow is supported within the frozen instruction subset.
+The hello family is precisely [tests/hello.om](tests/hello.om), including its
+stdout/error behavior; changed literals or syscall shapes are refused. Stdin,
+arrays, calls and other program forms are explicitly refused. All production
+computation and file construction use seeded Omega. Shell/Node orchestrate tests
+and files; LLVM is an external format/instruction oracle. Apple dyld/libSystem
+and host signing tools are required and are not claimed to be independent.
+
+[evidence/initial-red.log](evidence/initial-red.log) preserves the original failing
+boundary assertion against real seed output. Qualification artifacts are in
+`build/qualification/`, with full source/input/output hashes, native Linux exits,
+refusals and compiled negative controls. [tests/mac-replay.sh](tests/mac-replay.sh)
+is the parent-owned native Mac gate. Export instructions and raw receipts are
+recorded in [evidence/RESULTS.md](evidence/RESULTS.md).
diff --git a/ports/macos-arm64/adapter.om b/ports/macos-arm64/adapter.om
new file mode 100644
index 000000000..d3f23129a
--- /dev/null
+++ b/ports/macos-arm64/adapter.om
@@ -0,0 +1,563 @@
+note L615 bounded seed ELF to Darwin ARM64 target adapter, revision 1.
+note All input is validated before stdout is written. See CONTRACT.md.
+global inp uchar 16385
+global hdr uchar 176
+global out uchar 32784
+
+text pzero "__PAGEZERO"
+text ptext "__TEXT"
+text plink "__LINKEDIT"
+text stext "__text"
+text dyld "/usr/lib/dyld"
+text system "/usr/lib/libSystem.B.dylib"
+
+fn rd p ulong to ulong
+a = ulong get inp p
+b = shl ulong get inp add p 1 8
+c = shl ulong get inp add p 2 16
+d = shl ulong get inp add p 3 24
+ret or or a b or c d
+end
+
+fn wr p ulong v ulong to void
+put out p uchar and v 255
+put out add p 1 uchar and shr v 8 255
+put out add p 2 uchar and shr v 16 255
+put out add p 3 uchar and shr v 24 255
+end
+
+fn hw p ulong v ulong to void
+put hdr p uchar and v 255
+put hdr add p 1 uchar and shr v 8 255
+put hdr add p 2 uchar and shr v 16 255
+put hdr add p 3 uchar and shr v 24 255
+end
+
+fn checkhdr n ulong to void
+hw 0 1179403647
+hw 4 65794
+hw 16 11993090
+hw 20 1
+hw 24 4194480
+hw 32 64
+hw 52 3670080
+hw 56 2
+hw 64 1
+hw 68 5
+hw 80 4194304
+hw 88 4194304
+hw 96 n
+hw 104 n
+hw 112 4096
+hw 120 1
+hw 124 6
+hw 136 268435456
+hw 144 268435456
+hw 160 8388608
+hw 168 4096
+for i ulong 176
+if ne get inp i get hdr i
+exit 24
+end
+end
+end
+
+note Every word of the hello family is fixed, including text, bounds, stack,
+note syscall registers, branch targets and bootstrap. No wildcards.
+fn hello p ulong to ulong
+if eq p 176
+ret 335544364
+end
+if eq p 180
+ret 1819043176
+end
+if eq p 184
+ret 1835999343
+end
+if eq p 188
+ret 543254373
+end
+if eq p 192
+ret 174285165
+end
+if eq p 196
+ret 3531603969
+end
+if eq p 200
+ret 3531604482
+end
+if eq p 204
+ret 3531604483
+end
+if eq p 208
+ret 3942842463
+end
+if eq p 212
+ret 1409287144
+end
+if eq p 216
+ret 3405906019
+end
+if eq p 220
+ret 3942842431
+end
+if eq p 224
+ret 1409287048
+end
+if eq p 228
+ret 3506488319
+end
+if eq p 232
+ret 3946603519
+end
+if eq p 236
+ret 1409287011
+end
+if eq p 240
+ret 4177527776
+end
+if eq p 244
+ret 4177528801
+end
+if eq p 248
+ret 4177529826
+end
+if eq p 252
+ret 4177530851
+end
+if eq p 256
+ret 4177531902
+end
+if eq p 260
+ret 3531604000
+end
+if eq p 264
+ret 3531609729
+end
+if eq p 268
+ret 4070574081
+end
+if eq p 272
+ret 4181723120
+end
+if eq p 276
+ret 2333081633
+end
+if eq p 280
+ret 4181724130
+end
+if eq p 284
+ret 3531606024
+end
+if eq p 288
+ret 3556769793
+end
+if eq p 292
+ret 4181726206
+end
+if eq p 296
+ret 2432746495
+end
+if eq p 300
+ret 4043325471
+end
+if eq p 304
+ret 1409286241
+end
+if eq p 308
+ret 3531603968
+end
+if eq p 312
+ret 3596551104
+end
+if eq p 316
+ret 3531606336
+end
+if eq p 320
+ret 3596551104
+end
+if eq p 324
+ret 2432798752
+end
+if eq p 328
+ret 3531606952
+end
+if eq p 332
+ret 3556769793
+end
+if eq p 336
+ret 3531604065
+end
+if eq p 340
+ret 402653180
+end
+if eq p 344
+ret 3531604161
+end
+if eq p 348
+ret 402653178
+end
+if eq p 352
+ret 3533832220
+end
+if eq p 356
+ret 3533836304
+end
+if eq p 360
+ret 2432696863
+end
+if eq p 364
+ret 2550136790
+end
+if eq p 368
+ret 3531606952
+end
+if eq p 372
+ret 3556769793
+end
+ret 0
+end
+
+note Integer register subset X0..X17 plus XZR. X18 and X19..X30 refused.
+note X30 only appears in the exact RET instruction handled separately.
+fn reg r ulong to bool
+ret or le r 17 eq r 31
+end
+
+note Strict operation masks: no memory, indirect branches, FP, system registers,
+note SP, ADR/ADRP, calls, literals, or extension forms outside these patterns.
+fn integer w ulong to bool
+d = and w 31
+s = and shr w 5 31
+t = and shr w 16 31
+if not reg d
+ret false
+end
+note 64-bit MOVN/MOVZ/MOVK. All four halfwords allowed.
+a = and w 4286578688
+if or eq a 2457862144 or eq a 3531603968 eq a 4068474880
+ret le d 17
+end
+if not reg s
+ret false
+end
+note ADD/SUB immediate: Rn=31 means SP, so forbidden. Rd=31 only for flags.
+a = and w 4290772992
+if or eq a 2432696320 or eq a 2969567232 or eq a 3506438144 eq a 4043309056
+if eq s 31
+ret false
+end
+ret or le d 17 ne and w 536870912 0
+end
+note SBFM/UBFM, 64-bit fields only.
+a = and w 4290772992
+if or eq a 2470445056 eq a 3544186880
+ret le d 17
+end
+note CSET only, XZR operands fixed and condition <=13.
+if eq and w 4294905824 2594113504
+ret and le d 17 le and shr w 12 15 13
+end
+if not reg t
+ret false
+end
+note Unshifted 32/64 ADD/ADDS/SUB/SUBS and logical operations.
+a = and w 4292934656
+if or eq a 2332033024 or eq a 2868903936 or eq a 3405774848 eq a 3942645760
+ret true
+end
+if or eq a 184549376 or eq a 721420288 or eq a 1258291200 eq a 1795162112
+ret true
+end
+if or eq a 2315255808 or eq a 2852126720 eq a 3388997632
+ret true
+end
+note UDIV/SDIV, variable shifts, MUL with Ra=XZR, all 64-bit.
+if or eq a 2596276224 or eq a 2596277248 eq a 2596282368
+ret le d 17
+end
+if or eq a 2596283392 or eq a 2596284416 eq a 2600500224
+ret le d 17
+end
+note 32-bit MUL.
+if eq a 453016576
+ret le d 17
+end
+ret false
+end
+
+note Signed branch displacement encoded as unsigned modular arithmetic.
+fn target p ulong x ulong bits ulong to ulong
+lim = shl ulong 1 bits
+if ge x shr lim 1
+ret sub p mul sub lim x 4
+end
+ret add p mul x 4
+end
+
+fn branch q ulong e ulong to void
+if or lt q 180 ge q e
+exit 27
+end
+note Never branch into the SVC half of an exit pair.
+if eq rd q 3556769793
+exit 27
+end
+end
+
+fn leaf e ulong to void
+note The body may not fall through into startup and call itself accidentally.
+last = rd sub e 4
+if and ne last 3596551104 ne last 3556769793
+if ne and last 4227858432 335544320
+exit 26
+end
+end
+p = ulong 180
+while lt p e
+w = rd p
+if eq w 3556769793
+if or eq p 180 ne rd sub p 4 3531606952
+exit 26
+end
+else
+if eq w 3531606952
+if or ge add p 4 e ne rd add p 4 3556769793
+exit 26
+end
+else
+if ne w 3596551104
+if eq and w 4227858432 335544320
+branch target p and w 67108863 26 e
+else
+if eq and w 4278190096 1409286144
+if gt and w 15 13
+exit 26
+end
+branch target p and shr w 5 524287 19 e
+else
+if or eq and w 4278190080 3019898880 eq and w 4278190080 3036676096
+if not reg and w 31
+exit 26
+end
+branch target p and shr w 5 524287 19 e
+else
+if not integer w
+exit 26
+end
+end
+end
+end
+end
+end
+end
+p = add p 4
+end
+end
+
+note Fixed output layout: 16KB header padding, copied payload at 16KB,
+note RX text 32KB, 16-byte read-only LINKEDIT. Signing is a separate host step.
+fn macho n ulong e ulong to void
+wr 0 4277009103
+wr 4 16777228
+wr 12 2
+wr 16 11
+wr 20 608
+wr 24 2097285
+note PAGEZERO command, 4GB.
+wr 32 25
+wr 36 72
+for i ulong len pzero
+put out add 40 i get pzero i
+end
+wr 68 1
+note TEXT segment with one section.
+wr 104 25
+wr 108 152
+for i ulong len ptext
+put out add 112 i get ptext i
+put out add 192 i get ptext i
+end
+wr 132 1
+wr 136 32768
+wr 152 32768
+wr 160 5
+wr 164 5
+wr 168 1
+for i ulong len stext
+put out add 176 i get stext i
+end
+wr 208 16384
+wr 212 1
+wr 216 add sub n 176 16
+wr 224 16384
+wr 228 2
+wr 240 2147484672
+note LINKEDIT segment.
+wr 256 25
+wr 260 72
+for i ulong len plink
+put out add 264 i get plink i
+end
+wr 280 32768
+wr 284 1
+wr 288 16384
+wr 296 32768
+wr 304 16
+wr 312 1
+wr 316 1
+note DYLD_INFO_ONLY with no rebase/bind/export data.
+wr 328 2147483682
+wr 332 48
+note SYMTAB, empty symbols, 16-byte empty string table.
+wr 376 2
+wr 380 24
+wr 384 32768
+wr 392 32768
+wr 396 16
+note DYSYMTAB, all counts zero.
+wr 400 11
+wr 404 80
+note LOAD_DYLINKER /usr/lib/dyld.
+wr 480 14
+wr 484 32
+wr 488 12
+for i ulong len dyld
+put out add 492 i get dyld i
+end
+note LOAD_DYLIB /usr/lib/libSystem.B.dylib.
+wr 512 12
+wr 516 56
+wr 520 24
+wr 528 65536
+wr 532 65536
+for i ulong len system
+put out add 536 i get system i
+end
+note BUILD_VERSION, macOS 11.0 minimum and SDK.
+wr 568 50
+wr 572 24
+wr 576 1
+wr 580 720896
+wr 584 720896
+note Deterministic UUID assigned to this format revision.
+wr 592 27
+wr 596 24
+wr 600 892417100
+wr 604 1634166095
+wr 608 1261654605
+wr 612 1
+note MAIN points at adapted bootstrap. Kernel/dyld owns stack allocation.
+wr 616 2147483688
+wr 620 24
+wr 624 add 16384 sub e 176
+for i ulong sub n 176
+put out add 16384 i get inp add 176 i
+end
+note Keep OS stack; X28=0 is the hello stack-check floor. No memory leaf uses it.
+a = add 16384 sub e 176
+wr a 3531603996
+wr add a 4 3573751839
+wr add a 8 3573751839
+note Convert only fully validated Linux exit pairs, no arbitrary syscall patch.
+p = ulong 180
+while lt p n
+if eq rd p 3531606952
+wr add 16384 sub p 176 3531604016
+wr add 16384 sub add p 4 176 3556773889
+end
+p = add p 4
+end
+end
+
+fn adapthello n ulong to void
+note Absolute Linux text materialization becomes PC-relative ADR X1 to text.
+wr 16472 285212001
+wr 16476 3573751839
+note BL write thunk, followed by NOP. Original save/restore protects X30.
+t = add 16384 sub n 176
+p = ulong 16492
+wr p or 2483027968 shr sub t p 2
+wr add p 4 3573751839
+note Darwin write X16=4, SVC80, CNEG X0,X0,CS, RET.
+wr t 3531604112
+wr add t 4 3556773889
+wr add t 8 3665835008
+wr add t 12 3596551104
+end
+
+fn main to int
+n = ulong 0
+for i ulong 16386
+r = read 0 inp n sub len inp n
+if lt r 0
+exit 20
+end
+if eq r 0
+if or lt n 212 or gt n 16384 ne and n 3 0
+exit 21
+end
+if ne rd 0 1179403647
+exit 22
+end
+if ne and rd 16 4294901760 11993088
+exit 23
+end
+checkhdr n
+e = sub n 24
+if or ne rd e 3533832220 ne rd add e 4 3533836304
+exit 25
+end
+if ne rd add e 8 2432696863
+exit 25
+end
+if or ne rd sub n 8 3531606952 ne rd sub n 4 3556769793
+exit 25
+end
+if ne rd 176 or 335544320 shr sub e 176 2
+exit 25
+end
+b = rd add e 12
+if ne and b 4227858432 2483027968
+exit 25
+end
+m = target add e 12 and b 67108863 26
+h = eq m 196
+if h
+if ne n 376
+exit 28
+end
+p = ulong 176
+while lt p n
+if ne rd p hello p
+exit 28
+end
+p = add p 4
+end
+else
+if ne m 180
+exit 25
+end
+leaf e
+end
+macho n e
+if h
+adapthello n
+end
+p = ulong 0
+while lt p len out
+w = write 1 out p sub len out p
+if le w 0
+exit 29
+end
+p = add p ulong w
+end
+ret 0
+end
+n = add n ulong r
+if ge n len inp
+exit 21
+end
+end
+ret 21
+end
diff --git a/ports/macos-arm64/build.sh b/ports/macos-arm64/build.sh
new file mode 100755
index 000000000..db8e4ce4b
--- /dev/null
+++ b/ports/macos-arm64/build.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Disclosed Linux host orchestration. Production builder is pinned seeded Omega.
+set -eu
+cd "$(dirname "$0")"
+compiler=/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e
+printf '%s  %s\n' 191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9 "$compiler" | sha256sum -c - >&2
+mkdir -p build
+if [ -d build/adapter ]; then
+    echo 'build: adapter destination must not be a directory' >&2
+    exit 73
+fi
+stage=$(mktemp build/adapter.XXXXXX)
+trap 'rm -f "$stage"' EXIT HUP INT TERM
+quiet-build timeout 60 "$compiler" < adapter.om > "$stage"
+test -s "$stage"
+chmod 755 "$stage"
+mv -T -- "$stage" build/adapter
diff --git a/ports/macos-arm64/evidence/MAC-REPLAY.md b/ports/macos-arm64/evidence/MAC-REPLAY.md
new file mode 100644
index 000000000..d61b6a165
--- /dev/null
+++ b/ports/macos-arm64/evidence/MAC-REPLAY.md
@@ -0,0 +1,39 @@
+# Final L615 native Mac replay request
+
+macOS status: NOT_RUN. Parent L613 owns this run. Issue634 remains OPEN.
+Use this final export, not the historical first-candidate export.
+
+On the actual native ARM64 Mac, copy this whole directory and open Terminal in
+that copied directory. The gate validates every source/artifact hash, creates a
+fresh receipt folder, copies each unsigned artifact to a signed sibling in that
+folder, uses Apple's codesign and otool, and executes native integer/hello cases.
+It does not install software or change system settings. Expected success is
+12 native behavior cases including closed stdout and a correctly loadable,
+source-compiled faulty address control that writes different bytes. Any signing,
+loader, timeout or behavior failure stops the gate and preserves evidence.
+
+Literal commands:
+
+```sh
+shasum -a 256 -c SHA256SUMS
+sh mac-replay.sh
+```
+
+Return the full native-receipt.XXXXXX directory, last-receipt-path.txt and terminal
+exit. It includes host/version/tool hashes, strict signing evidence, Apple format
+inspection, signed binaries/hashes, stdout/stderr and exact exit for each case.
+The Linux adapter and original ELF inputs are provenance, not Mac executables.
+Only control-hello-address is executed by the gate. The other exported controls
+remain inspection/refusal oracles, not arbitrary native syscall experiments.
+
+Compile/reproduce on Spark from the owned repo:
+
+```sh
+ports/macos-arm64/build.sh
+quiet-build node ports/macos-arm64/tests/run.mjs
+ports/macos-arm64/tests/export-replay.sh
+```
+
+The shared compiler SHA256 is checked before every invocation. Full Spark gate
+is66 checks,10 Linux native source controls,5 source-compiled adapter controls,
+172 exact-hello byte refusals. Native Mac and independent review remain NOT_RUN.
diff --git a/ports/macos-arm64/evidence/REFERENCES.md b/ports/macos-arm64/evidence/REFERENCES.md
new file mode 100644
index 000000000..20283a37d
--- /dev/null
+++ b/ports/macos-arm64/evidence/REFERENCES.md
@@ -0,0 +1,43 @@
+# Inspected references and mechanism comparison
+
+Repo baseline57f5f425 and the current remote main observed/fetched as
+`a8ffd2b912c84197d08f963b05f9c7d8b30a3f8a` were searched for Mach-O/Darwin/macOS
+and additive target namespaces. Main has src/aarch64_target.h but no existing
+seed-native Mach-O target module. The relevant seed implementation is
+seed/omc/omc.om: elfhdr/eof_prog, s_text, vs_call, save/restore and finish.
+That source is inspected read-only. No parent dirty source or binary is consumed.
+
+Historical issue629 is the OSC/LLVM x86 target proposal, not a seed-native Mac
+module. `~/handoffs/2026-10-20-aienos-run-macos.md` concerns a Rust/VZ/QEMU guest
+launcher and native Mac hardware receipts for a different project. It provides
+no reusable seeded Mach-O construction. L556 RISC-V is parked and not owned here.
+
+Mechanisms considered:
+
+|Mechanism|Decision/evidence|
+|---|---|
+|ELF header swap|Refused: compiler has fixed Linux stack, absolute text address, Linux syscall numbers/registers and error contract. RED uses real compiler output.|
+|Fully static Mach-O/UNIXTHREAD|Refused: production XNU mach_loader.c explicitly rejects static non-x86 MH_EXECUTE; ARM64 hard pagezero is4GB.|
+|Apple/LLVM link or C/Rust launcher|Refused as production construction/fallback; not seeded Omega. LLVM only decodes/verifies test artifacts.|
+|Compiler/backend fork|Outside L408 ownership; no compiler edits needed for this bounded milestone.|
+|Strict source-built adapter|Selected: exact full ELF header, frozen leaf instructions, no memory/absolute references, one completely specified hello, unknown inputs refused before any output. Dynamic Mach-O supports ASLR via relative branches and ADR.|
+
+Apple primary sources were fetched from the following URLs. SHA256 identifies
+the exact inspected content (upstream main URLs can move). Copies are retained
+outside the repository at ~/handoffs/omega-developer-gaps/L615/.
+
+- [XNU loader](https://raw.githubusercontent.com/apple-oss-distributions/xnu/main/bsd/kern/mach_loader.c), SHA25691d94460c47479afcbf76f2c36265fde3a0bdfc39f37cf77f528cbec4cd327e3.
+  Static ARM64 rejection and4GB pagezero checked in source.
+- [XNU ARM syscall dispatch/returns](https://raw.githubusercontent.com/apple-oss-distributions/xnu/main/bsd/dev/arm/systemcalls.c), SHA2567eb44232e6da37c8e6f5d2317ed5cf1d55d02032410b0ddf7007e4ca7b495df4.
+  X16 dispatch, carry errors and X0/X1 returns checked in source.
+- [XNU syscall numbers](https://raw.githubusercontent.com/apple-oss-distributions/xnu/main/bsd/kern/syscalls.master), SHA2567e866891439ad5b3464777d2cacc3b82fc2e7f439fb5a8686c3e6f160d5aeab5.
+  exit1/read3/write4.
+- [XNU ARM SVC handler](https://raw.githubusercontent.com/apple-oss-distributions/xnu/main/osfmk/arm64/sleh.c), SHA25693d0e76b996a091584f4b021658a7b128147e05fa1c7ccc1a929bbee6db67f75.
+- [Mach-O format](https://raw.githubusercontent.com/apple-oss-distributions/xnu/main/EXTERNAL_HEADERS/mach-o/loader.h), SHA2568780a1e622375833b563f488bc820422c2fb5b8727bb8df8ceaa73ab6f0f88e3.
+- [dyld Mach-O validation](https://raw.githubusercontent.com/apple-oss-distributions/dyld/main/common/MachOFile.cpp), SHA25624852b5c5371ea46bd823cd246a747506da4d207e7ebe5f26b239ce046bfc980.
+  Text/linkedit layout and dynamic load command structure inspected.
+- [Apple code signing procedures](https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html).
+
+Inference from those sources: the declared Mach-O layout and direct Darwin ABI
+are a plausible native candidate. Only parent hardware replay can demonstrate
+that the actual Mac loader/signing version accepts it. No native PASS is inferred.
diff --git a/ports/macos-arm64/evidence/RESULTS.md b/ports/macos-arm64/evidence/RESULTS.md
new file mode 100644
index 000000000..0cf8e7ae5
--- /dev/null
+++ b/ports/macos-arm64/evidence/RESULTS.md
@@ -0,0 +1,95 @@
+# L615 bounded target evidence
+
+Final Spark gate: **exit0,66 checks**, including10 successfully compiled native
+Linux fixtures,5 successfully compiled discriminating adapter controls and172
+single-byte exact-hello refusals. Native Mac gate: **NOT_RUN**, host guard exit77
+on Spark. Independent human/agent review: **NOT_RUN**, parent/desk owned.
+No emulator is used. Issue634 remains OPEN.
+
+Build and repeatable gate commands, from repository root:
+
+```sh
+ports/macos-arm64/build.sh
+quiet-build node ports/macos-arm64/tests/run.mjs
+ports/macos-arm64/tests/export-replay.sh
+```
+
+Build consumes only the pinned, read-only shared seed compiler. Its hash is
+checked before each compiler invocation. Successful compilation, nonempty ELF,
+AArch64 ISA and expected native source behavior precede artifact/control claims.
+Native Linux behaviors: return42=42, sum=45, branch=23, overflow=101, bitwise=58,
+divide=25, divzero=102, shift=24, hello=0/exact16 stdout bytes, largest=203.
+The largest valid input is16384 bytes from4043 source additions;16388 bytes is
+separately compiled and refused. These boundary sources are generated test
+fixtures from explicit repeatable Omega statements, not production generators.
+
+Every positive target is exactly32784 bytes. Independent Node byte/format checks
+verify commands, addresses, permissions, entrypoint, absence of relocations,
+byte preservation and every allowed change. LLVM18 independently parses the
+nine regular target files. LLVM's assembler independently confirms ADR,
+Darwin exit/write register setup, SVC80 and CNEG encodings. The largest file
+also passes the full independent byte/format oracle.
+
+Five source-compiled controls:
+
+1. Linux exit register left in target: full target produced, semantic oracle catches it.
+2. Entry points at wrong location: full target produced, entry oracle catches it.
+3. Darwin error negation omitted: full target produced, exact thunk oracle catches it.
+4. Hello text address shifted four bytes: full target produced, address oracle catches it.
+5. Unknown-instruction validator bypassed: full target produced, refusal gate catches it.
+
+These are Spark format/refusal controls, not native Mac runtime passes. The Mac
+replay runs the fourth control only after signed native hello passes, and demands
+successful loader execution/exit0/nonempty16-byte output with different bytes.
+A compilation, signing, loader, signal or timeout failure cannot count as catching
+that runtime control. Other controls are exported for review, not automatically
+executed as unknown host syscall programs.
+
+Refusals cover size/truncation, magic, ISA, endianness, ELF tables, addresses,
+segments/globals, startup, unknown/memory/indirect/SP/reserved-register operations,
+branches outside the body or into syscalls, malformed syscall shapes, altered
+hello bytes and compiled unsupported memory/calls/stdin. All refusal cases
+check empty adapter stdout, exact exit and unchanged preexisting output bytes
+and mode through target.sh. Error precedence is checked with combined defects.
+The output-error control uses /dev/full and observes exact exit29.
+
+All gate generations and initial compiler failures are preserved. First gate
+reported54 checks and incorrectly printed156 for its172 actual byte mutations;
+the label was corrected in the second gate (55 checks). Subsequent gate65
+added boundaries/precedence/host-write/assembler/refusal control; final66 adds
+native hello-address replay control. Earlier passes are historical, not final
+source qualification. Logs retain their real output.
+
+Artifact hashes are in qualification-sha256.txt. Primary production hashes:
+
+|Artifact|SHA256|
+|---|---|
+|adapter.om|b4c02c7dc2c14a420bf305cd3dbf2a4880da8c4e40c7ac8387d4a609935d56fb|
+|seed-built Linux adapter|0885e00ff1405e05ed93790ad4c7452ea8cea87ac2d8d4dad44eac1679ffead1|
+|unsigned hello Mach-O|874529dd25701c4df2cd1bd94de419035ec5e702bffa221a22d2175acf81864b|
+|unsigned return42 Mach-O|5ed81b247c443a6f8b572b3e00bd36f191c47e14e2d7aa2ed4a27f9423367f9e|
+|shared compiler|191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9|
+
+Raw generated evidence and binaries are retained at
+`ports/macos-arm64/build/qualification/` on Spark. Parent export:
+`/home/drakestapleton/handoffs/omega-developer-gaps/L615/mac-replay/final/`.
+Its manifest includes exact source, original compiler output, converted output,
+all controls, compiler pin and literal native replay gate. The earlier
+`mac-replay/first-candidate/` is preserved separately. The final export is the
+one to replay. Source files must match the export manifest before running it.
+
+Parent replay, in the copied final export directory on native ARM64 macOS:
+
+```sh
+shasum -a 256 -c SHA256SUMS
+sh mac-replay.sh
+```
+
+The gate creates a fresh native-receipt directory per attempt and saves host,
+Apple tool hashes, strict signing results, inspection output, signed binary
+hashes, actual stdout/stderr and exits. Perl is disclosed host test orchestration
+for a5-second alarm per child; target computation executes native ARM64.
+Return the complete receipt directory to the parent handoff. Do not promote
+minimum-OS, SDK, offline installer, stdin, general ABI or platform qualification
+claims from this milestone. No upstream compiler feature request is needed for
+this frozen scope. Further source forms depend on L408-owned qualified output.
diff --git a/ports/macos-arm64/evidence/build-attempts/build-fifth.log b/ports/macos-arm64/evidence/build-attempts/build-fifth.log
new file mode 100644
index 000000000..ac909699e
--- /dev/null
+++ b/ports/macos-arm64/evidence/build-attempts/build-fifth.log
@@ -0,0 +1 @@
+/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e: OK
diff --git a/ports/macos-arm64/evidence/build-attempts/build-first.log b/ports/macos-arm64/evidence/build-attempts/build-first.log
new file mode 100644
index 000000000..32a642ddb
--- /dev/null
+++ b/ports/macos-arm64/evidence/build-attempts/build-first.log
@@ -0,0 +1,2 @@
+/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e: OK
+omc: line 15: error 12
diff --git a/ports/macos-arm64/evidence/build-attempts/build-fourth.log b/ports/macos-arm64/evidence/build-attempts/build-fourth.log
new file mode 100644
index 000000000..acec0085a
--- /dev/null
+++ b/ports/macos-arm64/evidence/build-attempts/build-fourth.log
@@ -0,0 +1,2 @@
+/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e: OK
+omc: line 501: error 12
diff --git a/ports/macos-arm64/evidence/build-attempts/build-second.log b/ports/macos-arm64/evidence/build-attempts/build-second.log
new file mode 100644
index 000000000..6b3a28fd9
--- /dev/null
+++ b/ports/macos-arm64/evidence/build-attempts/build-second.log
@@ -0,0 +1,2 @@
+/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e: OK
+omc: line 276: error 12
diff --git a/ports/macos-arm64/evidence/build-attempts/build-seventh.log b/ports/macos-arm64/evidence/build-attempts/build-seventh.log
new file mode 100644
index 000000000..ac909699e
--- /dev/null
+++ b/ports/macos-arm64/evidence/build-attempts/build-seventh.log
@@ -0,0 +1 @@
+/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e: OK
diff --git a/ports/macos-arm64/evidence/build-attempts/build-sixth.log b/ports/macos-arm64/evidence/build-attempts/build-sixth.log
new file mode 100644
index 000000000..ac909699e
--- /dev/null
+++ b/ports/macos-arm64/evidence/build-attempts/build-sixth.log
@@ -0,0 +1 @@
+/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e: OK
diff --git a/ports/macos-arm64/evidence/build-attempts/build-third.log b/ports/macos-arm64/evidence/build-attempts/build-third.log
new file mode 100644
index 000000000..f816e8799
--- /dev/null
+++ b/ports/macos-arm64/evidence/build-attempts/build-third.log
@@ -0,0 +1,2 @@
+/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e: OK
+omc: line 352: error 15
diff --git a/ports/macos-arm64/evidence/final-review/independent-review-80d88a6.md b/ports/macos-arm64/evidence/final-review/independent-review-80d88a6.md
new file mode 100644
index 000000000..9ba34ff39
--- /dev/null
+++ b/ports/macos-arm64/evidence/final-review/independent-review-80d88a6.md
@@ -0,0 +1,17 @@
+# L623 focused independent review
+
+- **Reviewed head:** `80d88a6af1425d28881daf8830eb966dc0ae9f3c`
+- **Delta:** `a9e596258a03227c8578e398dd90c699451b42ec..80d88a6af1425d28881daf8830eb966dc0ae9f3c`
+- **Scope:** only `ports/macos-arm64/target.sh`, `build.sh`, `tests/output-paths.mjs`, `tests/run.mjs`, and their related contract/evidence context. No source or remote state changed. No adapter/Mac retest performed.
+
+## Finding
+
+**No findings in the precise delta.** The prior Minor is resolved: both wrappers check `[ -d destination ]` and exit 73 before staging, which rejects real directories and symlinks resolving to directories. Both publication steps now use GNU `mv -T --`, preventing container-directory semantics if a directory appears after preflight; the disclosed Linux-host dependency appears in `CONTRACT.md`. This is not represented as a hostile-race sandbox.
+
+Normal-file behavior is covered: target creates then replaces the requested Mach-O output, and build replaces the regular adapter with byte-identical seed-built output. The wrapper regression module contains four directory/symlink-directory refusal cases plus these two regular-file cases, and is wired into `tests/run.mjs`. Existing retained Spark output records all six passing, with the combined qualification previously recorded as 67 passing checks; I relied on that retained evidence and source inspection rather than rerunning the harness.
+
+Source/target identity linkage is reasonable for this wrapper-only change: recorded identity evidence compares 17 artifacts (15 Mach-O outputs plus `adapter.om` and the built adapter) against the original native replay inputs, all matching. The delta changes only shell wrapper behavior, test integration, contract text, and evidence; it does not alter adapter source or native output bytes. This does not claim a fresh native macOS run.
+
+## Caveat
+
+GNU `mv -T` is intentionally Linux/GNU-specific and is explicitly disclosed. The test module imports `node:os` unused; this is a harmless test cleanliness nit, not a defect in the reviewed correction.
diff --git a/ports/macos-arm64/evidence/gate-final.exit b/ports/macos-arm64/evidence/gate-final.exit
new file mode 100644
index 000000000..573541ac9
--- /dev/null
+++ b/ports/macos-arm64/evidence/gate-final.exit
@@ -0,0 +1 @@
+0
diff --git a/ports/macos-arm64/evidence/gate-final.log b/ports/macos-arm64/evidence/gate-final.log
new file mode 100644
index 000000000..9a165e84e
--- /dev/null
+++ b/ports/macos-arm64/evidence/gate-final.log
@@ -0,0 +1,67 @@
+PASS native Linux seed fixture return42 exit 42
+PASS target return42: independent format + byte preservation + LLVM
+PASS native Linux seed fixture sum exit 45
+PASS target sum: independent format + byte preservation + LLVM
+PASS native Linux seed fixture branch exit 23
+PASS target branch: independent format + byte preservation + LLVM
+PASS native Linux seed fixture overflow exit 101
+PASS target overflow: independent format + byte preservation + LLVM
+PASS native Linux seed fixture bitwise exit 58
+PASS target bitwise: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divide exit 25
+PASS target divide: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divzero exit 102
+PASS target divzero: independent format + byte preservation + LLVM
+PASS native Linux seed fixture shift exit 24
+PASS target shift: independent format + byte preservation + LLVM
+PASS native Linux seed fixture hello exit 0
+PASS target hello: independent format + byte preservation + LLVM
+PASS empty
+PASS truncated header
+PASS truncated program
+PASS partial word
+PASS oversized
+PASS wrong magic
+PASS wrong ISA
+PASS wrong endian
+PASS claimed relocation table
+PASS ELF entry address
+PASS segment size
+PASS global storage
+PASS bootstrap stack
+PASS bootstrap branch
+PASS bootstrap call
+PASS unknown instruction
+PASS memory instruction
+PASS Apple reserved X18
+PASS callee saved X19
+PASS SP immediate
+PASS indirect branch
+PASS unknown syscall
+PASS body falls into startup
+PASS branch out of body
+PASS conditional branch into bootstrap
+PASS branch before body
+PASS branch into exit SVC
+PASS size precedes magic and ISA
+PASS magic precedes ISA
+PASS ISA precedes other headers
+PASS header precedes instruction
+PASS changed hello literal
+PASS changed hello syscall fd
+PASS changed hello syscall number
+PASS changed hello address
+PASS compiled memory-unsupported
+PASS compiled call-unsupported
+PASS compiled stdin-unsupported
+PASS hello exact-template byte closure (172 single-byte mutations)
+PASS exact 16384-byte compiled boundary and native control
+PASS compiled 16388-byte excess boundary
+PASS host output write failure has exact exit 29
+PASS LLVM assembler independently verifies target syscall/address/error words
+PASS compiled control-linux-exit caught by independent semantic oracle
+PASS compiled control-wrong-entry caught by independent semantic oracle
+PASS compiled control-wrong-error caught by independent semantic oracle
+PASS compiled control-hello-address caught by independent semantic oracle
+PASS compiled unknown-instruction validator control is caught by refusal gate
+PASS 66 checks; 10 Linux native fixtures; 5 compiled controls; macOS NOT_RUN
diff --git a/ports/macos-arm64/evidence/gate-first.log b/ports/macos-arm64/evidence/gate-first.log
new file mode 100644
index 000000000..d16302cc0
--- /dev/null
+++ b/ports/macos-arm64/evidence/gate-first.log
@@ -0,0 +1,55 @@
+PASS native Linux seed fixture return42 exit 42
+PASS target return42: independent format + byte preservation + LLVM
+PASS native Linux seed fixture sum exit 45
+PASS target sum: independent format + byte preservation + LLVM
+PASS native Linux seed fixture branch exit 23
+PASS target branch: independent format + byte preservation + LLVM
+PASS native Linux seed fixture overflow exit 101
+PASS target overflow: independent format + byte preservation + LLVM
+PASS native Linux seed fixture bitwise exit 58
+PASS target bitwise: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divide exit 25
+PASS target divide: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divzero exit 102
+PASS target divzero: independent format + byte preservation + LLVM
+PASS native Linux seed fixture shift exit 24
+PASS target shift: independent format + byte preservation + LLVM
+PASS native Linux seed fixture hello exit 0
+PASS target hello: independent format + byte preservation + LLVM
+PASS empty
+PASS truncated header
+PASS truncated program
+PASS partial word
+PASS oversized
+PASS wrong magic
+PASS wrong ISA
+PASS wrong endian
+PASS claimed relocation table
+PASS ELF entry address
+PASS segment size
+PASS global storage
+PASS bootstrap stack
+PASS bootstrap branch
+PASS bootstrap call
+PASS unknown instruction
+PASS memory instruction
+PASS Apple reserved X18
+PASS callee saved X19
+PASS SP immediate
+PASS indirect branch
+PASS unknown syscall
+PASS branch out of body
+PASS conditional branch into bootstrap
+PASS branch before body
+PASS changed hello literal
+PASS changed hello syscall fd
+PASS changed hello syscall number
+PASS changed hello address
+PASS compiled memory-unsupported
+PASS compiled call-unsupported
+PASS compiled stdin-unsupported
+PASS hello exact-template byte closure (156 single-byte mutations)
+PASS compiled control-linux-exit caught by independent semantic oracle
+PASS compiled control-wrong-entry caught by independent semantic oracle
+PASS compiled control-wrong-error caught by independent semantic oracle
+PASS 54 checks; 9 Linux native fixtures; 3 compiled controls; macOS NOT_RUN
diff --git a/ports/macos-arm64/evidence/gate-second.log b/ports/macos-arm64/evidence/gate-second.log
new file mode 100644
index 000000000..61af34fa4
--- /dev/null
+++ b/ports/macos-arm64/evidence/gate-second.log
@@ -0,0 +1,56 @@
+PASS native Linux seed fixture return42 exit 42
+PASS target return42: independent format + byte preservation + LLVM
+PASS native Linux seed fixture sum exit 45
+PASS target sum: independent format + byte preservation + LLVM
+PASS native Linux seed fixture branch exit 23
+PASS target branch: independent format + byte preservation + LLVM
+PASS native Linux seed fixture overflow exit 101
+PASS target overflow: independent format + byte preservation + LLVM
+PASS native Linux seed fixture bitwise exit 58
+PASS target bitwise: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divide exit 25
+PASS target divide: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divzero exit 102
+PASS target divzero: independent format + byte preservation + LLVM
+PASS native Linux seed fixture shift exit 24
+PASS target shift: independent format + byte preservation + LLVM
+PASS native Linux seed fixture hello exit 0
+PASS target hello: independent format + byte preservation + LLVM
+PASS empty
+PASS truncated header
+PASS truncated program
+PASS partial word
+PASS oversized
+PASS wrong magic
+PASS wrong ISA
+PASS wrong endian
+PASS claimed relocation table
+PASS ELF entry address
+PASS segment size
+PASS global storage
+PASS bootstrap stack
+PASS bootstrap branch
+PASS bootstrap call
+PASS unknown instruction
+PASS memory instruction
+PASS Apple reserved X18
+PASS callee saved X19
+PASS SP immediate
+PASS indirect branch
+PASS unknown syscall
+PASS body falls into startup
+PASS branch out of body
+PASS conditional branch into bootstrap
+PASS branch before body
+PASS changed hello literal
+PASS changed hello syscall fd
+PASS changed hello syscall number
+PASS changed hello address
+PASS compiled memory-unsupported
+PASS compiled call-unsupported
+PASS compiled stdin-unsupported
+PASS hello exact-template byte closure (172 single-byte mutations)
+PASS compiled control-linux-exit caught by independent semantic oracle
+PASS compiled control-wrong-entry caught by independent semantic oracle
+PASS compiled control-wrong-error caught by independent semantic oracle
+PASS 55 checks; 9 Linux native fixtures; 3 compiled controls; macOS NOT_RUN
diff --git a/ports/macos-arm64/evidence/gate-third.log b/ports/macos-arm64/evidence/gate-third.log
new file mode 100644
index 000000000..97f7d5d0f
--- /dev/null
+++ b/ports/macos-arm64/evidence/gate-third.log
@@ -0,0 +1,66 @@
+PASS native Linux seed fixture return42 exit 42
+PASS target return42: independent format + byte preservation + LLVM
+PASS native Linux seed fixture sum exit 45
+PASS target sum: independent format + byte preservation + LLVM
+PASS native Linux seed fixture branch exit 23
+PASS target branch: independent format + byte preservation + LLVM
+PASS native Linux seed fixture overflow exit 101
+PASS target overflow: independent format + byte preservation + LLVM
+PASS native Linux seed fixture bitwise exit 58
+PASS target bitwise: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divide exit 25
+PASS target divide: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divzero exit 102
+PASS target divzero: independent format + byte preservation + LLVM
+PASS native Linux seed fixture shift exit 24
+PASS target shift: independent format + byte preservation + LLVM
+PASS native Linux seed fixture hello exit 0
+PASS target hello: independent format + byte preservation + LLVM
+PASS empty
+PASS truncated header
+PASS truncated program
+PASS partial word
+PASS oversized
+PASS wrong magic
+PASS wrong ISA
+PASS wrong endian
+PASS claimed relocation table
+PASS ELF entry address
+PASS segment size
+PASS global storage
+PASS bootstrap stack
+PASS bootstrap branch
+PASS bootstrap call
+PASS unknown instruction
+PASS memory instruction
+PASS Apple reserved X18
+PASS callee saved X19
+PASS SP immediate
+PASS indirect branch
+PASS unknown syscall
+PASS body falls into startup
+PASS branch out of body
+PASS conditional branch into bootstrap
+PASS branch before body
+PASS branch into exit SVC
+PASS size precedes magic and ISA
+PASS magic precedes ISA
+PASS ISA precedes other headers
+PASS header precedes instruction
+PASS changed hello literal
+PASS changed hello syscall fd
+PASS changed hello syscall number
+PASS changed hello address
+PASS compiled memory-unsupported
+PASS compiled call-unsupported
+PASS compiled stdin-unsupported
+PASS hello exact-template byte closure (172 single-byte mutations)
+PASS exact 16384-byte compiled boundary and native control
+PASS compiled 16388-byte excess boundary
+PASS host output write failure has exact exit 29
+PASS LLVM assembler independently verifies target syscall/address/error words
+PASS compiled control-linux-exit caught by independent semantic oracle
+PASS compiled control-wrong-entry caught by independent semantic oracle
+PASS compiled control-wrong-error caught by independent semantic oracle
+PASS compiled unknown-instruction validator control is caught by refusal gate
+PASS 65 checks; 10 Linux native fixtures; 4 compiled controls; macOS NOT_RUN
diff --git a/ports/macos-arm64/evidence/host-tools.sha256 b/ports/macos-arm64/evidence/host-tools.sha256
new file mode 100644
index 000000000..f592b66c7
--- /dev/null
+++ b/ports/macos-arm64/evidence/host-tools.sha256
@@ -0,0 +1,5 @@
+0f8949d1028f6d61506b2d5bc57e7e6fe893d7b1997509b7847294fc9c616584  /usr/bin/node
+32b78ffb3f9f14a19716cb7d3d6a5baa59ea98bc502fb183d3ff429df0f20a21  /usr/bin/llvm-objdump-18
+3d25b6300ea3dc0a56c11c6a9c696adfbd02a4ab97580fd2fb551bacb21d0362  /usr/bin/llvm-mc-18
+6bca2bbd23b072db9e9a19ae0e65cf7b7c15c08a3c2cf01dd56453e1ac9340b1  /usr/bin/readelf
+b8b40d2c1221d6067a49cebd288fcf0b8fb34c616562f58569385d81de62d8dc  /home/drakestapleton/.local/bin/quiet-build
diff --git a/ports/macos-arm64/evidence/host-versions.txt b/ports/macos-arm64/evidence/host-versions.txt
new file mode 100644
index 000000000..fb299060c
--- /dev/null
+++ b/ports/macos-arm64/evidence/host-versions.txt
@@ -0,0 +1,5 @@
+v24.21.0
+Ubuntu LLVM version 18.1.3
+  Optimized build.
+
+Linux spark-b87b 7.0.0-1019-nvidia #19~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Sun Sep  6 18:35:11 UTC 2 aarch64 aarch64 aarch64 GNU/Linux
diff --git a/ports/macos-arm64/evidence/initial-red.log b/ports/macos-arm64/evidence/initial-red.log
new file mode 100644
index 000000000..2355e3e31
--- /dev/null
+++ b/ports/macos-arm64/evidence/initial-red.log
@@ -0,0 +1,25 @@
+node:internal/modules/run_main:107
+    triggerUncaughtException(
+    ^
+
+AssertionError [ERR_ASSERTION]: native Mach-O boundary
++ actual - expected
+
++ 1179403647
+- 4277009103
+
+    at file:///home/drakestapleton/workspace/omega-developer-macos-L615/ports/macos-arm64/tests/check-macho.mjs:6:8
+    at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
+    at async node:internal/modules/esm/loader:647:26
+    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
+  generatedMessage: false,
+  code: 'ERR_ASSERTION',
+  actual: 1179403647,
+  expected: 4277009103,
+  operator: 'strictEqual',
+  diff: 'simple'
+}
+
+Node.js v24.21.0
+
+Actual exit: 1; expected RED exit 1. Input: real pinned seed compilation of fn main to int / ret 42 / end.
diff --git a/ports/macos-arm64/evidence/mac-host-guard.exit b/ports/macos-arm64/evidence/mac-host-guard.exit
new file mode 100644
index 000000000..987e7ca9a
--- /dev/null
+++ b/ports/macos-arm64/evidence/mac-host-guard.exit
@@ -0,0 +1 @@
+77
diff --git a/ports/macos-arm64/evidence/mac-host-guard.log b/ports/macos-arm64/evidence/mac-host-guard.log
new file mode 100644
index 000000000..b52a1547d
--- /dev/null
+++ b/ports/macos-arm64/evidence/mac-host-guard.log
@@ -0,0 +1 @@
+NOT_RUN: native Darwin arm64 hardware required
diff --git a/ports/macos-arm64/evidence/parent-native/README.md b/ports/macos-arm64/evidence/parent-native/README.md
new file mode 100644
index 000000000..e33839d47
--- /dev/null
+++ b/ports/macos-arm64/evidence/parent-native/README.md
@@ -0,0 +1,34 @@
+# Parent physical Mac replay — L615 bounded milestone
+
+Source: f43e6755d95a9783040b5ec2147ae519e9b01a11.
+Adapter source SHA256: b4c02c7dc2c14a420bf305cd3dbf2a4880da8c4e40c7ac8387d4a609935d56fb.
+Unmodified final export SHA256SUMS checked before execution; source-commit.txt
+matches source above. Original author Spark66-check logs remain historical Spark
+evidence, not parent Mac runs.
+
+Executed on physical ARM64 Mac, macOS26.6.2 build25G83, Darwin25.6.0.
+Command from exported final/ directory: `sh mac-replay.sh`.
+Actual gate exit0,12 behavior cases verified from individual exit files:
+10 positive native programs, closed-stdout hello returning74, and a separately
+source-compiled faulty-address hello that signs/loads/returns0/writes16incorrect
+bytes. The latter is a caught behavioral mutant, not a loader failure.
+All programs are actual ARM64 instructions, not emulated, and Apple ad-hoc
+signing/strict verification/loader dependencies remain explicitly disclosed.
+No compiler, source adapter or program source was changed for this replay.
+
+Full raw receipt archive: parent-native-receipt.tar.gz
+SHA256: 6529ba42eb39c71a395d0b50d261cf88be56b66f65611985578021312331398c.
+118 current-run files include all signed executables, codesign logs, per-case
+stdout/stderr/status, otool outputs, host/tool hashes, export input manifest,
+replay command/source metadata and parent summary. Extraction preserves paths.
+`parent-native.log` and `parent-summary.json` are also directly readable here.
+Initial orchestration ran the preflight from the wrong directory and could not
+find SHA256SUMS; no product test ran. The corrected export-root invocation is
+this receipt's single actual native gate. It passed without product correction.
+
+This clears the actual-native-runtime gate for this frozen bounded target on
+THIS host only. Independent exact-source review is pending; do not close L615
+or issue634 from this receipt. It does not qualify full macOS compiler/package,
+installer, SDK/public ABI, runtime attachment, additional OS versions or general
+language forms. No merge, deployment, third-party compiler or production runtime
+fallback was used. See CONTRACT.md for exact accepted/refused forms.
diff --git a/ports/macos-arm64/evidence/parent-native/parent-native-receipt.tar.gz b/ports/macos-arm64/evidence/parent-native/parent-native-receipt.tar.gz
new file mode 100644
index 000000000..5a5a69dab
Binary files /dev/null and b/ports/macos-arm64/evidence/parent-native/parent-native-receipt.tar.gz differ
diff --git a/ports/macos-arm64/evidence/parent-native/parent-native.log b/ports/macos-arm64/evidence/parent-native/parent-native.log
new file mode 100644
index 000000000..d150aca8c
--- /dev/null
+++ b/ports/macos-arm64/evidence/parent-native/parent-native.log
@@ -0,0 +1,76 @@
+./CONTRACT.md: OK
+./REFERENCES.md: OK
+./REPLAY.md: OK
+./adapter-linux-arm64: OK
+./adapter.om: OK
+./bitwise.elf: OK
+./bitwise.macho: OK
+./bitwise.om: OK
+./branch.elf: OK
+./branch.macho: OK
+./branch.om: OK
+./call-unsupported.om: OK
+./compiler.sha256: OK
+./control-hello-address.elf: OK
+./control-hello-address.macho: OK
+./control-hello-address.om: OK
+./control-linux-exit.elf: OK
+./control-linux-exit.macho: OK
+./control-linux-exit.om: OK
+./control-unknown-accepted.elf: OK
+./control-unknown-accepted.macho: OK
+./control-unknown-accepted.om: OK
+./control-wrong-entry.elf: OK
+./control-wrong-entry.macho: OK
+./control-wrong-entry.om: OK
+./control-wrong-error.elf: OK
+./control-wrong-error.macho: OK
+./control-wrong-error.om: OK
+./divide.elf: OK
+./divide.macho: OK
+./divide.om: OK
+./divzero.elf: OK
+./divzero.macho: OK
+./divzero.om: OK
+./excess.elf: OK
+./excess.om: OK
+./gate-final.exit: OK
+./gate-final.log: OK
+./hello.elf: OK
+./hello.macho: OK
+./hello.om: OK
+./largest.elf: OK
+./largest.macho: OK
+./largest.om: OK
+./mac-replay.sh: OK
+./memory-unsupported.om: OK
+./overflow.elf: OK
+./overflow.macho: OK
+./overflow.om: OK
+./return42.elf: OK
+./return42.macho: OK
+./return42.om: OK
+./shift.elf: OK
+./shift.macho: OK
+./shift.om: OK
+./source-commit.txt: OK
+./spark-pins.txt: OK
+./spark-qualification.tar: OK
+./spark-summary.json: OK
+./stdin-unsupported.om: OK
+./sum.elf: OK
+./sum.macho: OK
+./sum.om: OK
+PASS native return42 exit 42
+PASS native sum exit 45
+PASS native branch exit 23
+PASS native overflow exit 101
+PASS native bitwise exit 58
+PASS native divide exit 25
+PASS native divzero exit 102
+PASS native shift exit 24
+PASS native hello exit 0
+PASS native largest exit 203
+PASS native hello closed stdout exit 74
+PASS native compiled hello-address control caught
+PASS 12 native behavior cases. Bounded L615 milestone only; issue634 OPEN; independent review pending.
diff --git a/ports/macos-arm64/evidence/parent-native/parent-summary.json b/ports/macos-arm64/evidence/parent-native/parent-summary.json
new file mode 100644
index 000000000..4d0a02f0a
--- /dev/null
+++ b/ports/macos-arm64/evidence/parent-native/parent-summary.json
@@ -0,0 +1,25 @@
+{
+  "source_head": "f43e6755d95a9783040b5ec2147ae519e9b01a11",
+  "adapter_sha256": "b4c02c7dc2c14a420bf305cd3dbf2a4880da8c4e40c7ac8387d4a609935d56fb",
+  "native_gate_exit": 0,
+  "native_cases": 12,
+  "case_exits": {
+    "divzero.exit": 102,
+    "return42.exit": 42,
+    "hello.closed.exit": 74,
+    "branch.exit": 23,
+    "control-hello-address.exit": 0,
+    "overflow.exit": 101,
+    "shift.exit": 24,
+    "divide.exit": 25,
+    "sum.exit": 45,
+    "bitwise.exit": 58,
+    "largest.exit": 203,
+    "hello.exit": 0
+  },
+  "hello_stdout_hex": "68656c6c6f206f6d656761206d61630a",
+  "address_control_stdout_hex": "6f206f6d656761206d61630a010080d2",
+  "scope": "bounded L615 target milestone only; not platform installer/ABI/general compiler qualification",
+  "review": "pending",
+  "receipt_dir": "native-receipt.yvYtsk"
+}
diff --git a/ports/macos-arm64/evidence/public-integration/gate.exit b/ports/macos-arm64/evidence/public-integration/gate.exit
new file mode 100644
index 000000000..573541ac9
--- /dev/null
+++ b/ports/macos-arm64/evidence/public-integration/gate.exit
@@ -0,0 +1 @@
+0
diff --git a/ports/macos-arm64/evidence/public-integration/gate.log b/ports/macos-arm64/evidence/public-integration/gate.log
new file mode 100644
index 000000000..644140ea3
--- /dev/null
+++ b/ports/macos-arm64/evidence/public-integration/gate.log
@@ -0,0 +1,68 @@
+PASS native Linux seed fixture return42 exit 42
+PASS target return42: independent format + byte preservation + LLVM
+PASS native Linux seed fixture sum exit 45
+PASS target sum: independent format + byte preservation + LLVM
+PASS native Linux seed fixture branch exit 23
+PASS target branch: independent format + byte preservation + LLVM
+PASS native Linux seed fixture overflow exit 101
+PASS target overflow: independent format + byte preservation + LLVM
+PASS native Linux seed fixture bitwise exit 58
+PASS target bitwise: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divide exit 25
+PASS target divide: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divzero exit 102
+PASS target divzero: independent format + byte preservation + LLVM
+PASS native Linux seed fixture shift exit 24
+PASS target shift: independent format + byte preservation + LLVM
+PASS native Linux seed fixture hello exit 0
+PASS target hello: independent format + byte preservation + LLVM
+PASS empty
+PASS truncated header
+PASS truncated program
+PASS partial word
+PASS oversized
+PASS wrong magic
+PASS wrong ISA
+PASS wrong endian
+PASS claimed relocation table
+PASS ELF entry address
+PASS segment size
+PASS global storage
+PASS bootstrap stack
+PASS bootstrap branch
+PASS bootstrap call
+PASS unknown instruction
+PASS memory instruction
+PASS Apple reserved X18
+PASS callee saved X19
+PASS SP immediate
+PASS indirect branch
+PASS unknown syscall
+PASS body falls into startup
+PASS branch out of body
+PASS conditional branch into bootstrap
+PASS branch before body
+PASS branch into exit SVC
+PASS size precedes magic and ISA
+PASS magic precedes ISA
+PASS ISA precedes other headers
+PASS header precedes instruction
+PASS changed hello literal
+PASS changed hello syscall fd
+PASS changed hello syscall number
+PASS changed hello address
+PASS compiled memory-unsupported
+PASS compiled call-unsupported
+PASS compiled stdin-unsupported
+PASS hello exact-template byte closure (172 single-byte mutations)
+PASS exact 16384-byte compiled boundary and native control
+PASS compiled 16388-byte excess boundary
+PASS host output write failure has exact exit 29
+PASS LLVM assembler independently verifies target syscall/address/error words
+PASS compiled control-linux-exit caught by independent semantic oracle
+PASS compiled control-wrong-entry caught by independent semantic oracle
+PASS compiled control-wrong-error caught by independent semantic oracle
+PASS compiled control-hello-address caught by independent semantic oracle
+PASS compiled unknown-instruction validator control is caught by refusal gate
+PASS host wrappers: six output-path regressions including directory and symlink-directory refusals
+PASS 67 checks; 10 Linux native fixtures; 5 compiled controls; macOS NOT_RUN
diff --git a/ports/macos-arm64/evidence/qualification-sha256.txt b/ports/macos-arm64/evidence/qualification-sha256.txt
new file mode 100644
index 000000000..4940716e9
--- /dev/null
+++ b/ports/macos-arm64/evidence/qualification-sha256.txt
@@ -0,0 +1,56 @@
+5bbca7c11490cfb39c47132a20884d5b71e4438c06a05a748f765a7f4975c149  return42.om
+d1156d2c616e2039c40f655cf6cca27668c57d0704a656234ac325f885e054d2  return42.elf
+5ed81b247c443a6f8b572b3e00bd36f191c47e14e2d7aa2ed4a27f9423367f9e  return42.macho
+715436ff1d505c9eed747f847d04fc6673398b09321e82fd4942cc918e8c8315  sum.om
+bd77ea98cc544d0437a42a5fa2f6cdc35d1fa18e72c1a2ed7ab50311b73c0314  sum.elf
+e4a736cf9bdd5f49e394ab7306cb3cdba1b80e4616262ada614a27f490c86ce8  sum.macho
+f5aeee8ecf4cb80c66bdc561c574fb6decf6b9b1d210be809cd04f4c8ace2bc4  branch.om
+713976b612c7665dda2ede8985aa86cc309acdc2f0c291e23c91fa6f3705df7a  branch.elf
+0286c3c6ec995f0324e561efc02b4edfb307fe74fb012fe348af7bfc5a78e746  branch.macho
+17f5bc81778dbc07bdf98d131e9333dd552202e500be62a3e3e1c6d87d5ad5f7  overflow.om
+48a8d94a15b6258ef9d6ba44a27af0d354e1ff3cb2703fd598a2ba228065b4f0  overflow.elf
+dd4e5e9afc5ea4156ee5afd1ab51e7898050cc6696aedcc8115c07a37ec780e7  overflow.macho
+ca3d1ad7157c6806e85ce92064b0ea0f33d1c4bed497ce2385adb5d3349f8e37  bitwise.om
+98fbfb8e0272eb9f117bf822f08b42a43228c5b749290d874f0130cdbfb328a4  bitwise.elf
+14f54dd8613e63a04c1d4fa9c818a160669338eb90ad57a0ea45674048e05948  bitwise.macho
+e050559dcf78d3fe7537ba6a02b991f6fd1ff9a5892f2cec6a631e1316c9f1ce  divide.om
+88a34301171e1b0a52d6476ea6444cd574d07f3848d3bfb218354bae5e4e7b53  divide.elf
+3fef540743e4c8a85de309a9c2285312d0cc937267ac6a038d85d84cc8170186  divide.macho
+f04c35d381053ff11d66de004a2ea9c1848367668e6b20a2b65ae7b5ac4688b2  divzero.om
+b18ab1b360fcafe2555cfee5dc239011932ced62631b23d751785fc0a6a74787  divzero.elf
+2ca331d576b4a50e24882116fd96866cc6af0a3679a45fec26b0fcd99e8aed45  divzero.macho
+f1ec3faa7ef5d12aa1af984c63847f4dd8a812c2134844c5726e53468276618d  shift.om
+5a0193f207d3233c83c67c0079f5316d119d8a57b024afeba14565dce0ebd40e  shift.elf
+ce5a3e9e87374d93c945084d58d10b8e78f4f2a77e4bee82095f8d629da788b0  shift.macho
+e5df6e2a60ce9115f885f69e73f799bff17efe423a3dc0d44fb9de33ef58a347  hello.om
+880859e50849b500963e48f937463f22b28ae2137682ea72082ec65d368504bf  hello.elf
+874529dd25701c4df2cd1bd94de419035ec5e702bffa221a22d2175acf81864b  hello.macho
+492da57b5dbf957819ce3e4aeb937fd1a7b2f3078ea07e67f12355ffb430b9c5  memory-unsupported.om
+754d7850c98555be108e50ae65affaa0fa696e2ba8a8945da5ea7706ca4d4d24  memory-unsupported.elf
+22225fa0d16953698249188934308917c70d5dda4d8ebc3658830e5e6b81672d  call-unsupported.om
+63305dc198106a6e76c74f509fe40d35d0b8f055aa36c55f7849725fd43348f6  call-unsupported.elf
+5431f39c0c2ef1155432d811a554c3d4091ac26c86027916e9b834d8be26a5d3  stdin-unsupported.om
+faa3e14e77d44cc044edc163626ef71fbcd10bcafa45452c5a904f2c3f316fb1  stdin-unsupported.elf
+7cec5ec5e773f0a305a2b259af692a48749c67f3ad8cccda337045dd5408eaaf  largest.om
+76d40305dd870e327ea98701c52b682e0da9d27b5c56a4bf8a50c2345a4e53f9  largest.elf
+1cc5de55962e6bbb460ee1ca430c6f3d5483604b8a685ceb91e86baae6aee9fa  largest.macho
+f4e55e31b236f84d852f7c4f6ed9030c8a471136a40da5edbf6ce7927bb97147  excess.om
+509f055929f07088c40ae66191adb3d4d1dc107745cbc6bb0cb0c89c353e4996  excess.elf
+82036f1629b97448421ff05c28eb92e5b9358cd90ae3e05010bc651561ff4298  control-linux-exit.om
+47c71f600523ef47e2bd585f8bc7b35d46f7cb392bb5f331cc70179a2b7b38c8  control-linux-exit.elf
+5b57fa29afde794e9ae6cef0ee36c96c33b2bbdc50eb941c596363ea327f7d31  control-linux-exit.macho
+646f2e4facb9b215b14cf483f7db86495f16886b3232abe6d5fdf3c3c25a9380  control-wrong-entry.om
+354b27deec7c95cc12a07db94e5d7c54bf011c3f66b142cb414c35c586a5e88d  control-wrong-entry.elf
+a82a1d8f8317310e4d531723952c14e065eebd106591a3bd9ea65376bae223dd  control-wrong-entry.macho
+6d8a89289932d4e96be55519edcd6f1b91a9e225394aedec3046816f6e806658  control-wrong-error.om
+f29544906f49572252f3365a0b12ad9c3785cbe23bbd8e58a611caa0bd8937fa  control-wrong-error.elf
+3098330f20bf7b3cbea0bbfbcdc1a54d0fe9bad7f54b28d6df3911fa9e32f9bb  control-wrong-error.macho
+cf56b927e94240be2bffd43b65abb1d59644fd234bbb6283af90160ea82e944b  control-hello-address.om
+337c2d636e0a2da5759f6a257b4148bfdb75cb8481b18882eef2370cfad03cd5  control-hello-address.elf
+c4fa2a85d41fd509346af93dea3800b32b1fab8a519a421eb2bf36cc56777135  control-hello-address.macho
+6444984f74c89f6faa214f6b45b39ef3ed974afd12533d02ba2833a31135f3e2  control-unknown-accepted.om
+a14d695118aceb03f09a695758e1a00258cb4cfa4ac21b3f9032e110a5cc3fb6  control-unknown-accepted.elf
+db389603c6d35fce45bb5ba1fd2fd37b40374d71f7ab49afad6a6e3021a33ade  control-unknown-accepted.macho
+b4c02c7dc2c14a420bf305cd3dbf2a4880da8c4e40c7ac8387d4a609935d56fb  adapter.om
+0885e00ff1405e05ed93790ad4c7452ea8cea87ac2d8d4dad44eac1679ffead1  adapter
+191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9  shared/omc-191b776e
diff --git a/ports/macos-arm64/evidence/review-fix/disposition.md b/ports/macos-arm64/evidence/review-fix/disposition.md
new file mode 100644
index 000000000..985335e15
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/disposition.md
@@ -0,0 +1,34 @@
+# L619 review disposition and L620 correction
+
+Original independent review is preserved verbatim as independent-review-f43e6755.md,
+SHA256 8df2113552666e3ec034100264d2cd7b8fdb166e0a1f5747070033e6c7cf1fe1.
+Source reviewed: f43e6755d95a9783040b5ec2147ae519e9b01a11. No Critical or
+Important findings; one Minor host-wrapper destination-type finding.
+The review file exists and its hash was verified. A failed attempt to edit a
+different L619-prefixed filename in the reviewer run did not modify this report.
+
+The finding was independently reproduced before correction: four real target/
+build directory and symlink-to-directory cases incorrectly returned0 instead
+of73 and nested artifacts. Two normal-file checks passed. Original RED exit1
+and full raw assertion log are retained. Neither a failed compiler nor an absent
+fixture was counted as reproduction.
+
+Fix: both wrappers explicitly refuse directory destinations with status73 and
+use GNU mv -T -- to prevent directory-container semantics after preflight.
+GNU Linux host-glue dependency is disclosed in CONTRACT.md. No Omega compiler,
+adapter instructions or native runtime computation was changed.
+
+Validation: all6 focused cases PASS; added to the combined qualification runner,
+which now passes67checks (the original66 plus the six-case wrapper gate), with
+10Linux native fixtures,5compiled controls and172hello-byte mutations intact.
+Raw GREEN logs/exits retained. native-artifact-identity-result.json independently
+matches all15unsigned Mach-O files, adapter.om and seed-built adapter binary to
+the original parent physical-Mac replay inputs (17exact identities). Thus the
+12-case physical-Mac receipt under evidence/parent-native remains applicable to
+these unchanged target bytes; it was not fabricated as a rerun of changed code.
+The combined Spark runner honestly continues to report macOS NOT_RUN locally.
+
+The original review's finding is fixed and executed. A scoped independent review
+of this host-wrapper/test delta remains required before L620/L615 acceptance.
+Issue634 stays OPEN for full native platform/installer/ABI gates regardless.
+No merge, release, deployment, shared compiler or model/service change occurred.
diff --git a/ports/macos-arm64/evidence/review-fix/full-green.exit b/ports/macos-arm64/evidence/review-fix/full-green.exit
new file mode 100644
index 000000000..573541ac9
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/full-green.exit
@@ -0,0 +1 @@
+0
diff --git a/ports/macos-arm64/evidence/review-fix/full-green.log b/ports/macos-arm64/evidence/review-fix/full-green.log
new file mode 100644
index 000000000..644140ea3
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/full-green.log
@@ -0,0 +1,68 @@
+PASS native Linux seed fixture return42 exit 42
+PASS target return42: independent format + byte preservation + LLVM
+PASS native Linux seed fixture sum exit 45
+PASS target sum: independent format + byte preservation + LLVM
+PASS native Linux seed fixture branch exit 23
+PASS target branch: independent format + byte preservation + LLVM
+PASS native Linux seed fixture overflow exit 101
+PASS target overflow: independent format + byte preservation + LLVM
+PASS native Linux seed fixture bitwise exit 58
+PASS target bitwise: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divide exit 25
+PASS target divide: independent format + byte preservation + LLVM
+PASS native Linux seed fixture divzero exit 102
+PASS target divzero: independent format + byte preservation + LLVM
+PASS native Linux seed fixture shift exit 24
+PASS target shift: independent format + byte preservation + LLVM
+PASS native Linux seed fixture hello exit 0
+PASS target hello: independent format + byte preservation + LLVM
+PASS empty
+PASS truncated header
+PASS truncated program
+PASS partial word
+PASS oversized
+PASS wrong magic
+PASS wrong ISA
+PASS wrong endian
+PASS claimed relocation table
+PASS ELF entry address
+PASS segment size
+PASS global storage
+PASS bootstrap stack
+PASS bootstrap branch
+PASS bootstrap call
+PASS unknown instruction
+PASS memory instruction
+PASS Apple reserved X18
+PASS callee saved X19
+PASS SP immediate
+PASS indirect branch
+PASS unknown syscall
+PASS body falls into startup
+PASS branch out of body
+PASS conditional branch into bootstrap
+PASS branch before body
+PASS branch into exit SVC
+PASS size precedes magic and ISA
+PASS magic precedes ISA
+PASS ISA precedes other headers
+PASS header precedes instruction
+PASS changed hello literal
+PASS changed hello syscall fd
+PASS changed hello syscall number
+PASS changed hello address
+PASS compiled memory-unsupported
+PASS compiled call-unsupported
+PASS compiled stdin-unsupported
+PASS hello exact-template byte closure (172 single-byte mutations)
+PASS exact 16384-byte compiled boundary and native control
+PASS compiled 16388-byte excess boundary
+PASS host output write failure has exact exit 29
+PASS LLVM assembler independently verifies target syscall/address/error words
+PASS compiled control-linux-exit caught by independent semantic oracle
+PASS compiled control-wrong-entry caught by independent semantic oracle
+PASS compiled control-wrong-error caught by independent semantic oracle
+PASS compiled control-hello-address caught by independent semantic oracle
+PASS compiled unknown-instruction validator control is caught by refusal gate
+PASS host wrappers: six output-path regressions including directory and symlink-directory refusals
+PASS 67 checks; 10 Linux native fixtures; 5 compiled controls; macOS NOT_RUN
diff --git a/ports/macos-arm64/evidence/review-fix/independent-review-f43e6755.md b/ports/macos-arm64/evidence/review-fix/independent-review-f43e6755.md
new file mode 100644
index 000000000..f003b5c5f
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/independent-review-f43e6755.md
@@ -0,0 +1,27 @@
+# Independent review — L615 bounded macOS ARM64 target
+
+**Ledger item:** L619, owner `sa-0-c82fb525` (review only; no ledger closure performed).
+
+**Reviewed source head:** `f43e6755d95a9783040b5ec2147ae519e9b01a11` (`dev/macos-arm64-L615`). Parent reports the later public `verify/macos-native-L615` descendant `a9e596258a03227c8578e398dd90c699451b42ec` is evidence-only; the functional source reviewed here remains the exact f43e6755 head.
+
+**Comparison baseline:** the requested `baseline57f5f4258cebf3d5b2c22853cd062e351265c525` resolves in this checkout to commit `57f5f4258cebf3d5b2c22853cd062e351265c525` (the `baseline` text is a label, not part of the Git object ID).
+
+**Scope reviewed:** `ports/macos-arm64/`, including `adapter.om`, `CONTRACT.md`, `build.sh`, `target.sh`, `tests/export-replay.sh`, `tests/mac-replay.sh`, `tests/check-macho.mjs`, `tests/run.mjs`, fixtures, and supplied evidence/receipts. The Spark checkout was at the requested head and had no reported working-tree changes. No source was modified. No compiler was consumed or rebuilt, no Mac test was run by this reviewer, and no publication/ledger/service action was taken.
+
+## Finding
+
+### Minor — directory output path is treated as successful file output
+
+**Locations:** `ports/macos-arm64/target.sh:9-14` (especially line 14); same pattern at `ports/macos-arm64/build.sh:8-13` (line 13).
+
+Both wrappers create a staged regular file, then invoke `mv "$stage" "$destination"` without first rejecting a directory destination or verifying that the requested destination is the resulting regular file. On Spark, I ran the existing `target.sh` against the real `return42.elf` with an already-existing directory as the output argument. The command exited **0**, left the requested directory in place, and placed a 32,784-byte Mach-O under the incidental name `output-dir.L615.<random>` inside it. Thus a caller can receive success while the requested output path is not a Mach-O; for build.sh the analogous pre-existing `build/adapter/` directory similarly causes the build product to be nested while the build reports success. This is not an input-refusal data-loss issue, but it is a misleading success/incorrect output-path behavior. Validate destination type and verify the final destination is the staged regular file (or otherwise make the destination operation fail closed). Existing regular-file replacement and refusal-preservation behavior is otherwise consistent with the stated contract.
+
+## Review assessment
+
+- **Critical:** none found.
+- **Important:** none found within the explicitly bounded target contract.
+- **Minor:** one finding above.
+
+I reviewed the contract’s ELF/layout checks, leaf instruction masks and branch/syscall validation, exact hello template and transformations, Mach-O command/header construction, runtime syscall/stack assumptions, refusal precedence, and the shell/build/test paths. The adapter’s decoder constraints appear consistent with the documented subset on inspection; I did not find a concrete mask/branch/header/runtime-ABI defect. Tests include exact output/format assertions, byte preservation, compiled refusals and discriminating compiled controls; the supplied Spark `RESULTS.md` reports 66 checks but explicitly does not claim native Mac execution. Per the parent’s out-of-band update, the exact exported source subsequently passed its separate immutable native macOS ARM64 replay (12 cases) on macOS 26.6.2. That is bounded runtime evidence on that host, not general platform ABI, installer, broader source-form, or issue634 qualification.
+
+**Disposition:** scoped review finds no Critical or Important source-contract issue; one Minor shell destination-type issue remains. Broad macOS support / issue634 stays open.
diff --git a/ports/macos-arm64/evidence/review-fix/native-artifact-identity-result.json b/ports/macos-arm64/evidence/review-fix/native-artifact-identity-result.json
new file mode 100644
index 000000000..81da6d2b3
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/native-artifact-identity-result.json
@@ -0,0 +1,90 @@
+{
+  "matched": 17,
+  "rows": [
+    {
+      "file": "control-wrong-error.macho",
+      "sha256": "3098330f20bf7b3cbea0bbfbcdc1a54d0fe9bad7f54b28d6df3911fa9e32f9bb",
+      "expected": "3098330f20bf7b3cbea0bbfbcdc1a54d0fe9bad7f54b28d6df3911fa9e32f9bb"
+    },
+    {
+      "file": "return42.macho",
+      "sha256": "5ed81b247c443a6f8b572b3e00bd36f191c47e14e2d7aa2ed4a27f9423367f9e",
+      "expected": "5ed81b247c443a6f8b572b3e00bd36f191c47e14e2d7aa2ed4a27f9423367f9e"
+    },
+    {
+      "file": "overflow.macho",
+      "sha256": "dd4e5e9afc5ea4156ee5afd1ab51e7898050cc6696aedcc8115c07a37ec780e7",
+      "expected": "dd4e5e9afc5ea4156ee5afd1ab51e7898050cc6696aedcc8115c07a37ec780e7"
+    },
+    {
+      "file": "control-hello-address.macho",
+      "sha256": "c4fa2a85d41fd509346af93dea3800b32b1fab8a519a421eb2bf36cc56777135",
+      "expected": "c4fa2a85d41fd509346af93dea3800b32b1fab8a519a421eb2bf36cc56777135"
+    },
+    {
+      "file": "control-wrong-entry.macho",
+      "sha256": "a82a1d8f8317310e4d531723952c14e065eebd106591a3bd9ea65376bae223dd",
+      "expected": "a82a1d8f8317310e4d531723952c14e065eebd106591a3bd9ea65376bae223dd"
+    },
+    {
+      "file": "sum.macho",
+      "sha256": "e4a736cf9bdd5f49e394ab7306cb3cdba1b80e4616262ada614a27f490c86ce8",
+      "expected": "e4a736cf9bdd5f49e394ab7306cb3cdba1b80e4616262ada614a27f490c86ce8"
+    },
+    {
+      "file": "control-unknown-accepted.macho",
+      "sha256": "db389603c6d35fce45bb5ba1fd2fd37b40374d71f7ab49afad6a6e3021a33ade",
+      "expected": "db389603c6d35fce45bb5ba1fd2fd37b40374d71f7ab49afad6a6e3021a33ade"
+    },
+    {
+      "file": "shift.macho",
+      "sha256": "ce5a3e9e87374d93c945084d58d10b8e78f4f2a77e4bee82095f8d629da788b0",
+      "expected": "ce5a3e9e87374d93c945084d58d10b8e78f4f2a77e4bee82095f8d629da788b0"
+    },
+    {
+      "file": "hello.macho",
+      "sha256": "874529dd25701c4df2cd1bd94de419035ec5e702bffa221a22d2175acf81864b",
+      "expected": "874529dd25701c4df2cd1bd94de419035ec5e702bffa221a22d2175acf81864b"
+    },
+    {
+      "file": "divide.macho",
+      "sha256": "3fef540743e4c8a85de309a9c2285312d0cc937267ac6a038d85d84cc8170186",
+      "expected": "3fef540743e4c8a85de309a9c2285312d0cc937267ac6a038d85d84cc8170186"
+    },
+    {
+      "file": "bitwise.macho",
+      "sha256": "14f54dd8613e63a04c1d4fa9c818a160669338eb90ad57a0ea45674048e05948",
+      "expected": "14f54dd8613e63a04c1d4fa9c818a160669338eb90ad57a0ea45674048e05948"
+    },
+    {
+      "file": "divzero.macho",
+      "sha256": "2ca331d576b4a50e24882116fd96866cc6af0a3679a45fec26b0fcd99e8aed45",
+      "expected": "2ca331d576b4a50e24882116fd96866cc6af0a3679a45fec26b0fcd99e8aed45"
+    },
+    {
+      "file": "branch.macho",
+      "sha256": "0286c3c6ec995f0324e561efc02b4edfb307fe74fb012fe348af7bfc5a78e746",
+      "expected": "0286c3c6ec995f0324e561efc02b4edfb307fe74fb012fe348af7bfc5a78e746"
+    },
+    {
+      "file": "largest.macho",
+      "sha256": "1cc5de55962e6bbb460ee1ca430c6f3d5483604b8a685ceb91e86baae6aee9fa",
+      "expected": "1cc5de55962e6bbb460ee1ca430c6f3d5483604b8a685ceb91e86baae6aee9fa"
+    },
+    {
+      "file": "control-linux-exit.macho",
+      "sha256": "5b57fa29afde794e9ae6cef0ee36c96c33b2bbdc50eb941c596363ea327f7d31",
+      "expected": "5b57fa29afde794e9ae6cef0ee36c96c33b2bbdc50eb941c596363ea327f7d31"
+    },
+    {
+      "file": "adapter.om",
+      "sha256": "b4c02c7dc2c14a420bf305cd3dbf2a4880da8c4e40c7ac8387d4a609935d56fb",
+      "expected": "b4c02c7dc2c14a420bf305cd3dbf2a4880da8c4e40c7ac8387d4a609935d56fb"
+    },
+    {
+      "file": "adapter",
+      "sha256": "0885e00ff1405e05ed93790ad4c7452ea8cea87ac2d8d4dad44eac1679ffead1",
+      "expected": "0885e00ff1405e05ed93790ad4c7452ea8cea87ac2d8d4dad44eac1679ffead1"
+    }
+  ]
+}
diff --git a/ports/macos-arm64/evidence/review-fix/native-artifact-identity.json b/ports/macos-arm64/evidence/review-fix/native-artifact-identity.json
new file mode 100644
index 000000000..7c18c7218
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/native-artifact-identity.json
@@ -0,0 +1,19 @@
+{
+  "control-wrong-error.macho": "3098330f20bf7b3cbea0bbfbcdc1a54d0fe9bad7f54b28d6df3911fa9e32f9bb",
+  "return42.macho": "5ed81b247c443a6f8b572b3e00bd36f191c47e14e2d7aa2ed4a27f9423367f9e",
+  "overflow.macho": "dd4e5e9afc5ea4156ee5afd1ab51e7898050cc6696aedcc8115c07a37ec780e7",
+  "control-hello-address.macho": "c4fa2a85d41fd509346af93dea3800b32b1fab8a519a421eb2bf36cc56777135",
+  "control-wrong-entry.macho": "a82a1d8f8317310e4d531723952c14e065eebd106591a3bd9ea65376bae223dd",
+  "sum.macho": "e4a736cf9bdd5f49e394ab7306cb3cdba1b80e4616262ada614a27f490c86ce8",
+  "control-unknown-accepted.macho": "db389603c6d35fce45bb5ba1fd2fd37b40374d71f7ab49afad6a6e3021a33ade",
+  "shift.macho": "ce5a3e9e87374d93c945084d58d10b8e78f4f2a77e4bee82095f8d629da788b0",
+  "hello.macho": "874529dd25701c4df2cd1bd94de419035ec5e702bffa221a22d2175acf81864b",
+  "divide.macho": "3fef540743e4c8a85de309a9c2285312d0cc937267ac6a038d85d84cc8170186",
+  "bitwise.macho": "14f54dd8613e63a04c1d4fa9c818a160669338eb90ad57a0ea45674048e05948",
+  "divzero.macho": "2ca331d576b4a50e24882116fd96866cc6af0a3679a45fec26b0fcd99e8aed45",
+  "branch.macho": "0286c3c6ec995f0324e561efc02b4edfb307fe74fb012fe348af7bfc5a78e746",
+  "largest.macho": "1cc5de55962e6bbb460ee1ca430c6f3d5483604b8a685ceb91e86baae6aee9fa",
+  "control-linux-exit.macho": "5b57fa29afde794e9ae6cef0ee36c96c33b2bbdc50eb941c596363ea327f7d31",
+  "adapter.om": "b4c02c7dc2c14a420bf305cd3dbf2a4880da8c4e40c7ac8387d4a609935d56fb",
+  "adapter": "0885e00ff1405e05ed93790ad4c7452ea8cea87ac2d8d4dad44eac1679ffead1"
+}
diff --git a/ports/macos-arm64/evidence/review-fix/output-paths-green.exit b/ports/macos-arm64/evidence/review-fix/output-paths-green.exit
new file mode 100644
index 000000000..573541ac9
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/output-paths-green.exit
@@ -0,0 +1 @@
+0
diff --git a/ports/macos-arm64/evidence/review-fix/output-paths-green.log b/ports/macos-arm64/evidence/review-fix/output-paths-green.log
new file mode 100644
index 000000000..19470b714
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/output-paths-green.log
@@ -0,0 +1,14 @@
+✔ target refuses directory output without nesting artifacts (4.709373ms)
+✔ build refuses directory adapter destination without nesting artifacts (5.91353ms)
+✔ target refuses symlink-directory output without nesting artifacts (3.375216ms)
+✔ build refuses symlink-directory adapter destination without nesting artifacts (5.679847ms)
+✔ target still creates and replaces the requested regular file (16.438766ms)
+✔ build still replaces the requested adapter with identical seed-built bytes (22.081173ms)
+ℹ tests 6
+ℹ suites 0
+ℹ pass 6
+ℹ fail 0
+ℹ cancelled 0
+ℹ skipped 0
+ℹ todo 0
+ℹ duration_ms 137.113853
diff --git a/ports/macos-arm64/evidence/review-fix/output-paths-red.exit b/ports/macos-arm64/evidence/review-fix/output-paths-red.exit
new file mode 100644
index 000000000..d00491fd7
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/output-paths-red.exit
@@ -0,0 +1 @@
+1
diff --git a/ports/macos-arm64/evidence/review-fix/output-paths-red.log b/ports/macos-arm64/evidence/review-fix/output-paths-red.log
new file mode 100644
index 000000000..29b3320bb
--- /dev/null
+++ b/ports/macos-arm64/evidence/review-fix/output-paths-red.log
@@ -0,0 +1,98 @@
+✖ target refuses directory output without nesting artifacts (8.628947ms)
+✖ build refuses directory adapter destination without nesting artifacts (25.293477ms)
+✖ target refuses symlink-directory output without nesting artifacts (7.981549ms)
+✖ build refuses symlink-directory adapter destination without nesting artifacts (25.775033ms)
+✔ target still creates and replaces the requested regular file (14.942529ms)
+✔ build still replaces the requested adapter with identical seed-built bytes (25.118803ms)
+ℹ tests 6
+ℹ suites 0
+ℹ pass 2
+ℹ fail 4
+ℹ cancelled 0
+ℹ skipped 0
+ℹ todo 0
+ℹ duration_ms 202.338436
+
+✖ failing tests:
+
+test at ports/macos-arm64/tests/output-paths.mjs:30:3
+✖ target refuses directory output without nesting artifacts (8.628947ms)
+  AssertionError [ERR_ASSERTION]: directory output must fail rather than moving the artifact inside it
+  
+  0 !== 73
+  
+      at TestContext.<anonymous> (file:///home/drakestapleton/workspace/omega-macos-parent-L615/ports/macos-arm64/tests/output-paths.mjs:34:12)
+      at Test.runInAsyncScope (node:async_hooks:227:14)
+      at Test.run (node:internal/test_runner/test:1402:25)
+      at Test.start (node:internal/test_runner/test:1262:17)
+      at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
+    generatedMessage: false,
+    code: 'ERR_ASSERTION',
+    actual: 0,
+    expected: 73,
+    operator: 'strictEqual',
+    diff: 'simple'
+  }
+
+test at ports/macos-arm64/tests/output-paths.mjs:38:3
+✖ build refuses directory adapter destination without nesting artifacts (25.293477ms)
+  AssertionError [ERR_ASSERTION]: directory build destination must fail rather than report successful construction
+  
+  0 !== 73
+  
+      at TestContext.<anonymous> (file:///home/drakestapleton/workspace/omega-macos-parent-L615/ports/macos-arm64/tests/output-paths.mjs:46:12)
+      at Test.runInAsyncScope (node:async_hooks:227:14)
+      at Test.run (node:internal/test_runner/test:1402:25)
+      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
+      at Test.postRun (node:internal/test_runner/test:1542:19)
+      at Test.run (node:internal/test_runner/test:1467:12)
+      at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
+    generatedMessage: false,
+    code: 'ERR_ASSERTION',
+    actual: 0,
+    expected: 73,
+    operator: 'strictEqual',
+    diff: 'simple'
+  }
+
+test at ports/macos-arm64/tests/output-paths.mjs:30:3
+✖ target refuses symlink-directory output without nesting artifacts (7.981549ms)
+  AssertionError [ERR_ASSERTION]: directory output must fail rather than moving the artifact inside it
+  
+  0 !== 73
+  
+      at TestContext.<anonymous> (file:///home/drakestapleton/workspace/omega-macos-parent-L615/ports/macos-arm64/tests/output-paths.mjs:34:12)
+      at Test.runInAsyncScope (node:async_hooks:227:14)
+      at Test.run (node:internal/test_runner/test:1402:25)
+      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
+      at Test.postRun (node:internal/test_runner/test:1542:19)
+      at Test.run (node:internal/test_runner/test:1467:12)
+      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
+    generatedMessage: false,
+    code: 'ERR_ASSERTION',
+    actual: 0,
+    expected: 73,
+    operator: 'strictEqual',
+    diff: 'simple'
+  }
+
+test at ports/macos-arm64/tests/output-paths.mjs:38:3
+✖ build refuses symlink-directory adapter destination without nesting artifacts (25.775033ms)
+  AssertionError [ERR_ASSERTION]: directory build destination must fail rather than report successful construction
+  
+  0 !== 73
+  
+      at TestContext.<anonymous> (file:///home/drakestapleton/workspace/omega-macos-parent-L615/ports/macos-arm64/tests/output-paths.mjs:46:12)
+      at Test.runInAsyncScope (node:async_hooks:227:14)
+      at Test.run (node:internal/test_runner/test:1402:25)
+      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
+      at Test.postRun (node:internal/test_runner/test:1542:19)
+      at Test.run (node:internal/test_runner/test:1467:12)
+      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
+    generatedMessage: false,
+    code: 'ERR_ASSERTION',
+    actual: 0,
+    expected: 73,
+    operator: 'strictEqual',
+    diff: 'simple'
+  }
diff --git a/ports/macos-arm64/evidence/summary.json b/ports/macos-arm64/evidence/summary.json
new file mode 100644
index 000000000..f1ac8431b
--- /dev/null
+++ b/ports/macos-arm64/evidence/summary.json
@@ -0,0 +1,77 @@
+{
+  "checks": 66,
+  "compiledControls": 5,
+  "helloByteMutations": 172,
+  "linuxNative": 10,
+  "macOS": "NOT_RUN",
+  "independentReview": "NOT_RUN",
+  "compilerHash": "191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9",
+  "checksPassed": [
+    "native Linux seed fixture return42 exit 42",
+    "target return42: independent format + byte preservation + LLVM",
+    "native Linux seed fixture sum exit 45",
+    "target sum: independent format + byte preservation + LLVM",
+    "native Linux seed fixture branch exit 23",
+    "target branch: independent format + byte preservation + LLVM",
+    "native Linux seed fixture overflow exit 101",
+    "target overflow: independent format + byte preservation + LLVM",
+    "native Linux seed fixture bitwise exit 58",
+    "target bitwise: independent format + byte preservation + LLVM",
+    "native Linux seed fixture divide exit 25",
+    "target divide: independent format + byte preservation + LLVM",
+    "native Linux seed fixture divzero exit 102",
+    "target divzero: independent format + byte preservation + LLVM",
+    "native Linux seed fixture shift exit 24",
+    "target shift: independent format + byte preservation + LLVM",
+    "native Linux seed fixture hello exit 0",
+    "target hello: independent format + byte preservation + LLVM",
+    "empty",
+    "truncated header",
+    "truncated program",
+    "partial word",
+    "oversized",
+    "wrong magic",
+    "wrong ISA",
+    "wrong endian",
+    "claimed relocation table",
+    "ELF entry address",
+    "segment size",
+    "global storage",
+    "bootstrap stack",
+    "bootstrap branch",
+    "bootstrap call",
+    "unknown instruction",
+    "memory instruction",
+    "Apple reserved X18",
+    "callee saved X19",
+    "SP immediate",
+    "indirect branch",
+    "unknown syscall",
+    "body falls into startup",
+    "branch out of body",
+    "conditional branch into bootstrap",
+    "branch before body",
+    "branch into exit SVC",
+    "size precedes magic and ISA",
+    "magic precedes ISA",
+    "ISA precedes other headers",
+    "header precedes instruction",
+    "changed hello literal",
+    "changed hello syscall fd",
+    "changed hello syscall number",
+    "changed hello address",
+    "compiled memory-unsupported",
+    "compiled call-unsupported",
+    "compiled stdin-unsupported",
+    "hello exact-template byte closure (172 single-byte mutations)",
+    "exact 16384-byte compiled boundary and native control",
+    "compiled 16388-byte excess boundary",
+    "host output write failure has exact exit 29",
+    "LLVM assembler independently verifies target syscall/address/error words",
+    "compiled control-linux-exit caught by independent semantic oracle",
+    "compiled control-wrong-entry caught by independent semantic oracle",
+    "compiled control-wrong-error caught by independent semantic oracle",
+    "compiled control-hello-address caught by independent semantic oracle",
+    "compiled unknown-instruction validator control is caught by refusal gate"
+  ]
+}
diff --git a/ports/macos-arm64/evidence/target-instructions.llvm b/ports/macos-arm64/evidence/target-instructions.llvm
new file mode 100644
index 000000000..12f6debf5
--- /dev/null
+++ b/ports/macos-arm64/evidence/target-instructions.llvm
@@ -0,0 +1,8 @@
+	.text
+	adr	x1, #-84                        // encoding: [0x61,0xfd,0xff,0x10]
+	mov	x16, #1                         // encoding: [0x30,0x00,0x80,0xd2]
+                                        // =0x1
+	mov	x16, #4                         // encoding: [0x90,0x00,0x80,0xd2]
+                                        // =0x4
+	svc	#0x80                           // encoding: [0x01,0x10,0x00,0xd4]
+	cneg	x0, x0, hs                      // encoding: [0x00,0x34,0x80,0xda]
diff --git a/ports/macos-arm64/target.sh b/ports/macos-arm64/target.sh
new file mode 100755
index 000000000..9607a3106
--- /dev/null
+++ b/ports/macos-arm64/target.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+# Disclosed Linux host file orchestration. Refusals preserve existing output.
+set -eu
+if [ "$#" -ne 2 ]; then
+    echo 'usage: target.sh INPUT.elf OUTPUT.macho' >&2
+    exit 64
+fi
+adapter=$(CDPATH= cd -- "$(dirname "$0")" && pwd)/build/adapter
+if [ -d "$2" ]; then
+    echo 'target: output must not be a directory' >&2
+    exit 73
+fi
+stage=$(mktemp "$2.L615.XXXXXX")
+trap 'rm -f "$stage"' EXIT HUP INT TERM
+"$adapter" < "$1" > "$stage"
+test -s "$stage"
+chmod 755 "$stage"
+# GNU no-target-directory also fails closed if a directory appears after preflight.
+mv -T -- "$stage" "$2"
diff --git a/ports/macos-arm64/tests/bitwise.om b/ports/macos-arm64/tests/bitwise.om
new file mode 100644
index 000000000..2eb7c3b1a
--- /dev/null
+++ b/ports/macos-arm64/tests/bitwise.om
@@ -0,0 +1,5 @@
+fn main to ulong
+x = ulong 170
+y = ulong 15
+ret xor and x y or ulong 16 ulong 32
+end
diff --git a/ports/macos-arm64/tests/branch.om b/ports/macos-arm64/tests/branch.om
new file mode 100644
index 000000000..ea3b2011f
--- /dev/null
+++ b/ports/macos-arm64/tests/branch.om
@@ -0,0 +1,7 @@
+fn main to ulong
+x = ulong 7
+if eq x 7
+ret 23
+end
+ret 91
+end
diff --git a/ports/macos-arm64/tests/call-unsupported.om b/ports/macos-arm64/tests/call-unsupported.om
new file mode 100644
index 000000000..adf19665e
--- /dev/null
+++ b/ports/macos-arm64/tests/call-unsupported.om
@@ -0,0 +1,6 @@
+fn f to ulong
+ret 9
+end
+fn main to ulong
+ret f
+end
diff --git a/ports/macos-arm64/tests/check-macho.mjs b/ports/macos-arm64/tests/check-macho.mjs
new file mode 100644
index 000000000..595309bcf
--- /dev/null
+++ b/ports/macos-arm64/tests/check-macho.mjs
@@ -0,0 +1,87 @@
+// Independent byte/format oracle. Reads artifacts; never constructs them.
+import fs from 'node:fs';
+import assert from 'node:assert/strict';
+export function checkMacho(b, input, hello = false) {
+  const u32 = p => b.readUInt32LE(p);
+  const u64 = p => Number(b.readBigUInt64LE(p));
+  const name = (p, n) => b.subarray(p, p + n).toString().split('\0')[0];
+  assert.ok(b.length > 0, 'nonempty artifact');
+  assert.equal(u32(0), 0xfeedfacf, 'native Mach-O boundary');
+  assert.equal(u32(4), 0x0100000c, 'ARM64 CPU');
+  assert.equal(u32(8), 0, 'ARM64_ALL subtype');
+  assert.equal(u32(12), 2, 'executable');
+  assert.equal(u32(24), 0x200085, 'PIE + dyld + two-level + no undefined');
+  assert.equal(u32(28), 0, 'reserved');
+  assert.equal(b.length, 32784, 'bounded complete output');
+  assert.equal(u32(16), 11);
+  const commands = new Map();
+  let p = 32;
+  for (let i = 0; i < u32(16); i++) {
+    const cmd = u32(p), size = u32(p + 4);
+    assert.ok(size >= 8 && size % 8 === 0 && p + size <= 32 + u32(20));
+    const key = cmd === 0x19 ? name(p + 8, 16) : cmd;
+    assert.ok(!commands.has(key), 'unique commands');
+    commands.set(key, p);
+    p += size;
+  }
+  assert.equal(p, 32 + u32(20));
+  assert.equal(p, 640);
+  p = commands.get('__PAGEZERO');
+  assert.equal(u64(p + 24), 0); assert.equal(u64(p + 32), 2 ** 32);
+  assert.equal(u64(p + 48), 0); assert.equal(u32(p + 56), 0); assert.equal(u32(p + 60), 0);
+  p = commands.get('__TEXT');
+  assert.equal(u64(p + 24), 2 ** 32); assert.equal(u64(p + 32), 32768);
+  assert.equal(u64(p + 40), 0); assert.equal(u64(p + 48), 32768);
+  assert.equal(u32(p + 56), 5); assert.equal(u32(p + 60), 5);
+  assert.equal(u32(p + 64), 1);
+  const sec = p + 72;
+  assert.equal(name(sec, 16), '__text'); assert.equal(name(sec + 16, 16), '__TEXT');
+  assert.equal(u64(sec + 32), 2 ** 32 + 16384);
+  assert.equal(u32(sec + 48), 16384); assert.equal(u32(sec + 52), 2);
+  assert.equal(u32(sec + 56), 0); assert.equal(u32(sec + 60), 0, 'no relocations');
+  assert.equal(u32(sec + 64), 0x80000400);
+  p = commands.get('__LINKEDIT');
+  assert.equal(u64(p + 24), 2 ** 32 + 32768); assert.equal(u64(p + 32), 16384);
+  assert.equal(u64(p + 40), 32768); assert.equal(u64(p + 48), 16);
+  assert.equal(u32(p + 56), 1); assert.equal(u32(p + 60), 1);
+  p = commands.get(0xe);
+  assert.equal(name(p + u32(p + 8), u32(p + 4) - u32(p + 8)), '/usr/lib/dyld');
+  p = commands.get(0xc);
+  assert.equal(name(p + u32(p + 8), u32(p + 4) - u32(p + 8)), '/usr/lib/libSystem.B.dylib');
+  p = commands.get(0x32);
+  assert.equal(u32(p + 8), 1); assert.equal(u32(p + 12), 0xb0000);
+  assert.equal(u32(p + 16), 0xb0000); assert.equal(u32(p + 20), 0);
+  assert.ok(commands.has(0x1b), 'UUID for signing');
+  assert.ok(commands.has(0x80000022), 'dyld info');
+  assert.ok(commands.has(2) && commands.has(0xb), 'symbol tables');
+  if (!input) return;
+  const n = input.length, entry = n - 24, offset = a => 16384 + a - 176;
+  assert.equal(u64(commands.get(0x80000028) + 8), offset(entry), 'entry points to bootstrap');
+  assert.equal(u64(sec + 40), n - 176 + 16);
+  // Independent expected semantic edits. All other bytes must remain unchanged.
+  const changes = new Map([
+    [entry, 0xd280001c], [entry + 4, 0xd503201f], [entry + 8, 0xd503201f],
+  ]);
+  for (let a = 180; a < n; a += 4) {
+    if (input.readUInt32LE(a) === 0xd2800ba8) {
+      changes.set(a, 0xd2800030); changes.set(a + 4, 0xd4001001);
+    }
+  }
+  if (hello) {
+    changes.set(264, 0x10fffd61); changes.set(268, 0xd503201f);
+    changes.set(284, 0x94000000 + (n - 284) / 4); changes.set(288, 0xd503201f);
+    assert.equal(b.subarray(offset(180), offset(196)).toString(), 'hello omega mac\n');
+  }
+  for (let a = 176; a < n; a += 4)
+    assert.equal(u32(offset(a)), changes.get(a) ?? input.readUInt32LE(a), `preserved/adapted word at input ${a}`);
+  const thunk = offset(n);
+  const tail = hello ? [0xd2800090, 0xd4001001, 0xda803400, 0xd65f03c0] : [0, 0, 0, 0];
+  tail.forEach((w, i) => assert.equal(u32(thunk + i * 4), w, 'Darwin write/error thunk'));
+  assert.ok(b.subarray(640, 16384).every(x => x === 0), 'header padding');
+  assert.ok(b.subarray(thunk + 16).every(x => x === 0), 'bounded zero padding and LINKEDIT');
+}
+if (process.argv[1] === new URL(import.meta.url).pathname) {
+  const input = process.argv[3] ? fs.readFileSync(process.argv[3]) : undefined;
+  checkMacho(fs.readFileSync(process.argv[2]), input, process.argv[4] === 'hello');
+  console.log('PASS independent Mach-O ARM64 bytes, format, entry, ABI and syscall edits');
+}
diff --git a/ports/macos-arm64/tests/divide.om b/ports/macos-arm64/tests/divide.om
new file mode 100644
index 000000000..20e60601a
--- /dev/null
+++ b/ports/macos-arm64/tests/divide.om
@@ -0,0 +1,5 @@
+fn main to ulong
+x = ulong 100
+z = ulong 4
+ret div x z
+end
diff --git a/ports/macos-arm64/tests/divzero.om b/ports/macos-arm64/tests/divzero.om
new file mode 100644
index 000000000..a2090ce5b
--- /dev/null
+++ b/ports/macos-arm64/tests/divzero.om
@@ -0,0 +1,5 @@
+fn main to ulong
+x = ulong 100
+z = ulong 0
+ret div x z
+end
diff --git a/ports/macos-arm64/tests/export-replay.sh b/ports/macos-arm64/tests/export-replay.sh
new file mode 100755
index 000000000..0fc39722b
--- /dev/null
+++ b/ports/macos-arm64/tests/export-replay.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+# Disclosed host packaging only. Run after a successful full qualification gate.
+set -eu
+cd "$(dirname "$0")/.."
+export_dir=/home/drakestapleton/handoffs/omega-developer-gaps/L615/mac-replay/final
+test -s build/qualification/summary.json
+mkdir -p "$export_dir"
+for name in return42 sum branch overflow bitwise divide divzero shift hello largest control-linux-exit control-wrong-entry control-wrong-error control-hello-address control-unknown-accepted; do
+    cp "build/qualification/$name.macho" "$export_dir/$name.macho"
+    cp "build/qualification/$name.elf" "$export_dir/$name.elf"
+done
+cp adapter.om CONTRACT.md "$export_dir/"
+cp evidence/MAC-REPLAY.md "$export_dir/REPLAY.md"
+cp evidence/REFERENCES.md evidence/gate-final.log evidence/gate-final.exit "$export_dir/"
+cp build/adapter "$export_dir/adapter-linux-arm64"
+cp tests/*.om tests/mac-replay.sh "$export_dir/"
+cp build/qualification/control-*.om "$export_dir/"
+cp build/qualification/summary.json "$export_dir/spark-summary.json"
+cp build/qualification/SHA256SUMS "$export_dir/spark-pins.txt"
+git rev-parse HEAD > "$export_dir/source-commit.txt"
+printf '%s\n' '191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9  shared/omc-191b776e' > "$export_dir/compiler.sha256"
+# Largest boundary sources are generated by a repeatable test source expression,
+# not handwritten production. Preserve their exact bytes for parent source replay.
+node -e 'const fs=require("fs"); for(const [name,n] of [["largest",4043],["excess",4044]]) fs.writeFileSync(process.argv[1]+"/"+name+".om", "fn main to ulong\nx = ulong 0\n"+"x = add x ulong 1\n".repeat(n)+"ret x\nend\n")' "$export_dir"
+cp build/qualification/excess.elf "$export_dir/excess.elf"
+tar -cf "$export_dir/spark-qualification.tar" -C build qualification
+# Complete export manifest includes source, Linux compiler products, Mach-O,
+# controls, gate, contracts and metadata. Excludes itself and later Mac receipts.
+(cd "$export_dir" && find . -maxdepth 1 -type f ! -name SHA256SUMS -print | LC_ALL=C sort | xargs sha256sum > SHA256SUMS)
+printf 'Exported native Mac replay: %s\n' "$export_dir"
diff --git a/ports/macos-arm64/tests/hello.om b/ports/macos-arm64/tests/hello.om
new file mode 100644
index 000000000..122ad468e
--- /dev/null
+++ b/ports/macos-arm64/tests/hello.om
@@ -0,0 +1,8 @@
+text msg "hello omega mac\n"
+fn main to int
+n = write int 1 msg ulong 0 len msg
+if eq n long 16
+ret 0
+end
+ret 74
+end
diff --git a/ports/macos-arm64/tests/mac-replay.sh b/ports/macos-arm64/tests/mac-replay.sh
new file mode 100755
index 000000000..dfcc227ff
--- /dev/null
+++ b/ports/macos-arm64/tests/mac-replay.sh
@@ -0,0 +1,94 @@
+#!/bin/sh
+# Native Apple hardware behavior oracle. No compiler or target construction.
+set -eu
+if [ "$(uname -s)" != Darwin ] || [ "$(uname -m)" != arm64 ]; then
+    echo 'NOT_RUN: native Darwin arm64 hardware required' >&2
+    exit 77
+fi
+for tool in /usr/bin/codesign /usr/bin/otool /usr/bin/shasum /usr/bin/perl; do
+    if [ ! -x "$tool" ]; then
+        echo "NOT_RUN: missing host oracle $tool" >&2
+        exit 77
+    fi
+done
+if [ ! -f SHA256SUMS ]; then
+    echo 'Run from the exported mac-replay/final directory.' >&2
+    exit 64
+fi
+/usr/bin/shasum -a 256 -c SHA256SUMS
+# Fresh receipt directory: preserve every prior attempt and its signed artifacts.
+receipt=$(mktemp -d native-receipt.XXXXXX)
+printf '%s\n' "$receipt" > last-receipt-path.txt
+uname -a > "$receipt/host.txt"
+sw_vers >> "$receipt/host.txt"
+/usr/bin/shasum -a 256 /usr/bin/codesign /usr/bin/otool /usr/bin/perl > "$receipt/host-tools.sha256"
+/usr/bin/codesign --version > "$receipt/codesign-version.txt" 2>&1 || true
+ulimit -c 0
+count=0
+sign() {
+    name=$1
+    cp "$name.macho" "$receipt/$name.signed"
+    chmod 755 "$receipt/$name.signed"
+    if ! /usr/bin/codesign --force --sign - "$receipt/$name.signed" > "$receipt/$name.sign.stdout" 2> "$receipt/$name.sign.stderr"; then
+        echo "FAIL $name: signing (see $receipt)" >&2
+        exit 1
+    fi
+    if ! /usr/bin/codesign --verify --strict --verbose=4 "$receipt/$name.signed" > "$receipt/$name.verify.stdout" 2> "$receipt/$name.verify.stderr"; then
+        echo "FAIL $name: strict signature verification (see $receipt)" >&2
+        exit 1
+    fi
+    /usr/bin/otool -hv -l "$receipt/$name.signed" > "$receipt/$name.otool.txt"
+    /usr/bin/shasum -a 256 "$receipt/$name.signed" >> "$receipt/signed.sha256"
+}
+run() {
+    name=$1
+    set +e
+    # Perl supplies only a per-child alarm; program instructions run natively.
+    /usr/bin/perl -e 'alarm 5; exec @ARGV or die "exec: $!\n"' "./$receipt/$name.signed" < /dev/null > "$receipt/$name.stdout" 2> "$receipt/$name.stderr"
+    status=$?
+    set -e
+    printf '%s\n' "$status" > "$receipt/$name.exit"
+}
+for row in return42:42 sum:45 branch:23 overflow:101 bitwise:58 divide:25 divzero:102 shift:24 hello:0 largest:203; do
+    name=${row%:*}
+    expected=${row#*:}
+    sign "$name"
+    run "$name"
+    if [ "$status" -ne "$expected" ] || [ -s "$receipt/$name.stderr" ]; then
+        echo "FAIL $name: exit=$status expected=$expected (see $receipt)" >&2
+        exit 1
+    fi
+    if [ "$name" = hello ]; then
+        printf 'hello omega mac\n' > "$receipt/hello.expected"
+        cmp "$receipt/hello.expected" "$receipt/hello.stdout"
+    else
+        test ! -s "$receipt/$name.stdout"
+    fi
+    count=$((count+1))
+    printf 'PASS native %s exit %s\n' "$name" "$status" | tee -a "$receipt/gate.log"
+done
+set +e
+/usr/bin/perl -e 'alarm 5; exec @ARGV or die "exec: $!\n"' "./$receipt/hello.signed" < /dev/null 1>&- 2> "$receipt/hello.closed.stderr"
+status=$?
+set -e
+printf '%s\n' "$status" > "$receipt/hello.closed.exit"
+test "$status" -eq 74
+test ! -s "$receipt/hello.closed.stderr"
+count=$((count+1))
+printf 'PASS native hello closed stdout exit 74\n' | tee -a "$receipt/gate.log"
+# This control changes the ADR text address by four bytes. It must still be a
+# signed, loadable native ARM64 executable and finish exit0, but write wrong bytes.
+# Do not count a compile, signing, loader or signal failure as a caught mutant.
+sign control-hello-address
+run control-hello-address
+test "$status" -eq 0
+test ! -s "$receipt/control-hello-address.stderr"
+test -s "$receipt/control-hello-address.stdout"
+test "$(wc -c < "$receipt/control-hello-address.stdout" | tr -d ' ')" -eq 16
+if cmp -s "$receipt/hello.expected" "$receipt/control-hello-address.stdout"; then
+    echo 'FAIL: native compiled address control escaped the behavior gate' >&2
+    exit 1
+fi
+count=$((count+1))
+printf 'PASS native compiled hello-address control caught\n' | tee -a "$receipt/gate.log"
+printf 'PASS %s native behavior cases. Bounded L615 milestone only; issue634 OPEN; independent review pending.\n' "$count" | tee -a "$receipt/gate.log"
diff --git a/ports/macos-arm64/tests/memory-unsupported.om b/ports/macos-arm64/tests/memory-unsupported.om
new file mode 100644
index 000000000..e4ef77655
--- /dev/null
+++ b/ports/macos-arm64/tests/memory-unsupported.om
@@ -0,0 +1,4 @@
+fn main to ulong
+a = new ulong 4 9
+ret get a 0
+end
diff --git a/ports/macos-arm64/tests/output-paths.mjs b/ports/macos-arm64/tests/output-paths.mjs
new file mode 100644
index 000000000..51867fd02
--- /dev/null
+++ b/ports/macos-arm64/tests/output-paths.mjs
@@ -0,0 +1,64 @@
+// External host-wrapper regressions; all production artifacts are seed-built.
+import fs from 'node:fs';
+import path from 'node:path';
+import os from 'node:os';
+import crypto from 'node:crypto';
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import { spawnSync } from 'node:child_process';
+const root = path.resolve(new URL('..', import.meta.url).pathname);
+const compiler = '/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e';
+const expectedHash = '191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9';
+function run(cmd, args) {
+  const r = spawnSync(cmd, args, { timeout: 90000, maxBuffer: 1024*1024 });
+  assert.ifError(r.error); assert.equal(r.signal, null); return r;
+}
+function compile(source) {
+  assert.equal(crypto.createHash('sha256').update(fs.readFileSync(compiler)).digest('hex'), expectedHash);
+  const r = spawnSync('quiet-build', ['timeout', '60', compiler], { input: source, timeout: 90000 });
+  assert.ifError(r.error); assert.equal(r.status, 0, r.stderr.toString());
+  assert.ok(r.stdout.length >= 212); assert.equal(r.stdout.readUInt32LE(0), 0x464c457f);
+  return r.stdout;
+}
+fs.mkdirSync(path.join(root, 'build'), {recursive:true});
+const temp = fs.mkdtempSync(path.join(root, 'build', 'output-paths-'));
+const modulePath = path.join(temp, 'module');fs.mkdirSync(modulePath);
+for (const f of ['adapter.om','build.sh','target.sh']) fs.copyFileSync(path.join(root, f), path.join(modulePath, f));
+const built=run('sh',[path.join(modulePath,'build.sh')]);assert.equal(built.status,0,built.stderr.toString());
+const input=path.join(temp,'return42.elf');fs.writeFileSync(input,compile(fs.readFileSync(path.join(root,'tests','return42.om'))));
+for (const kind of ['directory','symlink-directory']) {
+  test(`target refuses ${kind} output without nesting artifacts`, () => {
+    const dir=path.join(temp,'target-'+kind);fs.mkdirSync(dir);fs.writeFileSync(path.join(dir,'sentinel'),'unchanged');
+    const out=kind==='directory'?dir:dir+'.link';if(out!==dir)fs.symlinkSync(dir,out);
+    const r=run('sh',[path.join(modulePath,'target.sh'),input,out]);
+    assert.equal(r.status,73,'directory output must fail rather than moving the artifact inside it');
+    assert.deepEqual(fs.readdirSync(dir),['sentinel']);assert.equal(fs.readFileSync(path.join(dir,'sentinel'),'utf8'),'unchanged');
+    assert.equal(fs.lstatSync(out).isSymbolicLink(),kind==='symlink-directory');
+  });
+  test(`build refuses ${kind} adapter destination without nesting artifacts`, () => {
+    const copy=path.join(temp,'build-'+kind);fs.mkdirSync(copy);
+    for(const f of ['adapter.om','build.sh'])fs.copyFileSync(path.join(root,f),path.join(copy,f));
+    fs.mkdirSync(path.join(copy,'build'));const dir=path.join(copy,'preserved');fs.mkdirSync(dir);
+    fs.writeFileSync(path.join(dir,'sentinel'),'unchanged');const out=path.join(copy,'build','adapter');
+    if(kind==='directory')fs.renameSync(dir,out);else fs.symlinkSync(dir,out);
+    const target=kind==='directory'?out:dir;
+    const r=run('sh',[path.join(copy,'build.sh')]);
+    assert.equal(r.status,73,'directory build destination must fail rather than report successful construction');
+    assert.deepEqual(fs.readdirSync(target),['sentinel']);assert.equal(fs.readFileSync(path.join(target,'sentinel'),'utf8'),'unchanged');
+    assert.equal(fs.lstatSync(out).isSymbolicLink(),kind==='symlink-directory');
+  });
+}
+test('target still creates and replaces the requested regular file',()=>{
+  const out=path.join(temp,'regular.macho');
+  for(let i=0;i<2;i++){
+    const r=run('sh',[path.join(modulePath,'target.sh'),input,out]);assert.equal(r.status,0,r.stderr.toString());
+    const fd=fs.openSync(out,'r');
+    try{assert.ok(fs.fstatSync(fd).isFile());const magic=Buffer.alloc(4);assert.equal(fs.readSync(fd,magic,0,4,0),4);assert.equal(magic.readUInt32LE(0),0xfeedfacf);}
+    finally{fs.closeSync(fd);}
+  }
+});
+test('build still replaces the requested adapter with identical seed-built bytes',()=>{
+  const out=path.join(modulePath,'build','adapter');const before=fs.readFileSync(out);
+  const r=run('sh',[path.join(modulePath,'build.sh')]);assert.equal(r.status,0,r.stderr.toString());
+  assert.deepEqual(fs.readFileSync(out),before);assert.ok(fs.statSync(out).isFile());
+});
diff --git a/ports/macos-arm64/tests/overflow.om b/ports/macos-arm64/tests/overflow.om
new file mode 100644
index 000000000..4283f1ff9
--- /dev/null
+++ b/ports/macos-arm64/tests/overflow.om
@@ -0,0 +1,4 @@
+fn main to long
+x = long 9223372036854775807
+ret add x long 1
+end
diff --git a/ports/macos-arm64/tests/return42.om b/ports/macos-arm64/tests/return42.om
new file mode 100644
index 000000000..85a0a7713
--- /dev/null
+++ b/ports/macos-arm64/tests/return42.om
@@ -0,0 +1,3 @@
+fn main to int
+ret 42
+end
diff --git a/ports/macos-arm64/tests/run.mjs b/ports/macos-arm64/tests/run.mjs
new file mode 100644
index 000000000..063b07f0c
--- /dev/null
+++ b/ports/macos-arm64/tests/run.mjs
@@ -0,0 +1,210 @@
+// External qualification harness only. No target construction or foreign fallback.
+import fs from 'node:fs';
+import path from 'node:path';
+import crypto from 'node:crypto';
+import assert from 'node:assert/strict';
+import { spawnSync } from 'node:child_process';
+import { checkMacho } from './check-macho.mjs';
+const root = path.resolve(new URL('..', import.meta.url).pathname);
+const build = path.join(root, 'build');
+const evidence = path.join(build, 'qualification');
+fs.mkdirSync(evidence, { recursive: true });
+const compiler = '/home/drakestapleton/handoffs/omega-developer-gaps/shared/omc-191b776e';
+const compilerHash = '191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9';
+const sha = b => crypto.createHash('sha256').update(b).digest('hex');
+const pins = [], results = [];
+function save(name, data) { fs.writeFileSync(path.join(evidence, name), data); }
+function run(exe, args = [], options = {}) {
+  const r = spawnSync(exe, args, { timeout: 60000, maxBuffer: 4 * 1024 * 1024, ...options });
+  assert.ifError(r.error); assert.equal(r.signal, null, `${exe}: signal`);
+  return r;
+}
+function test(name, action) {
+  action(); results.push(name); console.log(`PASS ${name}`);
+}
+function pin(name, data) { pins.push(`${sha(data)}  ${name}`); }
+function compile(name, source) {
+  assert.equal(sha(fs.readFileSync(compiler)), compilerHash, 'hash immediately before EVERY compiler consumption');
+  const r = run('quiet-build', ['timeout', '60', compiler], { input: source });
+  save(`${name}.compile.stderr`, r.stderr); save(`${name}.compile.exit`, String(r.status) + '\n');
+  assert.equal(r.status, 0, `${name}: successful compilation required: ${r.stderr}`);
+  assert.ok(r.stdout.length >= 212, 'nonempty compiled control before any runtime/mutation count');
+  assert.equal(r.stdout.readUInt32LE(0), 0x464c457f);
+  assert.equal(r.stdout.readUInt16LE(18), 183, 'compiled artifact really ARM64');
+  const file = path.join(evidence, `${name}.elf`);
+  fs.writeFileSync(file, r.stdout, { mode: 0o755 }); fs.chmodSync(file, 0o755);
+  pin(`${name}.om`, source); pin(`${name}.elf`, r.stdout);
+  return r.stdout;
+}
+function adapt(input, executable = path.join(build, 'adapter')) {
+  return run(executable, [], { input });
+}
+function refuse(name, input, status, executable) {
+  test(name, () => {
+    const r = adapt(input, executable);
+    assert.equal(r.status, status); assert.equal(r.stdout.length, 0, 'no output before validation');
+    save(`${name}.exit`, String(r.status) + '\n');
+    save(`${name}.stderr`, r.stderr);
+    const infile = path.join(evidence, `${name}.input`), outfile = path.join(evidence, `${name}.preserved`);
+    fs.writeFileSync(infile, input); fs.writeFileSync(outfile, 'L615 existing output\n', { mode: 0o640 });
+    fs.chmodSync(outfile, 0o640);
+    const s = run(path.join(root, 'target.sh'), [infile, outfile]);
+    assert.equal(s.status, status); assert.equal(fs.readFileSync(outfile, 'utf8'), 'L615 existing output\n');
+    assert.equal(fs.statSync(outfile).mode & 0o777, 0o640, 'refusal preserves existing mode');
+    assert.equal(fs.readdirSync(evidence).filter(x => x.startsWith(`${name}.preserved.L615.`)).length, 0);
+  });
+}
+const fixtures = [
+  ['return42', 42], ['sum', 45], ['branch', 23], ['overflow', 101],
+  ['bitwise', 58], ['divide', 25], ['divzero', 102], ['shift', 24], ['hello', 0],
+];
+const inputs = new Map();
+assert.equal(process.arch, 'arm64', 'Linux native controls require ARM64 host');
+assert.equal(process.platform, 'linux');
+for (const [name, status] of fixtures) {
+  const source = fs.readFileSync(path.join(root, 'tests', `${name}.om`));
+  const input = compile(name, source); inputs.set(name, input);
+  test(`native Linux seed fixture ${name} exit ${status}`, () => {
+    const r = run(path.join(evidence, `${name}.elf`));
+    save(`${name}.native.stdout`, r.stdout); save(`${name}.native.stderr`, r.stderr);
+    save(`${name}.native.exit`, String(r.status) + '\n');
+    assert.equal(r.status, status); assert.equal(r.stderr.length, 0);
+    assert.equal(r.stdout.toString(), name === 'hello' ? 'hello omega mac\n' : '');
+  });
+  test(`target ${name}: independent format + byte preservation + LLVM`, () => {
+    const r = adapt(input);
+    save(`${name}.adapt.exit`, String(r.status) + '\n'); save(`${name}.adapt.stderr`, r.stderr);
+    assert.equal(r.status, 0, `${name} adapter refused`); checkMacho(r.stdout, input, name === 'hello');
+    save(`${name}.macho`, r.stdout); pin(`${name}.macho`, r.stdout);
+    const parse = run('/usr/bin/llvm-objdump-18', ['--macho', '--private-headers', path.join(evidence, `${name}.macho`)]);
+    save(`${name}.llvm.stdout`, parse.stdout); save(`${name}.llvm.stderr`, parse.stderr);
+    assert.equal(parse.status, 0); assert.equal(parse.stderr.length, 0);
+    assert.match(parse.stdout.toString(), /ARM64/); assert.match(parse.stdout.toString(), /LC_MAIN/);
+    assert.deepEqual(adapt(input).stdout, r.stdout, 'deterministic output');
+  });
+}
+const integer = inputs.get('return42'), hello = inputs.get('hello');
+const word = (b, p, w) => { const c = Buffer.from(b); c.writeUInt32LE(w >>> 0, p); return c; };
+refuse('empty', Buffer.alloc(0), 21);
+refuse('truncated header', integer.subarray(0, 175), 21);
+refuse('truncated program', integer.subarray(0, -4), 21);
+refuse('partial word', integer.subarray(0, -1), 21);
+refuse('oversized', Buffer.alloc(16385), 21);
+refuse('wrong magic', word(integer, 0, 0), 22);
+refuse('wrong ISA', word(integer, 16, 0x3e0002), 23);
+refuse('wrong endian', word(integer, 4, 0x010202), 24);
+refuse('claimed relocation table', word(integer, 40, 64), 24);
+refuse('ELF entry address', word(integer, 24, 0x4000b4), 24);
+refuse('segment size', word(integer, 96, 0), 24);
+refuse('global storage', word(integer, 160, 0x800008), 24);
+refuse('bootstrap stack', word(integer, integer.length - 24, 0xd280001c), 25);
+refuse('bootstrap branch', word(integer, 176, 0x14000000), 25);
+refuse('bootstrap call', word(integer, integer.length - 12, 0x94000000), 25);
+refuse('unknown instruction', word(integer, 180, 0xffffffff), 26);
+refuse('memory instruction', word(integer, 180, 0xf9400000), 26);
+refuse('Apple reserved X18', word(integer, 180, 0xd2800012), 26);
+refuse('callee saved X19', word(integer, 180, 0xd2800013), 26);
+refuse('SP immediate', word(integer, 180, 0x910003e0), 26);
+refuse('indirect branch', word(integer, 180, 0xd61f0000), 26);
+refuse('unknown syscall', word(integer, 180, 0xd4000001), 26);
+refuse('body falls into startup', word(integer, 184, 0xd2800000), 26);
+refuse('branch out of body', word(integer, 180, 0x14000002), 27);
+refuse('conditional branch into bootstrap', word(integer, 180, 0x54000040), 27);
+refuse('branch before body', word(integer, 180, 0x17ffffff), 27);
+const divzero = inputs.get('divzero');
+const exitSvc = divzero.indexOf(Buffer.from([1, 0, 0, 0xd4]), 180);
+assert.ok(exitSvc > 180 && exitSvc < divzero.length - 24);
+refuse('branch into exit SVC', word(divzero, 180, 0x14000000 + (exitSvc - 180) / 4), 27);
+refuse('size precedes magic and ISA', Buffer.alloc(211), 21);
+refuse('magic precedes ISA', word(word(integer, 0, 0), 16, 0), 22);
+refuse('ISA precedes other headers', word(word(integer, 16, 0), 24, 0), 23);
+refuse('header precedes instruction', word(word(integer, 96, 0), 180, 0xffffffff), 24);
+refuse('changed hello literal', word(hello, 180, 0x6c6c6548), 28);
+refuse('changed hello syscall fd', word(hello, 260, 0xd2800040), 28);
+refuse('changed hello syscall number', word(hello, 284, 0xd28007e8), 28);
+refuse('changed hello address', word(hello, 264, 0xd28016a1), 28);
+for (const [name, status] of [['memory-unsupported', 26], ['call-unsupported', 25], ['stdin-unsupported', 24]]) {
+  const b = compile(name, fs.readFileSync(path.join(root, 'tests', `${name}.om`)));
+  // Unsupported fixtures are real compiled programs, not fabricated backend results.
+  refuse(`compiled ${name}`, b, status);
+}
+// All single-byte damage to exact hello outside the bootstrap/header must refuse.
+test('hello exact-template byte closure (172 single-byte mutations)', () => {
+  let count = 0;
+  for (let p = 180; p < 352; p++) {
+    // Mutating text/body must not reclassify into the leaf family.
+    const b = Buffer.from(hello); b[p] ^= 1;
+    const r = adapt(b); assert.equal(r.status, 28, `hello byte ${p}`); assert.equal(r.stdout.length, 0); count++;
+  }
+  save('hello-byte-closure.count', String(count) + '\n');
+});
+// Exact supported and excess size boundaries come from real source compilation.
+const largeSource = count => Buffer.from('fn main to ulong\nx = ulong 0\n' + 'x = add x ulong 1\n'.repeat(count) + 'ret x\nend\n');
+const largest = compile('largest', largeSource(4043));
+test('exact 16384-byte compiled boundary and native control', () => {
+  assert.equal(largest.length, 16384);
+  const native = run(path.join(evidence, 'largest.elf'));
+  assert.equal(native.status, 4043 % 256);
+  save('largest.native.exit', String(native.status) + '\n');
+  const r = adapt(largest); assert.equal(r.status, 0); checkMacho(r.stdout, largest);
+  save('largest.macho', r.stdout); pin('largest.macho', r.stdout);
+});
+refuse('compiled 16388-byte excess boundary', compile('excess', largeSource(4044)), 21);
+test('host output write failure has exact exit 29', () => {
+  const fd = fs.openSync('/dev/full', 'w');
+  try {
+    const r = run(path.join(build, 'adapter'), [], { input: integer, stdio: ['pipe', fd, 'pipe'] });
+    assert.equal(r.status, 29); save('output-failure.exit', '29\n');
+  } finally { fs.closeSync(fd); }
+});
+test('LLVM assembler independently verifies target syscall/address/error words', () => {
+  const asm = 'adr x1, #-84\nmov x16, #1\nmov x16, #4\nsvc #0x80\ncneg x0, x0, cs\n';
+  const r = run('/usr/bin/llvm-mc-18', ['-triple=aarch64', '-show-encoding'], { input: asm });
+  assert.equal(r.status, 0); save('target-instructions.llvm', r.stdout);
+  for (const bytes of ['[0x61,0xfd,0xff,0x10]', '[0x30,0x00,0x80,0xd2]', '[0x90,0x00,0x80,0xd2]',
+    '[0x01,0x10,0x00,0xd4]', '[0x00,0x34,0x80,0xda]']) assert.ok(r.stdout.toString().includes(bytes));
+});
+// Discriminating controls are compiled Omega adapters, not byte-patched executables.
+const adapterSource = fs.readFileSync(path.join(root, 'adapter.om'), 'utf8');
+const controls = [
+  ['control-linux-exit', 'wr add 16384 sub p 176 3531604016', 'wr add 16384 sub p 176 3531606952', false],
+  ['control-wrong-entry', 'wr 624 add 16384 sub e 176', 'wr 624 16384', false],
+  ['control-wrong-error', 'wr add t 8 3665835008', 'wr add t 8 3573751839', true],
+  ['control-hello-address', 'wr 16472 285212001', 'wr 16472 285212033', true],
+];
+for (const [name, before, after, useHello] of controls) {
+  assert.equal(adapterSource.split(before).length, 2, 'unique source mutation');
+  const source = Buffer.from(adapterSource.replace(before, after)); save(`${name}.om`, source);
+  compile(name, source); const exe = path.join(evidence, `${name}.elf`);
+  test(`compiled ${name} caught by independent semantic oracle`, () => {
+    const input = useHello ? hello : integer, r = adapt(input, exe);
+    assert.equal(r.status, 0); assert.ok(r.stdout.length > 0);
+    assert.equal(r.stdout.readUInt32LE(0), 0xfeedfacf); assert.equal(r.stdout.readUInt32LE(4), 0x100000c);
+    save(`${name}.macho`, r.stdout); pin(`${name}.macho`, r.stdout);
+    assert.throws(() => checkMacho(r.stdout, input, useHello), assert.AssertionError);
+  });
+}
+test('compiled unknown-instruction validator control is caught by refusal gate', () => {
+  const name = 'control-unknown-accepted';
+  assert.equal(adapterSource.split('if not integer w').length, 2);
+  const source = Buffer.from(adapterSource.replace('if not integer w', 'if false'));
+  save(`${name}.om`, source); compile(name, source);
+  const input = word(integer, 180, 0xffffffff);
+  const r = adapt(input, path.join(evidence, `${name}.elf`));
+  assert.equal(r.status, 0); checkMacho(r.stdout, input);
+  save(`${name}.macho`, r.stdout); pin(`${name}.macho`, r.stdout);
+  assert.throws(() => assert.equal(r.status, 26), assert.AssertionError);
+});
+test('host wrappers: six output-path regressions including directory and symlink-directory refusals', () => {
+  const r = run(process.execPath, ['--test', path.join(root, 'tests', 'output-paths.mjs')]);
+  save('output-paths.stdout', r.stdout); save('output-paths.stderr', r.stderr);
+  save('output-paths.exit', String(r.status) + '\n');
+  assert.equal(r.status, 0, r.stdout.toString() + r.stderr.toString());
+});
+pin('adapter.om', Buffer.from(adapterSource)); pin('adapter', fs.readFileSync(path.join(build, 'adapter')));
+pins.push(`${compilerHash}  shared/omc-191b776e`);
+save('SHA256SUMS', pins.join('\n') + '\n');
+save('summary.json', JSON.stringify({ checks: results.length, compiledControls: controls.length + 1,
+  helloByteMutations: 172, linuxNative: fixtures.length + 1, macOS: 'NOT_RUN', independentReview: 'NOT_RUN',
+  compilerHash, checksPassed: results }, null, 2) + '\n');
+console.log(`PASS ${results.length} checks; ${fixtures.length + 1} Linux native fixtures; ${controls.length + 1} compiled controls; macOS NOT_RUN`);
diff --git a/ports/macos-arm64/tests/shift.om b/ports/macos-arm64/tests/shift.om
new file mode 100644
index 000000000..a3a7f4b0a
--- /dev/null
+++ b/ports/macos-arm64/tests/shift.om
@@ -0,0 +1,5 @@
+fn main to ulong
+x = ulong 3
+s = ulong 4
+ret shr shl x s ulong 1
+end
diff --git a/ports/macos-arm64/tests/stdin-unsupported.om b/ports/macos-arm64/tests/stdin-unsupported.om
new file mode 100644
index 000000000..86e9fa938
--- /dev/null
+++ b/ports/macos-arm64/tests/stdin-unsupported.om
@@ -0,0 +1,4 @@
+global buf uchar 16
+fn main to long
+ret read int 0 buf ulong 0 ulong 16
+end
diff --git a/ports/macos-arm64/tests/sum.om b/ports/macos-arm64/tests/sum.om
new file mode 100644
index 000000000..4ec780be7
--- /dev/null
+++ b/ports/macos-arm64/tests/sum.om
@@ -0,0 +1,7 @@
+fn main to ulong
+s = ulong 0
+for i ulong 10
+s = add s i
+end
+ret s
+end