The KiCad Scripted printed circuit board (PCB) project generated a routed Compute Module 5 carrier that passed its design rule check (DRC), then appeared to have 698 errors when someone opened the output. The board geometry was unchanged. The routing script had copied only the .kicad_pcb board file and left behind the KiCad project file plus the custom rule file that defined valid clearances and track widths.
Without those two files, KiCad silently fell back to its default rules and reported 499 clearance errors and 199 track-width errors. The generator now writes matching .kicad_pro and .kicad_dru files beside the routed board. Opening that three-file result restores the same rules the script used and returns the error count to zero.
A generated artifact without its check policy isn't reproducible, even when every copper segment is present. Board automation should treat the project and rule files as required outputs, then reopen the exported bundle in a clean directory and require the same DRC result before publishing it.