docs: allow Affinity Scripting Studio JS as a scoped exception #190
No reviewers
Labels
No labels
build-dist
priority
P1
priority
P2
priority
P3
priority
P4
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Toilville/toilville-design!190
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/allow-affinity-scripts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Opens a second, scoped exception to the no-JavaScript rule so keff (ville) can contribute pipeline-ready art from Affinity 3.3's Scripting Studio.
Brand/source/_editor/affinity-scripts/*.js. They run inside Affinity only (no package.json, npm or CI) and may readdist/<product>/tokens.dtcg.json. They never writedist/, author tokens, or hard-code brand hex beyond the assets.yml color_map hexes they lint against. Their output is ordinary source art, delivered by PR.save_script_to_library), the rules, and the planned scripts: export-plate, lint-icon-colors, export-icon.No scripts are included. They should be written against the live SDK docs.
Verified: extract.py check --all ok, forgeblock_validate ok, pytest generator/tests 280 passed.