We got called not long after by the site's compliance officer asking why classified data was being accessed by non-ITAR-compliant personnel. It was explainable and we got through it just by implementing and adhering to an additional deployment control, but I still remember him telling us that the products being built don't become classified until the serial number label is applied to the board. That label is what ultimately identifies the product and the program ... so if we had a way of testing things without labeling them (for example, by creating dummy labels that didn't mean anything but could still be UUIDs), it was no problem. So then we adapted our software to allow for these dummy serials for testing purposes ... and we also created a classified compliance trigger in our BI tools to prevent manufacturing history for any classified unit from being visible to an non-compliant personnel after the manufacturing step where the real SN label was applied.
Speaking of naval nuclear, I grew up in Lynchburg, VA, home of BWXT, and my dad is a [retired] naval officer & nuclear engineer who spent his career at B&W (commercial). I had several friends who went to work at BWXT and they took data controls extremely seriously. No computers (including cell phones) allowed through the gate. No paper allowed back out, and any new hire who didn't already have a security clearance had to work in a physically airgapped (trailers, enclosed in razor wire fencing) office on not much of anything until they got cleared. For some it took 6-9 months after they were hired.
that in particular seems extreme, but I know someone who worked on nuclear reactors for the DOD and they were told to not comment on/confirm anything related to nuclear as a CYA, even if it was widely available public info.
What do you actually mean by numbers in this context?
E.g. if you exactly know reactor XY was assigned to Z submarine, and you see it in the boneyard, you could assume Z was decommissioned. And if you are e.g. China you could estimate how many submarines are deployed in your vicinity.
Also when classifying things you do have to portion mark but you don't need to justify any of the portion markings so you don't have to actually know if/why something is classified to mark it and that causes markings to perpetuate.
I remember back in school one student got called in front of the program CO and threatened with jail time for removing "classified material" from the school building after barracks inspectors found nuclear-related paperwork in the student's bedroom. (This was years before the student was assigned to an actual ship where they could learn the half dozen actually important secret numbers.) The student pointed out that they did not remove any paperwork from the school; the papers in their bedroom were printouts from wikipedia. The student was ordered in writing to not read about nuclear engineering outside of the school building, regardless of the source. Even though it's all publicly available information that is taught in any undergrad engineering program.