Repository navigation
Conversation
…atus Add ASSETS.md at the repository root and link it from README.md, apps/editor/README.md, and packages/viewer/README.md to clarify how the root MIT licence relates to static assets under apps/editor/public: - Document verified open-licensed assets and commercial/SaaS permissions: Poly Haven venice_sunset_1k.hdr (CC0 1.0), Plus Jakarta Sans, Geist, Geist Mono, and Liberation Sans fonts (SIL OFL 1.1), the 9 ffmpeg- synthesized UI/switch/turn sound cues (MIT), procedural items/urinal outputs (MIT), and Pascal Next demo media (CC BY 4.0). - Explicitly mark unverified bundled and hosted groups (remaining item models, KTX2/WebP/JPG/PNG PBR material textures, recorded/DAW sound cues and audio, UI icons, and demo_1.json) as not covered by the repository MIT licence pending an owner licence notice, alongside brand trademark reservations and test IFC restrictions. - Detail how commercial and self-hosted @pascal-app/viewer and @pascal-app/editor hosts override default asset, storage, sound, icon, and decoder origins via configureViewer(), including the NEXT_PUBLIC_* fallback boundary for sfxBaseUrl and iconsBaseUrl. - Add apps/editor/lib/bundled-assets-policy.test.ts to guard link and GitHub heading-slug resolution, npm-safe viewer README links, exact public/ folder and root-file boundaries, scripted SFX parity, map-less MATERIAL_CATALOG finishes, and getViewerConfig() env-var fallbacks.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Addresses #1327.
I added
ASSETS.mdat the repository root and linked it fromREADME.md,apps/editor/README.md, andpackages/viewer/README.mdso users and commercial integrators have one clear licence, provenance, and attribution reference for the static files underapps/editor/public/(as well as remote defaults oneditor.pascal.appand Pascal storage):MIT),apps/editor/public/hdri/venice_sunset_1k.hdr(CC0 1.0from Poly Haven via@react-three/drei), bundled web/app/PDF fonts (Plus Jakarta Sans,Geist,Geist Mono, andLiberation SansunderSIL OFL 1.1), the 9ffmpeg-synthesized UI/switch/turn sound cues fromscripts/synth-turn-cues.tsandscripts/synth-viewer-cues.ts(MIT), proceduralapps/editor/public/items/urinal/*outputs (MIT), anddocs/media/next-demo/*recordings (CC BY 4.0).apps/editor/public/items/<slug>/anditems/system/*, PBR material maps and swatches underapps/editor/public/material/(.ktx2,.webp,.jpg,.png) andeditor.pascal.app/material/*, recorded/DAW audio files underapps/editor/public/audios/**, UI icons underapps/editor/public/icons/**(cursor.svg,public/icons/spawn-point.svg), andapps/editor/public/demos/demo_1.json, alongside Pascal/Vercel brand trademark reservations and the existingtest-ifc-filesnotice.@pascal-app/viewerand@pascal-app/editorhosts override default asset, storage, sound, icon, and decoder origins withconfigureViewer(...), including theNEXT_PUBLIC_ASSETS_CDN_URL/NEXT_PUBLIC_SUPABASE_URLfallback boundary (sfxBaseUrlandiconsBaseUrlstill require explicitconfigureViewervalues).apps/editor/lib/bundled-assets-policy.test.tsto verify relative markdown links and GitHub heading anchors, npm-safe canonical links inpackages/viewer/README.md, exact path coverage acrossapps/editor/public/, 9-file parity withscripts/synth-*.ts, emptymapson proceduralMATERIAL_CATALOGpresets, andgetViewerConfig()env-var behavior.(I used
Addresses #1327rather thanFixes #1327so maintainers can choose whether to close #1327 when this notice lands or keep it open until owner licence decisions are recorded for the remaining bundled groups.)How to test
bun run --cwd apps/editor testand confirm all tests pass, includingapps/editor/lib/bundled-assets-policy.test.tsandapps/editor/proxy.test.ts.bun run --cwd apps/editor check-types,bun run check,bun run skills:validate, andbun run check:render-bundleand confirm zero errors.ASSETS.md,README.md(FAQ),apps/editor/README.md, andpackages/viewer/README.md(License) to verify all links and asset group descriptions.Screenshots / screen recording
N/A - non-visual documentation and policy test change.
Checklist
bun devbun checkto verify)mainbranchNote
Low Risk
Documentation and regression tests only; no runtime or licensing behavior changes in application code.
Overview
Adds root
ASSETS.mdas the canonical licence and provenance guide for static content underapps/editor/public/and defaulteditor.pascal.app/ storage assets. It separates MIT/OFL/CC0/CC BY groups (code, procedural geometry, nine synthesized SFX, urinal, fonts, HDRI, next-demo media) from unverified bundles (item catalog, PBR materials, recorded audio, icons, demo scene) and documents trademark limits plus IFC test-fixture restrictions. The doc also explains commercial embedding: override all asset origins withconfigureViewer(...)and notes thatNEXT_PUBLIC_ASSETS_CDN_URLalone does not retarget SFX or icons.README FAQ, apps/editor/README, and packages/viewer/README (License) now point integrators at
ASSETS.mdinstead of implying everything in the repo is MIT.Adds
bundled-assets-policy.test.tsto keep the notice honest over time: valid markdown links/anchors, fullapps/editor/public/coverage, sync withscripts/synth-*.tsSFX outputs, map-lessMATERIAL_CATALOGclaims, npm-safe viewer README URLs, andgetViewerConfig()env vs explicitconfigureViewerbehavior.Reviewed by Cursor Bugbot for commit e37514e. Bugbot is set up for automated code reviews on this repo. Configure here.