Option checks, run modes and the strict exits move to packs (verifyoptions, verifyrun, verifyprint, strictgate, crossrefscope, crossrefreport). Both commands keep main and build_parser only.
Option checks go to packs/packoptions.py, the run modes to
packs/packmodes.py and the platform choice to packs/platformrun.py.
generate_pack.py keeps main() and build_parser(). Tests patch the
package modules instead of command attributes.
The doc page check read options spelled in quotes only: --system and
--emulator, added by add_emulator_selection, counted as unknown once no
other line of generate_pack.py spelled them.
parse_budget goes to probes.host beside Settings, and the line a pass prints, with the alert key autorun reads, to probes.reports.pass_report. campaign.py keeps its parser, main and the exit codes.
frontend.script_modified looked at standalone_probe.py alone. The run's code now lives in five probes modules: a record from a checkout where one of them differs from the commit says so.
The emulators and their settings, the AppImage fetch, the Xvfb screen reader, the run and its variants, and the record go to five probes modules. standalone_probe.py keeps its parser, main and the printing of each mode. Without an oracle file, a record names probes/standaloneemulators.py, the file that now holds the error strings.
resolve and fetch let a GitHub listing or download failure end on a traceback: the listing raises ProbeError, and fetch also prints forge and HTTP failures as an ERROR line with exit 1.
standalone_probe run and check raised the ProbeError of a missing fetched asset as a traceback. It is printed as an ERROR line with exit 1, like every other failed run.
The three commands keep their parser, main and printing. Scans, scopes,
report text, the JSON forms, the strict gate and the destinations file
live in new packs modules, one subject each.