Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/physics-mv/blob/main/run_m2_gates.sh # physics-mv FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `physics-mv / run_m2_gates.sh` 411 lines ยท 17187 bytes Raw Blame History 1 #!/bin/sh 2 # run_m2_gates.sh -- Master Qualification Runner for Milestone 2 (PHYSICS_BOOT) 3 # 4 # Python-free qualification harness. 5 # Executes: 6 # - Seam 1: Independent Artifact-Audit Seam (Static Byte Accounting, 2 KiB Vector Geometry, Pairwise Memory Disjointness Proof) 7 # - Seam 2: External Execution Seam (QEMU AArch64 Virt: Golden Boot, Frame Bounds, Reserved Refusal, CAP_ROOT, Raw Exception State Capture, Ingress Corruption Matrix) 8 # 9 # Evaluates all 15 Milestone 2 Qualification Gates: 10 # 1. PHYSICS_ARTIFACT_IDENTITY_PASS 11 # 2. PHYSICS_MACHINE_CONTRACT_PASS 12 # 3. PHYSICS_AUDIT_PASS 13 # 4. PHYSICS_VECTOR_LAYOUT_PASS 14 # 5. PHYSICS_VECTOR_ALIGNMENT_PASS 15 # 6. PHYSICS_MEMORY_DISJOINTNESS_PASS 16 # 7. PHYSICS_STATIC_MEMORY_BOUNDS_PASS 17 # 8. PHYSICS_ENTRY_EL_PASS 18 # 9. PHYSICS_DESCRIPTOR_INGRESS_PASS 19 # 10. PHYSICS_BOOT_QEMU_PASS 20 # 11. PHYSICS_FRAME_BOUNDS_PASS 21 # 12. PHYSICS_RESERVED_FRAME_REFUSAL_PASS 22 # 13. PHYSICS_CAP_ROOT_PASS 23 # 14. PHYSICS_EXCEPTION_STATE_CAPTURE_PASS 24 # 15. PHYSICS_CORRUPTION_REFUSAL_PASS 25 # 26 # Rule adherence (tracking aien-architecture#12, physics#8): 27 # Existing qualification_receipt.json is preserved intact unless --write-receipt is passed. 28 set -eu 29 umask 077 30 31 REPO_DIR=$(cd "$(dirname "$0")" && pwd -P) 32 cd "$REPO_DIR" 33 34 WRITE_RECEIPT=0 35 for arg in "$@"; do 36 case "$arg" in 37 --write-receipt) WRITE_RECEIPT=1 ;; 38 esac 39 done 40 41 echo "######################################################################" 42 echo "SOVEREIGN MACHINE MASTER PLAN โ€” MILESTONE 2 QUALIFICATION RUNNER (PHYSICS)" 43 echo "Target: Trusted Machine Authority Nucleus (physics.bin)" 44 echo "Substrate: AArch64 Bare-Metal / Dual Verification Seams" 45 echo "Tooling: Sovereign Pure C / POSIX Shell Harness (No Python)" 46 echo "######################################################################" 47 48 START_TIME=$(date +%s%N 2>/dev/null || date +%s) 49 50 # 0. Build all artifacts and tools from source 51 echo "" 52 echo "[*] Step 0: Compiling canonical artifacts and host tools via m2_build.sh..." 53 "$REPO_DIR/m2_build.sh" 54 . "$REPO_DIR/m2_build.sh" 55 56 M2TOOL="$REPO_DIR/tools/m2tool" 57 QEMU_INSPECT="$REPO_DIR/tools/qemu_inspect.sh" 58 BUILD_DIR="$REPO_DIR/build" 59 CANON="$BUILD_DIR/canonical" 60 RUN_DIR=$(mktemp -d "${TMPDIR:-/tmp}/m2_gate_qualification_XXXXXXXX") || exit 1 61 chmod 700 "$RUN_DIR" 62 trap 'rm -rf -- "$RUN_DIR"' EXIT 63 trap 'exit 1' INT TERM 64 65 # 1. Run Seam 1 (Artifact Audit Seam) 66 echo "" 67 "$M2TOOL" audit-verify \ 68 "$REPO_DIR/physics.bin" \ 69 "$REPO_DIR/physics.sha256" \ 70 "$REPO_DIR/physics.manifest" \ 71 "$REPO_DIR/machine_contract.json" \ 72 "$REPO_DIR/physics.audit" \ 73 "$REPO_DIR/physics.decode" 74 echo "" 75 76 # 2. Run Seam 2 (Execution Harness Seam) 77 echo "======================================================================" 78 echo "SEAM 2: EXTERNAL EXECUTION SEAM (QEMU AARCH64 VIRT - PHYSICS_BOOT)" 79 echo "======================================================================" 80 81 # Verify reproducible canonical rebuild 82 CANON_PHYS_SHA=$("$M2TOOL" sha256 "$CANON/physics.bin") 83 ROOT_PHYS_SHA=$("$M2TOOL" sha256 "$REPO_DIR/physics.bin") 84 CANON_ATLAS_SHA=$("$M2TOOL" sha256 "$CANON/atlas_m2.bin") 85 ROOT_ATLAS_SHA=$("$M2TOOL" sha256 "$REPO_DIR/atlas_m2.bin") 86 87 if [ "$CANON_PHYS_SHA" = "$ROOT_PHYS_SHA" ] && [ "$CANON_ATLAS_SHA" = "$ROOT_ATLAS_SHA" ]; then 88 echo " [OK] PHYSICS_BOOT_QEMU_PASS: physics.bin and atlas_m2.bin rebuild byte-identically from source" 89 else 90 echo " [FAIL] PHYSICS_BOOT_QEMU_PASS: rebuild mismatch!" >&2 91 exit 1 92 fi 93 94 # ---- Exec-1: golden boot ---------------------------------------------------- 95 echo "" 96 echo "[Exec-1] Golden boot, machine state read over QMP" 97 GOLDEN_RUN="$RUN_DIR/golden" 98 mkdir -p "$GOLDEN_RUN" 99 100 "$QEMU_INSPECT" \ 101 --out "$GOLDEN_RUN" \ 102 --bios "$CANON/atlas_m2.bin" \ 103 --loader "$CANON/physics.bin@0x40200000" \ 104 --marker "PHYSICS: QUIESCENT_READY" \ 105 --timeout 10 \ 106 --region "boot_desc:0x40205800:0x40" \ 107 --region "entry:0x40205840:0x08" \ 108 --region "trap_magic:0x402059B8:0x08" \ 109 --region "cap:0x40206000:0x50" \ 110 --region "alloc:0x40207000:0x20" \ 111 --region "bitmap:0x40207020:0xFC0" >/dev/null 112 113 while IFS= read -r line; do 114 echo " | $line" 115 done < "$GOLDEN_RUN/serial.txt" 116 117 # Check telemetry 118 GOLDEN_LINES=$(grep -cE "^(ATLAS: AWAKEN|ATLAS: VERIFY|ATLAS: HANDOFF|PHYSICS: AWAKEN|PHYSICS: INGRESS_VALID|PHYSICS: ENTRY_EL1_VERIFIED|PHYSICS: VBAR_INSTALLED|PHYSICS: FRAME_AUTH_BOUND|PHYSICS: CAP_ROOT_GENESIS|PHYSICS: QUIESCENT_READY)$" "$GOLDEN_RUN/serial.txt" || true) 119 TOTAL_SERIAL=$(grep -c . "$GOLDEN_RUN/serial.txt" || true) 120 121 if [ "$GOLDEN_LINES" -eq 10 ] && [ "$TOTAL_SERIAL" -eq 10 ]; then 122 echo " [OK] PHYSICS_BOOT_QEMU_PASS: telemetry is exactly the golden sequence, nothing else" 123 else 124 echo " [FAIL] PHYSICS_BOOT_QEMU_PASS: unexpected telemetry in golden run" >&2 125 exit 1 126 fi 127 128 "$M2TOOL" verify-golden "$GOLDEN_RUN" "$REPO_DIR/machine_contract.json" "$REPO_DIR/atlas.sha256" 129 130 # ---- Exec-2: in-kernel allocator exhaustion, reserved & cap probes --------- 131 echo "" 132 echo "[Exec-2] In-kernel allocator exhaustion, reserved and capability probes" 133 build_variant "unit" 134 "$M2TOOL" gen-canary "$BUILD_DIR/seam2/canary.bin" 135 UNIT_RUN="$RUN_DIR/unit" 136 mkdir -p "$UNIT_RUN" 137 138 "$QEMU_INSPECT" \ 139 --out "$UNIT_RUN" \ 140 --bios "$BUILD_DIR/seam2/unit/atlas_m2.bin" \ 141 --loader "$BUILD_DIR/seam2/unit/physics.bin@0x40200000" \ 142 --loader "$BUILD_DIR/seam2/canary.bin@0x40207FDF" \ 143 --marker "PHYSICS: UNIT_TESTS_DONE" \ 144 --timeout 10 \ 145 --region "test_record:0x40205A00:0x38" \ 146 --region "alloc:0x40207000:0x20" \ 147 --region "bitmap:0x40207020:0xFBF" \ 148 --region "canary:0x40207FDF:0x1021" >/dev/null 149 150 while IFS= read -r line; do 151 echo " | $line" 152 done < "$UNIT_RUN/serial.txt" 153 154 "$M2TOOL" verify-unit "$UNIT_RUN" 155 156 # ---- Exec-3: exception state capture (brk & align) ------------------------- 157 echo "" 158 echo "[Exec-3/brk] Sentinel GPRs, then BRK #0x4d32" 159 build_variant "trap_brk" 160 FAULT_BRK=$("$M2TOOL" get-symbol "$BUILD_DIR/seam2/trap_brk/physics.elf" seam2_fault_site) 161 TRAP_BRK_RUN="$RUN_DIR/trap_brk" 162 mkdir -p "$TRAP_BRK_RUN" 163 164 "$QEMU_INSPECT" \ 165 --out "$TRAP_BRK_RUN" \ 166 --bios "$BUILD_DIR/seam2/trap_brk/atlas_m2.bin" \ 167 --loader "$BUILD_DIR/seam2/trap_brk/physics.bin@0x40200000" \ 168 --marker "PHYSICS: TRAP_FRAME_CAPTURED" \ 169 --timeout 10 \ 170 --region "trap_frame:0x40205880:0x140" >/dev/null 171 172 while IFS= read -r line; do 173 echo " | $line" 174 done < "$TRAP_BRK_RUN/serial.txt" 175 176 "$M2TOOL" verify-trap "$TRAP_BRK_RUN" brk "$FAULT_BRK" 177 178 echo "" 179 echo "[Exec-3/align] Sentinel GPRs, then unaligned load (SCTLR_EL1.A=1)" 180 build_variant "trap_align" 181 FAULT_ALIGN=$("$M2TOOL" get-symbol "$BUILD_DIR/seam2/trap_align/physics.elf" seam2_fault_site) 182 TRAP_ALIGN_RUN="$RUN_DIR/trap_align" 183 mkdir -p "$TRAP_ALIGN_RUN" 184 185 "$QEMU_INSPECT" \ 186 --out "$TRAP_ALIGN_RUN" \ 187 --bios "$BUILD_DIR/seam2/trap_align/atlas_m2.bin" \ 188 --loader "$BUILD_DIR/seam2/trap_align/physics.bin@0x40200000" \ 189 --marker "PHYSICS: TRAP_FRAME_CAPTURED" \ 190 --timeout 10 \ 191 --region "trap_frame:0x40205880:0x140" >/dev/null 192 193 while IFS= read -r line; do 194 echo " | $line" 195 done < "$TRAP_ALIGN_RUN/serial.txt" 196 197 "$M2TOOL" verify-trap "$TRAP_ALIGN_RUN" align "$FAULT_ALIGN" 198 199 # ---- Exec-4: hostile ingress matrix ---------------------------------------- 200 echo "" 201 echo "[Exec-4] Hostile ingress matrix (memory-checked: no authority granted)" 202 203 HOSTILE_PASSED=0 204 TOTAL_HOSTILE=23 205 DESC_OK=1 206 207 test_hostile_case() { 208 tag="$1" 209 desc="$2" 210 defsym="$3" 211 panic="$4" 212 is_desc="$5" 213 214 build_hostile "$tag" "$defsym" 215 h_run="$RUN_DIR/hostile_$tag" 216 mkdir -p "$h_run" 217 218 "$QEMU_INSPECT" \ 219 --out "$h_run" \ 220 --bios "$BUILD_DIR/seam2/hostile_$tag/atlas_m2.bin" \ 221 --loader "$CANON/physics.bin@0x40200000" \ 222 --marker "$panic" \ 223 --timeout 10 \ 224 --region "entry:0x40205840:0x08" \ 225 --region "alloc:0x40207000:0x20" \ 226 --region "cap:0x40206000:0x50" >/dev/null 227 228 clean=$("$M2TOOL" verify-no-auth "$h_run" && echo 1 || echo 0) 229 has_panic=$(grep -q "$panic" "$h_run/serial.txt" && echo 1 || echo 0) 230 has_leak=$(grep -qE "FRAME_AUTH_BOUND|CAP_ROOT_GENESIS|QUIESCENT_READY" "$h_run/serial.txt" && echo 1 || echo 0) 231 232 if [ "$clean" -eq 1 ] && [ "$has_panic" -eq 1 ] && [ "$has_leak" -eq 0 ]; then 233 panic_name=${panic#PHYSICS: } 234 printf " [REFUSED] %-40s -> %s\n" "$desc" "$panic_name" 235 HOSTILE_PASSED=$((HOSTILE_PASSED + 1)) 236 else 237 printf " [FAIL] %-40s -> Did not refuse as expected!\n" "$desc" >&2 238 exit 1 239 fi 240 } 241 242 test_hostile_case "bad_cookie" "bad verification cookie" "ABI_X2=0xDEADBEEFCAFEBABE" "PHYSICS: PANIC_BAD_COOKIE" 0 243 test_hostile_case "bad_payload_size" "x1 payload size != 6144" "ABI_X1=4096" "PHYSICS: PANIC_BAD_PAYLOAD_SIZE" 0 244 test_hostile_case "bad_desc_ptr" "descriptor pointer moved" "ABI_X0=0x40100000" "PHYSICS: PANIC_BAD_DESCRIPTOR_PTR" 0 245 test_hostile_case "bad_magic" "bad descriptor magic" "DESC_MAGIC=0x4D424453435F3032" "PHYSICS: PANIC_BAD_DESC_MAGIC" 1 246 test_hostile_case "version_2" "unsupported descriptor version 2" "DESC_VERSION=2" "PHYSICS: PANIC_BAD_DESC_VERSION" 1 247 test_hostile_case "version_0" "unsupported descriptor version 0" "DESC_VERSION=0" "PHYSICS: PANIC_BAD_DESC_VERSION" 1 248 test_hostile_case "len_truncated" "truncated length 32" "DESC_LENGTH=32" "PHYSICS: PANIC_BAD_DESC_LENGTH" 1 249 test_hostile_case "len_oversized" "oversized length 128" "DESC_LENGTH=128" "PHYSICS: PANIC_BAD_DESC_LENGTH" 1 250 test_hostile_case "reserved_low" "reserved flags bit 0 set" "DESC_FLAGS=1" "PHYSICS: PANIC_BAD_DESC_RESERVED" 1 251 test_hostile_case "reserved_high" "reserved flags bit 63 set" "DESC_FLAGS=0x8000000000000000" "PHYSICS: PANIC_BAD_DESC_RESERVED" 1 252 test_hostile_case "ram_size_zero" "DRAM size zero" "DESC_RAM_SIZE=0" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 253 test_hostile_case "ram_overflow" "DRAM base + size overflow" "DESC_RAM_SIZE=0xFFFFFFFFFFFFFFFF" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 254 test_hostile_case "ram_oversized" "valid base + oversized size" "DESC_RAM_SIZE=0x09000000" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 255 test_hostile_case "ram_undersized" "undersized RAM" "DESC_RAM_SIZE=0x07000000" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 256 test_hostile_case "ram_base_lower" "RAM base shifted lower" "DESC_RAM_BASE=0x3FF00000" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 257 test_hostile_case "ram_base_upper" "RAM base shifted upper" "DESC_RAM_BASE=0x40100000" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 258 test_hostile_case "ram_beyond_profile" "valid-looking range beyond profile" "DESC_RAM_SIZE=0x100000000" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 259 test_hostile_case "ram_excludes_physics" "DRAM range excluding PHYSICS" "DESC_RAM_BASE=0x40300000" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 260 test_hostile_case "uart_out_of_profile" "UART outside machine profile" "DESC_UART_BASE=0x08000000" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 261 test_hostile_case "uart_misaligned" "misaligned UART address" "DESC_UART_BASE=0x09000001" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 262 test_hostile_case "physics_base_moved" "PHYSICS base moved" "DESC_PHYSICS_BASE=0x40300000" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 263 test_hostile_case "physics_size_wrong" "PHYSICS size wrong" "DESC_PHYSICS_SIZE=4096" "PHYSICS: PANIC_INGRESS_CORRUPT" 1 264 265 # Real wrong-EL entry: virtualization=on 266 EL2_RUN="$RUN_DIR/run_el2" 267 mkdir -p "$EL2_RUN" 268 269 "$QEMU_INSPECT" \ 270 --out "$EL2_RUN" \ 271 --bios "$CANON/atlas_m2.bin" \ 272 --loader "$CANON/physics.bin@0x40200000" \ 273 --marker "PHYSICS: PANIC_UNCONTRACTED_EL" \ 274 --qemu-arg "-machine" \ 275 --qemu-arg "virt,virtualization=on" \ 276 --timeout 10 \ 277 --region "entry:0x40205840:0x08" \ 278 --region "alloc:0x40207000:0x20" \ 279 --region "cap:0x40206000:0x50" >/dev/null 280 281 el2_clean=$("$M2TOOL" verify-no-auth "$EL2_RUN" && echo 1 || echo 0) 282 el2_has_panic=$(grep -q "PHYSICS: PANIC_UNCONTRACTED_EL" "$EL2_RUN/serial.txt" && echo 1 || echo 0) 283 284 if [ "$el2_clean" -eq 1 ] && [ "$el2_has_panic" -eq 1 ]; then 285 printf " [REFUSED] %-40s -> PANIC_UNCONTRACTED_EL\n" "entry at EL2 (virtualization=on)" 286 HOSTILE_PASSED=$((HOSTILE_PASSED + 1)) 287 else 288 echo " [FAIL] entry at EL2 failed to refuse properly" >&2 289 exit 1 290 fi 291 292 echo " [OK] PHYSICS_ENTRY_EL_PASS: entry at EL2 refused before any authority" 293 echo " [OK] PHYSICS_DESCRIPTOR_INGRESS_PASS: every descriptor header/profile violation refused before bitmap init" 294 echo " [OK] PHYSICS_CORRUPTION_REFUSAL_PASS: $HOSTILE_PASSED/$TOTAL_HOSTILE hostile cases refused with the expected panic and zero authority state" 295 296 END_TIME=$(date +%s%N 2>/dev/null || date +%s) 297 DURATION="" 298 if [ ${#START_TIME} -gt 10 ] && [ ${#END_TIME} -gt 10 ]; then 299 NANODIFF=$((END_TIME - START_TIME)) 300 SECS=$((NANODIFF / `1000000000`)) 301 CENTS=$(( (NANODIFF % `1000000000`) / `10000000` )) 302 DURATION=$(printf "%d.%02d" "$SECS" "$CENTS") 303 else 304 SECDIFF=$((END_TIME - START_TIME)) 305 DURATION="${SECDIFF}.00" 306 fi 307 308 # 3. Print master qualification report 309 echo "" 310 echo "======================================================================" 311 echo "MILESTONE 2 QUALIFICATION AUDIT SUMMARY REPORT (PHYSICS_BOOT)" 312 echo "======================================================================" 313 echo " [PASSED] PHYSICS_ARTIFACT_IDENTITY_PASS" 314 echo " [PASSED] PHYSICS_MACHINE_CONTRACT_PASS" 315 echo " [PASSED] PHYSICS_AUDIT_PASS" 316 echo " [PASSED] PHYSICS_VECTOR_LAYOUT_PASS" 317 echo " [PASSED] PHYSICS_VECTOR_ALIGNMENT_PASS" 318 echo " [PASSED] PHYSICS_MEMORY_DISJOINTNESS_PASS" 319 echo " [PASSED] PHYSICS_STATIC_MEMORY_BOUNDS_PASS" 320 echo " [PASSED] PHYSICS_ENTRY_EL_PASS" 321 echo " [PASSED] PHYSICS_DESCRIPTOR_INGRESS_PASS" 322 echo " [PASSED] PHYSICS_BOOT_QEMU_PASS" 323 echo " [PASSED] PHYSICS_FRAME_BOUNDS_PASS" 324 echo " [PASSED] PHYSICS_RESERVED_FRAME_REFUSAL_PASS" 325 echo " [PASSED] PHYSICS_CAP_ROOT_PASS" 326 echo " [PASSED] PHYSICS_EXCEPTION_STATE_CAPTURE_PASS" 327 echo " [PASSED] PHYSICS_CORRUPTION_REFUSAL_PASS" 328 echo "----------------------------------------------------------------------" 329 echo "Overall Result: MILESTONE 2 QUALIFIED (QEMU) โ€” ALL GATES PASSED" 330 echo "Execution Duration: ${DURATION} seconds" 331 echo "======================================================================" 332 333 if [ "$WRITE_RECEIPT" -eq 1 ]; then 334 HEAD_REV=$(git rev-parse HEAD) 335 PHYS_SHA=$("$M2TOOL" sha256 "$REPO_DIR/physics.bin") 336 ATLAS_SHA=$("$M2TOOL" sha256 "$REPO_DIR/atlas_m2.bin") 337 QEMU_VER=$(qemu-system-aarch64 --version | head -n 1) 338 339 cat < "$REPO_DIR/qualification_receipt.json" 340 { 341 "milestone": "MILESTONE 2 โ€” PHYSICS_BOOT", 342 "contract_id": "CONTRACT-QEMU-VIRT-AARCH64-M2", 343 "status": "QUALIFIED_QEMU_VIRT", 344 "timestamp": "$(date -u +'%Y-%m-%dT%H:%M:%S.000000+00:00')", 345 "source": { 346 "base_commit": "$HEAD_REV", 347 "tracked_changes_at_run": false, 348 "note": "base_commit is HEAD when the gates ran; the receipt is committed on top of it" 349 }, 350 "environment": { 351 "qemu": "$QEMU_VER", 352 "machine": "virt, cortex-a57, 128M, tcg thread=single" 353 }, 354 "canonical_artifact": { 355 "name": "physics.bin", 356 "sha256": "$PHYS_SHA", 357 "size_bytes": 6144, 358 "total_words": 1536, 359 "entry_point": "0x40200000", 360 "provenance_anchor": "`f7802501b410a0c19eff7b8fca8865c9ba9c96bfa4f8065ca8f508b67748b9a5`" 361 }, 362 "atlas_handoff_artifact": { 363 "name": "atlas_m2.bin", 364 "sha256": "$ATLAS_SHA", 365 "size_bytes": 1764 366 }, 367 "audit_accounting": { 368 "decoded_instructions": 464, 369 "instruction_bytes": 1856, 370 "rodata_words": 170, 371 "rodata_bytes": 680, 372 "canonical_padding_words": 390, 373 "canonical_padding_bytes": 1560, 374 "vector_table_words": 512, 375 "vector_table_bytes": 2048, 376 "total_words": 1536, 377 "total_bytes": 6144, 378 "discrepancy_bytes": 0 379 }, 380 "vector_table": { 381 "base_address": "0x40201000", 382 "alignment_bytes": 2048, 383 "total_span_bytes": 2048, 384 "slots": 16, 385 "slot_stride_bytes": 128 386 }, 387 "gates": { 388 "PHYSICS_ARTIFACT_IDENTITY_PASS": true, 389 "PHYSICS_MACHINE_CONTRACT_PASS": true, 390 "PHYSICS_AUDIT_PASS": true, 391 "PHYSICS_VECTOR_LAYOUT_PASS": true, 392 "PHYSICS_VECTOR_ALIGNMENT_PASS": true, 393 "PHYSICS_MEMORY_DISJOINTNESS_PASS": true, 394 "PHYSICS_STATIC_MEMORY_BOUNDS_PASS": true, 395 "PHYSICS_ENTRY_EL_PASS": true, 396 "PHYSICS_DESCRIPTOR_INGRESS_PASS": true, 397 "PHYSICS_BOOT_QEMU_PASS": true, 398 "PHYSICS_FRAME_BOUNDS_PASS": true, 399 "PHYSICS_RESERVED_FRAME_REFUSAL_PASS": true, 400 "PHYSICS_CAP_ROOT_PASS": true, 401 "PHYSICS_EXCEPTION_STATE_CAPTURE_PASS": true, 402 "PHYSICS_CORRUPTION_REFUSAL_PASS": true 403 }, 404 "native_qualification": { 405 "PHYSICS_BOOT_NATIVE_PASS": "PENDING (Strictly decoupled; awaits DGX Spark silicon test)" 406 } 407 } 408 EOF 409 echo "" 410 echo "Wrote formal qualification receipt -> qualification_receipt.json" 411 fi