#!/usr/bin/env python3 """Clone an actually applied bootstrap guest, then BIOS boot and query real D09. Run in the same durable CPU2/8G/no-swap discipline as the installed VM harness. Never writes the bootstrap owner's source disk; retains every failed child. """ import argparse import json from pathlib import Path import subprocess import sys import time p=argparse.ArgumentParser(description=__doc__) p.add_argument('--applied-report',type=Path,required=True) p.add_argument('--output',type=Path,required=True) p.add_argument('--wait',type=int,default=0) a=p.parse_args() deadline=time.monotonic()+a.wait while not (a.applied_report/'result.json').exists() and time.monotonic()