Skip to content

Commit dc7e114

Browse files
committed
chore: allowlist demo-seed placeholder data for git-shield
The demo seed (extracted from demo-reset.ts, already on main) uses fake contact details and Italian dish/UI strings that git-shield's PII filter flags. Add narrow allowlist regexes for the placeholder phones, bare social URLs, the maps URL template, the promo date, and the dish/heading false positives.
1 parent adf2614 commit dc7e114

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.pii-allowlist

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,21 @@ test\.local
148148
(?i)^tony(-chat)?$
149149
# npm registry tarball URLs in package-lock files are public dependency metadata.
150150
registry[.]npmjs[.]org
151+
152+
# ── Demo restaurant seed data (backend/src/lib/demo-seed-data.ts) ──
153+
# Placeholder contact details for the public "Trattoria Demo" — all fake.
154+
# Fake phone numbers (all-zero Venice placeholder, with/without spaces).
155+
\+?39 ?041 ?000 ?0000
156+
\+?390410000000
157+
# Bare social profile roots and the Google-maps URL template (interpolated vars).
158+
^https?://(www\.)?instagram\.com/?$
159+
^https?://(www\.)?facebook\.com/?$
160+
^https?://(www\.)?google\.com/maps/.*$
161+
# Far-future promotion expiry date in the demo seed.
162+
^2030-12-31T
163+
164+
# ── Demo dish/UI strings the scanner mistakes for personal names ──
165+
(?i)^uova$
166+
(?i)^orari di apertura$
167+
(?i)^ravioli de$
168+
(?i)^hausgemacht$

0 commit comments

Comments
 (0)