# 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 ^ATTRIBUTION\.md$ :: \|\s*`docs/brand/
sub (?s)\nThe ArtCraft name, wordmark and logos in docs/brand/.*?LICENSE-brand\.txt\.\n =>
sub \n- The ArtCraft trademarks in `docs/brand/` are the only exception, under `docs/brand/LICENSE-brand\.txt`\. =>
sub until the owner draws SoundCraft's icon in ArtCraft like => until the owner draws SoundCraft's icon like
sub https://getartcraft\.com/apps/soundcraft => https://github.com/storytold/soundcraft
sub https://discord\.gg/artcraft => https://github.com/storytold/soundcraft/issues
forbid (?i)artcraft(?! Team and the SoundCraft contributors)
forbid (?i)discord
