# Strip upstream (ArtCraft / Discord) branding. Run: perl tools/craft-skills/skills/debrand/debrand.pl .  (--check in CI)
delete docs/brand
# MIT/Apache texts stay verbatim. The copyright holder line stays everywhere (legal requirement).
keep ^(LICENSE-(MIT|APACHE)|\.debrand)$
dropline ^crates/ui-egui/src/i18n/.*\.tsv$ :: [^#\n][^\n]*\t[^\n]*(?:ArtCraft|Discord|getartcraft)
dropline ^ATTRIBUTION\.md$ :: \|\s*`docs/brand/
sub (?s)## First-party brand marks\n.*?(?=## Third-party source code) =>
sub (?s)\nThe ArtCraft name, wordmark and logos in docs/brand/.*?LICENSE-brand\.txt\.\n =>
sub drawn by the owner in ArtCraft => drawn by the owner by hand
sub in ArtCraft, then => by hand, then
sub drew it in ArtCraft as => drew it by hand as
sub owner's ArtCraft drawing => owner's drawing
sub ArtCraft,[ ]? =>
sub ArtCraft、 =>
sub https://getartcraft\.com/apps/filmcraft => https://github.com/storytold/filmcraft
sub https://discord\.gg/artcraft => https://github.com/storytold/filmcraft/issues
forbid (?i)artcraft(?! Team and the FilmCraft contributors)
forbid (?i)discord
