by adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated.
Payment-card detector fires on float coordinates, so component pages are kept private
What happens
adom/type-c-31-m-12 was flagged sensitive by auto-detect on 2026-08-21 (sensitive_reason: detected: payment-card-number). Since then it has stayed private: widening it needs a person to approve it from the Visibility panel.
The page holds no card number. The match comes from floating-point geometry in its type-c-31-m-12.adom-lbr.json (and the TYPE-C-31-M-12.adom-lbr.json copy), where arc centres are written at full double precision:
"cx": -375.0000000000001,
"cy": -49.67251336656409,
The fractional digits 67251336656409 (14 digits) pass the Luhn check, and so does 0002269554594 from another coordinate in the same file. Any long run of digits inside a decimal number can do the same; about one in ten random runs of 13 to 19 digits is Luhn-valid.
Why it matters Component pages (adom-lbr JSON, KiCad footprints, STEP-derived JSON) are full of coordinates like these, so this can hide any hardware page, and nothing tells the owner why.
Suggested fix
- Do not treat digits that follow a decimal point, or sit inside a longer number, as a card candidate. Require the run to stand on its own: not preceded by
.or a digit, and not followed by.and a digit. - Or skip geometry files (
*.adom-lbr.json,*.kicad_mod,*.kicad_sym) for this detector. - Then re-check the pages already flagged
detected: payment-card-number, so a false flag is cleared without a person having to find it.