fix(export): no client names hardcoded in export_public.sh leak check

The leak-check grep pattern no longer contains (obfuscated) client names.
Patterns are now derived at runtime from:
- sibling variant theme folders (../<name>_vanilla, excluding this theme)
- variants/leak-patterns.txt (gitignored; canonical copy in the private
  repo respondage_vanilla_variants)
The export tar also excludes leak-patterns.txt, and the script was verified:
export builds clean, and a planted client string is correctly detected.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-16 20:41:23 +01:00
commit d22abc8745

3
.gitignore vendored
View file

@ -4,3 +4,6 @@
# variants/build.php at that folder (2nd CLI argument or RESPONDAGE_VARIANTS_DIR).
variants/*.json
variants/README.internal.md
# extra leak-check patterns for variants/export_public.sh (client names/terms/colors);
# the canonical copy lives in the private repo respondage_vanilla_variants
variants/leak-patterns.txt