Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

chore(license): add SPDX headers, origin watermarks, NOTICE/PROVENANCE

esengineae82ffe75b42
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 000000000..d171cb3b0
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,40 @@
+Estella / ESEngine
+Copyright (c) 2024-present ESEngine Team. All rights reserved.
+
+This software is licensed under the PolyForm Noncommercial License 1.0.0.
+See the LICENSE file for the full terms.
+
+Noncommercial use is permitted under that license. COMMERCIAL USE REQUIRES A
+SEPARATE COMMERCIAL LICENSE from the copyright holder. To obtain one, contact
+the ESEngine Team at [email protected].
+
+================================================================================
+Third-Party Components
+================================================================================
+
+This product bundles third-party components under their own licenses. Those
+licenses apply only to the corresponding component, not to Estella as a whole,
+and Estella's PolyForm Noncommercial License does not extend to them. Each
+component's full license text is included in its directory under third_party/.
+
+ Component Location License
+ ------------------- -------------------------------- ------------------------
+ Box2D third_party/box2d MIT
+ GLFW third_party/glfw zlib/libpng
+ GLM third_party/glm The Happy Bunny / MIT
+ nlohmann/json third_party/nlohmann MIT
+ doctest third_party/doctest MIT
+ glad third_party/glad MIT / Public Domain
+ cute_tiled third_party/cute_tiled zlib / Public Domain
+ stb third_party/stb MIT / Public Domain
+ basis_universal third_party/basis_universal Apache-2.0
+ Yoga third_party/yoga MIT
+ Spine Runtimes third_party/spine-runtimes-* Spine Runtimes License
+
+NOTE on the Spine Runtimes: they are NOT open source. Use of the Spine Runtimes
+requires a valid Spine license from Esoteric Software, governed by the Spine
+Runtimes License Agreement (see third_party/spine-runtimes-*/LICENSE). This
+obligation is independent of, and additional to, Estella's own license.
+
+Where a bundled component does not carry a top-level license file, its license
+header appears in the component's source files.
diff --git a/PROVENANCE.md b/PROVENANCE.md
new file mode 100644
index 000000000..d2ab4c938
--- /dev/null
+++ b/PROVENANCE.md
@@ -0,0 +1,60 @@
+# Provenance & Authorship Record
+
+This document is an authoritative, dated record of the origin and authorship of
+**Estella / ESEngine**, maintained to support copyright ownership and any future
+enforcement. It is a public statement of fact; the operational details used to
+prove that a given copy derives from this project are held privately by the
+copyright holder.
+
+## Ownership
+
+- **Copyright holder:** ESEngine Team (sole author/maintainer).
+- **License:** PolyForm Noncommercial License 1.0.0 (see [LICENSE](LICENSE)).
+ Commercial use requires a separate commercial license — contact [email protected].
+- **Authorship:** the entire codebase was written by a single author. As of this
+ writing the Git history contains 1307 commits, all from one identity. There are
+ no third-party copyright contributions to the first-party source (bundled
+ third-party components live under `third_party/` and keep their own licenses;
+ see [NOTICE](NOTICE)).
+
+## Timeline
+
+| Date (UTC) | Event |
+|-------------|---------------------------------------------------------------|
+| 2026-01-25 | First commit of the project. |
+| through v0.12.3 | Released under the MIT License. |
+| 2026-06-22 (v0.13.0) | Relicensed to PolyForm Noncommercial License 1.0.0. |
+
+Releases at or before `v0.12.3` remain available under MIT **for those snapshots
+only** — that grant is irrevocable for code already published under it. From
+`v0.13.0` onward the project is noncommercial-licensed and commercially
+dual-licensed by the copyright holder.
+
+## Embedded origin signatures
+
+Shipped builds of the runtime, and the project files the engine produces, carry
+embedded origin signatures. These survive compilation into the WebAssembly
+binary and propagate into serialized project data. Their purpose is to let the
+copyright holder identify copies — including closed-source redistributions —
+that derive from this project.
+
+The authoritative registry of these signatures, including their exact values and
+locations, is **held privately by the copyright holder** and is not published
+here. Removing or altering them does not affect copyright ownership and may
+constitute additional removal of copyright-management information.
+
+## How origin is verified
+
+1. **Git history** — this repository's full commit history and signed release
+ tags establish first authorship and dates. The canonical remote is
+ `github.com/esengine/estella`.
+2. **Release artifact hashes** — published builds are recorded by SHA-256 so a
+ redistributed binary can be matched against a known release.
+3. **Embedded signatures** — see above; matched against the private registry.
+4. **Software copyright registration** — registration of the software copyright
+ is maintained with the competent authority as prima facie evidence of
+ ownership. (Registration number: _to be added once issued._)
+
+## Reporting / enforcement contact
+
+Suspected unlicensed (commercial) use or redistribution: [email protected].
diff --git a/build-tools/build.config.js b/build-tools/build.config.js
index 9af4b43cb..2394b4c07 100644
--- a/build-tools/build.config.js
+++ b/build-tools/build.config.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import path from 'path';
import { fileURLToPath } from 'url';
diff --git a/build-tools/cli.js b/build-tools/cli.js
index 12a830c0d..f20fb9d16 100644
--- a/build-tools/cli.js
+++ b/build-tools/cli.js
@@ -1,4 +1,6 @@
#!/usr/bin/env node
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { program } from 'commander';
import { rm, mkdir } from 'fs/promises';
diff --git a/build-tools/manifest.js b/build-tools/manifest.js
index e8e45714d..2f393be88 100644
--- a/build-tools/manifest.js
+++ b/build-tools/manifest.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import path from 'path';
import { stat, readFile, writeFile, mkdir } from 'fs/promises';
import { existsSync } from 'fs';
diff --git a/build-tools/release.js b/build-tools/release.js
index 5df755b69..fe7e1d53f 100644
--- a/build-tools/release.js
+++ b/build-tools/release.js
@@ -1,4 +1,6 @@
#!/usr/bin/env node
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { readFileSync, writeFileSync } from 'fs';
import { execSync } from 'child_process';
diff --git a/build-tools/tasks/check-examples.js b/build-tools/tasks/check-examples.js
index 9449758eb..646f78174 100644
--- a/build-tools/tasks/check-examples.js
+++ b/build-tools/tasks/check-examples.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file check-examples.js
* @brief Type-check all example projects against current SDK/editor types
diff --git a/build-tools/tasks/eht.js b/build-tools/tasks/eht.js
index 48bc44973..fffd5b131 100644
--- a/build-tools/tasks/eht.js
+++ b/build-tools/tasks/eht.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import path from 'path';
import { glob } from 'fs/promises';
import config from '../build.config.js';
diff --git a/build-tools/tasks/examples.js b/build-tools/tasks/examples.js
index 901e455e8..472acdeb4 100644
--- a/build-tools/tasks/examples.js
+++ b/build-tools/tasks/examples.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file examples.js
* @brief Pack example projects into zip files for editor
diff --git a/build-tools/tasks/sdk.js b/build-tools/tasks/sdk.js
index be2b78cfc..d54e2e730 100644
--- a/build-tools/tasks/sdk.js
+++ b/build-tools/tasks/sdk.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import path from 'path';
import { mkdir, cp, readFile, writeFile, readdir } from 'fs/promises';
import { existsSync } from 'fs';
diff --git a/build-tools/tasks/shader-embeds.js b/build-tools/tasks/shader-embeds.js
index 0ac60ef36..d64695962 100644
--- a/build-tools/tasks/shader-embeds.js
+++ b/build-tools/tasks/shader-embeds.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import path from 'path';
import { readdir, readFile, writeFile, mkdir } from 'fs/promises';
import { existsSync } from 'fs';
diff --git a/build-tools/tasks/sync.js b/build-tools/tasks/sync.js
index 121e533e7..23da0e70e 100644
--- a/build-tools/tasks/sync.js
+++ b/build-tools/tasks/sync.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import path from 'path';
import { mkdir, cp, readdir, stat, readFile, writeFile } from 'fs/promises';
import { existsSync } from 'fs';
diff --git a/build-tools/tasks/wasm.js b/build-tools/tasks/wasm.js
index d70062f8f..1b394537f 100644
--- a/build-tools/tasks/wasm.js
+++ b/build-tools/tasks/wasm.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import path from 'path';
import { mkdir, cp, rm, stat } from 'fs/promises';
import { existsSync } from 'fs';
diff --git a/build-tools/tasks/watch.js b/build-tools/tasks/watch.js
index a09de6fa5..165ef5b42 100644
--- a/build-tools/tasks/watch.js
+++ b/build-tools/tasks/watch.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import path from 'path';
import chokidar from 'chokidar';
import config from '../build.config.js';
diff --git a/build-tools/toolchain/package-emsdk.js b/build-tools/toolchain/package-emsdk.js
index 2c3bbac68..5c83e59fc 100644
--- a/build-tools/toolchain/package-emsdk.js
+++ b/build-tools/toolchain/package-emsdk.js
@@ -1,4 +1,6 @@
#!/usr/bin/env node
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Packages a pre-activated emsdk into a distributable archive for the editor's
diff --git a/build-tools/toolchain/package.js b/build-tools/toolchain/package.js
index bbbf5935c..241f2686c 100644
--- a/build-tools/toolchain/package.js
+++ b/build-tools/toolchain/package.js
@@ -1,4 +1,6 @@
#!/usr/bin/env node
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Packages engine source and cmake into Tauri resources for editor bundling.
diff --git a/build-tools/utils/emscripten.js b/build-tools/utils/emscripten.js
index a7644b4e0..92f68ad7e 100644
--- a/build-tools/utils/emscripten.js
+++ b/build-tools/utils/emscripten.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { spawn } from 'child_process';
import os from 'os';
import * as logger from './logger.js';
diff --git a/build-tools/utils/errorHelp.js b/build-tools/utils/errorHelp.js
index 926d6cc02..cd7a9f1ee 100644
--- a/build-tools/utils/errorHelp.js
+++ b/build-tools/utils/errorHelp.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import * as logger from './logger.js';
export class BuildError extends Error {
diff --git a/build-tools/utils/hash.js b/build-tools/utils/hash.js
index 67c46a18c..61f26e2a6 100644
--- a/build-tools/utils/hash.js
+++ b/build-tools/utils/hash.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { createHash } from 'crypto';
import { readFile, writeFile, mkdir, readdir, stat, rename } from 'fs/promises';
import path from 'path';
diff --git a/build-tools/utils/logger.js b/build-tools/utils/logger.js
index fcfdb2c0d..81517defc 100644
--- a/build-tools/utils/logger.js
+++ b/build-tools/utils/logger.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import chalk from 'chalk';
import ora from 'ora';
diff --git a/desktop/electron/assetDb.ts b/desktop/electron/assetDb.ts
index 61cde9df1..8c400b717 100644
--- a/desktop/electron/assetDb.ts
+++ b/desktop/electron/assetDb.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AssetDatabase scanner (REARCH_ASSETS.md A2). The single project-level
* index of "what assets exist": walk the project, read each `.meta`
diff --git a/desktop/electron/buildPlayRealm.ts b/desktop/electron/buildPlayRealm.ts
index b2d99e66e..0158a2bf4 100644
--- a/desktop/electron/buildPlayRealm.ts
+++ b/desktop/electron/buildPlayRealm.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Play-realm host assembly (REARCH_EDITOR_REALM import-map phase). Stages a
* self-contained realm under the project's `.esengine/play/` so the editor
diff --git a/desktop/electron/buildScripts.ts b/desktop/electron/buildScripts.ts
index 65bb758d3..2d6131895 100644
--- a/desktop/electron/buildScripts.ts
+++ b/desktop/electron/buildScripts.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project-script bundler (REARCH_EDITOR_REALM.md Phase P1 / RC12 §E8-1).
*
diff --git a/desktop/electron/cookAssets.ts b/desktop/electron/cookAssets.ts
index 6b950e6f4..d93cc97d6 100644
--- a/desktop/electron/cookAssets.ts
+++ b/desktop/electron/cookAssets.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Asset cook (REARCH_ASSETS.md A4). Produce a shippable asset set: from
* the entry scene(s), walk the AssetDatabase dependency graph to the
diff --git a/desktop/electron/exportGame.ts b/desktop/electron/exportGame.ts
index 59b37f450..fb8a804e1 100644
--- a/desktop/electron/exportGame.ts
+++ b/desktop/electron/exportGame.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Game export (REARCH_EDITOR_REALM Phase S — play == ship). Produces a
* self-contained, static-servable web build of the open project:
diff --git a/desktop/electron/extractSchemas.ts b/desktop/electron/extractSchemas.ts
index 7b9d4002e..d5d09e293 100644
--- a/desktop/electron/extractSchemas.ts
+++ b/desktop/electron/extractSchemas.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project component-schema extractor (REARCH_EDITOR_REALM.md Phase P2).
*
diff --git a/desktop/electron/importAssets.ts b/desktop/electron/importAssets.ts
index e351b7fb8..d1c4393f2 100644
--- a/desktop/electron/importAssets.ts
+++ b/desktop/electron/importAssets.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Asset import (Content Browser C4). Copies external files into the open
* project and writes a `.meta` sidecar (fresh uuid + type + importer
diff --git a/desktop/electron/launcher.ts b/desktop/electron/launcher.ts
index 20378b61a..2cf7d2898 100644
--- a/desktop/electron/launcher.ts
+++ b/desktop/electron/launcher.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Launcher-supporting main-process ops: the recent-projects list and
* project thumbnails. Lives in main because it touches arbitrary paths
diff --git a/desktop/electron/main.ts b/desktop/electron/main.ts
index 688b6af4f..9007d9d51 100644
--- a/desktop/electron/main.ts
+++ b/desktop/electron/main.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { app, BrowserWindow, shell, ipcMain, dialog, protocol } from 'electron';
import { fileURLToPath } from 'node:url';
import { readFile } from 'node:fs/promises';
diff --git a/desktop/electron/mcp/server.mjs b/desktop/electron/mcp/server.mjs
index 91918bdf5..b8e6f1708 100644
--- a/desktop/electron/mcp/server.mjs
+++ b/desktop/electron/mcp/server.mjs
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Editor MCP server (docs/REARCH_EDITOR_AUTOMATION.md P2).
*
diff --git a/desktop/electron/mcp/smoke.mjs b/desktop/electron/mcp/smoke.mjs
index 9246d4881..8d6e99019 100644
--- a/desktop/electron/mcp/smoke.mjs
+++ b/desktop/electron/mcp/smoke.mjs
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file MCP smoke test (docs/REARCH_EDITOR_AUTOMATION.md P2). Run by node: spawns
* the Electron-hosted editor MCP server over stdio (the way a real MCP
diff --git a/desktop/electron/preload.ts b/desktop/electron/preload.ts
index e6236864c..07e453a5e 100644
--- a/desktop/electron/preload.ts
+++ b/desktop/electron/preload.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { contextBridge, ipcRenderer } from 'electron';
import type { OpenedProject, WorkspaceState, DirEntry, RecentEntry, TemplateEntry } from '../src/project/format';
import type { BuildScriptsResult } from './buildScripts';
diff --git a/desktop/electron/projectFs.ts b/desktop/electron/projectFs.ts
index b1bc64b2b..d7dad0fdc 100644
--- a/desktop/electron/projectFs.ts
+++ b/desktop/electron/projectFs.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project filesystem access for the Electron main process.
*
diff --git a/desktop/electron/projectWatcher.ts b/desktop/electron/projectWatcher.ts
index dad41dc15..60bf4098a 100644
--- a/desktop/electron/projectWatcher.ts
+++ b/desktop/electron/projectWatcher.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project filesystem watcher (REARCH_ASSETS A2 — live asset sync).
*
diff --git a/desktop/scripts/headless-smoke.mjs b/desktop/scripts/headless-smoke.mjs
index 547820ca7..f1fc66d91 100644
--- a/desktop/scripts/headless-smoke.mjs
+++ b/desktop/scripts/headless-smoke.mjs
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Model-authoritative runtime smoke test (docs/REARCH_EDITOR_MODEL.md).
*
diff --git a/desktop/scripts/headless-verify.mjs b/desktop/scripts/headless-verify.mjs
index c753e95c8..cee4378f0 100644
--- a/desktop/scripts/headless-verify.mjs
+++ b/desktop/scripts/headless-verify.mjs
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Headless render verification runner (docs/REARCH_EDITOR_AUTOMATION.md P1).
*
diff --git a/desktop/src/App.tsx b/desktop/src/App.tsx
index e6ba7d8e1..32ad07d4e 100644
--- a/desktop/src/App.tsx
+++ b/desktop/src/App.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useEffect } from 'react';
import { MenuBar } from '@/layout/MenuBar';
import { Toolbar } from '@/layout/Toolbar';
diff --git a/desktop/src/commands/editorCommands.ts b/desktop/src/commands/editorCommands.ts
index ed0603350..9442d4357 100644
--- a/desktop/src/commands/editorCommands.ts
+++ b/desktop/src/commands/editorCommands.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file editorCommands.ts
* @brief Registers every editor command. This is the ONE place each action,
diff --git a/desktop/src/commands/index.ts b/desktop/src/commands/index.ts
index 0e61a5655..617bb708c 100644
--- a/desktop/src/commands/index.ts
+++ b/desktop/src/commands/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief Public entry for the editor command system. Importing it registers
diff --git a/desktop/src/commands/keybinding.ts b/desktop/src/commands/keybinding.ts
index 5d1f656ca..64742248c 100644
--- a/desktop/src/commands/keybinding.ts
+++ b/desktop/src/commands/keybinding.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file keybinding.ts
* @brief Keybinding chord parsing, normalization, event-matching, and display
diff --git a/desktop/src/commands/registry.ts b/desktop/src/commands/registry.ts
index 0f6833925..40c312209 100644
--- a/desktop/src/commands/registry.ts
+++ b/desktop/src/commands/registry.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file registry.ts
* @brief The editor command registry — one map of id → Command, plus the
diff --git a/desktop/src/commands/types.ts b/desktop/src/commands/types.ts
index 2c2c0ae88..84479240b 100644
--- a/desktop/src/commands/types.ts
+++ b/desktop/src/commands/types.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file types.ts
* @brief The Command descriptor — the single declarative unit behind every
diff --git a/desktop/src/components/AddComponentMenu.tsx b/desktop/src/components/AddComponentMenu.tsx
index 6cbefec3d..2a7a1f42c 100644
--- a/desktop/src/components/AddComponentMenu.tsx
+++ b/desktop/src/components/AddComponentMenu.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AddComponentMenu.tsx
* @brief "Add Component" picker — a centered command-palette modal with a
diff --git a/desktop/src/components/BuildDialog.tsx b/desktop/src/components/BuildDialog.tsx
index 345814909..fdb2951e7 100644
--- a/desktop/src/components/BuildDialog.tsx
+++ b/desktop/src/components/BuildDialog.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BuildDialog.tsx — the UE5-style "Package Project" modal (REARCH_EDITOR_REALM
* Phase S). Pick a platform + configuration + output, hit Build, watch the
diff --git a/desktop/src/components/Menu.tsx b/desktop/src/components/Menu.tsx
index 4af3524cc..44da8c0b2 100644
--- a/desktop/src/components/Menu.tsx
+++ b/desktop/src/components/Menu.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Menu.tsx
* @brief Shared menu primitives — one implementation behind the menu-bar
diff --git a/desktop/src/components/Modal.tsx b/desktop/src/components/Modal.tsx
index 372174252..fceca57df 100644
--- a/desktop/src/components/Modal.tsx
+++ b/desktop/src/components/Modal.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Modal.tsx — a centered modal dialog (backdrop + portal). The editor's
* general dialog primitive: dismiss on backdrop press / Escape, with a
diff --git a/desktop/src/components/SettingsDialog.tsx b/desktop/src/components/SettingsDialog.tsx
index de82fc487..b31018b29 100644
--- a/desktop/src/components/SettingsDialog.tsx
+++ b/desktop/src/components/SettingsDialog.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SettingsDialog.tsx — the settings window (the design's `.set-*`), driven
* entirely by the settings registry + store. The dialog knows nothing about
diff --git a/desktop/src/components/Toaster.tsx b/desktop/src/components/Toaster.tsx
index 6afc1c97a..ce577364c 100644
--- a/desktop/src/components/Toaster.tsx
+++ b/desktop/src/components/Toaster.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useSyncExternalStore } from 'react';
import { X } from 'lucide-react';
import { Toasts } from '@/store/Toasts';
diff --git a/desktop/src/components/icons.tsx b/desktop/src/components/icons.tsx
index 5a31c9711..599520856 100644
--- a/desktop/src/components/icons.tsx
+++ b/desktop/src/components/icons.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import {
Camera,
Image,
diff --git a/desktop/src/document/AssetDocument.ts b/desktop/src/document/AssetDocument.ts
index 6214f1e62..d084714aa 100644
--- a/desktop/src/document/AssetDocument.ts
+++ b/desktop/src/document/AssetDocument.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AssetDocument.ts
* @brief Reactive, undoable in-memory asset document — the shared base for
diff --git a/desktop/src/engine/EditorControlSurface.ts b/desktop/src/engine/EditorControlSurface.ts
index 3751f2efd..5fcf6875b 100644
--- a/desktop/src/engine/EditorControlSurface.ts
+++ b/desktop/src/engine/EditorControlSurface.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file EditorControlSurface.ts
* @brief The single canonical programmatic entry to a session — lifecycle,
diff --git a/desktop/src/engine/EditorHistory.ts b/desktop/src/engine/EditorHistory.ts
index 7f7132f70..80b93f786 100644
--- a/desktop/src/engine/EditorHistory.ts
+++ b/desktop/src/engine/EditorHistory.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { createStore } from 'zustand/vanilla';
import { TransactionManager } from 'esengine';
diff --git a/desktop/src/engine/EditorSession.ts b/desktop/src/engine/EditorSession.ts
index e797ba60c..35f09afab 100644
--- a/desktop/src/engine/EditorSession.ts
+++ b/desktop/src/engine/EditorSession.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { SceneModel, SceneModelImpl } from './SceneModel';
import { EditorHistory, EditorHistoryImpl } from './EditorHistory';
import { SceneStore, SceneStoreImpl } from './SceneStore';
diff --git a/desktop/src/engine/EngineGuard.ts b/desktop/src/engine/EngineGuard.ts
index e7b67bde4..cd0d9f531 100644
--- a/desktop/src/engine/EngineGuard.ts
+++ b/desktop/src/engine/EngineGuard.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { ABI_LAYOUT_HASH } from 'esengine';
/**
diff --git a/desktop/src/engine/EngineHost.ts b/desktop/src/engine/EngineHost.ts
index 72b61db27..2c940a785 100644
--- a/desktop/src/engine/EngineHost.ts
+++ b/desktop/src/engine/EngineHost.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { createStore } from 'zustand/vanilla';
import {
createWebApp,
diff --git a/desktop/src/engine/PlayInspect.ts b/desktop/src/engine/PlayInspect.ts
index 93eacda89..29d2f5490 100644
--- a/desktop/src/engine/PlayInspect.ts
+++ b/desktop/src/engine/PlayInspect.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PlayInspect.ts — the editor's "Game" inspection source (UE5-PIE Details).
* While playing, it polls the running realm for a live SceneData snapshot
diff --git a/desktop/src/engine/PlayRealm.ts b/desktop/src/engine/PlayRealm.ts
index 61b2be71b..7400b8453 100644
--- a/desktop/src/engine/PlayRealm.ts
+++ b/desktop/src/engine/PlayRealm.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PlayRealm.ts — controller for the isolated play realm (REARCH_EDITOR_REALM
* Phase R2). Owns a detached <iframe> (play.html) re-parented into the Game
diff --git a/desktop/src/engine/PrefabInstance.ts b/desktop/src/engine/PrefabInstance.ts
index 42d6a5981..94ecbe65a 100644
--- a/desktop/src/engine/PrefabInstance.ts
+++ b/desktop/src/engine/PrefabInstance.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { expandEntry, collapseEntry } from 'esengine';
import type {
PrefabData,
diff --git a/desktop/src/engine/Reconciler.ts b/desktop/src/engine/Reconciler.ts
index 4e4445c8a..8b8645574 100644
--- a/desktop/src/engine/Reconciler.ts
+++ b/desktop/src/engine/Reconciler.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { Name, Parent, getComponent, resetWorldTo } from 'esengine';
import type { SceneData } from 'esengine';
import type { EntityId } from '@/types';
diff --git a/desktop/src/engine/SceneCommands.ts b/desktop/src/engine/SceneCommands.ts
index d6a557d21..8a2376de7 100644
--- a/desktop/src/engine/SceneCommands.ts
+++ b/desktop/src/engine/SceneCommands.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { SceneData, PrefabData, ProcessedEntity } from 'esengine';
import type { EntityId, InspectorFieldType, InspectorFieldValue } from '@/types';
import { EditorHistory, EditorHistoryImpl } from './EditorHistory';
diff --git a/desktop/src/engine/SceneLoader.ts b/desktop/src/engine/SceneLoader.ts
index 5e2e5392c..fb3185d8c 100644
--- a/desktop/src/engine/SceneLoader.ts
+++ b/desktop/src/engine/SceneLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { loadSceneData, Assets } from 'esengine';
import type { App, SceneData } from 'esengine';
import { SceneModel } from './SceneModel';
diff --git a/desktop/src/engine/SceneModel.ts b/desktop/src/engine/SceneModel.ts
index f285b11bd..96fd57cd7 100644
--- a/desktop/src/engine/SceneModel.ts
+++ b/desktop/src/engine/SceneModel.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { SceneData } from 'esengine';
import type { EntityId } from '@/types';
diff --git a/desktop/src/engine/SceneQuery.ts b/desktop/src/engine/SceneQuery.ts
index 9a6923dbc..4d258df72 100644
--- a/desktop/src/engine/SceneQuery.ts
+++ b/desktop/src/engine/SceneQuery.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { SceneData } from 'esengine';
import type { SceneNode, NodeKind, EntityId, InspectorComponent, InspectorFieldValue } from '@/types';
import { SceneStore, SceneStoreImpl } from './SceneStore';
diff --git a/desktop/src/engine/SceneStore.ts b/desktop/src/engine/SceneStore.ts
index 25ea07d0b..6759381f2 100644
--- a/desktop/src/engine/SceneStore.ts
+++ b/desktop/src/engine/SceneStore.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { createStore } from 'zustand/vanilla';
import { SceneModel, SceneModelImpl, type ModelEvent } from './SceneModel';
diff --git a/desktop/src/engine/StatsStore.ts b/desktop/src/engine/StatsStore.ts
index db292feeb..3db6d4faf 100644
--- a/desktop/src/engine/StatsStore.ts
+++ b/desktop/src/engine/StatsStore.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { createStore } from 'zustand/vanilla';
import { EngineHost } from './EngineHost';
diff --git a/desktop/src/engine/TimelinePreview.ts b/desktop/src/engine/TimelinePreview.ts
index 124634c3b..e46b15c32 100644
--- a/desktop/src/engine/TimelinePreview.ts
+++ b/desktop/src/engine/TimelinePreview.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TimelinePreview.ts
* @brief Edit-mode live preview of the open timeline document — the document→
diff --git a/desktop/src/engine/ViewportController.ts b/desktop/src/engine/ViewportController.ts
index f3bfa8837..e43321dc7 100644
--- a/desktop/src/engine/ViewportController.ts
+++ b/desktop/src/engine/ViewportController.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { Camera, CameraView, EditorView, Sprite, Transform } from 'esengine';
import type { EntityId } from '@/types';
import { EngineHost } from './EngineHost';
diff --git a/desktop/src/engine/schema.ts b/desktop/src/engine/schema.ts
index 76517e85e..cac577892 100644
--- a/desktop/src/engine/schema.ts
+++ b/desktop/src/engine/schema.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { getAllRegisteredComponents, getUserComponents, getComponent } from 'esengine';
import type { App, SceneData } from 'esengine';
import type { NodeKind, InspectorField } from '@/types';
diff --git a/desktop/src/engine/spineLoad.ts b/desktop/src/engine/spineLoad.ts
index a25cd384f..83f8db96c 100644
--- a/desktop/src/engine/spineLoad.ts
+++ b/desktop/src/engine/spineLoad.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { SpinePlugin, loadSpineSceneEntities } from 'esengine/spine';
import type { RuntimeAssetProvider } from 'esengine/spine';
import type { App, SceneData } from 'esengine';
diff --git a/desktop/src/gameHost.ts b/desktop/src/gameHost.ts
index eaba77018..c9dac9a95 100644
--- a/desktop/src/gameHost.ts
+++ b/desktop/src/gameHost.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file gameHost.ts — the exported game's runtime host (REARCH_EDITOR_REALM
* Phase S). Bundled by exportGame (esbuild, esengine inlined) into a
diff --git a/desktop/src/headless.ts b/desktop/src/headless.ts
index fed6a7cb8..a15fb1a2a 100644
--- a/desktop/src/headless.ts
+++ b/desktop/src/headless.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file headless.ts
* @brief Headless boot entry for the editor's render host
diff --git a/desktop/src/launcher/Launcher.tsx b/desktop/src/launcher/Launcher.tsx
index fa30b120e..9fe438b86 100644
--- a/desktop/src/launcher/Launcher.tsx
+++ b/desktop/src/launcher/Launcher.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useEffect, useMemo, useState } from 'react';
import { ArrowRight, Clock, FolderOpen, LayoutGrid, Plus, Rows3, Search } from 'lucide-react';
import { useEditorStore } from '@/store/editorStore';
diff --git a/desktop/src/layout/ActivityBar.tsx b/desktop/src/layout/ActivityBar.tsx
index 6870dd679..f0a5a789a 100644
--- a/desktop/src/layout/ActivityBar.tsx
+++ b/desktop/src/layout/ActivityBar.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
// Far-left icon rail (activity bar). Reveals docked panels and toggles the
// Content Drawer — the summoned quick-access surface.
import { ListTree, SlidersHorizontal, FolderOpen, Terminal, Clapperboard, Settings } from 'lucide-react';
diff --git a/desktop/src/layout/ContentDrawer.tsx b/desktop/src/layout/ContentDrawer.tsx
index 409c13b66..31eba4207 100644
--- a/desktop/src/layout/ContentDrawer.tsx
+++ b/desktop/src/layout/ContentDrawer.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
// Content Drawer — the Content Browser slides up over the workspace as a quick
// overlay (Ctrl+Space), on top of the docked Content Browser tab. Dismisses on
// outside click or Esc.
diff --git a/desktop/src/layout/DockLayout.tsx b/desktop/src/layout/DockLayout.tsx
index 7d8ae59a6..f6b9d8740 100644
--- a/desktop/src/layout/DockLayout.tsx
+++ b/desktop/src/layout/DockLayout.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useEffect, useState, type FC } from 'react';
import {
DockviewReact,
diff --git a/desktop/src/layout/MenuBar.tsx b/desktop/src/layout/MenuBar.tsx
index b54564de9..2401535d5 100644
--- a/desktop/src/layout/MenuBar.tsx
+++ b/desktop/src/layout/MenuBar.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
// Top menu bar — functional dropdowns wired to the real editor commands
// (project open/save, history, entity ops, view toggles), in a classic menu idiom.
// The window is frameless (titleBarStyle: hiddenInset) so this strip doubles as
diff --git a/desktop/src/layout/StatusBar.tsx b/desktop/src/layout/StatusBar.tsx
index a4ed63e79..1f68a3255 100644
--- a/desktop/src/layout/StatusBar.tsx
+++ b/desktop/src/layout/StatusBar.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useSyncExternalStore } from 'react';
import { Gauge, MousePointer2, Boxes, FolderOpen } from 'lucide-react';
import { useEditorStore } from '@/store/editorStore';
diff --git a/desktop/src/layout/SubsystemIndicator.tsx b/desktop/src/layout/SubsystemIndicator.tsx
index e8a4e1484..ef1b51f0f 100644
--- a/desktop/src/layout/SubsystemIndicator.tsx
+++ b/desktop/src/layout/SubsystemIndicator.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useSyncExternalStore, useState, useRef, useEffect } from 'react';
import type { SubsystemStatus } from 'esengine';
import { EngineHost } from '@/engine/EngineHost';
diff --git a/desktop/src/layout/Toolbar.tsx b/desktop/src/layout/Toolbar.tsx
index 21402db6c..3495c8200 100644
--- a/desktop/src/layout/Toolbar.tsx
+++ b/desktop/src/layout/Toolbar.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useState, useSyncExternalStore } from 'react';
import {
Save,
diff --git a/desktop/src/layout/dockApi.ts b/desktop/src/layout/dockApi.ts
index 856e6ea75..988d9f4db 100644
--- a/desktop/src/layout/dockApi.ts
+++ b/desktop/src/layout/dockApi.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file dockApi.ts
* @brief A tiny holder for the live dockview api so non-dock chrome (the activity
diff --git a/desktop/src/main.tsx b/desktop/src/main.tsx
index 6eeb39f46..e6be7fbce 100644
--- a/desktop/src/main.tsx
+++ b/desktop/src/main.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
diff --git a/desktop/src/panels/ContentBrowser.tsx b/desktop/src/panels/ContentBrowser.tsx
index da9b9a1bd..17b770717 100644
--- a/desktop/src/panels/ContentBrowser.tsx
+++ b/desktop/src/panels/ContentBrowser.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { Fragment, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react';
import { createPortal } from 'react-dom';
import { ChevronRight, Search, LayoutGrid, List, Import, FolderOpen, FolderPlus, ArrowLeft, ArrowRight, ArrowUp } from 'lucide-react';
diff --git a/desktop/src/panels/Details.tsx b/desktop/src/panels/Details.tsx
index b773ac3ae..c37aeeb6a 100644
--- a/desktop/src/panels/Details.tsx
+++ b/desktop/src/panels/Details.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useMemo, useRef, useState, useSyncExternalStore } from 'react';
import {
Box,
diff --git a/desktop/src/panels/GamePanel.tsx b/desktop/src/panels/GamePanel.tsx
index d1c5b9faa..d123dae7a 100644
--- a/desktop/src/panels/GamePanel.tsx
+++ b/desktop/src/panels/GamePanel.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useEffect, useRef, useSyncExternalStore } from 'react';
import { PlayRealm } from '@/engine/PlayRealm';
import { useEditorStore } from '@/store/editorStore';
diff --git a/desktop/src/panels/Outliner.tsx b/desktop/src/panels/Outliner.tsx
index a7d72ee14..4d9b04c6a 100644
--- a/desktop/src/panels/Outliner.tsx
+++ b/desktop/src/panels/Outliner.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react';
import { ChevronRight, Eye, EyeOff, Lock, Search, Plus } from 'lucide-react';
import { useEditorStore } from '@/store/editorStore';
diff --git a/desktop/src/panels/OutputLog.tsx b/desktop/src/panels/OutputLog.tsx
index 01deac57f..e0b693d1d 100644
--- a/desktop/src/panels/OutputLog.tsx
+++ b/desktop/src/panels/OutputLog.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import {
useEffect,
useLayoutEffect,
diff --git a/desktop/src/panels/Sequencer.tsx b/desktop/src/panels/Sequencer.tsx
index d890b0a71..d9333abdf 100644
--- a/desktop/src/panels/Sequencer.tsx
+++ b/desktop/src/panels/Sequencer.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Sequencer.tsx
* @brief The UE-Sequencer-style animation editor panel (docs/REARCH_ANIMATION.md
diff --git a/desktop/src/panels/SequencerCurve.tsx b/desktop/src/panels/SequencerCurve.tsx
index a8a4703d4..2f09a5eb1 100644
--- a/desktop/src/panels/SequencerCurve.tsx
+++ b/desktop/src/panels/SequencerCurve.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SequencerCurve.tsx
* @brief Curve editor view for the Sequencer (docs/REARCH_ANIMATION.md P3).
diff --git a/desktop/src/panels/Viewport.tsx b/desktop/src/panels/Viewport.tsx
index 2038a6d58..77ace638a 100644
--- a/desktop/src/panels/Viewport.tsx
+++ b/desktop/src/panels/Viewport.tsx
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { useEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react';
import type { PointerEvent as ReactPointerEvent, DragEvent as ReactDragEvent, ReactNode } from 'react';
import {
diff --git a/desktop/src/playHost.ts b/desktop/src/playHost.ts
index 38992d703..4f2a6bda4 100644
--- a/desktop/src/playHost.ts
+++ b/desktop/src/playHost.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file playHost.ts — the isolated play realm's host module (REARCH_EDITOR_REALM
* import-map phase). Unlike the R1 Vite `play.ts` (which bundles its own
diff --git a/desktop/src/project/ProjectStore.ts b/desktop/src/project/ProjectStore.ts
index 368a851de..b0f588f08 100644
--- a/desktop/src/project/ProjectStore.ts
+++ b/desktop/src/project/ProjectStore.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { createStore } from 'zustand/vanilla';
import { getComponent, Assets, migratePrefabData, extractPrefab } from 'esengine';
import type { SceneData, PrefabData, ExtractEntity } from 'esengine';
diff --git a/desktop/src/project/assetMeta.ts b/desktop/src/project/assetMeta.ts
index 7cb122207..c72dbd6a1 100644
--- a/desktop/src/project/assetMeta.ts
+++ b/desktop/src/project/assetMeta.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file assetMeta.ts
* @brief Asset-type derivation shared by the Content Browser and the unified
diff --git a/desktop/src/project/format.ts b/desktop/src/project/format.ts
index a13810174..dcf9becf7 100644
--- a/desktop/src/project/format.ts
+++ b/desktop/src/project/format.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project format — pure types + layout resolution.
*
diff --git a/desktop/src/project/fsWatch.ts b/desktop/src/project/fsWatch.ts
index 2d0a1ea05..a3f4312fa 100644
--- a/desktop/src/project/fsWatch.ts
+++ b/desktop/src/project/fsWatch.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Live filesystem ↔ editor-asset sync (REARCH_ASSETS A2, renderer side).
*
diff --git a/desktop/src/settings/editorSettings.ts b/desktop/src/settings/editorSettings.ts
index 4377015f2..84abf05e3 100644
--- a/desktop/src/settings/editorSettings.ts
+++ b/desktop/src/settings/editorSettings.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file editorSettings.ts — the editor's built-in settings, registered as a side
* effect (import this once at boot). Each is wired to a REAL backing: a CSS
diff --git a/desktop/src/settings/index.ts b/desktop/src/settings/index.ts
index 01bb206a8..f0c320235 100644
--- a/desktop/src/settings/index.ts
+++ b/desktop/src/settings/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts — settings barrel. Importing this registers the built-in
* settings (./editorSettings side effect) and exposes the registry + types.
diff --git a/desktop/src/settings/projectSettings.ts b/desktop/src/settings/projectSettings.ts
index 1064ee166..787bf5f8a 100644
--- a/desktop/src/settings/projectSettings.ts
+++ b/desktop/src/settings/projectSettings.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file projectSettings.ts — project-scoped settings, persisted to
* project.esproject (the editorSettings.ts extension point for project/
diff --git a/desktop/src/settings/registry.ts b/desktop/src/settings/registry.ts
index 725c949ee..84bc8873e 100644
--- a/desktop/src/settings/registry.ts
+++ b/desktop/src/settings/registry.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file registry.ts — the editor settings registry, the declarative sibling of
* the command registry (commands/registry.ts). Features and plugins register
diff --git a/desktop/src/settings/types.ts b/desktop/src/settings/types.ts
index aeadb9796..9e0389618 100644
--- a/desktop/src/settings/types.ts
+++ b/desktop/src/settings/types.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file types.ts — settings schema. A setting is a declarative descriptor; the
* registry holds them, the store holds their values, and SettingsDialog
diff --git a/desktop/src/store/LogStore.ts b/desktop/src/store/LogStore.ts
index f5b93e806..f6245a1f2 100644
--- a/desktop/src/store/LogStore.ts
+++ b/desktop/src/store/LogStore.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file LogStore.ts
* @brief The editor's Output Log feed. Everything the editor, the SDK, and the
diff --git a/desktop/src/store/Toasts.ts b/desktop/src/store/Toasts.ts
index 3a58f8fc6..e224b7088 100644
--- a/desktop/src/store/Toasts.ts
+++ b/desktop/src/store/Toasts.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Toasts.ts
* @brief Transient action feedback (save / build / errors). A tiny external
diff --git a/desktop/src/store/editorStore.ts b/desktop/src/store/editorStore.ts
index d7f2cbae7..1a5827f1e 100644
--- a/desktop/src/store/editorStore.ts
+++ b/desktop/src/store/editorStore.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { create } from 'zustand';
import type { EntityId, ToolMode } from '@/types';
diff --git a/desktop/src/store/selectionStore.ts b/desktop/src/store/selectionStore.ts
index f89de6088..2f131a08f 100644
--- a/desktop/src/store/selectionStore.ts
+++ b/desktop/src/store/selectionStore.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { create } from 'zustand';
import { SceneModel, SceneModelImpl } from '@/engine/SceneModel';
import type { EntityId } from '@/types';
diff --git a/desktop/src/store/sequencerStore.ts b/desktop/src/store/sequencerStore.ts
index f52e875b7..c32d17b47 100644
--- a/desktop/src/store/sequencerStore.ts
+++ b/desktop/src/store/sequencerStore.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { create } from 'zustand';
// Sequencer UI + playback state (docs/REARCH_ANIMATION.md L4). Kept separate from
diff --git a/desktop/src/store/settingsStore.ts b/desktop/src/store/settingsStore.ts
index 41d2afb5a..55b28c4f5 100644
--- a/desktop/src/store/settingsStore.ts
+++ b/desktop/src/store/settingsStore.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file settingsStore.ts — reactive values for the settings registry, with
* per-user persistence. Store-owned settings live here (persisted to
diff --git a/desktop/src/timeline/TimelineCommands.ts b/desktop/src/timeline/TimelineCommands.ts
index bc53b5055..cc4fa0914 100644
--- a/desktop/src/timeline/TimelineCommands.ts
+++ b/desktop/src/timeline/TimelineCommands.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TimelineCommands.ts
* @brief Undoable edits to the open timeline document (docs/REARCH_ANIMATION.md P2).
diff --git a/desktop/src/timeline/TimelineDocument.ts b/desktop/src/timeline/TimelineDocument.ts
index b414329d6..f034ad908 100644
--- a/desktop/src/timeline/TimelineDocument.ts
+++ b/desktop/src/timeline/TimelineDocument.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TimelineDocument.ts
* @brief The open .estimeline as a reactive editor document — the first
diff --git a/desktop/src/timeline/TimelineRecorder.ts b/desktop/src/timeline/TimelineRecorder.ts
index 4bc79f234..62ff8b4fb 100644
--- a/desktop/src/timeline/TimelineRecorder.ts
+++ b/desktop/src/timeline/TimelineRecorder.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TimelineRecorder.ts
* @brief Record mode — auto-key inspector/gizmo edits into the open clip
diff --git a/desktop/src/timeline/openClip.ts b/desktop/src/timeline/openClip.ts
index ab60e08a6..6bd4674de 100644
--- a/desktop/src/timeline/openClip.ts
+++ b/desktop/src/timeline/openClip.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file openClip.ts
* @brief Open an animation clip (.esanim / legacy .estimeline) from disk into
diff --git a/desktop/src/timeline/timelineView.ts b/desktop/src/timeline/timelineView.ts
index f64e8757f..873789c49 100644
--- a/desktop/src/timeline/timelineView.ts
+++ b/desktop/src/timeline/timelineView.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file timelineView.ts
* @brief Read projection for the Sequencer panel — derive a renderable
diff --git a/desktop/src/types.ts b/desktop/src/types.ts
index 112d1ab68..b32bd47ee 100644
--- a/desktop/src/types.ts
+++ b/desktop/src/types.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
// Shared editor domain types. These mirror the shapes the engine bridge
// (CoreApiBridge / generated EditorAPI) will eventually supply, so panels are
// written against the real contract from day one — the mock layer just fills it.
diff --git a/desktop/tests/asset-db.test.ts b/desktop/tests/asset-db.test.ts
index cfccea5de..fa22ba0f7 100644
--- a/desktop/tests/asset-db.test.ts
+++ b/desktop/tests/asset-db.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AssetDatabase scanner (REARCH_ASSETS.md A2). A pure-node step: walk a
* project's `.meta` sidecars into a uuid↔path registry + a dependency
diff --git a/desktop/tests/asset-document.test.ts b/desktop/tests/asset-document.test.ts
index 026f389f4..e2d0669bf 100644
--- a/desktop/tests/asset-document.test.ts
+++ b/desktop/tests/asset-document.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { AssetDocument } from '@/document/AssetDocument';
import { EditorHistory } from '@/engine/EditorHistory';
diff --git a/desktop/tests/build-scripts.test.ts b/desktop/tests/build-scripts.test.ts
index bffe1d482..0d286e2e9 100644
--- a/desktop/tests/build-scripts.test.ts
+++ b/desktop/tests/build-scripts.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project-script bundler (REARCH_EDITOR_REALM Phase P1 / RC12 §E8-1).
* Asserts esengine is left EXTERNAL (resolved by the play realm's import
diff --git a/desktop/tests/commands.test.ts b/desktop/tests/commands.test.ts
index 39896a71a..475a0d16e 100644
--- a/desktop/tests/commands.test.ts
+++ b/desktop/tests/commands.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Editor command system — keybinding parsing/matching/formatting and the
* registry's event resolution + enablement gating. Pure logic (no WASM):
diff --git a/desktop/tests/cook-assets.test.ts b/desktop/tests/cook-assets.test.ts
index 5a594b64a..81a23119f 100644
--- a/desktop/tests/cook-assets.test.ts
+++ b/desktop/tests/cook-assets.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Asset cook (REARCH_ASSETS.md A4). From an entry scene, walk the
* AssetDatabase dep graph to the reachable assets, stage them + emit the
diff --git a/desktop/tests/editor-control-surface.test.ts b/desktop/tests/editor-control-surface.test.ts
index cb3ce5332..308126d9d 100644
--- a/desktop/tests/editor-control-surface.test.ts
+++ b/desktop/tests/editor-control-surface.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Regression net for EditorControlSurface — the one canonical
* programmatic entry to a session (REARCH_EDITOR_MODEL.md P2 +
diff --git a/desktop/tests/engine-commands.test.ts b/desktop/tests/engine-commands.test.ts
index 671bcd7e2..b823759f2 100644
--- a/desktop/tests/engine-commands.test.ts
+++ b/desktop/tests/engine-commands.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Regression net for the editor's read/write/undo core (SceneCommands +
* SceneQuery) against a real headless World. Proves the model-authoritative
diff --git a/desktop/tests/engine-model-sync.test.ts b/desktop/tests/engine-model-sync.test.ts
index 13ea31937..167dde809 100644
--- a/desktop/tests/engine-model-sync.test.ts
+++ b/desktop/tests/engine-model-sync.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Model-authoritative payoff (REARCH_EDITOR_MODEL.md): SceneCommands edit
* the SceneModel ONLY; the Reconciler projects the model into the World,
diff --git a/desktop/tests/export-game.test.ts b/desktop/tests/export-game.test.ts
index da8ccd19d..2d20084c8 100644
--- a/desktop/tests/export-game.test.ts
+++ b/desktop/tests/export-game.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Game export orchestration (REARCH_EDITOR_REALM Phase S). Asserts
* exportGame produces a self-contained web build: cooked assets + manifest,
diff --git a/desktop/tests/extract-schemas.test.ts b/desktop/tests/extract-schemas.test.ts
index 8a37f4ac6..df91b85f7 100644
--- a/desktop/tests/extract-schemas.test.ts
+++ b/desktop/tests/extract-schemas.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project schema extractor (REARCH_EDITOR_REALM Phase P2).
* A pure-node, zero-wasm step: bundle a project's declaration module,
diff --git a/desktop/tests/helpers/loadWasm.ts b/desktop/tests/helpers/loadWasm.ts
index 4194fc064..ff58ade1c 100644
--- a/desktop/tests/helpers/loadWasm.ts
+++ b/desktop/tests/helpers/loadWasm.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { existsSync, readFileSync } from 'node:fs';
import { resolve } from 'node:path';
import { fileURLToPath, URL } from 'node:url';
diff --git a/desktop/tests/inspector-model.test.ts b/desktop/tests/inspector-model.test.ts
index b94176207..798de47d5 100644
--- a/desktop/tests/inspector-model.test.ts
+++ b/desktop/tests/inspector-model.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Unknown / user-component inspector (REARCH_EDITOR_MODEL.md E1). Project
* components never run in the editor realm, so the engine registry doesn't
diff --git a/desktop/tests/log-store.test.ts b/desktop/tests/log-store.test.ts
index 844720d44..5a94177b3 100644
--- a/desktop/tests/log-store.test.ts
+++ b/desktop/tests/log-store.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file LogStore source parsing — the two log line shapes that flow through
* console into the Output Log: the SDK logger's "[time] [LEVEL] [cat] msg"
diff --git a/desktop/tests/prefab-instance.test.ts b/desktop/tests/prefab-instance.test.ts
index 59e664655..cb16ab47f 100644
--- a/desktop/tests/prefab-instance.test.ts
+++ b/desktop/tests/prefab-instance.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Prefab instance expand/collapse round-trip (REARCH_PREFABS.md PF2 core).
* The data-loss safety net: a prefab instance is saved as a DELTA
diff --git a/desktop/tests/prefab-instantiate.test.ts b/desktop/tests/prefab-instantiate.test.ts
index 4efeaccd9..750e17112 100644
--- a/desktop/tests/prefab-instantiate.test.ts
+++ b/desktop/tests/prefab-instantiate.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SceneCommands.instantiatePrefab against a real headless World
* (REARCH_PREFABS.md PF2). Proves a prefab instantiates into the model as
diff --git a/desktop/tests/project-fs.test.ts b/desktop/tests/project-fs.test.ts
index 524536ead..994463dd2 100644
--- a/desktop/tests/project-fs.test.ts
+++ b/desktop/tests/project-fs.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project filesystem mutations (Content Browser asset ops). Covers the
* non-obvious correctness: rename carries the `.meta` sidecar (asset
diff --git a/desktop/tests/project-scripts.test.ts b/desktop/tests/project-scripts.test.ts
index e9a5cb377..5ee3f190b 100644
--- a/desktop/tests/project-scripts.test.ts
+++ b/desktop/tests/project-scripts.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Project script-entry convention (REARCH_EDITOR_REALM Phase P3).
*
diff --git a/desktop/tests/scene-model.test.ts b/desktop/tests/scene-model.test.ts
index 47830a40b..7fe4e4ab7 100644
--- a/desktop/tests/scene-model.test.ts
+++ b/desktop/tests/scene-model.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SceneModel (JSON-first L1) — proves the editor's source-of-truth model
* retains exactly what the live World drops on projection: unknown
diff --git a/desktop/tests/scene-query.test.ts b/desktop/tests/scene-query.test.ts
index 68619057d..55bdd9fa6 100644
--- a/desktop/tests/scene-query.test.ts
+++ b/desktop/tests/scene-query.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SceneQuery.readSceneTree — the outliner tree is derived from the MODEL
* (REARCH_EDITOR_MODEL.md §3.4), nested by each entity's `parent` field so
diff --git a/desktop/tests/schema.test.ts b/desktop/tests/schema.test.ts
index a5624091f..954720fd1 100644
--- a/desktop/tests/schema.test.ts
+++ b/desktop/tests/schema.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Editor schema pure-function tests — establishes the desktop vitest
* harness and pins the inspector value-shape inference / conversions that
diff --git a/desktop/tests/selection-store.test.ts b/desktop/tests/selection-store.test.ts
index ca02a474e..a837f82fa 100644
--- a/desktop/tests/selection-store.test.ts
+++ b/desktop/tests/selection-store.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SelectionStore — model-anchored entity selection.
*
diff --git a/desktop/tests/settings.test.ts b/desktop/tests/settings.test.ts
index 3a593ac38..d7f531e93 100644
--- a/desktop/tests/settings.test.ts
+++ b/desktop/tests/settings.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Settings registry + store. Importing '@/settings' registers the built-in
* sections/settings (side effect); the store resolves defaults, persists
diff --git a/desktop/tests/timeline-commands.test.ts b/desktop/tests/timeline-commands.test.ts
index 095bb9c08..b0f579e89 100644
--- a/desktop/tests/timeline-commands.test.ts
+++ b/desktop/tests/timeline-commands.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { WrapMode, TrackType, InterpType, type TimelineAsset } from 'esengine';
import { TimelineDocument } from '@/timeline/TimelineDocument';
diff --git a/desktop/tests/timeline-recorder.test.ts b/desktop/tests/timeline-recorder.test.ts
index eb99e7355..d705b76d8 100644
--- a/desktop/tests/timeline-recorder.test.ts
+++ b/desktop/tests/timeline-recorder.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { WrapMode, TrackType, type TimelineAsset } from 'esengine';
import { TimelineDocument } from '@/timeline/TimelineDocument';
diff --git a/desktop/vite.config.ts b/desktop/vite.config.ts
index f34fe2da0..5f0051bbc 100644
--- a/desktop/vite.config.ts
+++ b/desktop/vite.config.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineConfig } from 'vite';
import { fileURLToPath, URL } from 'node:url';
import react from '@vitejs/plugin-react';
diff --git a/desktop/vitest.config.ts b/desktop/vitest.config.ts
index d268bba8a..63b3982dd 100644
--- a/desktop/vitest.config.ts
+++ b/desktop/vitest.config.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineConfig } from 'vitest/config';
import { fileURLToPath, URL } from 'node:url';
diff --git a/sdk/benchmarks/commands.bench.ts b/sdk/benchmarks/commands.bench.ts
index b30894594..cdac6ce09 100644
--- a/sdk/benchmarks/commands.bench.ts
+++ b/sdk/benchmarks/commands.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { bench, describe } from 'vitest';
import { World } from '../src/world';
import { defineComponent } from '../src/component';
diff --git a/sdk/benchmarks/component.bench.ts b/sdk/benchmarks/component.bench.ts
index c8f1f5623..77e7a72ad 100644
--- a/sdk/benchmarks/component.bench.ts
+++ b/sdk/benchmarks/component.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { bench, describe } from 'vitest';
import { defineComponent, getComponent, getAllRegisteredComponents, clearUserComponents } from '../src/component';
import { computeQueryCacheKey } from '../src/world';
diff --git a/sdk/benchmarks/event.bench.ts b/sdk/benchmarks/event.bench.ts
index eb160d9c9..ed975a188 100644
--- a/sdk/benchmarks/event.bench.ts
+++ b/sdk/benchmarks/event.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { bench, describe } from 'vitest';
import { defineEvent, EventBus, EventRegistry, EventWriterInstance, EventReaderInstance } from '../src/event';
diff --git a/sdk/benchmarks/physics.bench.ts b/sdk/benchmarks/physics.bench.ts
index 5936c403b..c21d8563c 100644
--- a/sdk/benchmarks/physics.bench.ts
+++ b/sdk/benchmarks/physics.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, bench, beforeAll } from 'vitest';
import path from 'path';
import { World } from '../src/world';
diff --git a/sdk/benchmarks/query-cache-miss.bench.ts b/sdk/benchmarks/query-cache-miss.bench.ts
index dcf0b4f2b..20ec884c3 100644
--- a/sdk/benchmarks/query-cache-miss.bench.ts
+++ b/sdk/benchmarks/query-cache-miss.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, bench } from 'vitest';
import { World } from '../src/world';
import { defineComponent } from '../src/component';
diff --git a/sdk/benchmarks/query.bench.ts b/sdk/benchmarks/query.bench.ts
index f637c8f36..67877c7a2 100644
--- a/sdk/benchmarks/query.bench.ts
+++ b/sdk/benchmarks/query.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { bench, describe } from 'vitest';
import { World } from '../src/world';
import { defineComponent } from '../src/component';
diff --git a/sdk/benchmarks/spine.bench.ts b/sdk/benchmarks/spine.bench.ts
index 177303fb5..a30c29cd5 100644
--- a/sdk/benchmarks/spine.bench.ts
+++ b/sdk/benchmarks/spine.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, bench, beforeAll } from 'vitest';
import path from 'path';
import fs from 'fs';
diff --git a/sdk/benchmarks/system.bench.ts b/sdk/benchmarks/system.bench.ts
index 91913fbcc..3db42967e 100644
--- a/sdk/benchmarks/system.bench.ts
+++ b/sdk/benchmarks/system.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, bench } from 'vitest';
import { World } from '../src/world';
import { defineComponent } from '../src/component';
diff --git a/sdk/benchmarks/uiMath.bench.ts b/sdk/benchmarks/uiMath.bench.ts
index 3362f4328..a0ac64303 100644
--- a/sdk/benchmarks/uiMath.bench.ts
+++ b/sdk/benchmarks/uiMath.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { bench, describe } from 'vitest';
import {
invertMatrix4,
diff --git a/sdk/benchmarks/wasm-boundary.bench.ts b/sdk/benchmarks/wasm-boundary.bench.ts
index 8ad2c4486..6d9777040 100644
--- a/sdk/benchmarks/wasm-boundary.bench.ts
+++ b/sdk/benchmarks/wasm-boundary.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, bench, beforeAll } from 'vitest';
import path from 'path';
import { fileURLToPath } from 'url';
diff --git a/sdk/benchmarks/wasm-vs-world.bench.ts b/sdk/benchmarks/wasm-vs-world.bench.ts
index 24d531878..29c77732e 100644
--- a/sdk/benchmarks/wasm-vs-world.bench.ts
+++ b/sdk/benchmarks/wasm-vs-world.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, bench, beforeAll } from 'vitest';
import path from 'path';
import { World } from '../src/world';
diff --git a/sdk/benchmarks/world-internals.bench.ts b/sdk/benchmarks/world-internals.bench.ts
index 076e0fc4b..368475326 100644
--- a/sdk/benchmarks/world-internals.bench.ts
+++ b/sdk/benchmarks/world-internals.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, bench } from 'vitest';
import { World } from '../src/world';
import { defineComponent } from '../src/component';
diff --git a/sdk/benchmarks/world.bench.ts b/sdk/benchmarks/world.bench.ts
index 2159e2ab9..fa54c92b0 100644
--- a/sdk/benchmarks/world.bench.ts
+++ b/sdk/benchmarks/world.bench.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { bench, describe } from 'vitest';
import { World } from '../src/world';
import { defineComponent } from '../src/component';
diff --git a/sdk/rollup.config.js b/sdk/rollup.config.js
index c23919ec5..3cb6b3342 100644
--- a/sdk/rollup.config.js
+++ b/sdk/rollup.config.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import typescript from '@rollup/plugin-typescript';
import terser from '@rollup/plugin-terser';
import dts from 'rollup-plugin-dts';
diff --git a/sdk/src/CoreApiBridge.ts b/sdk/src/CoreApiBridge.ts
index 33a409b0f..d31501466 100644
--- a/sdk/src/CoreApiBridge.ts
+++ b/sdk/src/CoreApiBridge.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file CoreApiBridge.ts
* @brief Bridge for the core engine module's API facets.
diff --git a/sdk/src/WasmBridge.ts b/sdk/src/WasmBridge.ts
index 086f6e990..fd1a006d4 100644
--- a/sdk/src/WasmBridge.ts
+++ b/sdk/src/WasmBridge.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file WasmBridge.ts
* @brief Single base class for every SDK→WASM subsystem bridge.
diff --git a/sdk/src/animation/AnimClipLoader.ts b/sdk/src/animation/AnimClipLoader.ts
index b7bb7c5ac..e04bbd3cd 100644
--- a/sdk/src/animation/AnimClipLoader.ts
+++ b/sdk/src/animation/AnimClipLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AnimClipLoader.ts
* @brief .esanim asset loading and parsing
diff --git a/sdk/src/animation/AnimationPlugin.ts b/sdk/src/animation/AnimationPlugin.ts
index 8e27a6e1b..de9379abb 100644
--- a/sdk/src/animation/AnimationPlugin.ts
+++ b/sdk/src/animation/AnimationPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AnimationPlugin.ts
* @brief Animation plugin registering Tween and SpriteAnimator systems
diff --git a/sdk/src/animation/Easing.ts b/sdk/src/animation/Easing.ts
index 4afc7be4b..0bc94a334 100644
--- a/sdk/src/animation/Easing.ts
+++ b/sdk/src/animation/Easing.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Easing.ts
* @brief Pure easing math — 1:1 port of C++ EasingFunctions.hpp
diff --git a/sdk/src/animation/SpriteAnimator.ts b/sdk/src/animation/SpriteAnimator.ts
index 29109327e..32c8b7666 100644
--- a/sdk/src/animation/SpriteAnimator.ts
+++ b/sdk/src/animation/SpriteAnimator.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SpriteAnimator.ts
* @brief Sprite frame animation component and system (pure TypeScript)
diff --git a/sdk/src/animation/Tween.ts b/sdk/src/animation/Tween.ts
index 99ed34ed1..b31080e9b 100644
--- a/sdk/src/animation/Tween.ts
+++ b/sdk/src/animation/Tween.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Tween.ts
* @brief Property tween API wrapping C++ TweenSystem
diff --git a/sdk/src/animation/TweenGroup.ts b/sdk/src/animation/TweenGroup.ts
index 04a30ed55..c00463c9e 100644
--- a/sdk/src/animation/TweenGroup.ts
+++ b/sdk/src/animation/TweenGroup.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TweenGroup.ts
* @brief Parallel and sequential tween composition utilities.
diff --git a/sdk/src/animation/TweenTypes.ts b/sdk/src/animation/TweenTypes.ts
index 3140a51c7..ea3bfcab0 100644
--- a/sdk/src/animation/TweenTypes.ts
+++ b/sdk/src/animation/TweenTypes.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TweenTypes.ts
* @brief Shared tween enums/types — WASM boundary contract
diff --git a/sdk/src/animation/ValueTween.ts b/sdk/src/animation/ValueTween.ts
index 9a79f5c2e..243368f36 100644
--- a/sdk/src/animation/ValueTween.ts
+++ b/sdk/src/animation/ValueTween.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ValueTween.ts
* @brief JS-side value tweening (fallback for fields not covered by C++ TweenTarget)
diff --git a/sdk/src/animation/index.ts b/sdk/src/animation/index.ts
index ccda275df..c76a487a0 100644
--- a/sdk/src/animation/index.ts
+++ b/sdk/src/animation/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief Animation module barrel export
diff --git a/sdk/src/app.ts b/sdk/src/app.ts
index f4d515b42..5527d9ce2 100644
--- a/sdk/src/app.ts
+++ b/sdk/src/app.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file app.ts
* @brief Application builder and web platform integration
diff --git a/sdk/src/asset/AddressableManifest.ts b/sdk/src/asset/AddressableManifest.ts
index 14855f29d..91cd41eb7 100644
--- a/sdk/src/asset/AddressableManifest.ts
+++ b/sdk/src/asset/AddressableManifest.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AddressableAssetType } from '../assetTypes';
export type { AddressableAssetType };
diff --git a/sdk/src/asset/AssetFieldRegistry.ts b/sdk/src/asset/AssetFieldRegistry.ts
index 178d152db..350f05231 100644
--- a/sdk/src/asset/AssetFieldRegistry.ts
+++ b/sdk/src/asset/AssetFieldRegistry.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export type AssetFieldType = 'texture' | 'material' | 'font' | 'anim-clip' | 'audio' | 'tilemap' | 'timeline';
export interface AssetFieldDescriptor {
diff --git a/sdk/src/asset/AssetLoader.ts b/sdk/src/asset/AssetLoader.ts
index 9df8b8333..10d2fa8bd 100644
--- a/sdk/src/asset/AssetLoader.ts
+++ b/sdk/src/asset/AssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Backend } from './Backend';
import type { Catalog } from './Catalog';
import type { TextureHandle, FontHandle } from '../types';
diff --git a/sdk/src/asset/AssetPlugin.ts b/sdk/src/asset/AssetPlugin.ts
index 874bb61db..fa06ae5aa 100644
--- a/sdk/src/asset/AssetPlugin.ts
+++ b/sdk/src/asset/AssetPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import { defineResource } from '../resource';
import { Assets as AssetsClass } from './Assets';
diff --git a/sdk/src/asset/AssetRefCounter.ts b/sdk/src/asset/AssetRefCounter.ts
index 73be5ca22..965163261 100644
--- a/sdk/src/asset/AssetRefCounter.ts
+++ b/sdk/src/asset/AssetRefCounter.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AssetRefCounter.ts
* @brief Optional asset reference counting for debugging and monitoring
diff --git a/sdk/src/asset/AssetRegistry.ts b/sdk/src/asset/AssetRegistry.ts
index 1e21d87c2..e95d2662f 100644
--- a/sdk/src/asset/AssetRegistry.ts
+++ b/sdk/src/asset/AssetRegistry.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AssetRegistry.ts
* @brief Maps stable asset UUIDs to file paths + importer settings.
diff --git a/sdk/src/asset/Assets.ts b/sdk/src/asset/Assets.ts
index 70379ca33..3b6382bc7 100644
--- a/sdk/src/asset/Assets.ts
+++ b/sdk/src/asset/Assets.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Backend } from './Backend';
import { Catalog, type AtlasFrameInfo } from './Catalog';
import type {
diff --git a/sdk/src/asset/AsyncCache.ts b/sdk/src/asset/AsyncCache.ts
index 85664e2fd..06ab95e01 100644
--- a/sdk/src/asset/AsyncCache.ts
+++ b/sdk/src/asset/AsyncCache.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { RuntimeConfig } from '../defaults';
import { log } from '../logger';
diff --git a/sdk/src/asset/Backend.ts b/sdk/src/asset/Backend.ts
index 64e91902e..2f1644884 100644
--- a/sdk/src/asset/Backend.ts
+++ b/sdk/src/asset/Backend.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { platformFetch, platformReadFile, platformReadTextFile } from '../platform';
export interface Backend {
diff --git a/sdk/src/asset/Catalog.ts b/sdk/src/asset/Catalog.ts
index ace89b3bf..dc1325de8 100644
--- a/sdk/src/asset/Catalog.ts
+++ b/sdk/src/asset/Catalog.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export interface AtlasFrameInfo {
atlas: string;
frame: { x: number; y: number; w: number; h: number };
diff --git a/sdk/src/asset/MaterialLoader.ts b/sdk/src/asset/MaterialLoader.ts
index b062b616c..4371f0fc9 100644
--- a/sdk/src/asset/MaterialLoader.ts
+++ b/sdk/src/asset/MaterialLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file MaterialLoader.ts
* @brief Material asset loading and caching
diff --git a/sdk/src/asset/SceneHandle.ts b/sdk/src/asset/SceneHandle.ts
index ecd306f0f..ef1d82c5f 100644
--- a/sdk/src/asset/SceneHandle.ts
+++ b/sdk/src/asset/SceneHandle.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Entity } from '../types';
export type ReleaseCallback = () => void;
diff --git a/sdk/src/asset/basisTranscoder.ts b/sdk/src/asset/basisTranscoder.ts
index 5f7e66670..6359d2865 100644
--- a/sdk/src/asset/basisTranscoder.ts
+++ b/sdk/src/asset/basisTranscoder.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Runtime side of the Basis Universal KTX2 transcoder (RC6 Batch C3).
*
diff --git a/sdk/src/asset/compressed.ts b/sdk/src/asset/compressed.ts
index 8ac65dfd7..b9b24a315 100644
--- a/sdk/src/asset/compressed.ts
+++ b/sdk/src/asset/compressed.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Compressed-texture loading (KTX2 / Basis Universal) — RC6 Batch C.
*
diff --git a/sdk/src/asset/discoverAssets.ts b/sdk/src/asset/discoverAssets.ts
index 0c8a54848..c70423691 100644
--- a/sdk/src/asset/discoverAssets.ts
+++ b/sdk/src/asset/discoverAssets.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file discoverAssets.ts
* @brief Unified asset discovery from scene/prefab data.
diff --git a/sdk/src/asset/index.ts b/sdk/src/asset/index.ts
index f7c5c53ab..86010f305 100644
--- a/sdk/src/asset/index.ts
+++ b/sdk/src/asset/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export {
type AddressableAssetType,
type AddressableManifest,
diff --git a/sdk/src/asset/loaders/AnimClipAssetLoader.ts b/sdk/src/asset/loaders/AnimClipAssetLoader.ts
index fc8888d0f..14d43c27e 100644
--- a/sdk/src/asset/loaders/AnimClipAssetLoader.ts
+++ b/sdk/src/asset/loaders/AnimClipAssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, AnimClipResult } from '../AssetLoader';
import { extractAnimClipTexturePaths, parseAnimClipData, type AnimClipAssetData } from '../../animation/AnimClipLoader';
import { log } from '../../logger';
diff --git a/sdk/src/asset/loaders/AudioAssetLoader.ts b/sdk/src/asset/loaders/AudioAssetLoader.ts
index 84d537132..48810e1ff 100644
--- a/sdk/src/asset/loaders/AudioAssetLoader.ts
+++ b/sdk/src/asset/loaders/AudioAssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, AudioResult } from '../AssetLoader';
import { log } from '../../logger';
diff --git a/sdk/src/asset/loaders/FontAssetLoader.ts b/sdk/src/asset/loaders/FontAssetLoader.ts
index dcb49c585..3e309d4ba 100644
--- a/sdk/src/asset/loaders/FontAssetLoader.ts
+++ b/sdk/src/asset/loaders/FontAssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, FontResult } from '../AssetLoader';
import { requireResourceManager } from '../../resourceManager';
import { getAssetTypeEntry } from '../../assetTypes';
diff --git a/sdk/src/asset/loaders/MaterialAssetLoader.ts b/sdk/src/asset/loaders/MaterialAssetLoader.ts
index d6fcca462..d2680c118 100644
--- a/sdk/src/asset/loaders/MaterialAssetLoader.ts
+++ b/sdk/src/asset/loaders/MaterialAssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, MaterialResult } from '../AssetLoader';
import type { MaterialAssetData, ShaderHandle } from '../../material';
import { Material } from '../../material';
diff --git a/sdk/src/asset/loaders/PrefabAssetLoader.ts b/sdk/src/asset/loaders/PrefabAssetLoader.ts
index 41465a64f..d14543280 100644
--- a/sdk/src/asset/loaders/PrefabAssetLoader.ts
+++ b/sdk/src/asset/loaders/PrefabAssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, PrefabResult } from '../AssetLoader';
import { migratePrefabData } from '../../prefab';
import { log } from '../../logger';
diff --git a/sdk/src/asset/loaders/SpineAssetLoader.ts b/sdk/src/asset/loaders/SpineAssetLoader.ts
index 9efc5c624..8c85d10e3 100644
--- a/sdk/src/asset/loaders/SpineAssetLoader.ts
+++ b/sdk/src/asset/loaders/SpineAssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, SpineResult } from '../AssetLoader';
import { requireResourceManager } from '../../resourceManager';
import { getAssetTypeEntry } from '../../assetTypes';
diff --git a/sdk/src/asset/loaders/TextureLoader.ts b/sdk/src/asset/loaders/TextureLoader.ts
index ccd14d805..d960f4d34 100644
--- a/sdk/src/asset/loaders/TextureLoader.ts
+++ b/sdk/src/asset/loaders/TextureLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, TextureResult } from '../AssetLoader';
import { platformCreateCanvas, platformCreateImage } from '../../platform';
import { requireResourceManager } from '../../resourceManager';
diff --git a/sdk/src/asset/loaders/TilemapAssetLoader.ts b/sdk/src/asset/loaders/TilemapAssetLoader.ts
index f20f6cb5b..b0e5db17b 100644
--- a/sdk/src/asset/loaders/TilemapAssetLoader.ts
+++ b/sdk/src/asset/loaders/TilemapAssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, TilemapResult } from '../AssetLoader';
import { parseTmjJson, resolveRelativePath } from '../../tilemap/tiledLoader';
import { registerTilemapSource } from '../../tilemap/tilesetCache';
diff --git a/sdk/src/asset/loaders/TimelineAssetLoader.ts b/sdk/src/asset/loaders/TimelineAssetLoader.ts
index 854b0adca..59bd28952 100644
--- a/sdk/src/asset/loaders/TimelineAssetLoader.ts
+++ b/sdk/src/asset/loaders/TimelineAssetLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AssetLoader, LoadContext, TimelineResult } from '../AssetLoader';
import { parseTimelineAsset, extractTimelineAssetPaths } from '../../timeline/TimelineLoader';
import { registerTimelineAsset, registerTimelineTextureHandles } from '../../timeline/TimelinePlugin';
diff --git a/sdk/src/assetTypes.ts b/sdk/src/assetTypes.ts
index 22600a5a0..add67342c 100644
--- a/sdk/src/assetTypes.ts
+++ b/sdk/src/assetTypes.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export type AssetContentType = 'json' | 'text' | 'binary' | 'image' | 'audio';
export type AddressableAssetType =
diff --git a/sdk/src/audio/Audio.ts b/sdk/src/audio/Audio.ts
index 722001f69..0231a9dae 100644
--- a/sdk/src/audio/Audio.ts
+++ b/sdk/src/audio/Audio.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { PlatformAudioBackend, AudioBufferHandle, AudioHandle } from './PlatformAudioBackend';
import type { AudioMixer } from './AudioMixer';
import { defineResource } from '../resource';
diff --git a/sdk/src/audio/AudioBus.ts b/sdk/src/audio/AudioBus.ts
index 04d0b65b8..d4f884266 100644
--- a/sdk/src/audio/AudioBus.ts
+++ b/sdk/src/audio/AudioBus.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export interface AudioBusConfig {
name: string;
volume?: number;
diff --git a/sdk/src/audio/AudioComponents.ts b/sdk/src/audio/AudioComponents.ts
index 6cbc82506..e378b5e58 100644
--- a/sdk/src/audio/AudioComponents.ts
+++ b/sdk/src/audio/AudioComponents.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineComponent } from '../component';
import { AttenuationModel } from './SpatialAudio';
diff --git a/sdk/src/audio/AudioMixer.ts b/sdk/src/audio/AudioMixer.ts
index ef90a04ab..25ba90fe4 100644
--- a/sdk/src/audio/AudioMixer.ts
+++ b/sdk/src/audio/AudioMixer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { AudioBus, type AudioBusConfig } from './AudioBus';
export interface AudioMixerConfig {
diff --git a/sdk/src/audio/AudioPlugin.ts b/sdk/src/audio/AudioPlugin.ts
index 3f690d16c..216c48739 100644
--- a/sdk/src/audio/AudioPlugin.ts
+++ b/sdk/src/audio/AudioPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import type { Entity } from '../types';
import { defineSystem, Schedule } from '../system';
diff --git a/sdk/src/audio/AudioPool.ts b/sdk/src/audio/AudioPool.ts
index 9a7a08660..de10cb9b4 100644
--- a/sdk/src/audio/AudioPool.ts
+++ b/sdk/src/audio/AudioPool.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export interface PooledAudioNode {
gain: GainNode;
panner: StereoPannerNode;
diff --git a/sdk/src/audio/PlatformAudioBackend.ts b/sdk/src/audio/PlatformAudioBackend.ts
index 014df6e46..32bab168e 100644
--- a/sdk/src/audio/PlatformAudioBackend.ts
+++ b/sdk/src/audio/PlatformAudioBackend.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AudioMixer } from './AudioMixer';
import type { AudioMixerConfig } from './AudioMixer';
diff --git a/sdk/src/audio/SpatialAudio.ts b/sdk/src/audio/SpatialAudio.ts
index 50151de6d..7f880342f 100644
--- a/sdk/src/audio/SpatialAudio.ts
+++ b/sdk/src/audio/SpatialAudio.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export enum AttenuationModel {
Linear = 0,
Inverse,
diff --git a/sdk/src/audio/WeChatAudioBackend.ts b/sdk/src/audio/WeChatAudioBackend.ts
index d88d4c4a7..de3beb2d5 100644
--- a/sdk/src/audio/WeChatAudioBackend.ts
+++ b/sdk/src/audio/WeChatAudioBackend.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AudioHandle, AudioBufferHandle, PlayConfig, PlatformAudioBackend, AudioBackendInitOptions } from './PlatformAudioBackend';
import type { AudioMixer } from './AudioMixer';
import { log } from '../logger';
diff --git a/sdk/src/audio/WebAudioBackend.ts b/sdk/src/audio/WebAudioBackend.ts
index 14032aef4..48124148f 100644
--- a/sdk/src/audio/WebAudioBackend.ts
+++ b/sdk/src/audio/WebAudioBackend.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { AudioHandle, AudioBufferHandle, PlayConfig, PlatformAudioBackend, AudioBackendInitOptions } from './PlatformAudioBackend';
import { AudioMixer } from './AudioMixer';
import { AudioPool, type PooledAudioNode } from './AudioPool';
diff --git a/sdk/src/audio/index.ts b/sdk/src/audio/index.ts
index 61fdbc855..d8bac28f2 100644
--- a/sdk/src/audio/index.ts
+++ b/sdk/src/audio/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export { Audio, AudioAPI } from './Audio';
export { AudioBus, type AudioBusConfig } from './AudioBus';
export { AudioMixer, type AudioMixerConfig } from './AudioMixer';
diff --git a/sdk/src/blend.ts b/sdk/src/blend.ts
index 87920b9a6..e761cee1a 100644
--- a/sdk/src/blend.ts
+++ b/sdk/src/blend.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file blend.ts
* @brief Blend mode definitions for rendering
diff --git a/sdk/src/cacheAsBitmap.ts b/sdk/src/cacheAsBitmap.ts
index cb28330dd..b2805c95d 100644
--- a/sdk/src/cacheAsBitmap.ts
+++ b/sdk/src/cacheAsBitmap.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file cacheAsBitmap.ts
* @brief CacheAsBitmap component for caching entity subtrees as bitmaps
diff --git a/sdk/src/cacheBitmap.ts b/sdk/src/cacheBitmap.ts
index 4a3da3975..32c49e363 100644
--- a/sdk/src/cacheBitmap.ts
+++ b/sdk/src/cacheBitmap.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { RenderTexture, type RenderTextureHandle } from './renderTexture';
export interface BitmapCache {
diff --git a/sdk/src/camera/Camera.ts b/sdk/src/camera/Camera.ts
index f676a6cdd..303209577 100644
--- a/sdk/src/camera/Camera.ts
+++ b/sdk/src/camera/Camera.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App } from '../app';
import { defineResource } from '../resource';
import { UICameraInfo, type UICameraData } from '../ui/UICameraInfo';
diff --git a/sdk/src/camera/CameraDirector.ts b/sdk/src/camera/CameraDirector.ts
index fe1ccee14..0420be7e6 100644
--- a/sdk/src/camera/CameraDirector.ts
+++ b/sdk/src/camera/CameraDirector.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file CameraDirector.ts
* @brief The camera director — picks the active view target among the scene's
diff --git a/sdk/src/camera/CameraPlugin.ts b/sdk/src/camera/CameraPlugin.ts
index ba6b73abc..901a9f103 100644
--- a/sdk/src/camera/CameraPlugin.ts
+++ b/sdk/src/camera/CameraPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file CameraPlugin.ts
* @brief Camera system plugin — collects cameras, computes view-projection, drives rendering
diff --git a/sdk/src/camera/EditorGrid.ts b/sdk/src/camera/EditorGrid.ts
index 3206f2dc7..65657e97d 100644
--- a/sdk/src/camera/EditorGrid.ts
+++ b/sdk/src/camera/EditorGrid.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file EditorGrid.ts
* @brief Editor viewport reference grid — an editor-only render feature.
diff --git a/sdk/src/camera/EditorView.ts b/sdk/src/camera/EditorView.ts
index 8c79f40e5..417a90a82 100644
--- a/sdk/src/camera/EditorView.ts
+++ b/sdk/src/camera/EditorView.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file EditorView.ts
* @brief Editor viewport camera — a dedicated, editor-only 2D view.
diff --git a/sdk/src/camera/FollowTarget.ts b/sdk/src/camera/FollowTarget.ts
index 83444a170..cda7af079 100644
--- a/sdk/src/camera/FollowTarget.ts
+++ b/sdk/src/camera/FollowTarget.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file FollowTarget.ts
* @brief Per-camera follow behaviour — the procedural half of the camera
diff --git a/sdk/src/camera/editorGridRenderer.ts b/sdk/src/camera/editorGridRenderer.ts
index 5d11383fe..9640a131a 100644
--- a/sdk/src/camera/editorGridRenderer.ts
+++ b/sdk/src/camera/editorGridRenderer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file editorGridRenderer.ts
* @brief Infinite world-space editor grid, drawn through the editor camera.
diff --git a/sdk/src/commands.ts b/sdk/src/commands.ts
index a3c5b714f..61becd72d 100644
--- a/sdk/src/commands.ts
+++ b/sdk/src/commands.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file commands.ts
* @brief Deferred entity/component operations
diff --git a/sdk/src/component.ts b/sdk/src/component.ts
index d934d7718..5b6382690 100644
--- a/sdk/src/component.ts
+++ b/sdk/src/component.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file component.ts
* @brief Component definition and builtin components
diff --git a/sdk/src/context.ts b/sdk/src/context.ts
index 93568302e..196e914bd 100644
--- a/sdk/src/context.ts
+++ b/sdk/src/context.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file context.ts
* @brief Explicit application context replacing globalThis implicit coupling
diff --git a/sdk/src/core-content.ts b/sdk/src/core-content.ts
index b90613ed9..d2f90453d 100644
--- a/sdk/src/core-content.ts
+++ b/sdk/src/core-content.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file core-content.ts
* @brief Content surface: scenes, prefabs, assets, animation, audio,
diff --git a/sdk/src/core-render.ts b/sdk/src/core-render.ts
index b56f68c29..4c0785d47 100644
--- a/sdk/src/core-render.ts
+++ b/sdk/src/core-render.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file core-render.ts
* @brief Rendering + graphics surface.
diff --git a/sdk/src/core-runtime.ts b/sdk/src/core-runtime.ts
index ca5857c71..c124c40a4 100644
--- a/sdk/src/core-runtime.ts
+++ b/sdk/src/core-runtime.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file core-runtime.ts
* @brief ECS runtime surface: types, components, world, app, systems,
diff --git a/sdk/src/core-sys.ts b/sdk/src/core-sys.ts
index 15c36cf45..df395560a 100644
--- a/sdk/src/core-sys.ts
+++ b/sdk/src/core-sys.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file core-sys.ts
* @brief Engine infrastructure surface: platform, lifecycle, logging,
diff --git a/sdk/src/core-ui.ts b/sdk/src/core-ui.ts
index e3bf849a6..5b779aa0e 100644
--- a/sdk/src/core-ui.ts
+++ b/sdk/src/core-ui.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file core-ui.ts
* @brief UI layer surface (text, rect, renderer, interactables, layout).
diff --git a/sdk/src/core.ts b/sdk/src/core.ts
index fbf0e71cc..c48e76b30 100644
--- a/sdk/src/core.ts
+++ b/sdk/src/core.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file core.ts
* @brief ESEngine SDK — public API barrel (no platform initialization)
diff --git a/sdk/src/corePlugin.ts b/sdk/src/corePlugin.ts
index aa75e1e05..fbc89a63c 100644
--- a/sdk/src/corePlugin.ts
+++ b/sdk/src/corePlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Plugin } from './app';
import { initResourceManager, shutdownResourceManager } from './resourceManager';
import { initDrawAPI, shutdownDrawAPI } from './draw';
diff --git a/sdk/src/customDraw.ts b/sdk/src/customDraw.ts
index 8d23c96ea..cc8c2638d 100644
--- a/sdk/src/customDraw.ts
+++ b/sdk/src/customDraw.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file customDraw.ts
* @brief Custom draw callback registration for the render pipeline
diff --git a/sdk/src/defaults.ts b/sdk/src/defaults.ts
index 4aa0db4c2..c6a803bc2 100644
--- a/sdk/src/defaults.ts
+++ b/sdk/src/defaults.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export const DEFAULT_DESIGN_WIDTH = 1920;
export const DEFAULT_DESIGN_HEIGHT = 1080;
export const DEFAULT_PIXELS_PER_UNIT = 100;
diff --git a/sdk/src/draw.ts b/sdk/src/draw.ts
index 278032f3e..ccff7af91 100644
--- a/sdk/src/draw.ts
+++ b/sdk/src/draw.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file draw.ts
* @brief Immediate mode 2D drawing API
diff --git a/sdk/src/ecs/BuiltinBridge.ts b/sdk/src/ecs/BuiltinBridge.ts
index f9b2ec5f0..70cf54342 100644
--- a/sdk/src/ecs/BuiltinBridge.ts
+++ b/sdk/src/ecs/BuiltinBridge.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BuiltinBridge.ts
* @brief C++ Registry integration layer for builtin components
diff --git a/sdk/src/ecs/ChangeTracker.ts b/sdk/src/ecs/ChangeTracker.ts
index f217912bb..5fbf89ae6 100644
--- a/sdk/src/ecs/ChangeTracker.ts
+++ b/sdk/src/ecs/ChangeTracker.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ChangeTracker.ts
* @brief Tracks per-component add/change/remove ticks for change detection queries
diff --git a/sdk/src/ecs/NameIndex.ts b/sdk/src/ecs/NameIndex.ts
index 6e24eeb51..353259823 100644
--- a/sdk/src/ecs/NameIndex.ts
+++ b/sdk/src/ecs/NameIndex.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file NameIndex.ts
* @brief Bidirectional name-to-entity index
diff --git a/sdk/src/ecs/QueryCache.ts b/sdk/src/ecs/QueryCache.ts
index 834eef74d..3efd23f63 100644
--- a/sdk/src/ecs/QueryCache.ts
+++ b/sdk/src/ecs/QueryCache.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file QueryCache.ts
* @brief Component-aware query result cache with fine-grained invalidation
diff --git a/sdk/src/ecs/ScriptStorage.ts b/sdk/src/ecs/ScriptStorage.ts
index e65b66492..61e220819 100644
--- a/sdk/src/ecs/ScriptStorage.ts
+++ b/sdk/src/ecs/ScriptStorage.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ScriptStorage.ts
* @brief TypeScript-side component storage for user-defined (non-builtin) components
diff --git a/sdk/src/entityUtils.ts b/sdk/src/entityUtils.ts
index b91280259..feb3b53b9 100644
--- a/sdk/src/entityUtils.ts
+++ b/sdk/src/entityUtils.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Entity } from './types';
import type { World } from './world';
import { Sprite, ShapeRenderer, BitmapText, Disabled } from './component';
diff --git a/sdk/src/env.ts b/sdk/src/env.ts
index 79c735345..e29e39bc2 100644
--- a/sdk/src/env.ts
+++ b/sdk/src/env.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file env.ts
* @brief Run-mode accessors (editor vs runtime, edit vs play).
diff --git a/sdk/src/event.ts b/sdk/src/event.ts
index 7c60a9cb3..d690537c7 100644
--- a/sdk/src/event.ts
+++ b/sdk/src/event.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file event.ts
* @brief Event system with double-buffered event buses
diff --git a/sdk/src/filters.ts b/sdk/src/filters.ts
index 5bc8a29b0..91d7075e4 100644
--- a/sdk/src/filters.ts
+++ b/sdk/src/filters.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { Material, type ShaderHandle } from './material';
const COLOR_MATRIX_VERT = `
diff --git a/sdk/src/frameCapture.ts b/sdk/src/frameCapture.ts
index fd489eb61..f6e70b4a4 100644
--- a/sdk/src/frameCapture.ts
+++ b/sdk/src/frameCapture.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ESEngineModule } from './wasm';
/**
diff --git a/sdk/src/geometry.ts b/sdk/src/geometry.ts
index e05247895..0ddc86be6 100644
--- a/sdk/src/geometry.ts
+++ b/sdk/src/geometry.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file geometry.ts
* @brief Geometry API for custom mesh rendering
diff --git a/sdk/src/gesture.ts b/sdk/src/gesture.ts
index 1a19b166c..597230c42 100644
--- a/sdk/src/gesture.ts
+++ b/sdk/src/gesture.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { InputState } from './input';
export type SwipeDirection = 'left' | 'right' | 'up' | 'down';
diff --git a/sdk/src/glDebug.ts b/sdk/src/glDebug.ts
index a98c19da8..9383a369a 100644
--- a/sdk/src/glDebug.ts
+++ b/sdk/src/glDebug.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file glDebug.ts
* @brief GL error checking API for debugging rendering issues
diff --git a/sdk/src/graphics.ts b/sdk/src/graphics.ts
index 945dd69f1..6950b0b4e 100644
--- a/sdk/src/graphics.ts
+++ b/sdk/src/graphics.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color, Vec2 } from './types';
import { Draw } from './draw';
diff --git a/sdk/src/hitArea.ts b/sdk/src/hitArea.ts
index 3c7fa495b..b9eea21a6 100644
--- a/sdk/src/hitArea.ts
+++ b/sdk/src/hitArea.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export type HitAreaShape =
| { type: 'rect'; x: number; y: number; width: number; height: number }
| { type: 'circle'; cx: number; cy: number; radius: number }
diff --git a/sdk/src/index.ts b/sdk/src/index.ts
index 29d6371d5..40a2ea972 100644
--- a/sdk/src/index.ts
+++ b/sdk/src/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief ESEngine SDK - Web entry point (auto-initializes Web platform)
diff --git a/sdk/src/index.wechat.ts b/sdk/src/index.wechat.ts
index 12fdbf634..3397c5fe6 100644
--- a/sdk/src/index.wechat.ts
+++ b/sdk/src/index.wechat.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.wechat.ts
* @brief ESEngine SDK - WeChat MiniGame entry point
diff --git a/sdk/src/input.ts b/sdk/src/input.ts
index 435e879c3..558434e6d 100644
--- a/sdk/src/input.ts
+++ b/sdk/src/input.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineResource } from './resource';
import { defineSystem, Schedule } from './system';
import type { App, Plugin } from './app';
diff --git a/sdk/src/inputRouter.ts b/sdk/src/inputRouter.ts
index e66e406e9..e3c79578e 100644
--- a/sdk/src/inputRouter.ts
+++ b/sdk/src/inputRouter.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file inputRouter.ts
* @brief Chain-of-responsibility input routing (editor → UI → game)
diff --git a/sdk/src/lifecycle.ts b/sdk/src/lifecycle.ts
index a0356f7ef..6b1001547 100644
--- a/sdk/src/lifecycle.ts
+++ b/sdk/src/lifecycle.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file lifecycle.ts
* @brief App lifecycle plugin - visibility/focus auto-pause and lifecycle events
diff --git a/sdk/src/logger.ts b/sdk/src/logger.ts
index ab0ffb79f..e1c61c0c0 100644
--- a/sdk/src/logger.ts
+++ b/sdk/src/logger.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file logger.ts
* @brief Centralized logging system for SDK
diff --git a/sdk/src/material.ts b/sdk/src/material.ts
index 76a34958b..82b1f4bed 100644
--- a/sdk/src/material.ts
+++ b/sdk/src/material.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file material.ts
* @brief Material and Shader API for custom rendering
diff --git a/sdk/src/math/mat4.ts b/sdk/src/math/mat4.ts
index e462015c7..b46d43ede 100644
--- a/sdk/src/math/mat4.ts
+++ b/sdk/src/math/mat4.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file mat4.ts
* @brief 4x4 matrix operations for camera and projection math
diff --git a/sdk/src/moduleHealth.ts b/sdk/src/moduleHealth.ts
index ac2a81205..365be1576 100644
--- a/sdk/src/moduleHealth.ts
+++ b/sdk/src/moduleHealth.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file moduleHealth.ts
* @brief Terminal-abort tracking for the C++/WASM boundary.
diff --git a/sdk/src/net/GameSocket.ts b/sdk/src/net/GameSocket.ts
index f391a77f5..93172739a 100644
--- a/sdk/src/net/GameSocket.ts
+++ b/sdk/src/net/GameSocket.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export type SocketReadyState = 'connecting' | 'open' | 'closing' | 'closed';
export interface GameSocketOptions {
diff --git a/sdk/src/net/WeChatSocket.ts b/sdk/src/net/WeChatSocket.ts
index 9cf987ca1..abe90fdff 100644
--- a/sdk/src/net/WeChatSocket.ts
+++ b/sdk/src/net/WeChatSocket.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { GameSocketOptions, SocketReadyState } from './GameSocket';
export class WeChatSocket {
diff --git a/sdk/src/net/index.ts b/sdk/src/net/index.ts
index 28fb18d63..cdd66de2d 100644
--- a/sdk/src/net/index.ts
+++ b/sdk/src/net/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export { GameSocket, type GameSocketOptions, type SocketReadyState } from './GameSocket';
export { WeChatSocket } from './WeChatSocket';
diff --git a/sdk/src/particle/ParticleAPI.ts b/sdk/src/particle/ParticleAPI.ts
index d536e369f..9a6e58f9d 100644
--- a/sdk/src/particle/ParticleAPI.ts
+++ b/sdk/src/particle/ParticleAPI.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ESEngineModule, CppRegistry } from '../wasm';
import type { Entity } from '../types';
import { defineResource } from '../resource';
diff --git a/sdk/src/particle/ParticlePlugin.ts b/sdk/src/particle/ParticlePlugin.ts
index 624663f3e..a8aa30e1f 100644
--- a/sdk/src/particle/ParticlePlugin.ts
+++ b/sdk/src/particle/ParticlePlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import { defineSystem, Schedule } from '../system';
import { Res } from '../resource';
diff --git a/sdk/src/particle/index.ts b/sdk/src/particle/index.ts
index 2b51cf1cc..e89978bc9 100644
--- a/sdk/src/particle/index.ts
+++ b/sdk/src/particle/index.ts
@@ -1,2 +1,4 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export { Particle, ParticleAPI } from './ParticleAPI';
export { ParticlePlugin, particlePlugin } from './ParticlePlugin';
diff --git a/sdk/src/physics/Physics.ts b/sdk/src/physics/Physics.ts
index 27aa8ae0e..9e72fed59 100644
--- a/sdk/src/physics/Physics.ts
+++ b/sdk/src/physics/Physics.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Physics.ts
* @brief User-facing physics API + PhysicsAPI resource
diff --git a/sdk/src/physics/PhysicsBridge.ts b/sdk/src/physics/PhysicsBridge.ts
index c0e60cb4c..f94f23e8b 100644
--- a/sdk/src/physics/PhysicsBridge.ts
+++ b/sdk/src/physics/PhysicsBridge.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PhysicsBridge.ts
* @brief Physics subsystem's bridge to its WASM module.
diff --git a/sdk/src/physics/PhysicsComponents.ts b/sdk/src/physics/PhysicsComponents.ts
index a632a5269..523a60ba9 100644
--- a/sdk/src/physics/PhysicsComponents.ts
+++ b/sdk/src/physics/PhysicsComponents.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PhysicsComponents.ts
* @brief Physics component definitions for TypeScript SDK
diff --git a/sdk/src/physics/PhysicsDebugDraw.ts b/sdk/src/physics/PhysicsDebugDraw.ts
index 45b5a4d91..214e3536a 100644
--- a/sdk/src/physics/PhysicsDebugDraw.ts
+++ b/sdk/src/physics/PhysicsDebugDraw.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App } from '../app';
import type { Color } from '../types';
import type { TransformData, CanvasData } from '../component';
diff --git a/sdk/src/physics/PhysicsModuleLoader.ts b/sdk/src/physics/PhysicsModuleLoader.ts
index 556663402..f341fd288 100644
--- a/sdk/src/physics/PhysicsModuleLoader.ts
+++ b/sdk/src/physics/PhysicsModuleLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PhysicsModuleLoader.ts
* @brief Loads and initializes the Physics WASM module (standalone or side module)
diff --git a/sdk/src/physics/PhysicsPlugin.ts b/sdk/src/physics/PhysicsPlugin.ts
index 36a976656..bba1c98fa 100644
--- a/sdk/src/physics/PhysicsPlugin.ts
+++ b/sdk/src/physics/PhysicsPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PhysicsPlugin.ts
* @brief Physics plugin — async wasm load + resource wiring
diff --git a/sdk/src/physics/PhysicsRuntime.ts b/sdk/src/physics/PhysicsRuntime.ts
index 11492718d..9e02ae6b4 100644
--- a/sdk/src/physics/PhysicsRuntime.ts
+++ b/sdk/src/physics/PhysicsRuntime.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PhysicsRuntime.ts
* @brief Resource holding the physics wasm module + its load promise
diff --git a/sdk/src/physics/PhysicsSystem.ts b/sdk/src/physics/PhysicsSystem.ts
index 726e074ea..91839ca6a 100644
--- a/sdk/src/physics/PhysicsSystem.ts
+++ b/sdk/src/physics/PhysicsSystem.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PhysicsSystem.ts
* @brief Per-frame physics driver: entity tracking, shape/joint create,
diff --git a/sdk/src/physics/PhysicsTypes.ts b/sdk/src/physics/PhysicsTypes.ts
index b786051af..d724794ef 100644
--- a/sdk/src/physics/PhysicsTypes.ts
+++ b/sdk/src/physics/PhysicsTypes.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PhysicsTypes.ts
* @brief Shared data shapes for the physics plugin
diff --git a/sdk/src/physics/index.ts b/sdk/src/physics/index.ts
index 3bd17614d..a3251b203 100644
--- a/sdk/src/physics/index.ts
+++ b/sdk/src/physics/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief ESEngine Physics module - standalone Box2D WASM integration
diff --git a/sdk/src/platform/base.ts b/sdk/src/platform/base.ts
index de5051eb5..32beb7c33 100644
--- a/sdk/src/platform/base.ts
+++ b/sdk/src/platform/base.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file base.ts
* @brief Base platform adapter - no platform-specific code
diff --git a/sdk/src/platform/index.ts b/sdk/src/platform/index.ts
index e483094ee..589dfe36c 100644
--- a/sdk/src/platform/index.ts
+++ b/sdk/src/platform/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief Platform adapter exports
diff --git a/sdk/src/platform/types.ts b/sdk/src/platform/types.ts
index c6671bdd2..4df2e5b1e 100644
--- a/sdk/src/platform/types.ts
+++ b/sdk/src/platform/types.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file types.ts
* @brief Platform adapter interface definitions
diff --git a/sdk/src/platform/web.ts b/sdk/src/platform/web.ts
index b34aaee3b..f7d45a0dc 100644
--- a/sdk/src/platform/web.ts
+++ b/sdk/src/platform/web.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file web.ts
* @brief Web platform adapter implementation
diff --git a/sdk/src/platform/wechat/fetch.ts b/sdk/src/platform/wechat/fetch.ts
index d2f7d85c2..d693e642d 100644
--- a/sdk/src/platform/wechat/fetch.ts
+++ b/sdk/src/platform/wechat/fetch.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file fetch.ts
* @brief Fetch polyfill for WeChat MiniGame using wx.request
diff --git a/sdk/src/platform/wechat/fs.ts b/sdk/src/platform/wechat/fs.ts
index 4d7e9e195..9049cbb16 100644
--- a/sdk/src/platform/wechat/fs.ts
+++ b/sdk/src/platform/wechat/fs.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file fs.ts
* @brief File system adapter for WeChat MiniGame
diff --git a/sdk/src/platform/wechat/image.ts b/sdk/src/platform/wechat/image.ts
index 53d9b4c4a..c83357f44 100644
--- a/sdk/src/platform/wechat/image.ts
+++ b/sdk/src/platform/wechat/image.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file image.ts
* @brief WeChat MiniGame image loading utilities
diff --git a/sdk/src/platform/wechat/index.ts b/sdk/src/platform/wechat/index.ts
index 21e29a273..0c470cffc 100644
--- a/sdk/src/platform/wechat/index.ts
+++ b/sdk/src/platform/wechat/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief WeChat MiniGame platform adapter
diff --git a/sdk/src/platform/wechat/wasm.ts b/sdk/src/platform/wechat/wasm.ts
index 4b446e595..4bd6a9332 100644
--- a/sdk/src/platform/wechat/wasm.ts
+++ b/sdk/src/platform/wechat/wasm.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file wasm.ts
* @brief WebAssembly adapter for WeChat MiniGame using WXWebAssembly
diff --git a/sdk/src/playRealmRuntime.ts b/sdk/src/playRealmRuntime.ts
index f0b340326..7cfc4d040 100644
--- a/sdk/src/playRealmRuntime.ts
+++ b/sdk/src/playRealmRuntime.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file playRealmRuntime.ts
* @brief Editor play-realm runtime entry — the SAME shipping runtime
diff --git a/sdk/src/playableRuntime.ts b/sdk/src/playableRuntime.ts
index 7484d3dde..79ebe7a66 100644
--- a/sdk/src/playableRuntime.ts
+++ b/sdk/src/playableRuntime.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file playableRuntime.ts
* @brief Playable ad runtime initialization (single-HTML builds)
diff --git a/sdk/src/postprocess.ts b/sdk/src/postprocess.ts
index 5acd92985..490db13d8 100644
--- a/sdk/src/postprocess.ts
+++ b/sdk/src/postprocess.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export {
PostProcess,
PostProcessApi,
diff --git a/sdk/src/postprocess/PostProcessAPI.ts b/sdk/src/postprocess/PostProcessAPI.ts
index fe3925c2f..6c8c0f202 100644
--- a/sdk/src/postprocess/PostProcessAPI.ts
+++ b/sdk/src/postprocess/PostProcessAPI.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ESEngineModule } from '../wasm';
import type { Entity } from '../types';
import type { ShaderHandle } from '../material';
diff --git a/sdk/src/postprocess/PostProcessPlugin.ts b/sdk/src/postprocess/PostProcessPlugin.ts
index 61f11f59e..83bc06e0e 100644
--- a/sdk/src/postprocess/PostProcessPlugin.ts
+++ b/sdk/src/postprocess/PostProcessPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import { Schedule } from '../system';
import { PostProcess, PostProcessApi } from './PostProcessAPI';
diff --git a/sdk/src/postprocess/PostProcessStack.ts b/sdk/src/postprocess/PostProcessStack.ts
index d69545cc8..b6289a663 100644
--- a/sdk/src/postprocess/PostProcessStack.ts
+++ b/sdk/src/postprocess/PostProcessStack.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Entity } from '../types';
import type { ShaderHandle, Vec4 } from '../material';
diff --git a/sdk/src/postprocess/effects.ts b/sdk/src/postprocess/effects.ts
index dfdf6a4cf..59f6a99ef 100644
--- a/sdk/src/postprocess/effects.ts
+++ b/sdk/src/postprocess/effects.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ShaderHandle } from '../material';
import { postProcessEffects } from './postProcessEffects';
diff --git a/sdk/src/postprocess/index.ts b/sdk/src/postprocess/index.ts
index 0bcef45f6..392d6a946 100644
--- a/sdk/src/postprocess/index.ts
+++ b/sdk/src/postprocess/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export { PostProcessStack } from './PostProcessStack';
export type { PassConfig } from './PostProcessStack';
export { PostProcess, PostProcessApi, initPostProcessAPI, shutdownPostProcessAPI, syncStackToWasm } from './PostProcessAPI';
diff --git a/sdk/src/postprocess/postProcessEffects.ts b/sdk/src/postprocess/postProcessEffects.ts
index bfeb1b845..6f3f2853f 100644
--- a/sdk/src/postprocess/postProcessEffects.ts
+++ b/sdk/src/postprocess/postProcessEffects.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file postProcessEffects.ts
* @brief Stateless post-process shader factories.
diff --git a/sdk/src/postprocess/shaders.ts b/sdk/src/postprocess/shaders.ts
index 6c91e9500..13d38199e 100644
--- a/sdk/src/postprocess/shaders.ts
+++ b/sdk/src/postprocess/shaders.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export const POSTPROCESS_VERTEX = `#version 300 es
precision highp float;
diff --git a/sdk/src/postprocess/volumeBlending.ts b/sdk/src/postprocess/volumeBlending.ts
index 821a2a55e..ba06fb20c 100644
--- a/sdk/src/postprocess/volumeBlending.ts
+++ b/sdk/src/postprocess/volumeBlending.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { PostProcessVolumeData } from '../component';
export interface VolumeTransform {
diff --git a/sdk/src/postprocess/volumeSystem.ts b/sdk/src/postprocess/volumeSystem.ts
index 3352a872f..f0fc0a09c 100644
--- a/sdk/src/postprocess/volumeSystem.ts
+++ b/sdk/src/postprocess/volumeSystem.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineSystem } from '../system';
import { defineResource, Res } from '../resource';
import { Query } from '../query';
diff --git a/sdk/src/prefab.ts b/sdk/src/prefab.ts
index b0807ce98..df137720a 100644
--- a/sdk/src/prefab.ts
+++ b/sdk/src/prefab.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { World } from './world';
import type { Entity } from './types';
import type { Assets } from './asset/Assets';
diff --git a/sdk/src/prefab/clone.ts b/sdk/src/prefab/clone.ts
index b21161085..ade8096f0 100644
--- a/sdk/src/prefab/clone.ts
+++ b/sdk/src/prefab/clone.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ComponentData } from './types';
export function cloneComponents(components: ComponentData[]): ComponentData[] {
diff --git a/sdk/src/prefab/collect.ts b/sdk/src/prefab/collect.ts
index 074d584d3..f1fb9ae63 100644
--- a/sdk/src/prefab/collect.ts
+++ b/sdk/src/prefab/collect.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { PrefabData } from './types';
export function collectNestedPrefabPaths(
diff --git a/sdk/src/prefab/diff.ts b/sdk/src/prefab/diff.ts
index 156bf21db..32f2a30b3 100644
--- a/sdk/src/prefab/diff.ts
+++ b/sdk/src/prefab/diff.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type {
ComponentData,
PrefabData,
diff --git a/sdk/src/prefab/entityRef.ts b/sdk/src/prefab/entityRef.ts
index 47d6c2e32..727e7c7b5 100644
--- a/sdk/src/prefab/entityRef.ts
+++ b/sdk/src/prefab/entityRef.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ComponentData, PrefabEntityId } from './types';
import { getComponent } from '../component';
import { INVALID_ENTITY } from '../types';
diff --git a/sdk/src/prefab/flatten.ts b/sdk/src/prefab/flatten.ts
index 974bf6b0c..514823db5 100644
--- a/sdk/src/prefab/flatten.ts
+++ b/sdk/src/prefab/flatten.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type {
PrefabData,
PrefabEntityData,
diff --git a/sdk/src/prefab/index.ts b/sdk/src/prefab/index.ts
index 9ee313bfb..e14903e88 100644
--- a/sdk/src/prefab/index.ts
+++ b/sdk/src/prefab/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export type {
ComponentData,
PrefabData,
diff --git a/sdk/src/prefab/migrate.ts b/sdk/src/prefab/migrate.ts
index 8a147c8d9..ddfe85f2e 100644
--- a/sdk/src/prefab/migrate.ts
+++ b/sdk/src/prefab/migrate.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { PrefabData, PrefabEntityData, PrefabOverride } from './types';
/**
diff --git a/sdk/src/prefab/override.ts b/sdk/src/prefab/override.ts
index 8a68e3dfb..006a6d531 100644
--- a/sdk/src/prefab/override.ts
+++ b/sdk/src/prefab/override.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type {
PrefabEntityId,
PrefabOverride,
diff --git a/sdk/src/prefab/sceneInstance.ts b/sdk/src/prefab/sceneInstance.ts
index 73c24d91e..6be9eeeae 100644
--- a/sdk/src/prefab/sceneInstance.ts
+++ b/sdk/src/prefab/sceneInstance.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file sceneInstance.ts
* @brief Prefab instance ⇄ scene-delta boundary (the canonical expand/collapse core)
diff --git a/sdk/src/prefab/types.ts b/sdk/src/prefab/types.ts
index 7709eb27f..6c1288955 100644
--- a/sdk/src/prefab/types.ts
+++ b/sdk/src/prefab/types.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export interface ComponentData {
type: string;
data: Record<string, unknown>;
diff --git a/sdk/src/prefab/validate.ts b/sdk/src/prefab/validate.ts
index 232385d1c..5dadaef9b 100644
--- a/sdk/src/prefab/validate.ts
+++ b/sdk/src/prefab/validate.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type {
PrefabData,
PrefabEntityData,
diff --git a/sdk/src/prefabServer.ts b/sdk/src/prefabServer.ts
index 85efde3d0..2d78120b1 100644
--- a/sdk/src/prefabServer.ts
+++ b/sdk/src/prefabServer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from './app';
import type { World } from './world';
import type { Entity } from './types';
diff --git a/sdk/src/preview/PreviewPlugin.ts b/sdk/src/preview/PreviewPlugin.ts
index 4a253885a..259152806 100644
--- a/sdk/src/preview/PreviewPlugin.ts
+++ b/sdk/src/preview/PreviewPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PreviewPlugin.ts
* @brief Plugin for editor preview functionality
diff --git a/sdk/src/preview/WebAssetProvider.ts b/sdk/src/preview/WebAssetProvider.ts
index 4a34e05b5..51402bde5 100644
--- a/sdk/src/preview/WebAssetProvider.ts
+++ b/sdk/src/preview/WebAssetProvider.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file WebAssetProvider.ts
* @brief RuntimeAssetProvider for browser-based preview
diff --git a/sdk/src/preview/index.ts b/sdk/src/preview/index.ts
index e19188560..bd183d14a 100644
--- a/sdk/src/preview/index.ts
+++ b/sdk/src/preview/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief Preview module exports
diff --git a/sdk/src/provenance.ts b/sdk/src/provenance.ts
new file mode 100644
index 000000000..48a624181
--- /dev/null
+++ b/sdk/src/provenance.ts
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
+/**
+ * @file provenance.ts
+ * @brief Project-origin signatures stamped into shipped bundles and saved data.
+ *
+ * These constants are stable, project-unique markers used to verify the origin
+ * of a build and of the assets it produces. {@link ESTELLA_BUILD_FINGERPRINT}
+ * is referenced by core code so it survives bundling/minification;
+ * {@link ESTELLA_SCENE_GENERATOR} is written into every serialized scene, so it
+ * propagates into downstream project files. Authorship / anti-tamper aid —
+ * do not remove or alter.
+ */
+
+/** Build-origin fingerprint baked into the shipped runtime bundle. */
+export const ESTELLA_BUILD_FINGERPRINT = 'estella-fp:38f17476-d32d-41e0-b2da-8f7ad89fd89c';
+
+/**
+ * Generator tag written into serialized scenes. Embeds the build fingerprint so
+ * referencing the tag also keeps the fingerprint live through tree-shaking.
+ */
+export const ESTELLA_SCENE_GENERATOR =
+ `estella-engine (${ESTELLA_BUILD_FINGERPRINT}; 0eee7df0-23b5-44ce-9538-6a80dde1064c)`;
diff --git a/sdk/src/query.ts b/sdk/src/query.ts
index 29b569ac1..ed9b47c86 100644
--- a/sdk/src/query.ts
+++ b/sdk/src/query.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file query.ts
* @brief Component query system with mutable component support
diff --git a/sdk/src/renderPipeline.ts b/sdk/src/renderPipeline.ts
index 605ad4b17..a29fa961c 100644
--- a/sdk/src/renderPipeline.ts
+++ b/sdk/src/renderPipeline.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file renderPipeline.ts
* @brief Unified render pipeline for runtime and editor
diff --git a/sdk/src/renderTexture.ts b/sdk/src/renderTexture.ts
index c53674786..90e5f808b 100644
--- a/sdk/src/renderTexture.ts
+++ b/sdk/src/renderTexture.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { Renderer, type RenderTargetHandle } from './renderer';
export interface RenderTextureOptions {
diff --git a/sdk/src/renderer.ts b/sdk/src/renderer.ts
index 9a98e7563..5d0df9c7b 100644
--- a/sdk/src/renderer.ts
+++ b/sdk/src/renderer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ESEngineModule, CppRegistry } from './wasm';
import { CoreApiBridge } from './CoreApiBridge';
import { handleWasmError } from './wasmError';
diff --git a/sdk/src/resource.ts b/sdk/src/resource.ts
index b8f9408db..c823e5c1f 100644
--- a/sdk/src/resource.ts
+++ b/sdk/src/resource.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file resource.ts
* @brief Resource system for global singleton data
diff --git a/sdk/src/resourceManager.ts b/sdk/src/resourceManager.ts
index be11ff080..5cc63a98f 100644
--- a/sdk/src/resourceManager.ts
+++ b/sdk/src/resourceManager.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { CppResourceManager, ESEngineModule } from './wasm';
import { WasmBridge } from './WasmBridge';
diff --git a/sdk/src/runtimeAssets.ts b/sdk/src/runtimeAssets.ts
index 652f18198..6fa4ae877 100644
--- a/sdk/src/runtimeAssets.ts
+++ b/sdk/src/runtimeAssets.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file runtimeAssets.ts
* @brief Shared runtime asset primitives — the pluggable asset-fetch provider
diff --git a/sdk/src/runtimeLoader.ts b/sdk/src/runtimeLoader.ts
index 4d1128f7b..162968bf3 100644
--- a/sdk/src/runtimeLoader.ts
+++ b/sdk/src/runtimeLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file runtimeLoader.ts
* @brief Runtime scene loader for builder targets (WeChat, Playable, etc.)
diff --git a/sdk/src/scene.ts b/sdk/src/scene.ts
index 18effb36a..e0f9f81dc 100644
--- a/sdk/src/scene.ts
+++ b/sdk/src/scene.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file scene.ts
* @brief Scene loading utilities
@@ -10,6 +12,7 @@ import { discoverSceneAssets } from './asset/discoverAssets';
import { requireResourceManager } from './resourceManager';
import { validateComponentData, formatValidationErrors } from './validation';
import { log } from './logger';
+import { ESTELLA_SCENE_GENERATOR } from './provenance';
import {
expandEntry,
preloadNestedPrefabs,
@@ -53,6 +56,8 @@ export interface TextureMetadata {
export interface SceneData {
version: string;
name: string;
+ /** Origin tag of the engine that wrote this scene (see provenance.ts). */
+ generator?: string;
entities: SceneEntityData[];
textureMetadata?: Record<string, TextureMetadata>;
}
@@ -633,6 +638,7 @@ export function serializeScene(world: World, sceneName = 'scene'): SceneData {
return {
version: SCENE_FORMAT_VERSION,
name: sceneName,
+ generator: ESTELLA_SCENE_GENERATOR,
entities,
};
}
diff --git a/sdk/src/scene/SceneTransitionController.ts b/sdk/src/scene/SceneTransitionController.ts
index c99463585..04b9637c4 100644
--- a/sdk/src/scene/SceneTransitionController.ts
+++ b/sdk/src/scene/SceneTransitionController.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SceneTransitionController.ts
* @brief Fade transition state machine for scene switches.
diff --git a/sdk/src/sceneManager.ts b/sdk/src/sceneManager.ts
index b45799ecb..0628bd507 100644
--- a/sdk/src/sceneManager.ts
+++ b/sdk/src/sceneManager.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file sceneManager.ts
* @brief Scene management system for loading, switching, and unloading scenes
diff --git a/sdk/src/scenePlugin.ts b/sdk/src/scenePlugin.ts
index ed0f66a91..f974f7099 100644
--- a/sdk/src/scenePlugin.ts
+++ b/sdk/src/scenePlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file scenePlugin.ts
* @brief Plugin that provides scene management capabilities
diff --git a/sdk/src/sceneTransition.ts b/sdk/src/sceneTransition.ts
index cdee798ba..9baa5ed0b 100644
--- a/sdk/src/sceneTransition.ts
+++ b/sdk/src/sceneTransition.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file sceneTransition.ts
* @brief Convenience wrapper for scene transitions
diff --git a/sdk/src/screen.ts b/sdk/src/screen.ts
index 51bc0b40c..d8b290a77 100644
--- a/sdk/src/screen.ts
+++ b/sdk/src/screen.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export enum ScreenOrientation {
Portrait = 'portrait',
Landscape = 'landscape',
diff --git a/sdk/src/spine/ModuleBackend.ts b/sdk/src/spine/ModuleBackend.ts
index 3b2cb7732..58cc72b72 100644
--- a/sdk/src/spine/ModuleBackend.ts
+++ b/sdk/src/spine/ModuleBackend.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Entity } from '../types';
import type { ESEngineModule, CppRegistry } from '../wasm';
import type { SpineModuleController } from './SpineController';
diff --git a/sdk/src/spine/SpineBridge.ts b/sdk/src/spine/SpineBridge.ts
index 90fe35009..bd59a75ba 100644
--- a/sdk/src/spine/SpineBridge.ts
+++ b/sdk/src/spine/SpineBridge.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SpineBridge.ts
* @brief Spine's bridges to its two WASM surfaces.
diff --git a/sdk/src/spine/SpineController.ts b/sdk/src/spine/SpineController.ts
index 9ef28085a..d8b18cca8 100644
--- a/sdk/src/spine/SpineController.ts
+++ b/sdk/src/spine/SpineController.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SpineController.ts
* @brief Spine animation control for the modular Spine WASM module
diff --git a/sdk/src/spine/SpineManager.ts b/sdk/src/spine/SpineManager.ts
index b519df51c..496ace861 100644
--- a/sdk/src/spine/SpineManager.ts
+++ b/sdk/src/spine/SpineManager.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ESEngineModule, CppRegistry } from '../wasm';
import type { Entity } from '../types';
import type { RawSpineEvent, ConstraintList, TransformMixData, PathMixData } from './SpineController';
diff --git a/sdk/src/spine/SpineModuleLoader.ts b/sdk/src/spine/SpineModuleLoader.ts
index 0dc22b1cb..649f0ea8f 100644
--- a/sdk/src/spine/SpineModuleLoader.ts
+++ b/sdk/src/spine/SpineModuleLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SpineModuleLoader.ts
* @brief Loads and initializes the standalone Spine WASM module
diff --git a/sdk/src/spine/SpinePlugin.ts b/sdk/src/spine/SpinePlugin.ts
index 1e64c8a83..94d44e751 100644
--- a/sdk/src/spine/SpinePlugin.ts
+++ b/sdk/src/spine/SpinePlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Plugin } from '../app';
import type { App } from '../app';
import { defineResource, Time } from '../resource';
diff --git a/sdk/src/spine/WebSpineWasmProvider.ts b/sdk/src/spine/WebSpineWasmProvider.ts
index 98cdb7326..2c4210feb 100644
--- a/sdk/src/spine/WebSpineWasmProvider.ts
+++ b/sdk/src/spine/WebSpineWasmProvider.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file WebSpineWasmProvider.ts
* @brief Browser SpineWasmProvider — fetches the per-version spine side
diff --git a/sdk/src/spine/index.ts b/sdk/src/spine/index.ts
index 1bc730d45..9d243211d 100644
--- a/sdk/src/spine/index.ts
+++ b/sdk/src/spine/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export { SpinePlugin, SpineEvents } from './SpinePlugin';
export type { SpineEvent, SpineEventType, SpineEventsData } from './SpinePlugin';
export { SpineManager } from './SpineManager';
diff --git a/sdk/src/spine/loadSpineScene.ts b/sdk/src/spine/loadSpineScene.ts
index 49e0b03d7..42986bc6c 100644
--- a/sdk/src/spine/loadSpineScene.ts
+++ b/sdk/src/spine/loadSpineScene.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file loadSpineScene.ts
* @brief Shared spine scene loader. For every SpineAnimation entity in a scene
diff --git a/sdk/src/spriteFilter.ts b/sdk/src/spriteFilter.ts
index f2dc70e27..c12109f4c 100644
--- a/sdk/src/spriteFilter.ts
+++ b/sdk/src/spriteFilter.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file spriteFilter.ts
* @brief Per-sprite filter effects using custom materials
diff --git a/sdk/src/stats-overlay.ts b/sdk/src/stats-overlay.ts
index 4d7e420b2..21e42c6a7 100644
--- a/sdk/src/stats-overlay.ts
+++ b/sdk/src/stats-overlay.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { FrameStats } from './stats';
export type StatsPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
diff --git a/sdk/src/stats.ts b/sdk/src/stats.ts
index b0212830d..46df3f431 100644
--- a/sdk/src/stats.ts
+++ b/sdk/src/stats.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { Renderer } from './renderer';
import { defineResource, Res, Time } from './resource';
import { defineSystem, GetWorld, Schedule } from './system';
diff --git a/sdk/src/storage.ts b/sdk/src/storage.ts
index a5857ffce..bb9485d65 100644
--- a/sdk/src/storage.ts
+++ b/sdk/src/storage.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { getPlatform } from './platform/base';
import { log } from './logger';
diff --git a/sdk/src/subsystems.ts b/sdk/src/subsystems.ts
index ee6495278..b5fc12949 100644
--- a/sdk/src/subsystems.ts
+++ b/sdk/src/subsystems.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file subsystems.ts
* @brief Per-App registry of engine subsystem lifecycle + liveness — the
diff --git a/sdk/src/system.ts b/sdk/src/system.ts
index b0f944e26..f392b6e2e 100644
--- a/sdk/src/system.ts
+++ b/sdk/src/system.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file system.ts
* @brief System definition and scheduling
diff --git a/sdk/src/systemLabels.ts b/sdk/src/systemLabels.ts
index af8ef74a4..3f8172097 100644
--- a/sdk/src/systemLabels.ts
+++ b/sdk/src/systemLabels.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file systemLabels.ts
* @brief System and plugin name constants for ordering dependencies
diff --git a/sdk/src/textureParams.ts b/sdk/src/textureParams.ts
index 99d061301..9c6ebc3f8 100644
--- a/sdk/src/textureParams.ts
+++ b/sdk/src/textureParams.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { Renderer } from './renderer';
export const TextureFilter = {
diff --git a/sdk/src/tilemap/collisionMerge.ts b/sdk/src/tilemap/collisionMerge.ts
index 79729f6c8..3b226c2c2 100644
--- a/sdk/src/tilemap/collisionMerge.ts
+++ b/sdk/src/tilemap/collisionMerge.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export interface MergedRect {
col: number;
row: number;
diff --git a/sdk/src/tilemap/components.ts b/sdk/src/tilemap/components.ts
index f70dec89f..30b950351 100644
--- a/sdk/src/tilemap/components.ts
+++ b/sdk/src/tilemap/components.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineComponent } from '../component';
export { TilemapLayer, type TilemapLayerData } from '../component';
diff --git a/sdk/src/tilemap/index.ts b/sdk/src/tilemap/index.ts
index 44ea99c7c..67247175f 100644
--- a/sdk/src/tilemap/index.ts
+++ b/sdk/src/tilemap/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export { Tilemap, TilemapLayer, type TilemapData, type TilemapLayerData } from './components';
export { TilemapAPI, initTilemapAPI, shutdownTilemapAPI } from './tilemapAPI';
export { TilemapPlugin, tilemapPlugin } from './tilemapPlugin';
diff --git a/sdk/src/tilemap/tiledLoader.ts b/sdk/src/tilemap/tiledLoader.ts
index babdf9baf..2c3982db1 100644
--- a/sdk/src/tilemap/tiledLoader.ts
+++ b/sdk/src/tilemap/tiledLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { getTiledAPI, TilemapAPI } from './tilemapAPI';
import type { World } from '../world';
import type { Entity } from '../types';
diff --git a/sdk/src/tilemap/tilemapAPI.ts b/sdk/src/tilemap/tilemapAPI.ts
index ded4073b3..d1407b670 100644
--- a/sdk/src/tilemap/tilemapAPI.ts
+++ b/sdk/src/tilemap/tilemapAPI.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ESEngineModule } from '../wasm';
import { withMalloc } from '../wasmScratch';
import { CoreApiBridge } from '../CoreApiBridge';
diff --git a/sdk/src/tilemap/tilemapPlugin.ts b/sdk/src/tilemap/tilemapPlugin.ts
index 04f015976..67b5c1076 100644
--- a/sdk/src/tilemap/tilemapPlugin.ts
+++ b/sdk/src/tilemap/tilemapPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import type { ESEngineModule } from '../wasm';
import { Transform, TilemapLayer, type TilemapLayerData } from '../component';
diff --git a/sdk/src/tilemap/tilesetCache.ts b/sdk/src/tilemap/tilesetCache.ts
index 5d09f11d0..0925e733d 100644
--- a/sdk/src/tilemap/tilesetCache.ts
+++ b/sdk/src/tilemap/tilesetCache.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export interface LoadedTilemapChunk {
x: number;
y: number;
diff --git a/sdk/src/timeline/AnimationClip.ts b/sdk/src/timeline/AnimationClip.ts
index 41ea48e4a..bebb5ae88 100644
--- a/sdk/src/timeline/AnimationClip.ts
+++ b/sdk/src/timeline/AnimationClip.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file AnimationClip.ts
* @brief The unified animation-clip loader — one .esanim document the Sequencer
diff --git a/sdk/src/timeline/TimelineControl.ts b/sdk/src/timeline/TimelineControl.ts
index 283a585f2..b2b4b6d7c 100644
--- a/sdk/src/timeline/TimelineControl.ts
+++ b/sdk/src/timeline/TimelineControl.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Entity } from '../types';
import { defineResource } from '../resource';
import { createTimelineState, type TimelineState } from './TimelineDrive';
diff --git a/sdk/src/timeline/TimelineDrive.ts b/sdk/src/timeline/TimelineDrive.ts
index 5b3a1efb7..e33e8d8b0 100644
--- a/sdk/src/timeline/TimelineDrive.ts
+++ b/sdk/src/timeline/TimelineDrive.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TimelineDrive.ts
* @brief Pure-TS per-frame timeline runtime — the replacement for the C++
diff --git a/sdk/src/timeline/TimelineEvaluator.ts b/sdk/src/timeline/TimelineEvaluator.ts
index 9b5f834f8..4bcea48dc 100644
--- a/sdk/src/timeline/TimelineEvaluator.ts
+++ b/sdk/src/timeline/TimelineEvaluator.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TimelineEvaluator.ts
* @brief Pure-TS timeline sampler — evaluate a TimelineAsset at an absolute
diff --git a/sdk/src/timeline/TimelineLoader.ts b/sdk/src/timeline/TimelineLoader.ts
index 09da2c10f..6323b535e 100644
--- a/sdk/src/timeline/TimelineLoader.ts
+++ b/sdk/src/timeline/TimelineLoader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import {
WrapMode,
TrackType,
diff --git a/sdk/src/timeline/TimelinePlugin.ts b/sdk/src/timeline/TimelinePlugin.ts
index d637d4fbf..19bb52b5f 100644
--- a/sdk/src/timeline/TimelinePlugin.ts
+++ b/sdk/src/timeline/TimelinePlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import { defineSystem, Schedule } from '../system';
import { Res } from '../resource';
diff --git a/sdk/src/timeline/TimelineRuntime.ts b/sdk/src/timeline/TimelineRuntime.ts
index 781adf7cd..77b20cbf6 100644
--- a/sdk/src/timeline/TimelineRuntime.ts
+++ b/sdk/src/timeline/TimelineRuntime.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { getComponent, SpineAnimation } from '../component';
import { SpriteAnimator } from '../animation/SpriteAnimator';
import type { AudioAPI } from '../audio/Audio';
diff --git a/sdk/src/timeline/TimelineSerializer.ts b/sdk/src/timeline/TimelineSerializer.ts
index 440d35f1d..5d4961a81 100644
--- a/sdk/src/timeline/TimelineSerializer.ts
+++ b/sdk/src/timeline/TimelineSerializer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TimelineSerializer.ts
* @brief Serialize an in-memory TimelineAsset back to .estimeline JSON — the
diff --git a/sdk/src/timeline/TimelineTypes.ts b/sdk/src/timeline/TimelineTypes.ts
index 37e913861..786e61a92 100644
--- a/sdk/src/timeline/TimelineTypes.ts
+++ b/sdk/src/timeline/TimelineTypes.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export const WrapMode = {
Once: 0,
Loop: 1,
diff --git a/sdk/src/timeline/index.ts b/sdk/src/timeline/index.ts
index 72ee329a6..517722e14 100644
--- a/sdk/src/timeline/index.ts
+++ b/sdk/src/timeline/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export {
WrapMode,
TrackType,
diff --git a/sdk/src/timer.ts b/sdk/src/timer.ts
index 9f3ed98b1..7d0967915 100644
--- a/sdk/src/timer.ts
+++ b/sdk/src/timer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file timer.ts
* @brief Frame-based timer system integrated with engine loop
diff --git a/sdk/src/transaction.ts b/sdk/src/transaction.ts
index b2aec5464..579901e86 100644
--- a/sdk/src/transaction.ts
+++ b/sdk/src/transaction.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file transaction.ts
* @brief Undo/redo primitive for editor-driven mutation gestures
diff --git a/sdk/src/types.ts b/sdk/src/types.ts
index 63fcbdba0..6bbd52424 100644
--- a/sdk/src/types.ts
+++ b/sdk/src/types.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file types.ts
* @brief Core type definitions for ESEngine SDK
diff --git a/sdk/src/ui/DragPlugin.ts b/sdk/src/ui/DragPlugin.ts
index 47d7d5e08..70616c7fe 100644
--- a/sdk/src/ui/DragPlugin.ts
+++ b/sdk/src/ui/DragPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/DragPlugin.ts
* @brief Back-compat shim — the drag plugin moved to the input concept module
diff --git a/sdk/src/ui/FocusPlugin.ts b/sdk/src/ui/FocusPlugin.ts
index 9929a031d..37221f7c2 100644
--- a/sdk/src/ui/FocusPlugin.ts
+++ b/sdk/src/ui/FocusPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/FocusPlugin.ts
* @brief Back-compat shim — the focus plugin moved to the input concept module
diff --git a/sdk/src/ui/ImagePlugin.ts b/sdk/src/ui/ImagePlugin.ts
index ecfd83088..8c97ec50e 100644
--- a/sdk/src/ui/ImagePlugin.ts
+++ b/sdk/src/ui/ImagePlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/ImagePlugin.ts
* @brief Back-compat shim — the Image→UIRenderer system moved to the render
diff --git a/sdk/src/ui/ImageResolver.ts b/sdk/src/ui/ImageResolver.ts
index 91f5acf33..5ecc4cb27 100644
--- a/sdk/src/ui/ImageResolver.ts
+++ b/sdk/src/ui/ImageResolver.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Entity } from '../types';
export type ResolvedImage = ImageBitmap | HTMLImageElement;
diff --git a/sdk/src/ui/RichTextLayout.ts b/sdk/src/ui/RichTextLayout.ts
index d83f3ed42..e0d6633b7 100644
--- a/sdk/src/ui/RichTextLayout.ts
+++ b/sdk/src/ui/RichTextLayout.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color } from '../types';
import type { RichTextRun, ImageValign } from './RichTextParser';
import { isWordChar } from './uiHelpers';
diff --git a/sdk/src/ui/RichTextParser.ts b/sdk/src/ui/RichTextParser.ts
index ce1e82256..359afa057 100644
--- a/sdk/src/ui/RichTextParser.ts
+++ b/sdk/src/ui/RichTextParser.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color } from '../types';
export interface TextSegment {
diff --git a/sdk/src/ui/SafeArea.ts b/sdk/src/ui/SafeArea.ts
index 52775a902..b5ab82bd0 100644
--- a/sdk/src/ui/SafeArea.ts
+++ b/sdk/src/ui/SafeArea.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/SafeArea.ts
* @brief Back-compat shim — the SafeArea component moved into the layout
diff --git a/sdk/src/ui/SafeAreaPlugin.ts b/sdk/src/ui/SafeAreaPlugin.ts
index 7e0610a7a..4b7b98f27 100644
--- a/sdk/src/ui/SafeAreaPlugin.ts
+++ b/sdk/src/ui/SafeAreaPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/SafeAreaPlugin.ts
* @brief Back-compat shim — the SafeArea plugin moved into the layout
diff --git a/sdk/src/ui/ScrollView.ts b/sdk/src/ui/ScrollView.ts
index 031f01eb5..64f4776bf 100644
--- a/sdk/src/ui/ScrollView.ts
+++ b/sdk/src/ui/ScrollView.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineComponent } from '../component';
import type { Entity } from '../types';
diff --git a/sdk/src/ui/ScrollViewPlugin.ts b/sdk/src/ui/ScrollViewPlugin.ts
index 9ee429aab..edf69248a 100644
--- a/sdk/src/ui/ScrollViewPlugin.ts
+++ b/sdk/src/ui/ScrollViewPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import { registerComponent, Transform, Children, Sprite } from '../component';
import type { TransformData, ChildrenData, SpriteData } from '../component';
diff --git a/sdk/src/ui/TextInput.ts b/sdk/src/ui/TextInput.ts
index 38c52ce3f..4bf4a78bf 100644
--- a/sdk/src/ui/TextInput.ts
+++ b/sdk/src/ui/TextInput.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineComponent } from '../component';
import type { Color } from '../types';
diff --git a/sdk/src/ui/TextInputPlugin.ts b/sdk/src/ui/TextInputPlugin.ts
index 8a29ab49f..06a9fb7aa 100644
--- a/sdk/src/ui/TextInputPlugin.ts
+++ b/sdk/src/ui/TextInputPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import type { Entity } from '../types';
import { RuntimeConfig } from '../defaults';
diff --git a/sdk/src/ui/TextRenderer.ts b/sdk/src/ui/TextRenderer.ts
index c09b14728..267414e93 100644
--- a/sdk/src/ui/TextRenderer.ts
+++ b/sdk/src/ui/TextRenderer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TextRenderer.ts
* @brief Renders text to GPU textures using Canvas 2D API
diff --git a/sdk/src/ui/UICameraInfo.ts b/sdk/src/ui/UICameraInfo.ts
index c4f74c58b..472b007ab 100644
--- a/sdk/src/ui/UICameraInfo.ts
+++ b/sdk/src/ui/UICameraInfo.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineResource } from '../resource';
export interface UICameraData {
diff --git a/sdk/src/ui/UIInteractionPlugin.ts b/sdk/src/ui/UIInteractionPlugin.ts
index 1b311ec00..d8557b1df 100644
--- a/sdk/src/ui/UIInteractionPlugin.ts
+++ b/sdk/src/ui/UIInteractionPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/UIInteractionPlugin.ts
* @brief Back-compat shim — the hit-test + UI event plugin moved to the input
diff --git a/sdk/src/ui/UILayoutGeneration.ts b/sdk/src/ui/UILayoutGeneration.ts
index 1129e49d6..f09235c42 100644
--- a/sdk/src/ui/UILayoutGeneration.ts
+++ b/sdk/src/ui/UILayoutGeneration.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineResource } from '../resource';
export interface UILayoutGenerationData {
diff --git a/sdk/src/ui/UILayoutPlugin.ts b/sdk/src/ui/UILayoutPlugin.ts
index 58191f7cc..9430b893c 100644
--- a/sdk/src/ui/UILayoutPlugin.ts
+++ b/sdk/src/ui/UILayoutPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/UILayoutPlugin.ts
* @brief Back-compat shim — the Yoga layout driver moved into the layout
diff --git a/sdk/src/ui/UIMaskPlugin.ts b/sdk/src/ui/UIMaskPlugin.ts
index ebcd508f0..a826b575d 100644
--- a/sdk/src/ui/UIMaskPlugin.ts
+++ b/sdk/src/ui/UIMaskPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/UIMaskPlugin.ts
* @brief Back-compat shim — the UIMask registration plugin moved to the render
diff --git a/sdk/src/ui/UIRenderOrderPlugin.ts b/sdk/src/ui/UIRenderOrderPlugin.ts
index 154730451..543fd349d 100644
--- a/sdk/src/ui/UIRenderOrderPlugin.ts
+++ b/sdk/src/ui/UIRenderOrderPlugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/UIRenderOrderPlugin.ts
* @brief Back-compat shim — the UI render-order pass moved to the render
diff --git a/sdk/src/ui/UITheme.ts b/sdk/src/ui/UITheme.ts
index 7f953ff75..d2f90b8de 100644
--- a/sdk/src/ui/UITheme.ts
+++ b/sdk/src/ui/UITheme.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineResource } from '../resource';
import type { Color, Vec2 } from '../types';
import type { ColorTransition } from './uiTypes';
diff --git a/sdk/src/ui/behavior/draggable.ts b/sdk/src/ui/behavior/draggable.ts
index 230fc7409..2accb369c 100644
--- a/sdk/src/ui/behavior/draggable.ts
+++ b/sdk/src/ui/behavior/draggable.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/behavior/draggable.ts
* @brief Back-compat shim — Draggable/DragState moved to the input concept
diff --git a/sdk/src/ui/behavior/focusable.ts b/sdk/src/ui/behavior/focusable.ts
index 6ea220c58..f5794ff63 100644
--- a/sdk/src/ui/behavior/focusable.ts
+++ b/sdk/src/ui/behavior/focusable.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/behavior/focusable.ts
* @brief Back-compat shim — Focusable/FocusManager moved to the input concept
diff --git a/sdk/src/ui/behavior/interactable.ts b/sdk/src/ui/behavior/interactable.ts
index f8ae180ff..a95db2094 100644
--- a/sdk/src/ui/behavior/interactable.ts
+++ b/sdk/src/ui/behavior/interactable.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/behavior/interactable.ts
* @brief Back-compat shim — Interactable/UIInteraction moved to the input
diff --git a/sdk/src/ui/behavior/state-machine.ts b/sdk/src/ui/behavior/state-machine.ts
index 1f1783737..a57ed5a22 100644
--- a/sdk/src/ui/behavior/state-machine.ts
+++ b/sdk/src/ui/behavior/state-machine.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineBuiltin } from '../../component';
export interface StateMachineData {
diff --git a/sdk/src/ui/behavior/state-visuals.ts b/sdk/src/ui/behavior/state-visuals.ts
index e91c13219..579f89419 100644
--- a/sdk/src/ui/behavior/state-visuals.ts
+++ b/sdk/src/ui/behavior/state-visuals.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineBuiltin } from '../../component';
import type { Color, Entity } from '../../types';
diff --git a/sdk/src/ui/behavior/systems.ts b/sdk/src/ui/behavior/systems.ts
index 2da6f4f1a..45e265d19 100644
--- a/sdk/src/ui/behavior/systems.ts
+++ b/sdk/src/ui/behavior/systems.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineSystem, type SystemDef } from '../../system';
import { Transform, type TransformData } from '../../component';
import { Res, Time, type TimeData } from '../../resource';
diff --git a/sdk/src/ui/collection/data-source.ts b/sdk/src/ui/collection/data-source.ts
index 746238d63..b682b9d7b 100644
--- a/sdk/src/ui/collection/data-source.ts
+++ b/sdk/src/ui/collection/data-source.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { log } from '../../logger';
/**
diff --git a/sdk/src/ui/collection/layout-provider.ts b/sdk/src/ui/collection/layout-provider.ts
index bf8ebab2c..e96264ba0 100644
--- a/sdk/src/ui/collection/layout-provider.ts
+++ b/sdk/src/ui/collection/layout-provider.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Vec2 } from '../../types';
export interface Rect {
diff --git a/sdk/src/ui/collection/list-view.ts b/sdk/src/ui/collection/list-view.ts
index 9e012082c..0e42072b7 100644
--- a/sdk/src/ui/collection/list-view.ts
+++ b/sdk/src/ui/collection/list-view.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { Transform, type TransformData } from '../../component';
import type { Entity, Vec2 } from '../../types';
import type { World } from '../../world';
diff --git a/sdk/src/ui/collection/scroll-container.ts b/sdk/src/ui/collection/scroll-container.ts
index bd9c8c698..f0805901c 100644
--- a/sdk/src/ui/collection/scroll-container.ts
+++ b/sdk/src/ui/collection/scroll-container.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Vec2 } from '../../types';
import { log } from '../../logger';
diff --git a/sdk/src/ui/collection/view-pool.ts b/sdk/src/ui/collection/view-pool.ts
index 98da01460..f68e6f4d0 100644
--- a/sdk/src/ui/collection/view-pool.ts
+++ b/sdk/src/ui/collection/view-pool.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file view-pool.ts
* @brief Entity recycler for virtualized lists.
diff --git a/sdk/src/ui/core/events.ts b/sdk/src/ui/core/events.ts
index 03c35d83b..a03eefb0c 100644
--- a/sdk/src/ui/core/events.ts
+++ b/sdk/src/ui/core/events.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineResource } from '../../resource';
import type { Entity } from '../../types';
import { log } from '../../logger';
diff --git a/sdk/src/ui/core/image.ts b/sdk/src/ui/core/image.ts
index cb93cdf05..cc8a1ba0c 100644
--- a/sdk/src/ui/core/image.ts
+++ b/sdk/src/ui/core/image.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineComponent } from '../../component';
import type { Color } from '../../types';
import { INVALID_TEXTURE } from '../../types';
diff --git a/sdk/src/ui/core/text.ts b/sdk/src/ui/core/text.ts
index 72bf04c8c..d140b5351 100644
--- a/sdk/src/ui/core/text.ts
+++ b/sdk/src/ui/core/text.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineComponent } from '../../component';
import type { Color } from '../../types';
diff --git a/sdk/src/ui/core/ui-mask.ts b/sdk/src/ui/core/ui-mask.ts
index 8299854e0..c2be64d3e 100644
--- a/sdk/src/ui/core/ui-mask.ts
+++ b/sdk/src/ui/core/ui-mask.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineBuiltin } from '../../component';
export const MaskMode = {
diff --git a/sdk/src/ui/core/ui-rect.ts b/sdk/src/ui/core/ui-rect.ts
index c9ac92607..f291c51fa 100644
--- a/sdk/src/ui/core/ui-rect.ts
+++ b/sdk/src/ui/core/ui-rect.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineBuiltin } from '../../component';
import type { Vec2 } from '../../types';
diff --git a/sdk/src/ui/core/ui-renderer.ts b/sdk/src/ui/core/ui-renderer.ts
index ad48ec134..89975743a 100644
--- a/sdk/src/ui/core/ui-renderer.ts
+++ b/sdk/src/ui/core/ui-renderer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineBuiltin } from '../../component';
import type { Color, Vec2, Vec4 } from '../../types';
diff --git a/sdk/src/ui/index.ts b/sdk/src/ui/index.ts
index 35544972b..b28f1610e 100644
--- a/sdk/src/ui/index.ts
+++ b/sdk/src/ui/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/index.ts
* @brief UI module — public barrel.
diff --git a/sdk/src/ui/input/drag.ts b/sdk/src/ui/input/drag.ts
index 3e6be350d..e49ce74d9 100644
--- a/sdk/src/ui/input/drag.ts
+++ b/sdk/src/ui/input/drag.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../../app';
import { registerComponent, Transform, Parent, Sprite } from '../../component';
import type { TransformData, ParentData, SpriteData } from '../../component';
diff --git a/sdk/src/ui/input/draggable.ts b/sdk/src/ui/input/draggable.ts
index 5a402964d..cb198e216 100644
--- a/sdk/src/ui/input/draggable.ts
+++ b/sdk/src/ui/input/draggable.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/input/draggable.ts
* @brief Drag config (Draggable) + runtime drag state (DragState) components.
diff --git a/sdk/src/ui/input/focus.ts b/sdk/src/ui/input/focus.ts
index a6050f3c8..b50484291 100644
--- a/sdk/src/ui/input/focus.ts
+++ b/sdk/src/ui/input/focus.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../../app';
import { registerComponent } from '../../component';
import { defineSystem, Schedule } from '../../system';
diff --git a/sdk/src/ui/input/focusable.ts b/sdk/src/ui/input/focusable.ts
index c10d4ebfc..e19737029 100644
--- a/sdk/src/ui/input/focusable.ts
+++ b/sdk/src/ui/input/focusable.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/input/focusable.ts
* @brief Keyboard-focus primitives: Focusable component + the FocusManager
diff --git a/sdk/src/ui/input/interactable.ts b/sdk/src/ui/input/interactable.ts
index 896a062f0..3bcd8de61 100644
--- a/sdk/src/ui/input/interactable.ts
+++ b/sdk/src/ui/input/interactable.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/input/interactable.ts
* @brief Input concept primitives: Interactable (hit-test gate config) and
diff --git a/sdk/src/ui/input/interaction.ts b/sdk/src/ui/input/interaction.ts
index 9d0b5d65c..415514ec7 100644
--- a/sdk/src/ui/input/interaction.ts
+++ b/sdk/src/ui/input/interaction.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../../app';
import { registerComponent, Transform } from '../../component';
import { defineSystem, Schedule } from '../../system';
diff --git a/sdk/src/ui/layout/flex.ts b/sdk/src/ui/layout/flex.ts
index 9caa84ff3..03496dd15 100644
--- a/sdk/src/ui/layout/flex.ts
+++ b/sdk/src/ui/layout/flex.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineBuiltin } from '../../component';
import type { Vec2 } from '../../types';
import type { Padding } from '../../wasm.generated';
diff --git a/sdk/src/ui/layout/grid.ts b/sdk/src/ui/layout/grid.ts
index b22bede56..7a77abc37 100644
--- a/sdk/src/ui/layout/grid.ts
+++ b/sdk/src/ui/layout/grid.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineBuiltin } from '../../component';
export interface GridLayoutData {
diff --git a/sdk/src/ui/layout/layout.ts b/sdk/src/ui/layout/layout.ts
index 05f2772cb..f561de0b1 100644
--- a/sdk/src/ui/layout/layout.ts
+++ b/sdk/src/ui/layout/layout.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/layout/layout.ts
* @brief Layout concept — the Yoga-backed layout driver.
diff --git a/sdk/src/ui/layout/safe-area.ts b/sdk/src/ui/layout/safe-area.ts
index ac1165ec4..cb67573c9 100644
--- a/sdk/src/ui/layout/safe-area.ts
+++ b/sdk/src/ui/layout/safe-area.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/layout/safe-area.ts
* @brief Safe-area concept — component + the PreUpdate system that pushes
diff --git a/sdk/src/ui/plugin.ts b/sdk/src/ui/plugin.ts
index f94207acc..476416976 100644
--- a/sdk/src/ui/plugin.ts
+++ b/sdk/src/ui/plugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../app';
import { Res } from '../resource';
import { defineSystem, Schedule } from '../system';
diff --git a/sdk/src/ui/propertyPath.ts b/sdk/src/ui/propertyPath.ts
index cbf3d5144..76e96aa4a 100644
--- a/sdk/src/ui/propertyPath.ts
+++ b/sdk/src/ui/propertyPath.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { World } from '../world';
import type { Entity } from '../types';
import { getComponent } from '../component';
diff --git a/sdk/src/ui/render/image.ts b/sdk/src/ui/render/image.ts
index 26736c9be..a146a6cda 100644
--- a/sdk/src/ui/render/image.ts
+++ b/sdk/src/ui/render/image.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../../app';
import type { Entity } from '../../types';
import { registerComponent } from '../../component';
diff --git a/sdk/src/ui/render/mask.ts b/sdk/src/ui/render/mask.ts
index 20dddd3fb..d4ee96c10 100644
--- a/sdk/src/ui/render/mask.ts
+++ b/sdk/src/ui/render/mask.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../../app';
import { registerComponent } from '../../component';
import { UIMask } from '../core/ui-mask';
diff --git a/sdk/src/ui/render/render-order.ts b/sdk/src/ui/render/render-order.ts
index d41819c0d..5cbab6b32 100644
--- a/sdk/src/ui/render/render-order.ts
+++ b/sdk/src/ui/render/render-order.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { App, Plugin } from '../../app';
import { defineSystem, Schedule } from '../../system';
import type { ESEngineModule, CppRegistry } from '../../wasm';
diff --git a/sdk/src/ui/text/atlas-packer.ts b/sdk/src/ui/text/atlas-packer.ts
index 66d599f64..951d5b110 100644
--- a/sdk/src/ui/text/atlas-packer.ts
+++ b/sdk/src/ui/text/atlas-packer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/atlas-packer.ts
* @brief Rectangle packer for the runtime dynamic glyph atlas (REARCH_GUI P1).
diff --git a/sdk/src/ui/text/atlas-page-store.ts b/sdk/src/ui/text/atlas-page-store.ts
index d929fc3b2..f5af1727a 100644
--- a/sdk/src/ui/text/atlas-page-store.ts
+++ b/sdk/src/ui/text/atlas-page-store.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/atlas-page-store.ts
* @brief Engine-backed AtlasPageStore for the dynamic glyph atlas (REARCH_GUI
diff --git a/sdk/src/ui/text/glyph-atlas.ts b/sdk/src/ui/text/glyph-atlas.ts
index 04f42ab48..da9150f2f 100644
--- a/sdk/src/ui/text/glyph-atlas.ts
+++ b/sdk/src/ui/text/glyph-atlas.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/glyph-atlas.ts
* @brief Runtime dynamic glyph atlas (REARCH_GUI P1) — the cache + multi-page
diff --git a/sdk/src/ui/text/glyph-rasterizer.ts b/sdk/src/ui/text/glyph-rasterizer.ts
index 442a43fb1..4988e6c5b 100644
--- a/sdk/src/ui/text/glyph-rasterizer.ts
+++ b/sdk/src/ui/text/glyph-rasterizer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/glyph-rasterizer.ts
* @brief Canvas2D glyph rasterizer → SDF, the real GlyphRasterizer for the
diff --git a/sdk/src/ui/text/layout.ts b/sdk/src/ui/text/layout.ts
index e4f3e74d2..cdc5a0fe8 100644
--- a/sdk/src/ui/text/layout.ts
+++ b/sdk/src/ui/text/layout.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/layout.ts
* @brief Pure text layout + glyph-quad vertex building for the SDF text path
diff --git a/sdk/src/ui/text/plugin.ts b/sdk/src/ui/text/plugin.ts
index 2056d6ed9..50214196b 100644
--- a/sdk/src/ui/text/plugin.ts
+++ b/sdk/src/ui/text/plugin.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/plugin.ts
* @brief TextPlugin — renders the `Text` component via the dynamic SDF glyph
diff --git a/sdk/src/ui/text/sdf.ts b/sdk/src/ui/text/sdf.ts
index 6655d1689..fdfb6216f 100644
--- a/sdk/src/ui/text/sdf.ts
+++ b/sdk/src/ui/text/sdf.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/sdf.ts
* @brief TS wrapper over the engine's C++ 8SSEDT signed-distance-field
diff --git a/sdk/src/ui/text/submit.ts b/sdk/src/ui/text/submit.ts
index fc93263f0..9d419fcb7 100644
--- a/sdk/src/ui/text/submit.ts
+++ b/sdk/src/ui/text/submit.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/submit.ts
* @brief TS → engine submission for pre-laid-out SDF glyph quads (REARCH_GUI
diff --git a/sdk/src/ui/text/text-renderer.ts b/sdk/src/ui/text/text-renderer.ts
index 163809cc1..6546bb9fb 100644
--- a/sdk/src/ui/text/text-renderer.ts
+++ b/sdk/src/ui/text/text-renderer.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/text-renderer.ts
* @brief High-level SDF text drawing (REARCH_GUI P1.3): owns the dynamic glyph
diff --git a/sdk/src/ui/text/text-transform.ts b/sdk/src/ui/text/text-transform.ts
index 2ef17e8d3..94c72b6be 100644
--- a/sdk/src/ui/text/text-transform.ts
+++ b/sdk/src/ui/text/text-transform.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui/text/text-transform.ts
* @brief Pure placement helpers for SDF text (REARCH_GUI P1.4d): the entity
diff --git a/sdk/src/ui/uiConstants.ts b/sdk/src/ui/uiConstants.ts
index e0686f29a..2c8f08e8f 100644
--- a/sdk/src/ui/uiConstants.ts
+++ b/sdk/src/ui/uiConstants.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export const TEXT_PADDING_RATIO = 0.2;
export const TEXT_ASCENT_RATIO = 0.8;
export const TEXT_CANVAS_SHRINK_FRAMES = 60;
diff --git a/sdk/src/ui/uiHelpers.ts b/sdk/src/ui/uiHelpers.ts
index 9ee5c8801..476cf86de 100644
--- a/sdk/src/ui/uiHelpers.ts
+++ b/sdk/src/ui/uiHelpers.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { CoreApiBridge } from '../CoreApiBridge';
import { Sprite, Parent, Transform } from '../component';
import type { ParentData, SpriteData, TransformData, AnyComponentDef } from '../component';
diff --git a/sdk/src/ui/uiMath.ts b/sdk/src/ui/uiMath.ts
index fa10770ff..3725fd9b5 100644
--- a/sdk/src/ui/uiMath.ts
+++ b/sdk/src/ui/uiMath.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
export interface ScreenRect {
x: number;
y: number;
diff --git a/sdk/src/ui/uiTypes.ts b/sdk/src/ui/uiTypes.ts
index f4e559bf0..6e2a00ea3 100644
--- a/sdk/src/ui/uiTypes.ts
+++ b/sdk/src/ui/uiTypes.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color } from '../types';
export interface ColorTransition {
diff --git a/sdk/src/ui/widgets/button.ts b/sdk/src/ui/widgets/button.ts
index 5935aa915..e0b0e52ec 100644
--- a/sdk/src/ui/widgets/button.ts
+++ b/sdk/src/ui/widgets/button.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color, Entity } from '../../types';
import type { World } from '../../world';
diff --git a/sdk/src/ui/widgets/dialog.ts b/sdk/src/ui/widgets/dialog.ts
index 3f2e4cc9d..6fa467b9d 100644
--- a/sdk/src/ui/widgets/dialog.ts
+++ b/sdk/src/ui/widgets/dialog.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color, Entity } from '../../types';
import type { World } from '../../world';
diff --git a/sdk/src/ui/widgets/dropdown.ts b/sdk/src/ui/widgets/dropdown.ts
index 9417432cb..f51924b19 100644
--- a/sdk/src/ui/widgets/dropdown.ts
+++ b/sdk/src/ui/widgets/dropdown.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color, Entity } from '../../types';
import type { World } from '../../world';
diff --git a/sdk/src/ui/widgets/helpers.ts b/sdk/src/ui/widgets/helpers.ts
index 807c1e67c..3370717b8 100644
--- a/sdk/src/ui/widgets/helpers.ts
+++ b/sdk/src/ui/widgets/helpers.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import {
Transform,
type TransformData,
diff --git a/sdk/src/ui/widgets/progress.ts b/sdk/src/ui/widgets/progress.ts
index e14ae7cd4..12c1e2fb8 100644
--- a/sdk/src/ui/widgets/progress.ts
+++ b/sdk/src/ui/widgets/progress.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color, Entity } from '../../types';
import type { World } from '../../world';
diff --git a/sdk/src/ui/widgets/slider.ts b/sdk/src/ui/widgets/slider.ts
index 48f402c4b..3a1b2e498 100644
--- a/sdk/src/ui/widgets/slider.ts
+++ b/sdk/src/ui/widgets/slider.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Entity } from '../../types';
import type { World } from '../../world';
diff --git a/sdk/src/ui/widgets/toggle.ts b/sdk/src/ui/widgets/toggle.ts
index c76afe043..837b3a8fd 100644
--- a/sdk/src/ui/widgets/toggle.ts
+++ b/sdk/src/ui/widgets/toggle.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { Color, Entity } from '../../types';
import type { World } from '../../world';
diff --git a/sdk/src/uiPlugins.ts b/sdk/src/uiPlugins.ts
index 16663a495..23dc6ed18 100644
--- a/sdk/src/uiPlugins.ts
+++ b/sdk/src/uiPlugins.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { textPlugin } from './ui/text/plugin';
import { uiMaskPlugin } from './ui/UIMaskPlugin';
import { uiInteractionPlugin } from './ui/UIInteractionPlugin';
diff --git a/sdk/src/validation.ts b/sdk/src/validation.ts
index ed5e15b15..06cf7cb2d 100644
--- a/sdk/src/validation.ts
+++ b/sdk/src/validation.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file validation.ts
* @brief Component data validation utilities
diff --git a/sdk/src/wasm.ts b/sdk/src/wasm.ts
index dbbf06d83..12017d1f6 100644
--- a/sdk/src/wasm.ts
+++ b/sdk/src/wasm.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file wasm.ts
* @brief WASM module type definitions
diff --git a/sdk/src/wasmError.ts b/sdk/src/wasmError.ts
index 8bed0620c..322bcb19a 100644
--- a/sdk/src/wasmError.ts
+++ b/sdk/src/wasmError.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { log } from './logger';
import { getDefaultContext, type WasmErrorHandler } from './context';
import { WasmModuleAborted } from './moduleHealth';
diff --git a/sdk/src/wasmScratch.ts b/sdk/src/wasmScratch.ts
index 95855c2b0..0fe9d364d 100644
--- a/sdk/src/wasmScratch.ts
+++ b/sdk/src/wasmScratch.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file wasmScratch.ts
* @brief Exception-safe transient allocation on the WASM heap.
diff --git a/sdk/src/webAppFactory.ts b/sdk/src/webAppFactory.ts
index e0fef05f7..62a46ff4d 100644
--- a/sdk/src/webAppFactory.ts
+++ b/sdk/src/webAppFactory.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { createWebApp as _createWebApp, type WebAppOptions } from './app';
import type { App } from './app';
import type { ESEngineModule } from './wasm';
diff --git a/sdk/src/wechatRuntime.ts b/sdk/src/wechatRuntime.ts
index 2dcd55df2..839a2a862 100644
--- a/sdk/src/wechatRuntime.ts
+++ b/sdk/src/wechatRuntime.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file wechatRuntime.ts
* @brief WeChat MiniGame runtime initialization
diff --git a/sdk/src/world.ts b/sdk/src/world.ts
index 0f879ef24..41e4ee4ab 100644
--- a/sdk/src/world.ts
+++ b/sdk/src/world.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file world.ts
* @brief ECS World with C++ Registry integration
diff --git a/sdk/tests/AsyncCache.test.ts b/sdk/tests/AsyncCache.test.ts
index 7e8f5a3de..1f6650c55 100644
--- a/sdk/tests/AsyncCache.test.ts
+++ b/sdk/tests/AsyncCache.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { AsyncCache } from '../src/asset/AsyncCache';
diff --git a/sdk/tests/RichTextLayout.test.ts b/sdk/tests/RichTextLayout.test.ts
index 7c805d2f8..19549c853 100644
--- a/sdk/tests/RichTextLayout.test.ts
+++ b/sdk/tests/RichTextLayout.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { layoutRichText, createFontSet, type LayoutLine } from '../src/ui/RichTextLayout';
import type { RichTextRun, ImageSegment } from '../src/ui/RichTextParser';
diff --git a/sdk/tests/RichTextParser.test.ts b/sdk/tests/RichTextParser.test.ts
index 98b3a5ae8..c7e603675 100644
--- a/sdk/tests/RichTextParser.test.ts
+++ b/sdk/tests/RichTextParser.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { parseRichText, type RichTextRun } from '../src/ui/RichTextParser';
diff --git a/sdk/tests/anim-clip-asset.test.ts b/sdk/tests/anim-clip-asset.test.ts
index 2e27ff6c7..67710a0cd 100644
--- a/sdk/tests/anim-clip-asset.test.ts
+++ b/sdk/tests/anim-clip-asset.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import {
getAssetTypeEntry,
diff --git a/sdk/tests/animation-clip.test.ts b/sdk/tests/animation-clip.test.ts
index 5e4cf2868..fbf58cb24 100644
--- a/sdk/tests/animation-clip.test.ts
+++ b/sdk/tests/animation-clip.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { parseAnimationClip } from '../src/timeline/AnimationClip';
import { WrapMode, TrackType } from '../src/timeline/TimelineTypes';
diff --git a/sdk/tests/app-tick.test.ts b/sdk/tests/app-tick.test.ts
index 957928af9..e1c72ea0a 100644
--- a/sdk/tests/app-tick.test.ts
+++ b/sdk/tests/app-tick.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { App } from '../src/app';
import { Schedule, defineSystem } from '../src/system';
diff --git a/sdk/tests/asset-backend.test.ts b/sdk/tests/asset-backend.test.ts
index c632a262c..fbaa1ac1e 100644
--- a/sdk/tests/asset-backend.test.ts
+++ b/sdk/tests/asset-backend.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { EmbeddedBackend, HttpBackend } from '../src/asset/Backend';
diff --git a/sdk/tests/asset-field-registry.test.ts b/sdk/tests/asset-field-registry.test.ts
index 4caedb8bc..6d95f6331 100644
--- a/sdk/tests/asset-field-registry.test.ts
+++ b/sdk/tests/asset-field-registry.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import {
registerAssetFields,
diff --git a/sdk/tests/asset-group-loading.test.ts b/sdk/tests/asset-group-loading.test.ts
index acef312b6..dae3c56ea 100644
--- a/sdk/tests/asset-group-loading.test.ts
+++ b/sdk/tests/asset-group-loading.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { Assets } from '../src/asset/Assets';
import { Catalog, type CatalogData } from '../src/asset/Catalog';
diff --git a/sdk/tests/asset-missing.test.ts b/sdk/tests/asset-missing.test.ts
index f998d4955..820972b2e 100644
--- a/sdk/tests/asset-missing.test.ts
+++ b/sdk/tests/asset-missing.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Unit tests for Phase 1.6 — asset load error propagation.
* Verifies preloadSceneAssets populates `missing` and that
diff --git a/sdk/tests/asset-ref-counter.test.ts b/sdk/tests/asset-ref-counter.test.ts
index a44b8053a..2b9840913 100644
--- a/sdk/tests/asset-ref-counter.test.ts
+++ b/sdk/tests/asset-ref-counter.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { AssetRefCounter } from '../src/asset/AssetRefCounter';
diff --git a/sdk/tests/asset-refcounter-integration.test.ts b/sdk/tests/asset-refcounter-integration.test.ts
index 6cfbe5ba1..fb533ed84 100644
--- a/sdk/tests/asset-refcounter-integration.test.ts
+++ b/sdk/tests/asset-refcounter-integration.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Verifies that Assets.resolveSceneAssetPaths populates an attached
* AssetRefCounter so tools can answer "which entities hold this asset?".
diff --git a/sdk/tests/asset-registry.test.ts b/sdk/tests/asset-registry.test.ts
index 0f7784d04..595754c01 100644
--- a/sdk/tests/asset-registry.test.ts
+++ b/sdk/tests/asset-registry.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import {
AssetRegistry,
diff --git a/sdk/tests/asset-types-ktx2.test.ts b/sdk/tests/asset-types-ktx2.test.ts
index f7c33982d..6c26e2b1d 100644
--- a/sdk/tests/asset-types-ktx2.test.ts
+++ b/sdk/tests/asset-types-ktx2.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { getAssetTypeEntry, getAddressableType, getEditorType, getAssetMimeType, isKnownAssetExtension } from '../src/assetTypes';
diff --git a/sdk/tests/assetTypes.test.ts b/sdk/tests/assetTypes.test.ts
index cb1946aac..101bab004 100644
--- a/sdk/tests/assetTypes.test.ts
+++ b/sdk/tests/assetTypes.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
getAssetTypeEntry,
diff --git a/sdk/tests/assets-invalidate-event.test.ts b/sdk/tests/assets-invalidate-event.test.ts
index f9f3588b2..27a59feaa 100644
--- a/sdk/tests/assets-invalidate-event.test.ts
+++ b/sdk/tests/assets-invalidate-event.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file assets-invalidate-event.test.ts
* @brief Assets.onInvalidate subscription contract: listeners fire on
diff --git a/sdk/tests/assets.test.ts b/sdk/tests/assets.test.ts
index 0ae47a1e6..c6a035a44 100644
--- a/sdk/tests/assets.test.ts
+++ b/sdk/tests/assets.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { Assets } from '../src/asset/Assets';
import { Catalog, type CatalogData } from '../src/asset/Catalog';
diff --git a/sdk/tests/async-cache-leak.test.ts b/sdk/tests/async-cache-leak.test.ts
index 201ea6435..5dabcddc0 100644
--- a/sdk/tests/async-cache-leak.test.ts
+++ b/sdk/tests/async-cache-leak.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file async-cache-leak.test.ts
* @brief When a load times out, the loader
diff --git a/sdk/tests/async-system.test.ts b/sdk/tests/async-system.test.ts
index 33a622a7a..cc19c3279 100644
--- a/sdk/tests/async-system.test.ts
+++ b/sdk/tests/async-system.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { App } from '../src/app';
import { defineSystem, Schedule, SystemRunner } from '../src/system';
diff --git a/sdk/tests/atlas-trim.test.ts b/sdk/tests/atlas-trim.test.ts
index 3c817e73e..3aecd9ee5 100644
--- a/sdk/tests/atlas-trim.test.ts
+++ b/sdk/tests/atlas-trim.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { Catalog, type CatalogData, type AtlasFrameInfo } from '../src/asset/Catalog';
diff --git a/sdk/tests/audio-api.test.ts b/sdk/tests/audio-api.test.ts
index 76206bcb2..6e55126fd 100644
--- a/sdk/tests/audio-api.test.ts
+++ b/sdk/tests/audio-api.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { AudioAPI } from '../src/audio/Audio';
import type { PlatformAudioBackend, AudioHandle, AudioBufferHandle, PlayConfig } from '../src/audio/PlatformAudioBackend';
diff --git a/sdk/tests/audio-backend-factory.test.ts b/sdk/tests/audio-backend-factory.test.ts
index 2d587ddba..278d5bb95 100644
--- a/sdk/tests/audio-backend-factory.test.ts
+++ b/sdk/tests/audio-backend-factory.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { setPlatform } from '../src/platform/base';
import { WebAudioBackend } from '../src/audio/WebAudioBackend';
diff --git a/sdk/tests/audio-bus.test.ts b/sdk/tests/audio-bus.test.ts
index e9b8dd6ea..3e0bd1585 100644
--- a/sdk/tests/audio-bus.test.ts
+++ b/sdk/tests/audio-bus.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { AudioBus, type AudioBusConfig } from '../src/audio/AudioBus';
diff --git a/sdk/tests/audio-components.test.ts b/sdk/tests/audio-components.test.ts
index 40a1a810e..3e151c3dc 100644
--- a/sdk/tests/audio-components.test.ts
+++ b/sdk/tests/audio-components.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { AudioSource, AudioListener } from '../src/audio/AudioComponents';
import { AttenuationModel } from '../src/audio/SpatialAudio';
diff --git a/sdk/tests/audio-mixer.test.ts b/sdk/tests/audio-mixer.test.ts
index f014d1055..1f475060f 100644
--- a/sdk/tests/audio-mixer.test.ts
+++ b/sdk/tests/audio-mixer.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { AudioMixer } from '../src/audio/AudioMixer';
diff --git a/sdk/tests/audio-plugin.test.ts b/sdk/tests/audio-plugin.test.ts
index 13eae1b7b..4e10a1a98 100644
--- a/sdk/tests/audio-plugin.test.ts
+++ b/sdk/tests/audio-plugin.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { AudioPlugin, audioPlugin } from '../src/audio/AudioPlugin';
import { AudioAPI } from '../src/audio/Audio';
diff --git a/sdk/tests/audio-pool.test.ts b/sdk/tests/audio-pool.test.ts
index 3b122ce55..2467a2a59 100644
--- a/sdk/tests/audio-pool.test.ts
+++ b/sdk/tests/audio-pool.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { AudioPool, type PooledAudioNode } from '../src/audio/AudioPool';
diff --git a/sdk/tests/basis-transcoder.test.ts b/sdk/tests/basis-transcoder.test.ts
index 891c7a37c..278b0f41d 100644
--- a/sdk/tests/basis-transcoder.test.ts
+++ b/sdk/tests/basis-transcoder.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { BasisTranscoderImpl, createBasisTranscoder, type BasisWasmModule } from '../src/asset/basisTranscoder';
import { CompressedTextureFormat } from '../src/asset/compressed';
diff --git a/sdk/tests/builtin-bridge.test.ts b/sdk/tests/builtin-bridge.test.ts
index 6cf9a9417..97fcf4aed 100644
--- a/sdk/tests/builtin-bridge.test.ts
+++ b/sdk/tests/builtin-bridge.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file builtin-bridge.test.ts
* @brief Ensure BuiltinBridge eagerly verifies all component bindings at
diff --git a/sdk/tests/cache-as-bitmap.test.ts b/sdk/tests/cache-as-bitmap.test.ts
index 06f75a958..28ae7dbfc 100644
--- a/sdk/tests/cache-as-bitmap.test.ts
+++ b/sdk/tests/cache-as-bitmap.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import {
CacheAsBitmap,
diff --git a/sdk/tests/cache-bitmap.test.ts b/sdk/tests/cache-bitmap.test.ts
index f53fb74c1..0ba6ab235 100644
--- a/sdk/tests/cache-bitmap.test.ts
+++ b/sdk/tests/cache-bitmap.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { CacheBitmap } from '../src/cacheBitmap';
diff --git a/sdk/tests/camera-director.test.ts b/sdk/tests/camera-director.test.ts
index c0fe5db3a..8dce28bfd 100644
--- a/sdk/tests/camera-director.test.ts
+++ b/sdk/tests/camera-director.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Camera director — view-target selection + blending state machine. Pure
* logic (inject `now`), so deterministic and WASM-free.
diff --git a/sdk/tests/camera-follow.test.ts b/sdk/tests/camera-follow.test.ts
index af351d28e..e4398b23d 100644
--- a/sdk/tests/camera-follow.test.ts
+++ b/sdk/tests/camera-follow.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Camera follow — the damped, dead-zoned follow step (the procedural
* per-camera behaviour). Pure math, deterministic.
diff --git a/sdk/tests/camera-pov.test.ts b/sdk/tests/camera-pov.test.ts
index 724efffd1..62916cbcc 100644
--- a/sdk/tests/camera-pov.test.ts
+++ b/sdk/tests/camera-pov.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Camera POV — verifies the authored-view-params → view-projection seam
* (buildCameraInfo), including the newly-honored camera rotation. The POV
diff --git a/sdk/tests/camera-utils.test.ts b/sdk/tests/camera-utils.test.ts
index 8b0dfeec7..2bde668b2 100644
--- a/sdk/tests/camera-utils.test.ts
+++ b/sdk/tests/camera-utils.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { CameraViewApi } from '../src/camera/Camera';
diff --git a/sdk/tests/catalog.test.ts b/sdk/tests/catalog.test.ts
index 5a35d3357..731d1e4d3 100644
--- a/sdk/tests/catalog.test.ts
+++ b/sdk/tests/catalog.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { Catalog, type CatalogData } from '../src/asset/Catalog';
diff --git a/sdk/tests/color-conversion.test.ts b/sdk/tests/color-conversion.test.ts
index 5be6be07c..53b43dcbd 100644
--- a/sdk/tests/color-conversion.test.ts
+++ b/sdk/tests/color-conversion.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file color-conversion.test.ts
* @brief convertFromWasm mutates in place; convertForWasm replaces color
diff --git a/sdk/tests/commands.test.ts b/sdk/tests/commands.test.ts
index a0544d664..4da09a814 100644
--- a/sdk/tests/commands.test.ts
+++ b/sdk/tests/commands.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { CommandsInstance, EntityCommands, Commands } from '../src/commands';
import { defineComponent, defineBuiltin, Name } from '../src/component';
diff --git a/sdk/tests/component.test.ts b/sdk/tests/component.test.ts
index 62fd5cc80..6bdf5a9e0 100644
--- a/sdk/tests/component.test.ts
+++ b/sdk/tests/component.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import {
defineComponent,
diff --git a/sdk/tests/compressed-texture.test.ts b/sdk/tests/compressed-texture.test.ts
index 88ff827b0..021de8cbd 100644
--- a/sdk/tests/compressed-texture.test.ts
+++ b/sdk/tests/compressed-texture.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import { initResourceManager, shutdownResourceManager } from '../src/resourceManager';
import {
diff --git a/sdk/tests/core-bridge.test.ts b/sdk/tests/core-bridge.test.ts
index 487bbbeb7..77aa97b98 100644
--- a/sdk/tests/core-bridge.test.ts
+++ b/sdk/tests/core-bridge.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file core-bridge.test.ts
* @brief F2 core batch: the six core engine-module API facets (renderer /
diff --git a/sdk/tests/custom-draw.test.ts b/sdk/tests/custom-draw.test.ts
index 141ad6cfb..c486ef19c 100644
--- a/sdk/tests/custom-draw.test.ts
+++ b/sdk/tests/custom-draw.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file custom-draw.test.ts
* @brief Draw-callback registry: register/unregister, scene scoping.
diff --git a/sdk/tests/default-tint.test.ts b/sdk/tests/default-tint.test.ts
index 06f407399..e0c48bbf1 100644
--- a/sdk/tests/default-tint.test.ts
+++ b/sdk/tests/default-tint.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { applyDefaultTint } from '../src/ui/uiHelpers';
import type { Color } from '../src/types';
diff --git a/sdk/tests/discoverAssets.test.ts b/sdk/tests/discoverAssets.test.ts
index baacec639..57177cf1c 100644
--- a/sdk/tests/discoverAssets.test.ts
+++ b/sdk/tests/discoverAssets.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { defineComponent, clearUserComponents } from '../src/component';
import { discoverSceneAssets, getAssetPathsByType } from '../src/asset/discoverAssets';
diff --git a/sdk/tests/draw.test.ts b/sdk/tests/draw.test.ts
index 2537a1399..62e9f59a9 100644
--- a/sdk/tests/draw.test.ts
+++ b/sdk/tests/draw.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
vi.mock('../src/material', () => {
const materials = new Map();
return {
diff --git a/sdk/tests/editor-bridge.test.ts b/sdk/tests/editor-bridge.test.ts
index 701f680f7..603b75b58 100644
--- a/sdk/tests/editor-bridge.test.ts
+++ b/sdk/tests/editor-bridge.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import {
clearUserComponents,
diff --git a/sdk/tests/editor-grid.test.ts b/sdk/tests/editor-grid.test.ts
index a17d30d2b..613f55e74 100644
--- a/sdk/tests/editor-grid.test.ts
+++ b/sdk/tests/editor-grid.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file editor-grid.test.ts
* @brief Editor reference grid: resource defaults, the pre-scene draw registry,
diff --git a/sdk/tests/editor-view.test.ts b/sdk/tests/editor-view.test.ts
index a2cc056c9..cb853bfeb 100644
--- a/sdk/tests/editor-view.test.ts
+++ b/sdk/tests/editor-view.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Editor camera (EditorView) — verifies the editor viewport camera builds
* a geometrically correct full-frame view-projection from {x, y, orthoSize},
diff --git a/sdk/tests/emscripten-wrapper.test.ts b/sdk/tests/emscripten-wrapper.test.ts
index 5b0d02265..04daf243b 100644
--- a/sdk/tests/emscripten-wrapper.test.ts
+++ b/sdk/tests/emscripten-wrapper.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Diagnostic test: verify Object.entries behavior with Emscripten reference wrappers
*/
diff --git a/sdk/tests/engine-context.test.ts b/sdk/tests/engine-context.test.ts
index 7297f4c7e..da499309a 100644
--- a/sdk/tests/engine-context.test.ts
+++ b/sdk/tests/engine-context.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Engine instancing N1 (REARCH_ENGINE_INSTANCING.md): EstellaContext is a
* JS-newable embind instance + setActiveContext routes the bindings to it.
diff --git a/sdk/tests/entity-generation.test.ts b/sdk/tests/entity-generation.test.ts
index 9ea447ea9..a14f8d025 100644
--- a/sdk/tests/entity-generation.test.ts
+++ b/sdk/tests/entity-generation.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file entity-generation.test.ts
* @brief Verify Entity packing helpers and World's stale-handle detection.
diff --git a/sdk/tests/entity-hierarchy.test.ts b/sdk/tests/entity-hierarchy.test.ts
index 46bf861b6..076e84ac1 100644
--- a/sdk/tests/entity-hierarchy.test.ts
+++ b/sdk/tests/entity-hierarchy.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Integration tests: Entity parent-child hierarchy via real WASM module.
*
diff --git a/sdk/tests/entity-visibility.test.ts b/sdk/tests/entity-visibility.test.ts
index c72dc793b..146d76381 100644
--- a/sdk/tests/entity-visibility.test.ts
+++ b/sdk/tests/entity-visibility.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { setEntityVisible, isEntityVisible, setEntityActive, isEntityActive } from '../src/entityUtils';
diff --git a/sdk/tests/event.test.ts b/sdk/tests/event.test.ts
index d10339efd..9b14a13d4 100644
--- a/sdk/tests/event.test.ts
+++ b/sdk/tests/event.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import {
defineEvent,
diff --git a/sdk/tests/filters.test.ts b/sdk/tests/filters.test.ts
index efc022c6c..ef39efea6 100644
--- a/sdk/tests/filters.test.ts
+++ b/sdk/tests/filters.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { Filters } from '../src/filters';
diff --git a/sdk/tests/frame-capture.test.ts b/sdk/tests/frame-capture.test.ts
index 4a7ee35a1..73542e1f6 100644
--- a/sdk/tests/frame-capture.test.ts
+++ b/sdk/tests/frame-capture.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file frame-capture.test.ts
* @brief Pin down the memory-safety contract of frameCapture.ts: the
diff --git a/sdk/tests/geometry.test.ts b/sdk/tests/geometry.test.ts
index 02af123c5..748fa0c6b 100644
--- a/sdk/tests/geometry.test.ts
+++ b/sdk/tests/geometry.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import {
Geometry,
diff --git a/sdk/tests/gesture.test.ts b/sdk/tests/gesture.test.ts
index f30e572f3..cd2943e61 100644
--- a/sdk/tests/gesture.test.ts
+++ b/sdk/tests/gesture.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { GestureDetector, type SwipeDirection } from '../src/gesture';
import { InputState } from '../src/input';
diff --git a/sdk/tests/graphics.test.ts b/sdk/tests/graphics.test.ts
index aee53b006..a6b792eb4 100644
--- a/sdk/tests/graphics.test.ts
+++ b/sdk/tests/graphics.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { Graphics } from '../src/graphics';
diff --git a/sdk/tests/helpers/loadWasm.ts b/sdk/tests/helpers/loadWasm.ts
index e78bf4aad..e00543367 100644
--- a/sdk/tests/helpers/loadWasm.ts
+++ b/sdk/tests/helpers/loadWasm.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { existsSync, readFileSync } from 'fs';
import { resolve } from 'path';
import type { ESEngineModule } from '../../src/wasm';
diff --git a/sdk/tests/hit-area.test.ts b/sdk/tests/hit-area.test.ts
index ace024318..e4b300c1c 100644
--- a/sdk/tests/hit-area.test.ts
+++ b/sdk/tests/hit-area.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { HitAreaShape, pointInHitArea } from '../src/hitArea';
diff --git a/sdk/tests/input-multitouch.test.ts b/sdk/tests/input-multitouch.test.ts
index 469ccf332..5935c8e93 100644
--- a/sdk/tests/input-multitouch.test.ts
+++ b/sdk/tests/input-multitouch.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { InputState } from '../src/input';
diff --git a/sdk/tests/input.test.ts b/sdk/tests/input.test.ts
index 9a460df8b..fc238d592 100644
--- a/sdk/tests/input.test.ts
+++ b/sdk/tests/input.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { InputState } from '../src/input';
diff --git a/sdk/tests/lifecycle.test.ts b/sdk/tests/lifecycle.test.ts
index 73530e530..7345cf31e 100644
--- a/sdk/tests/lifecycle.test.ts
+++ b/sdk/tests/lifecycle.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { LifecycleManager } from '../src/lifecycle';
diff --git a/sdk/tests/logger.test.ts b/sdk/tests/logger.test.ts
index 878224c51..462393278 100644
--- a/sdk/tests/logger.test.ts
+++ b/sdk/tests/logger.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { Logger, LogLevel, type LogHandler, type LogEntry } from '../src/logger';
diff --git a/sdk/tests/material.test.ts b/sdk/tests/material.test.ts
index b041c5720..b887dce04 100644
--- a/sdk/tests/material.test.ts
+++ b/sdk/tests/material.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import {
Material,
diff --git a/sdk/tests/mocks/wasm.ts b/sdk/tests/mocks/wasm.ts
index 54b76c148..9d0907d4e 100644
--- a/sdk/tests/mocks/wasm.ts
+++ b/sdk/tests/mocks/wasm.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import type { ESEngineModule, CppRegistry, CppResourceManager } from '../../src/wasm';
import type { Entity } from '../../src/types';
diff --git a/sdk/tests/module-health.test.ts b/sdk/tests/module-health.test.ts
index 3dba810be..68d7809ab 100644
--- a/sdk/tests/module-health.test.ts
+++ b/sdk/tests/module-health.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file module-health.test.ts
* @brief The WASM terminal-abort error channel: a module abort flips a dead
diff --git a/sdk/tests/particle.test.ts b/sdk/tests/particle.test.ts
index c8998b5ba..7ce13041d 100644
--- a/sdk/tests/particle.test.ts
+++ b/sdk/tests/particle.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { getComponent } from '../src/component';
diff --git a/sdk/tests/physicsDebugDraw.test.ts b/sdk/tests/physicsDebugDraw.test.ts
index fd1cf0d70..ed24d6d71 100644
--- a/sdk/tests/physicsDebugDraw.test.ts
+++ b/sdk/tests/physicsDebugDraw.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import {
PhysicsDebugDraw,
diff --git a/sdk/tests/physicsReconcile.test.ts b/sdk/tests/physicsReconcile.test.ts
index 298390ad5..7d99f823c 100644
--- a/sdk/tests/physicsReconcile.test.ts
+++ b/sdk/tests/physicsReconcile.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Physics reconciler change-detection. The unified reconciler rebuilds
* shapes / joints from these signals, so they're the load-bearing logic:
diff --git a/sdk/tests/physicsSyncTransforms.test.ts b/sdk/tests/physicsSyncTransforms.test.ts
index ae0415a51..a343a5f43 100644
--- a/sdk/tests/physicsSyncTransforms.test.ts
+++ b/sdk/tests/physicsSyncTransforms.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import type { Entity } from '../src/types';
import type { PhysicsWasmModule } from '../src/physics/PhysicsModuleLoader';
diff --git a/sdk/tests/platform-file-exists.test.ts b/sdk/tests/platform-file-exists.test.ts
index a56c285ce..9e2d5ba4a 100644
--- a/sdk/tests/platform-file-exists.test.ts
+++ b/sdk/tests/platform-file-exists.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, afterEach } from 'vitest';
describe('WebPlatformAdapter.fileExists', () => {
diff --git a/sdk/tests/playableRuntime.test.ts b/sdk/tests/playableRuntime.test.ts
index 031503633..70dbda62b 100644
--- a/sdk/tests/playableRuntime.test.ts
+++ b/sdk/tests/playableRuntime.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
vi.mock('../src/runtimeLoader', () => ({
diff --git a/sdk/tests/plugin-cleanup.test.ts b/sdk/tests/plugin-cleanup.test.ts
index ca1ca564f..de3a0ca84 100644
--- a/sdk/tests/plugin-cleanup.test.ts
+++ b/sdk/tests/plugin-cleanup.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file plugin-cleanup.test.ts
* @brief Physics/Spine plugins must release
diff --git a/sdk/tests/plugin-sort.test.ts b/sdk/tests/plugin-sort.test.ts
index 4b4e5a0cc..07c2dcdce 100644
--- a/sdk/tests/plugin-sort.test.ts
+++ b/sdk/tests/plugin-sort.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { App, type Plugin } from '../src/app';
diff --git a/sdk/tests/postProcessPlugin.test.ts b/sdk/tests/postProcessPlugin.test.ts
index e29e368c3..cb853eb57 100644
--- a/sdk/tests/postProcessPlugin.test.ts
+++ b/sdk/tests/postProcessPlugin.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
vi.mock('../src/material', () => ({
diff --git a/sdk/tests/postprocess.test.ts b/sdk/tests/postprocess.test.ts
index 036783d00..be1fef124 100644
--- a/sdk/tests/postprocess.test.ts
+++ b/sdk/tests/postprocess.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
vi.mock('../src/material', () => ({
Material: {
createShader: vi.fn().mockReturnValue(42),
diff --git a/sdk/tests/prefab-rigor.test.ts b/sdk/tests/prefab-rigor.test.ts
index 8090387f0..5c1f25ea5 100644
--- a/sdk/tests/prefab-rigor.test.ts
+++ b/sdk/tests/prefab-rigor.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Rigor suite for the prefab data model:
* - UUID identity + legacy migration round-trip
diff --git a/sdk/tests/prefab.test.ts b/sdk/tests/prefab.test.ts
index f936a6449..04adc2817 100644
--- a/sdk/tests/prefab.test.ts
+++ b/sdk/tests/prefab.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import type { PrefabData, PrefabOverride, InstantiatePrefabOptions } from '../src/prefab';
import type { SceneData } from '../src/scene';
diff --git a/sdk/tests/preload-concurrency.test.ts b/sdk/tests/preload-concurrency.test.ts
index b25f05cbe..216464d97 100644
--- a/sdk/tests/preload-concurrency.test.ts
+++ b/sdk/tests/preload-concurrency.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file preload-concurrency.test.ts
* @brief Assets.preloadSceneAssets bounds concurrent loads to prevent
diff --git a/sdk/tests/propertyPath.test.ts b/sdk/tests/propertyPath.test.ts
index 7fc2969b6..1bd855797 100644
--- a/sdk/tests/propertyPath.test.ts
+++ b/sdk/tests/propertyPath.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { getNestedProperty, setNestedProperty, parsePropertyPath } from '../src/ui/propertyPath';
diff --git a/sdk/tests/ptr-bounds.test.ts b/sdk/tests/ptr-bounds.test.ts
index 681928081..d7670ebe8 100644
--- a/sdk/tests/ptr-bounds.test.ts
+++ b/sdk/tests/ptr-bounds.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ptr-bounds.test.ts
* @brief BuiltinBridge pointer helpers reject out-of-bounds access.
diff --git a/sdk/tests/query-cache-stats.test.ts b/sdk/tests/query-cache-stats.test.ts
index 89ad8d632..1b18b767b 100644
--- a/sdk/tests/query-cache-stats.test.ts
+++ b/sdk/tests/query-cache-stats.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file query-cache-stats.test.ts
* @brief QueryCache hit/miss/invalidation accounting.
diff --git a/sdk/tests/query-filter.test.ts b/sdk/tests/query-filter.test.ts
index 6af15c7d2..321daa07e 100644
--- a/sdk/tests/query-filter.test.ts
+++ b/sdk/tests/query-filter.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file query-filter.test.ts
* @brief Composable filter predicates (With/Without/And/Or/Not) on Query.
diff --git a/sdk/tests/query-iteration-protection.test.ts b/sdk/tests/query-iteration-protection.test.ts
index fd22c5153..fbe24e00e 100644
--- a/sdk/tests/query-iteration-protection.test.ts
+++ b/sdk/tests/query-iteration-protection.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { World } from '../src/world';
import { Query, QueryInstance, Mut } from '../src/query';
diff --git a/sdk/tests/query.test.ts b/sdk/tests/query.test.ts
index 584b2dc37..cb3ae3029 100644
--- a/sdk/tests/query.test.ts
+++ b/sdk/tests/query.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { World } from '../src/world';
import {
diff --git a/sdk/tests/renderPipeline.test.ts b/sdk/tests/renderPipeline.test.ts
index 8800bf89c..9c7041384 100644
--- a/sdk/tests/renderPipeline.test.ts
+++ b/sdk/tests/renderPipeline.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
vi.mock('../src/renderer', () => ({
diff --git a/sdk/tests/renderTexture.test.ts b/sdk/tests/renderTexture.test.ts
index 5e717e51f..e5f099d7f 100644
--- a/sdk/tests/renderTexture.test.ts
+++ b/sdk/tests/renderTexture.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
vi.mock('../src/renderer', () => ({
diff --git a/sdk/tests/renderer.test.ts b/sdk/tests/renderer.test.ts
index 3fa1c01a2..cca48ea01 100644
--- a/sdk/tests/renderer.test.ts
+++ b/sdk/tests/renderer.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import {
Renderer,
diff --git a/sdk/tests/resource.test.ts b/sdk/tests/resource.test.ts
index 6c1bc008e..29979f54e 100644
--- a/sdk/tests/resource.test.ts
+++ b/sdk/tests/resource.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { defineResource, Res, ResMut, ResourceStorage, ResMutInstance } from '../src/resource';
diff --git a/sdk/tests/resourcemanager-bridge.test.ts b/sdk/tests/resourcemanager-bridge.test.ts
index e17c336cc..6f844202d 100644
--- a/sdk/tests/resourcemanager-bridge.test.ts
+++ b/sdk/tests/resourcemanager-bridge.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file resourcemanager-bridge.test.ts
* @brief The C++ ResourceManager embind object is guarded via WasmBridge with
diff --git a/sdk/tests/run-mode.test.ts b/sdk/tests/run-mode.test.ts
index 8af350a05..be9d8d8cf 100644
--- a/sdk/tests/run-mode.test.ts
+++ b/sdk/tests/run-mode.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file run-mode.test.ts
* @brief Editor/runtime + edit/play run mode (env.ts) gates gameplay systems.
diff --git a/sdk/tests/scale-modes.test.ts b/sdk/tests/scale-modes.test.ts
index 9a1a1967c..9cb2290f3 100644
--- a/sdk/tests/scale-modes.test.ts
+++ b/sdk/tests/scale-modes.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
/**
diff --git a/sdk/tests/scene-asset-release.test.ts b/sdk/tests/scene-asset-release.test.ts
index d028dc0a6..6464ed774 100644
--- a/sdk/tests/scene-asset-release.test.ts
+++ b/sdk/tests/scene-asset-release.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file scene-asset-release.test.ts
* @brief Verify the per-category release wrappers on Assets plus that
diff --git a/sdk/tests/scene-handle.test.ts b/sdk/tests/scene-handle.test.ts
index 067ddc915..2fbe09b6f 100644
--- a/sdk/tests/scene-handle.test.ts
+++ b/sdk/tests/scene-handle.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { SceneHandle } from '../src/asset/SceneHandle';
diff --git a/sdk/tests/scene-load-failure.test.ts b/sdk/tests/scene-load-failure.test.ts
index 50e195379..eacaa1136 100644
--- a/sdk/tests/scene-load-failure.test.ts
+++ b/sdk/tests/scene-load-failure.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file scene-load-failure.test.ts
* @brief Scene lifecycle robustness on failure paths:
diff --git a/sdk/tests/scene-loading-progress.test.ts b/sdk/tests/scene-loading-progress.test.ts
index d7d051841..afcd7293f 100644
--- a/sdk/tests/scene-loading-progress.test.ts
+++ b/sdk/tests/scene-loading-progress.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { Assets } from '../src/asset/Assets';
import { Catalog } from '../src/asset/Catalog';
diff --git a/sdk/tests/scene-prefab.test.ts b/sdk/tests/scene-prefab.test.ts
index 2fb6c3c69..52ac48b79 100644
--- a/sdk/tests/scene-prefab.test.ts
+++ b/sdk/tests/scene-prefab.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Runtime prefab-instance scene loading (REARCH_PREFABS PF1 — play == ship).
*
diff --git a/sdk/tests/scene-transition-controller.test.ts b/sdk/tests/scene-transition-controller.test.ts
index 531219290..6743965a7 100644
--- a/sdk/tests/scene-transition-controller.test.ts
+++ b/sdk/tests/scene-transition-controller.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file scene-transition-controller.test.ts
* @brief SceneTransitionController — three-phase fade state machine in
diff --git a/sdk/tests/scene-transition-errors.test.ts b/sdk/tests/scene-transition-errors.test.ts
index 713a40bc9..c886841e4 100644
--- a/sdk/tests/scene-transition-errors.test.ts
+++ b/sdk/tests/scene-transition-errors.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file scene-transition-errors.test.ts
* @brief Fade transitions propagate load/unload errors to the switchTo
diff --git a/sdk/tests/scene-validation.test.ts b/sdk/tests/scene-validation.test.ts
index d4a2a575a..a1f7b72a9 100644
--- a/sdk/tests/scene-validation.test.ts
+++ b/sdk/tests/scene-validation.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { validateComponentData, formatValidationErrors } from '../src/validation';
diff --git a/sdk/tests/scene.test.ts b/sdk/tests/scene.test.ts
index d7c845abc..81595aad8 100644
--- a/sdk/tests/scene.test.ts
+++ b/sdk/tests/scene.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { World } from '../src/world';
import { createMockModule } from './mocks/wasm';
diff --git a/sdk/tests/sceneManager.test.ts b/sdk/tests/sceneManager.test.ts
index ebbde0065..6d9b077fe 100644
--- a/sdk/tests/sceneManager.test.ts
+++ b/sdk/tests/sceneManager.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
vi.mock('../src/scene', () => ({
diff --git a/sdk/tests/scheduler-cycles.test.ts b/sdk/tests/scheduler-cycles.test.ts
index 8fd37c909..1c7f239b6 100644
--- a/sdk/tests/scheduler-cycles.test.ts
+++ b/sdk/tests/scheduler-cycles.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file scheduler-cycles.test.ts
* @brief Cycle detection quality + re-sort idempotence after sortSystems.
diff --git a/sdk/tests/screen.test.ts b/sdk/tests/screen.test.ts
index 4b5f6a557..84e382faa 100644
--- a/sdk/tests/screen.test.ts
+++ b/sdk/tests/screen.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { ScreenInfo, ScreenOrientation } from '../src/screen';
diff --git a/sdk/tests/scrollview.test.ts b/sdk/tests/scrollview.test.ts
index 8816ddc6d..ecc835f8b 100644
--- a/sdk/tests/scrollview.test.ts
+++ b/sdk/tests/scrollview.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeAll } from 'vitest';
import { App } from '../src/app';
import { Transform, Sprite, Canvas } from '../src/component';
diff --git a/sdk/tests/setup.ts b/sdk/tests/setup.ts
index 5df15c35a..531e83b1a 100644
--- a/sdk/tests/setup.ts
+++ b/sdk/tests/setup.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { beforeEach } from 'vitest';
import { clearUserComponents } from '../src/component';
diff --git a/sdk/tests/spatial-audio.test.ts b/sdk/tests/spatial-audio.test.ts
index 903b460d9..68793950d 100644
--- a/sdk/tests/spatial-audio.test.ts
+++ b/sdk/tests/spatial-audio.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
AttenuationModel,
diff --git a/sdk/tests/spine-apply-routing.test.ts b/sdk/tests/spine-apply-routing.test.ts
index af54b1753..1698c4023 100644
--- a/sdk/tests/spine-apply-routing.test.ts
+++ b/sdk/tests/spine-apply-routing.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file spine-apply-routing.test.ts
* @brief Regression: after S3 (native runtime deleted), applySpineEntities must
diff --git a/sdk/tests/spine-bridge.test.ts b/sdk/tests/spine-bridge.test.ts
index 84563a40d..91cbe2ea0 100644
--- a/sdk/tests/spine-bridge.test.ts
+++ b/sdk/tests/spine-bridge.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file spine-bridge.test.ts
* @brief A spine side module's wrapped API (behind SpineModuleController)
diff --git a/sdk/tests/spine-clip.integration.test.ts b/sdk/tests/spine-clip.integration.test.ts
index a0e65a518..c0542deda 100644
--- a/sdk/tests/spine-clip.integration.test.ts
+++ b/sdk/tests/spine-clip.integration.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file spine-clip.integration.test.ts
* @brief S2 gate: proves the spine side module clips a clipping attachment
diff --git a/sdk/tests/spine-dedup.test.ts b/sdk/tests/spine-dedup.test.ts
index 47caa1d5b..0ecf95d85 100644
--- a/sdk/tests/spine-dedup.test.ts
+++ b/sdk/tests/spine-dedup.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file spine-dedup.test.ts
* @brief S4-A: ModuleBackend shares one loaded skeleton across every entity of
diff --git a/sdk/tests/spine-multi-version-build.test.ts b/sdk/tests/spine-multi-version-build.test.ts
index d69f4d739..c23486d10 100644
--- a/sdk/tests/spine-multi-version-build.test.ts
+++ b/sdk/tests/spine-multi-version-build.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file spine-multi-version-build.test.ts
* @brief Integration tests for spine multi-version build pipeline
diff --git a/sdk/tests/spine-version-detect.test.ts b/sdk/tests/spine-version-detect.test.ts
index 61c32583d..322ac21d2 100644
--- a/sdk/tests/spine-version-detect.test.ts
+++ b/sdk/tests/spine-version-detect.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { SpineManager } from '../src/spine/SpineManager';
diff --git a/sdk/tests/spine38-load.integration.test.ts b/sdk/tests/spine38-load.integration.test.ts
index 51d85fd39..cc231676c 100644
--- a/sdk/tests/spine38-load.integration.test.ts
+++ b/sdk/tests/spine38-load.integration.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file spine38-load.integration.test.ts
* @brief Proves the 3.8 side module actually loads and animates a real 3.8
diff --git a/sdk/tests/sprite-animator-events.test.ts b/sdk/tests/sprite-animator-events.test.ts
index a480dbe57..c8c4c8048 100644
--- a/sdk/tests/sprite-animator-events.test.ts
+++ b/sdk/tests/sprite-animator-events.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import {
SpriteAnimationApi,
diff --git a/sdk/tests/sprite-animator-goto.test.ts b/sdk/tests/sprite-animator-goto.test.ts
index f64c6ea88..8ab0f2513 100644
--- a/sdk/tests/sprite-animator-goto.test.ts
+++ b/sdk/tests/sprite-animator-goto.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach } from 'vitest';
import {
SpriteAnimationApi,
diff --git a/sdk/tests/sprite-animator.test.ts b/sdk/tests/sprite-animator.test.ts
index 00e56a177..4244751b2 100644
--- a/sdk/tests/sprite-animator.test.ts
+++ b/sdk/tests/sprite-animator.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { World } from '../src/world';
import { Sprite, type SpriteData } from '../src/component';
diff --git a/sdk/tests/sprite-filter.test.ts b/sdk/tests/sprite-filter.test.ts
index 73815afae..60a083471 100644
--- a/sdk/tests/sprite-filter.test.ts
+++ b/sdk/tests/sprite-filter.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file sprite-filter.test.ts
* @brief SpriteFilter creates outline/glow/drop-shadow materials with
diff --git a/sdk/tests/stats.test.ts b/sdk/tests/stats.test.ts
index 8acac93a4..636391ee6 100644
--- a/sdk/tests/stats.test.ts
+++ b/sdk/tests/stats.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, afterEach } from 'vitest';
import { StatsCollector, defaultFrameStats, Stats, StatsPlugin, statsPlugin, FrameHistory, type FrameStats } from '../src/stats';
import { StatsOverlay } from '../src/stats-overlay';
diff --git a/sdk/tests/storage.test.ts b/sdk/tests/storage.test.ts
index e17fbadd9..b78bb13ad 100644
--- a/sdk/tests/storage.test.ts
+++ b/sdk/tests/storage.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { Storage } from '../src/storage';
import { setPlatform } from '../src/platform/base';
diff --git a/sdk/tests/subsystems.test.ts b/sdk/tests/subsystems.test.ts
index d3ec9a973..30ffd0c32 100644
--- a/sdk/tests/subsystems.test.ts
+++ b/sdk/tests/subsystems.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { SubsystemRegistry } from '../src/subsystems';
import { App, type Plugin } from '../src/app';
diff --git a/sdk/tests/system-ordering.test.ts b/sdk/tests/system-ordering.test.ts
index 63c58f2cb..8f0d87711 100644
--- a/sdk/tests/system-ordering.test.ts
+++ b/sdk/tests/system-ordering.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { App } from '../src/app';
import { defineSystem, Schedule } from '../src/system';
diff --git a/sdk/tests/system-set.test.ts b/sdk/tests/system-set.test.ts
index 77ad753f9..211149bbe 100644
--- a/sdk/tests/system-set.test.ts
+++ b/sdk/tests/system-set.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file system-set.test.ts
* @brief SystemSet grouping, shared runIf, and set-name dep expansion.
diff --git a/sdk/tests/system.test.ts b/sdk/tests/system.test.ts
index 35c8d4882..97b9e6f8b 100644
--- a/sdk/tests/system.test.ts
+++ b/sdk/tests/system.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import {
Schedule,
diff --git a/sdk/tests/text-bold-italic.test.ts b/sdk/tests/text-bold-italic.test.ts
index 5828f5278..83294305d 100644
--- a/sdk/tests/text-bold-italic.test.ts
+++ b/sdk/tests/text-bold-italic.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { Text, type TextData } from '../src/ui/core/text';
diff --git a/sdk/tests/texture-params.test.ts b/sdk/tests/texture-params.test.ts
index 81d343e61..ccdbfc033 100644
--- a/sdk/tests/texture-params.test.ts
+++ b/sdk/tests/texture-params.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file texture-params.test.ts
* @brief textureParams helpers delegate to Renderer.setTextureParams
diff --git a/sdk/tests/texture-upload-leak.test.ts b/sdk/tests/texture-upload-leak.test.ts
index dbbc37996..1b1480cab 100644
--- a/sdk/tests/texture-upload-leak.test.ts
+++ b/sdk/tests/texture-upload-leak.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file texture-upload-leak.test.ts
* @brief A GL texture created during upload must be released if the upload
diff --git a/sdk/tests/tilemap.test.ts b/sdk/tests/tilemap.test.ts
index e61c03f82..406d3eb97 100644
--- a/sdk/tests/tilemap.test.ts
+++ b/sdk/tests/tilemap.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import {
Tilemap,
diff --git a/sdk/tests/timeline-drive.test.ts b/sdk/tests/timeline-drive.test.ts
index 486cf3f6a..31f1480d8 100644
--- a/sdk/tests/timeline-drive.test.ts
+++ b/sdk/tests/timeline-drive.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
detectTimelineEvents,
diff --git a/sdk/tests/timeline-evaluator.test.ts b/sdk/tests/timeline-evaluator.test.ts
index f9b498aef..cb7e96e18 100644
--- a/sdk/tests/timeline-evaluator.test.ts
+++ b/sdk/tests/timeline-evaluator.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
evaluateChannel,
diff --git a/sdk/tests/timeline-loader.test.ts b/sdk/tests/timeline-loader.test.ts
index ebf284fdf..a11f5b9d6 100644
--- a/sdk/tests/timeline-loader.test.ts
+++ b/sdk/tests/timeline-loader.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { parseTimelineAsset, extractTimelineAssetPaths } from '../src/timeline/TimelineLoader';
import { WrapMode, TrackType, type TimelineAsset } from '../src/timeline/TimelineTypes';
diff --git a/sdk/tests/timeline-serializer.test.ts b/sdk/tests/timeline-serializer.test.ts
index d0537e88f..91b62fc7f 100644
--- a/sdk/tests/timeline-serializer.test.ts
+++ b/sdk/tests/timeline-serializer.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { serializeTimelineAsset, serializeTimelineToJson } from '../src/timeline/TimelineSerializer';
import { parseTimelineAsset } from '../src/timeline/TimelineLoader';
diff --git a/sdk/tests/timeline-tilemap-ui-bridge.test.ts b/sdk/tests/timeline-tilemap-ui-bridge.test.ts
index ace5419ce..bc5b3008b 100644
--- a/sdk/tests/timeline-tilemap-ui-bridge.test.ts
+++ b/sdk/tests/timeline-tilemap-ui-bridge.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file timeline-tilemap-ui-bridge.test.ts
* @brief F2 final batch: tilemap, timeline, and uiHelpers route their WASM
diff --git a/sdk/tests/timeline-types.test.ts b/sdk/tests/timeline-types.test.ts
index c58ee3133..8b4852846 100644
--- a/sdk/tests/timeline-types.test.ts
+++ b/sdk/tests/timeline-types.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
WrapMode,
diff --git a/sdk/tests/timeline-wasm-integration.test.ts b/sdk/tests/timeline-wasm-integration.test.ts
index dfdf1c5e3..14421fc82 100644
--- a/sdk/tests/timeline-wasm-integration.test.ts
+++ b/sdk/tests/timeline-wasm-integration.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Integration tests: Timeline property animation applied to real WASM-backed components.
*
diff --git a/sdk/tests/timer.test.ts b/sdk/tests/timer.test.ts
index efac11b8b..6f75db132 100644
--- a/sdk/tests/timer.test.ts
+++ b/sdk/tests/timer.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { TimerManager } from '../src/timer';
diff --git a/sdk/tests/tween-group.test.ts b/sdk/tests/tween-group.test.ts
index 86ce45bb8..f9636bc41 100644
--- a/sdk/tests/tween-group.test.ts
+++ b/sdk/tests/tween-group.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { TweenGroup, TweenSequence, TweenCompositionManager } from '../src/animation/TweenGroup';
import { TweenState } from '../src/animation/TweenTypes';
diff --git a/sdk/tests/tween.test.ts b/sdk/tests/tween.test.ts
index d16551c17..da73b8715 100644
--- a/sdk/tests/tween.test.ts
+++ b/sdk/tests/tween.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import type { ESEngineModule, CppRegistry } from '../src/wasm';
import type { Entity } from '../src/types';
diff --git a/sdk/tests/ui-atlas-packer.test.ts b/sdk/tests/ui-atlas-packer.test.ts
index 91cf96aff..e8d264160 100644
--- a/sdk/tests/ui-atlas-packer.test.ts
+++ b/sdk/tests/ui-atlas-packer.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.1 — ShelfPacker (glyph atlas rectangle packer). Pure
* logic; verifies row advance, wrapping, no overlaps, page-full + oversize
diff --git a/sdk/tests/ui-behavior.test.ts b/sdk/tests/ui-behavior.test.ts
index f3a00a9cf..e438c6c14 100644
--- a/sdk/tests/ui-behavior.test.ts
+++ b/sdk/tests/ui-behavior.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
StateMachine,
diff --git a/sdk/tests/ui-components.test.ts b/sdk/tests/ui-components.test.ts
index 995f53cb3..4a3b62934 100644
--- a/sdk/tests/ui-components.test.ts
+++ b/sdk/tests/ui-components.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Integration tests: UI components (UIRect, UIMask, FlexContainer, FlexItem,
* Interactable, UIInteraction, Canvas) via real WASM module.
diff --git a/sdk/tests/ui-core-events.test.ts b/sdk/tests/ui-core-events.test.ts
index 04671ebeb..2165a0b8c 100644
--- a/sdk/tests/ui-core-events.test.ts
+++ b/sdk/tests/ui-core-events.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Unit tests for sdk/src/ui2/core/events.ts.
* Pure TS; no WASM / World required.
diff --git a/sdk/tests/ui-data-source.test.ts b/sdk/tests/ui-data-source.test.ts
index cf688a413..48c6aee02 100644
--- a/sdk/tests/ui-data-source.test.ts
+++ b/sdk/tests/ui-data-source.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { ArrayDataSource, arrayDataSource, type DataSourceChange } from '../src/ui';
diff --git a/sdk/tests/ui-glyph-atlas-subregion.test.ts b/sdk/tests/ui-glyph-atlas-subregion.test.ts
index a4ab1e459..54ea5135e 100644
--- a/sdk/tests/ui-glyph-atlas-subregion.test.ts
+++ b/sdk/tests/ui-glyph-atlas-subregion.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.0 — the texture sub-region upload primitive that the
* dynamic glyph atlas (P1.1) builds on. The actual GL upload needs a GL
diff --git a/sdk/tests/ui-glyph-atlas.test.ts b/sdk/tests/ui-glyph-atlas.test.ts
index d794d3bfa..b40ee8fdd 100644
--- a/sdk/tests/ui-glyph-atlas.test.ts
+++ b/sdk/tests/ui-glyph-atlas.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.1c — GlyphAtlas orchestration. The Canvas2D rasterizer
* isn't headless-renderable, so the atlas takes injectable GlyphRasterizer
diff --git a/sdk/tests/ui-layout-integration.test.ts b/sdk/tests/ui-layout-integration.test.ts
index 890e5aee4..ea94c708d 100644
--- a/sdk/tests/ui-layout-integration.test.ts
+++ b/sdk/tests/ui-layout-integration.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Integration tests: App.tick() drives UI layout via real WASM module.
*
diff --git a/sdk/tests/ui-layout-provider.test.ts b/sdk/tests/ui-layout-provider.test.ts
index eefa47d03..1d53be01d 100644
--- a/sdk/tests/ui-layout-provider.test.ts
+++ b/sdk/tests/ui-layout-provider.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { LinearLayoutProvider, GridLayoutProvider, type Rect } from '../src/ui';
diff --git a/sdk/tests/ui-list-view.test.ts b/sdk/tests/ui-list-view.test.ts
index dded49f1b..7e11cf47b 100644
--- a/sdk/tests/ui-list-view.test.ts
+++ b/sdk/tests/ui-list-view.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import {
ListView,
diff --git a/sdk/tests/ui-plugins.test.ts b/sdk/tests/ui-plugins.test.ts
index ba8a96c65..73f258923 100644
--- a/sdk/tests/ui-plugins.test.ts
+++ b/sdk/tests/ui-plugins.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Guards that the default UI plugin set wires the behavior layer.
*
diff --git a/sdk/tests/ui-scroll-container.test.ts b/sdk/tests/ui-scroll-container.test.ts
index 76dcc4e91..30ae5a664 100644
--- a/sdk/tests/ui-scroll-container.test.ts
+++ b/sdk/tests/ui-scroll-container.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { ScrollContainer, ScrollContainerRegistry } from '../src/ui';
diff --git a/sdk/tests/ui-sdf-generator.test.ts b/sdk/tests/ui-sdf-generator.test.ts
index 45927ed67..9d9da4d15 100644
--- a/sdk/tests/ui-sdf-generator.test.ts
+++ b/sdk/tests/ui-sdf-generator.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.1 — verifies the C++ 8SSEDT signed-distance-field
* generator (text/SdfGenerator.cpp) end-to-end through the `sdfFromAlpha`
diff --git a/sdk/tests/ui-slider-dropdown.test.ts b/sdk/tests/ui-slider-dropdown.test.ts
index f798ce283..b64004132 100644
--- a/sdk/tests/ui-slider-dropdown.test.ts
+++ b/sdk/tests/ui-slider-dropdown.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import {
createSlider,
diff --git a/sdk/tests/ui-state-visuals-fade.test.ts b/sdk/tests/ui-state-visuals-fade.test.ts
index 982e817b0..011e77f47 100644
--- a/sdk/tests/ui-state-visuals-fade.test.ts
+++ b/sdk/tests/ui-state-visuals-fade.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ui-state-visuals-fade.test.ts
* @brief StateVisualsApplySystem interpolates color/scale when
diff --git a/sdk/tests/ui-systems.test.ts b/sdk/tests/ui-systems.test.ts
index 357db91fa..9dd9561fb 100644
--- a/sdk/tests/ui-systems.test.ts
+++ b/sdk/tests/ui-systems.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
driverStateFor,
diff --git a/sdk/tests/ui-text-layout.test.ts b/sdk/tests/ui-text-layout.test.ts
index a2344e005..577ac05ca 100644
--- a/sdk/tests/ui-text-layout.test.ts
+++ b/sdk/tests/ui-text-layout.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.3b — pure text layout + glyph-vertex building. Driven via
* a real GlyphAtlas backed by mock rasterizer/store (no Canvas/GL), so the
diff --git a/sdk/tests/ui-text-multiline.test.ts b/sdk/tests/ui-text-multiline.test.ts
index 75a3d47ee..9810fa483 100644
--- a/sdk/tests/ui-text-multiline.test.ts
+++ b/sdk/tests/ui-text-multiline.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.4c — multi-line + alignment text layout (parity step
* toward retiring the Canvas2D Text path). Pure → headless-tested.
diff --git a/sdk/tests/ui-text-rasterizer.test.ts b/sdk/tests/ui-text-rasterizer.test.ts
index ab7010d0f..850bcf49c 100644
--- a/sdk/tests/ui-text-rasterizer.test.ts
+++ b/sdk/tests/ui-text-rasterizer.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.3b — the pure pixel transforms of the Canvas2D glyph
* rasterizer (extractAlpha + sdfToAtlasRgba) and their round-trip through
diff --git a/sdk/tests/ui-text-renderer.test.ts b/sdk/tests/ui-text-renderer.test.ts
index e04ba63c9..e0505d45c 100644
--- a/sdk/tests/ui-text-renderer.test.ts
+++ b/sdk/tests/ui-text-renderer.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.3b — drawTextWith orchestration: lays text out against a
* (mock-backed) GlyphAtlas and emits one quad batch per atlas page. Pure
diff --git a/sdk/tests/ui-text-richlayout.test.ts b/sdk/tests/ui-text-richlayout.test.ts
index f2ae3a254..020c25149 100644
--- a/sdk/tests/ui-text-richlayout.test.ts
+++ b/sdk/tests/ui-text-richlayout.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.4 — rich text layout for the SDF path. Verifies parseRichText
* runs become glyphs carrying per-run color, size and bold/italic style.
diff --git a/sdk/tests/ui-text-submit.test.ts b/sdk/tests/ui-text-submit.test.ts
index c2f632387..854261ddd 100644
--- a/sdk/tests/ui-text-submit.test.ts
+++ b/sdk/tests/ui-text-submit.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.3a — verifies the SDF glyph-quad submit binding
* (renderer_submitTextBatch) is registered on the engine module. The
diff --git a/sdk/tests/ui-text-uitext.test.ts b/sdk/tests/ui-text-uitext.test.ts
index 116e0f468..37cbf3e0d 100644
--- a/sdk/tests/ui-text-uitext.test.ts
+++ b/sdk/tests/ui-text-uitext.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.4 — composeTRS (entity world matrix) + rectTextBox
* (UIRect text placement) for the SDF text plugin. Pure → unit-tested
diff --git a/sdk/tests/ui-text-wrap.test.ts b/sdk/tests/ui-text-wrap.test.ts
index 62b5aeceb..aba48dd31 100644
--- a/sdk/tests/ui-text-wrap.test.ts
+++ b/sdk/tests/ui-text-wrap.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file REARCH_GUI P1.4c — word-wrap (parity step toward retiring Canvas2D Text,
* which has wordWrap). Greedy space-wrap + char-break for long words / CJK
diff --git a/sdk/tests/ui-view-pool.test.ts b/sdk/tests/ui-view-pool.test.ts
index adf75861f..bebaf69e7 100644
--- a/sdk/tests/ui-view-pool.test.ts
+++ b/sdk/tests/ui-view-pool.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* Unit tests for sdk/src/ui2/collection/view-pool.ts.
* Uses a minimal mock World — enough to exercise onDespawn + valid.
diff --git a/sdk/tests/ui-widgets.test.ts b/sdk/tests/ui-widgets.test.ts
index 6525f994c..1dcc65719 100644
--- a/sdk/tests/ui-widgets.test.ts
+++ b/sdk/tests/ui-widgets.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import {
createButton,
diff --git a/sdk/tests/uiLayout.test.ts b/sdk/tests/uiLayout.test.ts
index 1847681b5..9ef156bba 100644
--- a/sdk/tests/uiLayout.test.ts
+++ b/sdk/tests/uiLayout.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import { computeUIRectLayout } from '../src/ui/uiHelpers';
import type { LayoutRect, LayoutResult } from '../src/ui/uiHelpers';
diff --git a/sdk/tests/uiMath.test.ts b/sdk/tests/uiMath.test.ts
index eb60d0455..cc0413976 100644
--- a/sdk/tests/uiMath.test.ts
+++ b/sdk/tests/uiMath.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
intersectRects,
diff --git a/sdk/tests/uniform-arity.test.ts b/sdk/tests/uniform-arity.test.ts
index a5c117d16..3c50fd718 100644
--- a/sdk/tests/uniform-arity.test.ts
+++ b/sdk/tests/uniform-arity.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file uniform-arity.test.ts
* @brief classifyUniformArity — shared classifier used by both the
diff --git a/sdk/tests/validation.test.ts b/sdk/tests/validation.test.ts
index 59cd55aa1..485dd4832 100644
--- a/sdk/tests/validation.test.ts
+++ b/sdk/tests/validation.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach } from 'vitest';
import { World } from '../src/world';
import { defineComponent, defineTag } from '../src/component';
diff --git a/sdk/tests/volumeBlending.test.ts b/sdk/tests/volumeBlending.test.ts
index 8a63539ca..2afc973ad 100644
--- a/sdk/tests/volumeBlending.test.ts
+++ b/sdk/tests/volumeBlending.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect } from 'vitest';
import {
signedDistanceBox,
diff --git a/sdk/tests/wasm-bridge.test.ts b/sdk/tests/wasm-bridge.test.ts
index 413447b07..055e704e2 100644
--- a/sdk/tests/wasm-bridge.test.ts
+++ b/sdk/tests/wasm-bridge.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file wasm-bridge.test.ts
* @brief The single SDK→WASM bridge base class: it installs the terminal-abort
diff --git a/sdk/tests/wasm-scratch.test.ts b/sdk/tests/wasm-scratch.test.ts
index 78cf4eb94..8fc1fa6d0 100644
--- a/sdk/tests/wasm-scratch.test.ts
+++ b/sdk/tests/wasm-scratch.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file wasm-scratch.test.ts
* @brief withScratch frees every allocation on normal return AND on throw.
diff --git a/sdk/tests/web-audio-backend.test.ts b/sdk/tests/web-audio-backend.test.ts
index 53733b98e..eac4378c0 100644
--- a/sdk/tests/web-audio-backend.test.ts
+++ b/sdk/tests/web-audio-backend.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { WebAudioBackend } from '../src/audio/WebAudioBackend';
import { setPlatform } from '../src/platform/base';
diff --git a/sdk/tests/web-spine-provider.test.ts b/sdk/tests/web-spine-provider.test.ts
index eea5f2497..3a975dbc2 100644
--- a/sdk/tests/web-spine-provider.test.ts
+++ b/sdk/tests/web-spine-provider.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file web-spine-provider.test.ts
* @brief WebSpineWasmProvider fetches the per-version spine side modules from
diff --git a/sdk/tests/websocket.test.ts b/sdk/tests/websocket.test.ts
index 6842f64d1..038b0861e 100644
--- a/sdk/tests/websocket.test.ts
+++ b/sdk/tests/websocket.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, vi } from 'vitest';
import { GameSocket, type GameSocketOptions } from '../src/net/GameSocket';
diff --git a/sdk/tests/wechat-audio-backend.test.ts b/sdk/tests/wechat-audio-backend.test.ts
index 4f339dab1..b6ffb2fd4 100644
--- a/sdk/tests/wechat-audio-backend.test.ts
+++ b/sdk/tests/wechat-audio-backend.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { WeChatAudioBackend } from '../src/audio/WeChatAudioBackend';
diff --git a/sdk/tests/world.test.ts b/sdk/tests/world.test.ts
index 4ad5ae2d4..01e325f56 100644
--- a/sdk/tests/world.test.ts
+++ b/sdk/tests/world.test.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { World, computeQueryCacheKey } from '../src/world';
import { defineComponent, defineTag, defineBuiltin, Name } from '../src/component';
diff --git a/sdk/vitest.config.ts b/sdk/vitest.config.ts
index c4a8a1890..a6bfbae14 100644
--- a/sdk/vitest.config.ts
+++ b/sdk/vitest.config.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineConfig } from 'vitest/config';
import path from 'path';
diff --git a/sdk/web/src/config.ts b/sdk/web/src/config.ts
index e9707e89d..583fa3551 100644
--- a/sdk/web/src/config.ts
+++ b/sdk/web/src/config.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file config.ts
* @brief Module configuration for ESEngine
diff --git a/sdk/web/src/index.ts b/sdk/web/src/index.ts
index 24fa44b79..ccc7aff0b 100644
--- a/sdk/web/src/index.ts
+++ b/sdk/web/src/index.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief ESEngine Web Loader
diff --git a/sdk/web/src/loader.ts b/sdk/web/src/loader.ts
index 87baf9d2a..b96290e91 100644
--- a/sdk/web/src/loader.ts
+++ b/sdk/web/src/loader.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file loader.ts
* @brief ESEngine modular WASM loader
diff --git a/sdk/web/src/presets.ts b/sdk/web/src/presets.ts
index 8c66e953e..94a4b5a01 100644
--- a/sdk/web/src/presets.ts
+++ b/sdk/web/src/presets.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file presets.ts
* @brief ESEngine loader entry point
diff --git a/sdk/web/src/types.ts b/sdk/web/src/types.ts
index ba57369d3..45d3b0cd4 100644
--- a/sdk/web/src/types.ts
+++ b/sdk/web/src/types.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file types.ts
* @brief Type definitions for ESEngine Web Loader
diff --git a/sdk/web/tsup.config.ts b/sdk/web/tsup.config.ts
index c28cb8e55..145b13914 100644
--- a/sdk/web/tsup.config.ts
+++ b/sdk/web/tsup.config.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineConfig } from 'tsup';
export default defineConfig({
diff --git a/src/esengine/ESEngine.hpp b/src/esengine/ESEngine.hpp
index 7f3808f19..55f68d5cc 100644
--- a/src/esengine/ESEngine.hpp
+++ b/src/esengine/ESEngine.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ESEngine.hpp
* @brief Main header file for ESEngine - includes all public API
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
@@ -55,3 +57,13 @@
/** @brief Full version string */
#define ESENGINE_VERSION_STRING "0.1.0"
+/**
+ * @brief Build provenance signature.
+ *
+ * A stable, project-unique marker compiled into the runtime binary so the
+ * origin of a shipped build can be verified (it survives in `esengine.wasm`
+ * and is recoverable with `strings`). Authorship/anti-tamper aid — do not
+ * remove or alter.
+ */
+#define ESENGINE_BUILD_PROVENANCE "estella-build:9abbd5b4-06f3-47df-b968-826763c6879a"
+
diff --git a/src/esengine/animation/EasingFunctions.hpp b/src/esengine/animation/EasingFunctions.hpp
index 0537eb616..f318a33d9 100644
--- a/src/esengine/animation/EasingFunctions.hpp
+++ b/src/esengine/animation/EasingFunctions.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/animation/TweenData.hpp b/src/esengine/animation/TweenData.hpp
index 36102f958..9675eae79 100644
--- a/src/esengine/animation/TweenData.hpp
+++ b/src/esengine/animation/TweenData.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/animation/TweenSystem.cpp b/src/esengine/animation/TweenSystem.cpp
index 92514b6a9..044898702 100644
--- a/src/esengine/animation/TweenSystem.cpp
+++ b/src/esengine/animation/TweenSystem.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "TweenSystem.hpp"
#include "EasingFunctions.hpp"
#include "../ecs/components/Transform.hpp"
diff --git a/src/esengine/animation/TweenSystem.hpp b/src/esengine/animation/TweenSystem.hpp
index 948f31d7a..967204439 100644
--- a/src/esengine/animation/TweenSystem.hpp
+++ b/src/esengine/animation/TweenSystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/bindings/ActiveContext.hpp b/src/esengine/bindings/ActiveContext.hpp
index 2e24c36eb..5c6e88a1e 100644
--- a/src/esengine/bindings/ActiveContext.hpp
+++ b/src/esengine/bindings/ActiveContext.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
diff --git a/src/esengine/bindings/BasisModuleEntry.cpp b/src/esengine/bindings/BasisModuleEntry.cpp
index 4992a2f6b..becdb4ebf 100644
--- a/src/esengine/bindings/BasisModuleEntry.cpp
+++ b/src/esengine/bindings/BasisModuleEntry.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BasisModuleEntry.cpp
* @brief Emscripten module: Basis Universal KTX2 transcoder (RC6 Batch C3)
diff --git a/src/esengine/bindings/EngineContext.cpp b/src/esengine/bindings/EngineContext.cpp
index 0ad9cc862..010a61d4e 100644
--- a/src/esengine/bindings/EngineContext.cpp
+++ b/src/esengine/bindings/EngineContext.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "EngineContext.hpp"
diff --git a/src/esengine/bindings/EngineContext.hpp b/src/esengine/bindings/EngineContext.hpp
index a8da6d696..0508bf881 100644
--- a/src/esengine/bindings/EngineContext.hpp
+++ b/src/esengine/bindings/EngineContext.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
diff --git a/src/esengine/bindings/EngineState.hpp b/src/esengine/bindings/EngineState.hpp
index f62f6b089..952c9921a 100644
--- a/src/esengine/bindings/EngineState.hpp
+++ b/src/esengine/bindings/EngineState.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include <glm/glm.hpp>
diff --git a/src/esengine/bindings/GeometryBindings.cpp b/src/esengine/bindings/GeometryBindings.cpp
index 41e85a3ab..2c5335b54 100644
--- a/src/esengine/bindings/GeometryBindings.cpp
+++ b/src/esengine/bindings/GeometryBindings.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "GeometryBindings.hpp"
#include "ActiveContext.hpp"
diff --git a/src/esengine/bindings/GeometryBindings.hpp b/src/esengine/bindings/GeometryBindings.hpp
index c0578028b..6e41c70bc 100644
--- a/src/esengine/bindings/GeometryBindings.hpp
+++ b/src/esengine/bindings/GeometryBindings.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
diff --git a/src/esengine/bindings/ImmediateDrawBindings.cpp b/src/esengine/bindings/ImmediateDrawBindings.cpp
index e2ce79df3..6eb1a5340 100644
--- a/src/esengine/bindings/ImmediateDrawBindings.cpp
+++ b/src/esengine/bindings/ImmediateDrawBindings.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "ImmediateDrawBindings.hpp"
#include "ActiveContext.hpp"
diff --git a/src/esengine/bindings/ImmediateDrawBindings.hpp b/src/esengine/bindings/ImmediateDrawBindings.hpp
index 104a538ee..89cf7ddf5 100644
--- a/src/esengine/bindings/ImmediateDrawBindings.hpp
+++ b/src/esengine/bindings/ImmediateDrawBindings.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
diff --git a/src/esengine/bindings/MaterialCache.hpp b/src/esengine/bindings/MaterialCache.hpp
index ba10b4a93..91bfb6e6f 100644
--- a/src/esengine/bindings/MaterialCache.hpp
+++ b/src/esengine/bindings/MaterialCache.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/bindings/PhysicsContext.cpp b/src/esengine/bindings/PhysicsContext.cpp
index 87e6c6c5e..371a843f1 100644
--- a/src/esengine/bindings/PhysicsContext.cpp
+++ b/src/esengine/bindings/PhysicsContext.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "PhysicsContext.hpp"
PhysicsContext g_ctx;
diff --git a/src/esengine/bindings/PhysicsContext.hpp b/src/esengine/bindings/PhysicsContext.hpp
index ee42b9de1..18c59de7c 100644
--- a/src/esengine/bindings/PhysicsContext.hpp
+++ b/src/esengine/bindings/PhysicsContext.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include <emscripten.h>
diff --git a/src/esengine/bindings/PhysicsJoints.cpp b/src/esengine/bindings/PhysicsJoints.cpp
index bbbf5b7af..0d20c5640 100644
--- a/src/esengine/bindings/PhysicsJoints.cpp
+++ b/src/esengine/bindings/PhysicsJoints.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "PhysicsContext.hpp"
#include <cmath>
diff --git a/src/esengine/bindings/PhysicsModuleEntry.cpp b/src/esengine/bindings/PhysicsModuleEntry.cpp
index f66341a2e..a6cf18f4c 100644
--- a/src/esengine/bindings/PhysicsModuleEntry.cpp
+++ b/src/esengine/bindings/PhysicsModuleEntry.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "PhysicsContext.hpp"
#include <algorithm>
diff --git a/src/esengine/bindings/PhysicsQueries.cpp b/src/esengine/bindings/PhysicsQueries.cpp
index 8edd4398d..7074056fc 100644
--- a/src/esengine/bindings/PhysicsQueries.cpp
+++ b/src/esengine/bindings/PhysicsQueries.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "PhysicsContext.hpp"
static float raycastCallback(b2ShapeId shapeId, b2Vec2 point, b2Vec2 normal, float fraction, void* context) {
diff --git a/src/esengine/bindings/PhysicsShapes.cpp b/src/esengine/bindings/PhysicsShapes.cpp
index cfec141db..3dfb0141b 100644
--- a/src/esengine/bindings/PhysicsShapes.cpp
+++ b/src/esengine/bindings/PhysicsShapes.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "PhysicsContext.hpp"
extern "C" {
diff --git a/src/esengine/bindings/PostProcessBindings.cpp b/src/esengine/bindings/PostProcessBindings.cpp
index 3ec2aebc5..419d59220 100644
--- a/src/esengine/bindings/PostProcessBindings.cpp
+++ b/src/esengine/bindings/PostProcessBindings.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#ifdef ES_ENABLE_POSTPROCESS
#include "PostProcessBindings.hpp"
diff --git a/src/esengine/bindings/PostProcessBindings.hpp b/src/esengine/bindings/PostProcessBindings.hpp
index 7c0c8481c..d1f9ea924 100644
--- a/src/esengine/bindings/PostProcessBindings.hpp
+++ b/src/esengine/bindings/PostProcessBindings.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
diff --git a/src/esengine/bindings/RendererBindings.cpp b/src/esengine/bindings/RendererBindings.cpp
index 1261d6369..29452f729 100644
--- a/src/esengine/bindings/RendererBindings.cpp
+++ b/src/esengine/bindings/RendererBindings.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "RendererBindings.hpp"
#include "ActiveContext.hpp"
diff --git a/src/esengine/bindings/RendererBindings.hpp b/src/esengine/bindings/RendererBindings.hpp
index 14ec856dd..da3536b80 100644
--- a/src/esengine/bindings/RendererBindings.hpp
+++ b/src/esengine/bindings/RendererBindings.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
diff --git a/src/esengine/bindings/ResourceManagerBindings.cpp b/src/esengine/bindings/ResourceManagerBindings.cpp
index ee58b8a87..110290d95 100644
--- a/src/esengine/bindings/ResourceManagerBindings.cpp
+++ b/src/esengine/bindings/ResourceManagerBindings.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "ResourceManagerBindings.hpp"
#include "../resource/TextureMetadata.hpp"
diff --git a/src/esengine/bindings/ResourceManagerBindings.hpp b/src/esengine/bindings/ResourceManagerBindings.hpp
index 0a4f99fe3..7c6ee1c8b 100644
--- a/src/esengine/bindings/ResourceManagerBindings.hpp
+++ b/src/esengine/bindings/ResourceManagerBindings.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
diff --git a/src/esengine/bindings/SpineModuleEntry.cpp b/src/esengine/bindings/SpineModuleEntry.cpp
index b95b71268..658cae6a7 100644
--- a/src/esengine/bindings/SpineModuleEntry.cpp
+++ b/src/esengine/bindings/SpineModuleEntry.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SpineModuleEntry.cpp
* @brief Standalone Spine WASM module entry point
diff --git a/src/esengine/bindings/TilemapBindings.cpp b/src/esengine/bindings/TilemapBindings.cpp
index f7b36666c..7b5e1cf7e 100644
--- a/src/esengine/bindings/TilemapBindings.cpp
+++ b/src/esengine/bindings/TilemapBindings.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#ifdef ES_ENABLE_TILEMAP
#include "ActiveContext.hpp"
diff --git a/src/esengine/bindings/WebSDKEntry.cpp b/src/esengine/bindings/WebSDKEntry.cpp
index 7d734a4c2..794d3618f 100644
--- a/src/esengine/bindings/WebSDKEntry.cpp
+++ b/src/esengine/bindings/WebSDKEntry.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file WebSDKEntry.cpp
* @brief ESEngine Web SDK entry point with rendering support
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
@@ -201,6 +203,14 @@ bool initRendererInternal(const char* canvasSelector) {
}
ES_LOG_INFO("WebGL2 context created for '{}'", canvasSelector);
+
+ // Build provenance signature — kept self-contained (not via the umbrella
+ // header) so the literal is guaranteed to land in this translation unit and
+ // survive in the shipped binary. Emitted once at init as an origin marker.
+ static constexpr const char* kEstellaBuildProvenance =
+ "estella-build:9abbd5b4-06f3-47df-b968-826763c6879a";
+ ES_LOG_INFO("Estella runtime provenance {}", kEstellaBuildProvenance);
+
g_activeContext = &legacyCtx().context();
return g_activeContext->init(static_cast<int>(webglCtx));
}
diff --git a/src/esengine/core/EstellaContext.cpp b/src/esengine/core/EstellaContext.cpp
index 50a33ef69..bfd083aea 100644
--- a/src/esengine/core/EstellaContext.cpp
+++ b/src/esengine/core/EstellaContext.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file EstellaContext.cpp
* @brief Instance-based engine context implementation
diff --git a/src/esengine/core/EstellaContext.hpp b/src/esengine/core/EstellaContext.hpp
index e8661e754..36e54ea31 100644
--- a/src/esengine/core/EstellaContext.hpp
+++ b/src/esengine/core/EstellaContext.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file EstellaContext.hpp
* @brief Instance-based engine context for estella renderer
diff --git a/src/esengine/core/Log.cpp b/src/esengine/core/Log.cpp
index 1873cd475..ad7a73f7d 100644
--- a/src/esengine/core/Log.cpp
+++ b/src/esengine/core/Log.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Log.cpp
* @brief Logging system implementation
@@ -7,7 +9,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "Log.hpp"
diff --git a/src/esengine/core/Log.hpp b/src/esengine/core/Log.hpp
index 1761338f6..20a385693 100644
--- a/src/esengine/core/Log.hpp
+++ b/src/esengine/core/Log.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Log.hpp
* @brief Logging utilities for ESEngine
@@ -8,7 +10,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/core/PackedId.hpp b/src/esengine/core/PackedId.hpp
index 428ac86c8..b12275f07 100644
--- a/src/esengine/core/PackedId.hpp
+++ b/src/esengine/core/PackedId.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PackedId.hpp
* @brief Single source of truth for index+generation bit-packing.
@@ -23,7 +25,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/core/Reflection.hpp b/src/esengine/core/Reflection.hpp
index 38a90bd59..c6d39b13a 100644
--- a/src/esengine/core/Reflection.hpp
+++ b/src/esengine/core/Reflection.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Reflection.hpp
* @brief Reflection and metadata system for automatic binding generation
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/core/RuntimeConfig.hpp b/src/esengine/core/RuntimeConfig.hpp
index 95dede74a..4ee4515fd 100644
--- a/src/esengine/core/RuntimeConfig.hpp
+++ b/src/esengine/core/RuntimeConfig.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file RuntimeConfig.hpp
* @brief Runtime configuration for engine mode detection
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/core/ServiceRegistry.hpp b/src/esengine/core/ServiceRegistry.hpp
index 8f216ab12..1eb0628cb 100644
--- a/src/esengine/core/ServiceRegistry.hpp
+++ b/src/esengine/core/ServiceRegistry.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ServiceRegistry.hpp
* @brief Typed service locator for engine subsystems
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/core/Types.hpp b/src/esengine/core/Types.hpp
index 7cee636b8..5ba4188dd 100644
--- a/src/esengine/core/Types.hpp
+++ b/src/esengine/core/Types.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Types.hpp
* @brief Core type definitions and utilities for ESEngine
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/core/UITypes.hpp b/src/esengine/core/UITypes.hpp
index db3fa2d8b..e27295a6a 100644
--- a/src/esengine/core/UITypes.hpp
+++ b/src/esengine/core/UITypes.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "Types.hpp"
@@ -11,4 +13,19 @@ struct Padding {
f32 bottom{0.0f};
};
+/**
+ * @brief A CSS-style length: `value` interpreted per `unit`.
+ *
+ * The runtime UI box model (REARCH_GUI F2/F3, see docs/REARCH_GUI.md) uses
+ * Dimension for width/height/min/max/inset so one field can be pixels, a
+ * percentage of the parent, or content-driven — retiring the old
+ * size/offset/`-1`-sentinel scheme. Kept a flat POD (f32 + u8) so it serializes
+ * through the existing EHT codegen as a registered custom struct (no per-glyph
+ * unrolling). `unit` mirrors the TS `DimensionUnit` enum: 0=Px, 1=Percent, 2=Auto.
+ */
+struct Dimension {
+ f32 value{0.0f};
+ u8 unit{0}; // 0=Px, 1=Percent, 2=Auto
+};
+
} // namespace esengine
diff --git a/src/esengine/core/World.hpp b/src/esengine/core/World.hpp
index 5d9eda8f5..b15079dcb 100644
--- a/src/esengine/core/World.hpp
+++ b/src/esengine/core/World.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file World.hpp
* @brief Unified context passed to all ECS systems
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/Component.hpp b/src/esengine/ecs/Component.hpp
index 7f9aa229b..d9bb8d98d 100644
--- a/src/esengine/ecs/Component.hpp
+++ b/src/esengine/ecs/Component.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Component.hpp
* @brief Unified header for all built-in ECS components
@@ -17,7 +19,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/ComponentMask.hpp b/src/esengine/ecs/ComponentMask.hpp
index 152c09251..3e5fc1d5e 100644
--- a/src/esengine/ecs/ComponentMask.hpp
+++ b/src/esengine/ecs/ComponentMask.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ComponentMask.hpp
* @brief Dynamic bitset for tracking entity component membership
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/Entity.hpp b/src/esengine/ecs/Entity.hpp
index 6daf0a2bd..f2840cb2e 100644
--- a/src/esengine/ecs/Entity.hpp
+++ b/src/esengine/ecs/Entity.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Entity.hpp
* @brief Entity utilities for the ECS system
@@ -10,7 +12,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/Registry.hpp b/src/esengine/ecs/Registry.hpp
index d3a2552c3..d6cb31edc 100644
--- a/src/esengine/ecs/Registry.hpp
+++ b/src/esengine/ecs/Registry.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Registry.hpp
* @brief Central ECS registry for entity and component management
@@ -9,7 +11,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/SparseSet.hpp b/src/esengine/ecs/SparseSet.hpp
index 3b33836d0..00e77e80f 100644
--- a/src/esengine/ecs/SparseSet.hpp
+++ b/src/esengine/ecs/SparseSet.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SparseSet.hpp
* @brief Sparse set data structure for efficient ECS component storage
@@ -9,7 +11,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/System.hpp b/src/esengine/ecs/System.hpp
index 20d0a152e..060615afb 100644
--- a/src/esengine/ecs/System.hpp
+++ b/src/esengine/ecs/System.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file System.hpp
* @brief ECS System base class and execution group
@@ -8,7 +10,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/TransformSystem.hpp b/src/esengine/ecs/TransformSystem.hpp
index d3af0cc20..2f64b0de0 100644
--- a/src/esengine/ecs/TransformSystem.hpp
+++ b/src/esengine/ecs/TransformSystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TransformSystem.hpp
* @brief System for computing hierarchical world transforms
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/UIHitTestSystem.hpp b/src/esengine/ecs/UIHitTestSystem.hpp
index 2c2ccede5..4dcbf36c0 100644
--- a/src/esengine/ecs/UIHitTestSystem.hpp
+++ b/src/esengine/ecs/UIHitTestSystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file UIHitTestSystem.hpp
* @brief Pure geometric helpers used by UISystem hit-test
diff --git a/src/esengine/ecs/UILayoutSystem.cpp b/src/esengine/ecs/UILayoutSystem.cpp
index b2d175d1f..9b67c75a4 100644
--- a/src/esengine/ecs/UILayoutSystem.cpp
+++ b/src/esengine/ecs/UILayoutSystem.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "UILayoutSystem.hpp"
#include "UISystem.hpp"
diff --git a/src/esengine/ecs/UILayoutSystem.hpp b/src/esengine/ecs/UILayoutSystem.hpp
index 8bbbadc7a..9e15dc265 100644
--- a/src/esengine/ecs/UILayoutSystem.hpp
+++ b/src/esengine/ecs/UILayoutSystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "Registry.hpp"
diff --git a/src/esengine/ecs/UIRenderOrderSystem.hpp b/src/esengine/ecs/UIRenderOrderSystem.hpp
index 4612e32d1..7bfdefbf6 100644
--- a/src/esengine/ecs/UIRenderOrderSystem.hpp
+++ b/src/esengine/ecs/UIRenderOrderSystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "Registry.hpp"
diff --git a/src/esengine/ecs/UISystem.cpp b/src/esengine/ecs/UISystem.cpp
index 52e6d3fe2..b65550616 100644
--- a/src/esengine/ecs/UISystem.cpp
+++ b/src/esengine/ecs/UISystem.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file UISystem.cpp
* @brief UISystem hit-test implementation
diff --git a/src/esengine/ecs/UISystem.hpp b/src/esengine/ecs/UISystem.hpp
index 4f156ae20..cb0480743 100644
--- a/src/esengine/ecs/UISystem.hpp
+++ b/src/esengine/ecs/UISystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file UISystem.hpp
* @brief UI subsystem owning layout tree and hit-test state
diff --git a/src/esengine/ecs/UITree.hpp b/src/esengine/ecs/UITree.hpp
index 8f174a16b..f27675524 100644
--- a/src/esengine/ecs/UITree.hpp
+++ b/src/esengine/ecs/UITree.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "Registry.hpp"
diff --git a/src/esengine/ecs/View.hpp b/src/esengine/ecs/View.hpp
index cf6232244..b7bf1bbca 100644
--- a/src/esengine/ecs/View.hpp
+++ b/src/esengine/ecs/View.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file View.hpp
* @brief ECS View for querying entities with specific components
@@ -8,7 +10,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/BitmapText.hpp b/src/esengine/ecs/components/BitmapText.hpp
index cc03d406c..311414a22 100644
--- a/src/esengine/ecs/components/BitmapText.hpp
+++ b/src/esengine/ecs/components/BitmapText.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/Camera.hpp b/src/esengine/ecs/components/Camera.hpp
index 562e1f178..5b0c1298b 100644
--- a/src/esengine/ecs/components/Camera.hpp
+++ b/src/esengine/ecs/components/Camera.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Camera.hpp
* @brief Camera component for rendering viewpoints
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/Canvas.hpp b/src/esengine/ecs/components/Canvas.hpp
index d98957671..d1ad0d43d 100644
--- a/src/esengine/ecs/components/Canvas.hpp
+++ b/src/esengine/ecs/components/Canvas.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Canvas.hpp
* @brief Canvas component for 2D game resolution management
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/Collider.hpp b/src/esengine/ecs/components/Collider.hpp
index 8f931f1cf..dc50ee608 100644
--- a/src/esengine/ecs/components/Collider.hpp
+++ b/src/esengine/ecs/components/Collider.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/Common.hpp b/src/esengine/ecs/components/Common.hpp
index b3e25f103..ecbda1ce7 100644
--- a/src/esengine/ecs/components/Common.hpp
+++ b/src/esengine/ecs/components/Common.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Common.hpp
* @brief Common tag and identifier components
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/FlexContainer.hpp b/src/esengine/ecs/components/FlexContainer.hpp
index 8777ff7a4..42edf6ad7 100644
--- a/src/esengine/ecs/components/FlexContainer.hpp
+++ b/src/esengine/ecs/components/FlexContainer.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/FlexItem.hpp b/src/esengine/ecs/components/FlexItem.hpp
index a96c2cb22..f3e60029c 100644
--- a/src/esengine/ecs/components/FlexItem.hpp
+++ b/src/esengine/ecs/components/FlexItem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/GridLayout.hpp b/src/esengine/ecs/components/GridLayout.hpp
index b26901df0..e4fe9c8ce 100644
--- a/src/esengine/ecs/components/GridLayout.hpp
+++ b/src/esengine/ecs/components/GridLayout.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/Hierarchy.hpp b/src/esengine/ecs/components/Hierarchy.hpp
index 9642dcbac..39a96816f 100644
--- a/src/esengine/ecs/components/Hierarchy.hpp
+++ b/src/esengine/ecs/components/Hierarchy.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Hierarchy.hpp
* @brief Hierarchy components for parent-child relationships
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/Interactable.hpp b/src/esengine/ecs/components/Interactable.hpp
index c00c157b5..fdf528ecf 100644
--- a/src/esengine/ecs/components/Interactable.hpp
+++ b/src/esengine/ecs/components/Interactable.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/ParticleEmitter.hpp b/src/esengine/ecs/components/ParticleEmitter.hpp
index c1ef5cbb4..e8f6cd3a4 100644
--- a/src/esengine/ecs/components/ParticleEmitter.hpp
+++ b/src/esengine/ecs/components/ParticleEmitter.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/RigidBody.hpp b/src/esengine/ecs/components/RigidBody.hpp
index 718f9f503..fd77dad14 100644
--- a/src/esengine/ecs/components/RigidBody.hpp
+++ b/src/esengine/ecs/components/RigidBody.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/Script.hpp b/src/esengine/ecs/components/Script.hpp
index 45e990261..222639fe4 100644
--- a/src/esengine/ecs/components/Script.hpp
+++ b/src/esengine/ecs/components/Script.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Script.hpp
* @brief Script component for attaching JavaScript behaviors to entities
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/ShapeRenderer.hpp b/src/esengine/ecs/components/ShapeRenderer.hpp
index 50bb089e1..c8bf4f474 100644
--- a/src/esengine/ecs/components/ShapeRenderer.hpp
+++ b/src/esengine/ecs/components/ShapeRenderer.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/SpineAnimation.hpp b/src/esengine/ecs/components/SpineAnimation.hpp
index f7c5bcac6..36fc72da4 100644
--- a/src/esengine/ecs/components/SpineAnimation.hpp
+++ b/src/esengine/ecs/components/SpineAnimation.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file SpineAnimation.hpp
* @brief Spine skeletal animation component
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/Sprite.hpp b/src/esengine/ecs/components/Sprite.hpp
index cff4d3591..be0b0c5c9 100644
--- a/src/esengine/ecs/components/Sprite.hpp
+++ b/src/esengine/ecs/components/Sprite.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Sprite.hpp
* @brief 2D sprite rendering component
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/StateMachine.hpp b/src/esengine/ecs/components/StateMachine.hpp
index 39d73524c..1fc20303a 100644
--- a/src/esengine/ecs/components/StateMachine.hpp
+++ b/src/esengine/ecs/components/StateMachine.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/StateVisuals.hpp b/src/esengine/ecs/components/StateVisuals.hpp
index cf59e02cd..8e59cc757 100644
--- a/src/esengine/ecs/components/StateVisuals.hpp
+++ b/src/esengine/ecs/components/StateVisuals.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/TilemapLayer.hpp b/src/esengine/ecs/components/TilemapLayer.hpp
index f0e7edb12..10d181d29 100644
--- a/src/esengine/ecs/components/TilemapLayer.hpp
+++ b/src/esengine/ecs/components/TilemapLayer.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TilemapLayer.hpp
* @brief Tilemap layer ECS component (editor-facing metadata)
diff --git a/src/esengine/ecs/components/Transform.hpp b/src/esengine/ecs/components/Transform.hpp
index ed9d05dbf..47b9c7ec3 100644
--- a/src/esengine/ecs/components/Transform.hpp
+++ b/src/esengine/ecs/components/Transform.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Transform.hpp
* @brief Unified Transform component with local and world-space data
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/ecs/components/UIInteraction.hpp b/src/esengine/ecs/components/UIInteraction.hpp
index aeb88e5ed..c7a8f2a5c 100644
--- a/src/esengine/ecs/components/UIInteraction.hpp
+++ b/src/esengine/ecs/components/UIInteraction.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/UIMask.hpp b/src/esengine/ecs/components/UIMask.hpp
index 140cf7382..4e47cebae 100644
--- a/src/esengine/ecs/components/UIMask.hpp
+++ b/src/esengine/ecs/components/UIMask.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/UIRect.hpp b/src/esengine/ecs/components/UIRect.hpp
index f17a55c8f..4d69676d8 100644
--- a/src/esengine/ecs/components/UIRect.hpp
+++ b/src/esengine/ecs/components/UIRect.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/UIRenderer.hpp b/src/esengine/ecs/components/UIRenderer.hpp
index b1a10a792..c4eefcb7c 100644
--- a/src/esengine/ecs/components/UIRenderer.hpp
+++ b/src/esengine/ecs/components/UIRenderer.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../../core/Types.hpp"
diff --git a/src/esengine/ecs/components/Velocity.hpp b/src/esengine/ecs/components/Velocity.hpp
index 5c3545a7b..e97175560 100644
--- a/src/esengine/ecs/components/Velocity.hpp
+++ b/src/esengine/ecs/components/Velocity.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Velocity.hpp
* @brief Velocity component for physics simulation
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/events/Connection.hpp b/src/esengine/events/Connection.hpp
index bcdc66c22..d4a85102b 100644
--- a/src/esengine/events/Connection.hpp
+++ b/src/esengine/events/Connection.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Connection.hpp
* @brief RAII connection handle for event system
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/events/Dispatcher.hpp b/src/esengine/events/Dispatcher.hpp
index c634d5d77..5d3e3bda7 100644
--- a/src/esengine/events/Dispatcher.hpp
+++ b/src/esengine/events/Dispatcher.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Dispatcher.hpp
* @brief Central event dispatcher using type-indexed signals
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/events/Events.hpp b/src/esengine/events/Events.hpp
index e2f623d61..4776551b1 100644
--- a/src/esengine/events/Events.hpp
+++ b/src/esengine/events/Events.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Events.hpp
* @brief Aggregate header for the event system
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/events/Signal.hpp b/src/esengine/events/Signal.hpp
index 194d80344..1c6a4d137 100644
--- a/src/esengine/events/Signal.hpp
+++ b/src/esengine/events/Signal.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Signal.hpp
* @brief Type-safe signal implementation for event system
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/events/Sink.hpp b/src/esengine/events/Sink.hpp
index 39a2f3071..47ae98ade 100644
--- a/src/esengine/events/Sink.hpp
+++ b/src/esengine/events/Sink.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Sink.hpp
* @brief Connection interface for signals
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/math/Math.hpp b/src/esengine/math/Math.hpp
index 2eb734089..9623df167 100644
--- a/src/esengine/math/Math.hpp
+++ b/src/esengine/math/Math.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Math.hpp
* @brief Math utilities and GLM configuration for ESEngine
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/particle/Particle.cpp b/src/esengine/particle/Particle.cpp
index 9396d9156..06a238afb 100644
--- a/src/esengine/particle/Particle.cpp
+++ b/src/esengine/particle/Particle.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "Particle.hpp"
namespace esengine::particle {
diff --git a/src/esengine/particle/Particle.hpp b/src/esengine/particle/Particle.hpp
index 8f108f6a7..98518312b 100644
--- a/src/esengine/particle/Particle.hpp
+++ b/src/esengine/particle/Particle.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/particle/ParticleEasing.hpp b/src/esengine/particle/ParticleEasing.hpp
index 3bb2e2780..0592cc1d2 100644
--- a/src/esengine/particle/ParticleEasing.hpp
+++ b/src/esengine/particle/ParticleEasing.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/particle/ParticleSystem.cpp b/src/esengine/particle/ParticleSystem.cpp
index 4899b7278..f20428a95 100644
--- a/src/esengine/particle/ParticleSystem.cpp
+++ b/src/esengine/particle/ParticleSystem.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "ParticleSystem.hpp"
#include <algorithm>
diff --git a/src/esengine/particle/ParticleSystem.hpp b/src/esengine/particle/ParticleSystem.hpp
index aeea2c6ee..9a9341510 100644
--- a/src/esengine/particle/ParticleSystem.hpp
+++ b/src/esengine/particle/ParticleSystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/platform/FileSystem.hpp b/src/esengine/platform/FileSystem.hpp
index 272476169..c921edfe6 100644
--- a/src/esengine/platform/FileSystem.hpp
+++ b/src/esengine/platform/FileSystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file FileSystem.hpp
* @brief Cross-platform file system abstraction with hot reload support
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/platform/PathResolver.cpp b/src/esengine/platform/PathResolver.cpp
index e7cd6018e..0f978db26 100644
--- a/src/esengine/platform/PathResolver.cpp
+++ b/src/esengine/platform/PathResolver.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PathResolver.cpp
* @brief Cross-platform path resolution implementation
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "PathResolver.hpp"
diff --git a/src/esengine/platform/PathResolver.hpp b/src/esengine/platform/PathResolver.hpp
index 52d19e5b3..c654d2728 100644
--- a/src/esengine/platform/PathResolver.hpp
+++ b/src/esengine/platform/PathResolver.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PathResolver.hpp
* @brief Cross-platform path resolution for editor and project resources
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/platform/web/WebFileSystem.cpp b/src/esengine/platform/web/WebFileSystem.cpp
index 2b20627a1..6a8608856 100644
--- a/src/esengine/platform/web/WebFileSystem.cpp
+++ b/src/esengine/platform/web/WebFileSystem.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file WebFileSystem.cpp
* @brief Web platform file system implementation (Emscripten)
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "../FileSystem.hpp"
diff --git a/src/esengine/platform/web/wxgame-pre.js b/src/esengine/platform/web/wxgame-pre.js
index dfbb07839..efef61d37 100644
--- a/src/esengine/platform/web/wxgame-pre.js
+++ b/src/esengine/platform/web/wxgame-pre.js
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
// Emscripten extern-pre-js for WeChat MiniGame
// Provides minimal browser globals that -sENVIRONMENT=web assumes exist.
// Injected OUTSIDE the module IIFE, so these are available at module evaluation time.
diff --git a/src/esengine/renderer/BatchBuilder.cpp b/src/esengine/renderer/BatchBuilder.cpp
index d31acc0fb..96dc39bf8 100644
--- a/src/esengine/renderer/BatchBuilder.cpp
+++ b/src/esengine/renderer/BatchBuilder.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BatchBuilder.cpp
* @brief Implementation of the shared batch submission primitive.
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "BatchBuilder.hpp"
diff --git a/src/esengine/renderer/BatchBuilder.hpp b/src/esengine/renderer/BatchBuilder.hpp
index ff511a4e4..062237de1 100644
--- a/src/esengine/renderer/BatchBuilder.hpp
+++ b/src/esengine/renderer/BatchBuilder.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BatchBuilder.hpp
* @brief Backend-agnostic batch submission primitive shared by every batch render path.
@@ -12,7 +14,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/BatchVertex.hpp b/src/esengine/renderer/BatchVertex.hpp
index 827a71ebd..90dec4db3 100644
--- a/src/esengine/renderer/BatchVertex.hpp
+++ b/src/esengine/renderer/BatchVertex.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/BlendMode.hpp b/src/esengine/renderer/BlendMode.hpp
index 3e8e20195..43b0c3732 100644
--- a/src/esengine/renderer/BlendMode.hpp
+++ b/src/esengine/renderer/BlendMode.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BlendMode.hpp
* @brief Blend mode enumeration for custom rendering
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/Buffer.cpp b/src/esengine/renderer/Buffer.cpp
index ac39368c5..d0dd50832 100644
--- a/src/esengine/renderer/Buffer.cpp
+++ b/src/esengine/renderer/Buffer.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Buffer.cpp
* @brief GPU buffer implementations (device-backed)
@@ -8,7 +10,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "Buffer.hpp"
diff --git a/src/esengine/renderer/Buffer.hpp b/src/esengine/renderer/Buffer.hpp
index 29a893ee0..79128346c 100644
--- a/src/esengine/renderer/Buffer.hpp
+++ b/src/esengine/renderer/Buffer.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Buffer.hpp
* @brief GPU buffer abstractions for vertex and index data
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/ClipState.hpp b/src/esengine/renderer/ClipState.hpp
index ca3669baf..97074c909 100644
--- a/src/esengine/renderer/ClipState.hpp
+++ b/src/esengine/renderer/ClipState.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/CustomGeometry.cpp b/src/esengine/renderer/CustomGeometry.cpp
index 3d187e788..a97a32336 100644
--- a/src/esengine/renderer/CustomGeometry.cpp
+++ b/src/esengine/renderer/CustomGeometry.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file CustomGeometry.cpp
* @brief Custom geometry implementation
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "CustomGeometry.hpp"
diff --git a/src/esengine/renderer/CustomGeometry.hpp b/src/esengine/renderer/CustomGeometry.hpp
index 777bcc380..342e5cb84 100644
--- a/src/esengine/renderer/CustomGeometry.hpp
+++ b/src/esengine/renderer/CustomGeometry.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file CustomGeometry.hpp
* @brief Custom geometry for user-defined mesh rendering
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/DrawCommand.hpp b/src/esengine/renderer/DrawCommand.hpp
index ffafa1dff..58d50bc51 100644
--- a/src/esengine/renderer/DrawCommand.hpp
+++ b/src/esengine/renderer/DrawCommand.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/DrawList.cpp b/src/esengine/renderer/DrawList.cpp
index 5588f5a53..40523222c 100644
--- a/src/esengine/renderer/DrawList.cpp
+++ b/src/esengine/renderer/DrawList.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "DrawList.hpp"
#include "BatchVertex.hpp"
diff --git a/src/esengine/renderer/DrawList.hpp b/src/esengine/renderer/DrawList.hpp
index 956b18034..8cd8d8a38 100644
--- a/src/esengine/renderer/DrawList.hpp
+++ b/src/esengine/renderer/DrawList.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/FrameCapture.cpp b/src/esengine/renderer/FrameCapture.cpp
index 36d2aba83..53f080e5a 100644
--- a/src/esengine/renderer/FrameCapture.cpp
+++ b/src/esengine/renderer/FrameCapture.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "FrameCapture.hpp"
namespace esengine {
diff --git a/src/esengine/renderer/FrameCapture.hpp b/src/esengine/renderer/FrameCapture.hpp
index 05413c8ca..da5ffd768 100644
--- a/src/esengine/renderer/FrameCapture.hpp
+++ b/src/esengine/renderer/FrameCapture.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/FrameConstants.hpp b/src/esengine/renderer/FrameConstants.hpp
index 05d7daea3..8750c2328 100644
--- a/src/esengine/renderer/FrameConstants.hpp
+++ b/src/esengine/renderer/FrameConstants.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file FrameConstants.hpp
* @brief Per-frame shader constants shared via a single Uniform Buffer Object.
@@ -12,7 +14,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/Framebuffer.cpp b/src/esengine/renderer/Framebuffer.cpp
index d4ed86132..225ca7592 100644
--- a/src/esengine/renderer/Framebuffer.cpp
+++ b/src/esengine/renderer/Framebuffer.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Framebuffer.cpp
* @brief Framebuffer implementation (device-backed)
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "Framebuffer.hpp"
diff --git a/src/esengine/renderer/Framebuffer.hpp b/src/esengine/renderer/Framebuffer.hpp
index bd0ae2f2d..ce35968b4 100644
--- a/src/esengine/renderer/Framebuffer.hpp
+++ b/src/esengine/renderer/Framebuffer.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Framebuffer.hpp
* @brief GPU framebuffer abstraction for render-to-texture
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/GLDevice.cpp b/src/esengine/renderer/GLDevice.cpp
index 43b9860f2..61225b053 100644
--- a/src/esengine/renderer/GLDevice.cpp
+++ b/src/esengine/renderer/GLDevice.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file GLDevice.cpp
* @brief OpenGL ES / WebGL implementation of GfxDevice
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "GLDevice.hpp"
diff --git a/src/esengine/renderer/GLDevice.hpp b/src/esengine/renderer/GLDevice.hpp
index 246e1baef..74154b66e 100644
--- a/src/esengine/renderer/GLDevice.hpp
+++ b/src/esengine/renderer/GLDevice.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file GLDevice.hpp
* @brief OpenGL ES / WebGL implementation of GfxDevice
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/GfxDevice.hpp b/src/esengine/renderer/GfxDevice.hpp
index fc9c87b31..2956951e4 100644
--- a/src/esengine/renderer/GfxDevice.hpp
+++ b/src/esengine/renderer/GfxDevice.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file GfxDevice.hpp
* @brief Abstract graphics device interface
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/GfxEnums.hpp b/src/esengine/renderer/GfxEnums.hpp
index 02f0d1484..d8d976216 100644
--- a/src/esengine/renderer/GfxEnums.hpp
+++ b/src/esengine/renderer/GfxEnums.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file GfxEnums.hpp
* @brief Backend-agnostic graphics enumerations
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/ImmediateDraw.cpp b/src/esengine/renderer/ImmediateDraw.cpp
index 2c99b6a08..c332d7953 100644
--- a/src/esengine/renderer/ImmediateDraw.cpp
+++ b/src/esengine/renderer/ImmediateDraw.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ImmediateDraw.cpp
* @brief Immediate mode 2D drawing implementation
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "ImmediateDraw.hpp"
diff --git a/src/esengine/renderer/ImmediateDraw.hpp b/src/esengine/renderer/ImmediateDraw.hpp
index ef3a59e6d..14be84bbb 100644
--- a/src/esengine/renderer/ImmediateDraw.hpp
+++ b/src/esengine/renderer/ImmediateDraw.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ImmediateDraw.hpp
* @brief Immediate mode 2D drawing API
@@ -12,7 +14,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/OpenGLHeaders.hpp b/src/esengine/renderer/OpenGLHeaders.hpp
index add7c5576..f3c706b77 100644
--- a/src/esengine/renderer/OpenGLHeaders.hpp
+++ b/src/esengine/renderer/OpenGLHeaders.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file OpenGLHeaders.hpp
* @brief Platform-specific OpenGL header includes
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/PipelineState.hpp b/src/esengine/renderer/PipelineState.hpp
index 98f41bd06..2d3e79b4e 100644
--- a/src/esengine/renderer/PipelineState.hpp
+++ b/src/esengine/renderer/PipelineState.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PipelineState.hpp
* @brief Immutable GPU pipeline state — the backend-agnostic unit of "how to draw".
@@ -14,7 +16,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/PostProcessPipeline.cpp b/src/esengine/renderer/PostProcessPipeline.cpp
index 400263f1b..b0137a151 100644
--- a/src/esengine/renderer/PostProcessPipeline.cpp
+++ b/src/esengine/renderer/PostProcessPipeline.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PostProcessPipeline.cpp
* @brief Post-processing effects pipeline implementation
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "PostProcessPipeline.hpp"
diff --git a/src/esengine/renderer/PostProcessPipeline.hpp b/src/esengine/renderer/PostProcessPipeline.hpp
index 54c285e14..8fa39ab27 100644
--- a/src/esengine/renderer/PostProcessPipeline.hpp
+++ b/src/esengine/renderer/PostProcessPipeline.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file PostProcessPipeline.hpp
* @brief Post-processing effects pipeline
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/RenderContext.cpp b/src/esengine/renderer/RenderContext.cpp
index 6e592634c..7c1a9b9b7 100644
--- a/src/esengine/renderer/RenderContext.cpp
+++ b/src/esengine/renderer/RenderContext.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file RenderContext.cpp
* @brief Rendering context implementation
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "RenderContext.hpp"
diff --git a/src/esengine/renderer/RenderContext.hpp b/src/esengine/renderer/RenderContext.hpp
index 380d1d2b6..eb3a876f2 100644
--- a/src/esengine/renderer/RenderContext.hpp
+++ b/src/esengine/renderer/RenderContext.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file RenderContext.hpp
* @brief Rendering context containing all renderer state
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/RenderFrame.cpp b/src/esengine/renderer/RenderFrame.cpp
index b50894198..2bff13989 100644
--- a/src/esengine/renderer/RenderFrame.cpp
+++ b/src/esengine/renderer/RenderFrame.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "RenderFrame.hpp"
#include "Shader.hpp"
#include "ShaderEmbeds.generated.hpp"
diff --git a/src/esengine/renderer/RenderFrame.hpp b/src/esengine/renderer/RenderFrame.hpp
index ca10d0f17..e30fec2ae 100644
--- a/src/esengine/renderer/RenderFrame.hpp
+++ b/src/esengine/renderer/RenderFrame.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/RenderFrameMask.cpp b/src/esengine/renderer/RenderFrameMask.cpp
index 5265da56b..6d5db8bb1 100644
--- a/src/esengine/renderer/RenderFrameMask.cpp
+++ b/src/esengine/renderer/RenderFrameMask.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "RenderFrame.hpp"
#include "../core/Log.hpp"
#include "../ecs/components/Transform.hpp"
diff --git a/src/esengine/renderer/RenderFrameSubmit.cpp b/src/esengine/renderer/RenderFrameSubmit.cpp
index 22b39020d..ffe3fd6c8 100644
--- a/src/esengine/renderer/RenderFrameSubmit.cpp
+++ b/src/esengine/renderer/RenderFrameSubmit.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "RenderFrame.hpp"
#include "BatchBuilder.hpp"
#include "BatchVertex.hpp"
diff --git a/src/esengine/renderer/RenderItem.hpp b/src/esengine/renderer/RenderItem.hpp
index ae574b8af..a6840cb14 100644
--- a/src/esengine/renderer/RenderItem.hpp
+++ b/src/esengine/renderer/RenderItem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/RenderStage.hpp b/src/esengine/renderer/RenderStage.hpp
index 7f9e8bdb5..5db66454e 100644
--- a/src/esengine/renderer/RenderStage.hpp
+++ b/src/esengine/renderer/RenderStage.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/RenderTarget.cpp b/src/esengine/renderer/RenderTarget.cpp
index 4caa99d61..65c156382 100644
--- a/src/esengine/renderer/RenderTarget.cpp
+++ b/src/esengine/renderer/RenderTarget.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "RenderTarget.hpp"
namespace esengine {
diff --git a/src/esengine/renderer/RenderTarget.hpp b/src/esengine/renderer/RenderTarget.hpp
index 1c4c099d7..329333822 100644
--- a/src/esengine/renderer/RenderTarget.hpp
+++ b/src/esengine/renderer/RenderTarget.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/RenderTypePlugin.hpp b/src/esengine/renderer/RenderTypePlugin.hpp
index 8b1d0ebe6..0df569b57 100644
--- a/src/esengine/renderer/RenderTypePlugin.hpp
+++ b/src/esengine/renderer/RenderTypePlugin.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/Shader.cpp b/src/esengine/renderer/Shader.cpp
index ea4d63eb3..25282e3a1 100644
--- a/src/esengine/renderer/Shader.cpp
+++ b/src/esengine/renderer/Shader.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Shader.cpp
* @brief Shader program implementation
@@ -9,7 +11,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "Shader.hpp"
diff --git a/src/esengine/renderer/Shader.hpp b/src/esengine/renderer/Shader.hpp
index 3c0cfc672..4ff67e47b 100644
--- a/src/esengine/renderer/Shader.hpp
+++ b/src/esengine/renderer/Shader.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Shader.hpp
* @brief GPU shader program abstraction
@@ -8,7 +10,7 @@
* @date 2025
*
* @copyright Copyright (c) 2025 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/Texture.cpp b/src/esengine/renderer/Texture.cpp
index 49ec2f396..def9c1219 100644
--- a/src/esengine/renderer/Texture.cpp
+++ b/src/esengine/renderer/Texture.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Texture.cpp
* @brief Texture implementation (device-backed)
@@ -9,7 +11,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "Texture.hpp"
diff --git a/src/esengine/renderer/Texture.hpp b/src/esengine/renderer/Texture.hpp
index 6534da6bd..5ba34fd3a 100644
--- a/src/esengine/renderer/Texture.hpp
+++ b/src/esengine/renderer/Texture.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Texture.hpp
* @brief GPU texture abstraction for 2D images
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/TransientBufferPool.cpp b/src/esengine/renderer/TransientBufferPool.cpp
index f8ec45cec..1b8ea0f92 100644
--- a/src/esengine/renderer/TransientBufferPool.cpp
+++ b/src/esengine/renderer/TransientBufferPool.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "TransientBufferPool.hpp"
#include "../core/Log.hpp"
diff --git a/src/esengine/renderer/TransientBufferPool.hpp b/src/esengine/renderer/TransientBufferPool.hpp
index 46cf11edc..711c80419 100644
--- a/src/esengine/renderer/TransientBufferPool.hpp
+++ b/src/esengine/renderer/TransientBufferPool.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/renderer/plugins/BatchPlugin.cpp b/src/esengine/renderer/plugins/BatchPlugin.cpp
index 43615ea10..9bdba772a 100644
--- a/src/esengine/renderer/plugins/BatchPlugin.cpp
+++ b/src/esengine/renderer/plugins/BatchPlugin.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BatchPlugin.cpp
* @brief Shared quad / nine-slice geometry construction for batch render-type plugins.
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "BatchPlugin.hpp"
diff --git a/src/esengine/renderer/plugins/BatchPlugin.hpp b/src/esengine/renderer/plugins/BatchPlugin.hpp
index ca1402a87..0eb1caf9f 100644
--- a/src/esengine/renderer/plugins/BatchPlugin.hpp
+++ b/src/esengine/renderer/plugins/BatchPlugin.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BatchPlugin.hpp
* @brief Base class for render-type plugins that emit textured quads into the Batch stream.
@@ -12,7 +14,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/renderer/plugins/ParticlePlugin.cpp b/src/esengine/renderer/plugins/ParticlePlugin.cpp
index fce5c42ec..a279c9c87 100644
--- a/src/esengine/renderer/plugins/ParticlePlugin.cpp
+++ b/src/esengine/renderer/plugins/ParticlePlugin.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "ParticlePlugin.hpp"
#include "../RenderContext.hpp"
#include "../RenderFrame.hpp"
diff --git a/src/esengine/renderer/plugins/ParticlePlugin.hpp b/src/esengine/renderer/plugins/ParticlePlugin.hpp
index 68266b131..5a007b181 100644
--- a/src/esengine/renderer/plugins/ParticlePlugin.hpp
+++ b/src/esengine/renderer/plugins/ParticlePlugin.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../RenderTypePlugin.hpp"
diff --git a/src/esengine/renderer/plugins/ShapePlugin.cpp b/src/esengine/renderer/plugins/ShapePlugin.cpp
index 6b8a8fcaf..99100ff79 100644
--- a/src/esengine/renderer/plugins/ShapePlugin.cpp
+++ b/src/esengine/renderer/plugins/ShapePlugin.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "ShapePlugin.hpp"
#include "../RenderContext.hpp"
#include "../RenderFrame.hpp"
diff --git a/src/esengine/renderer/plugins/ShapePlugin.hpp b/src/esengine/renderer/plugins/ShapePlugin.hpp
index 3ea8bfeb8..9595d9bba 100644
--- a/src/esengine/renderer/plugins/ShapePlugin.hpp
+++ b/src/esengine/renderer/plugins/ShapePlugin.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../RenderTypePlugin.hpp"
diff --git a/src/esengine/renderer/plugins/SpritePlugin.cpp b/src/esengine/renderer/plugins/SpritePlugin.cpp
index 0189ecd6a..0fef08a8b 100644
--- a/src/esengine/renderer/plugins/SpritePlugin.cpp
+++ b/src/esengine/renderer/plugins/SpritePlugin.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "SpritePlugin.hpp"
#include "../RenderContext.hpp"
#include "../RenderFrame.hpp"
diff --git a/src/esengine/renderer/plugins/SpritePlugin.hpp b/src/esengine/renderer/plugins/SpritePlugin.hpp
index 98ee69e41..1380c9583 100644
--- a/src/esengine/renderer/plugins/SpritePlugin.hpp
+++ b/src/esengine/renderer/plugins/SpritePlugin.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "BatchPlugin.hpp"
diff --git a/src/esengine/renderer/plugins/TextPlugin.cpp b/src/esengine/renderer/plugins/TextPlugin.cpp
index 0169b6bd3..ad1b31c4c 100644
--- a/src/esengine/renderer/plugins/TextPlugin.cpp
+++ b/src/esengine/renderer/plugins/TextPlugin.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "TextPlugin.hpp"
#include "../RenderContext.hpp"
#include "../RenderFrame.hpp"
diff --git a/src/esengine/renderer/plugins/TextPlugin.hpp b/src/esengine/renderer/plugins/TextPlugin.hpp
index a0ac14548..27da12eba 100644
--- a/src/esengine/renderer/plugins/TextPlugin.hpp
+++ b/src/esengine/renderer/plugins/TextPlugin.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "BatchPlugin.hpp"
diff --git a/src/esengine/renderer/plugins/TilemapRenderPlugin.cpp b/src/esengine/renderer/plugins/TilemapRenderPlugin.cpp
index 54558c3a7..3f275e364 100644
--- a/src/esengine/renderer/plugins/TilemapRenderPlugin.cpp
+++ b/src/esengine/renderer/plugins/TilemapRenderPlugin.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "TilemapRenderPlugin.hpp"
#include "../BatchBuilder.hpp"
diff --git a/src/esengine/renderer/plugins/TilemapRenderPlugin.hpp b/src/esengine/renderer/plugins/TilemapRenderPlugin.hpp
index 34f6b361b..50505eb9d 100644
--- a/src/esengine/renderer/plugins/TilemapRenderPlugin.hpp
+++ b/src/esengine/renderer/plugins/TilemapRenderPlugin.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../RenderTypePlugin.hpp"
diff --git a/src/esengine/renderer/plugins/UIElementPlugin.cpp b/src/esengine/renderer/plugins/UIElementPlugin.cpp
index 1d3320bc1..7cf4fd574 100644
--- a/src/esengine/renderer/plugins/UIElementPlugin.cpp
+++ b/src/esengine/renderer/plugins/UIElementPlugin.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "UIElementPlugin.hpp"
#include "../RenderContext.hpp"
#include "../RenderFrame.hpp"
diff --git a/src/esengine/renderer/plugins/UIElementPlugin.hpp b/src/esengine/renderer/plugins/UIElementPlugin.hpp
index f6ae23e8b..d721fdb70 100644
--- a/src/esengine/renderer/plugins/UIElementPlugin.hpp
+++ b/src/esengine/renderer/plugins/UIElementPlugin.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "BatchPlugin.hpp"
diff --git a/src/esengine/resource/Handle.hpp b/src/esengine/resource/Handle.hpp
index 7fdccb2eb..9a6dce15e 100644
--- a/src/esengine/resource/Handle.hpp
+++ b/src/esengine/resource/Handle.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file Handle.hpp
* @brief Type-safe resource handle system
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/resource/LoaderRegistry.hpp b/src/esengine/resource/LoaderRegistry.hpp
index e5bcfd7f7..65f692e72 100644
--- a/src/esengine/resource/LoaderRegistry.hpp
+++ b/src/esengine/resource/LoaderRegistry.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file LoaderRegistry.hpp
* @brief Registry for resource loaders
@@ -7,7 +9,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/resource/ResourceLoader.hpp b/src/esengine/resource/ResourceLoader.hpp
index 1a0d816b0..02b9e64ac 100644
--- a/src/esengine/resource/ResourceLoader.hpp
+++ b/src/esengine/resource/ResourceLoader.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ResourceLoader.hpp
* @brief Template interface for resource loaders
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/resource/ResourceManager.cpp b/src/esengine/resource/ResourceManager.cpp
index 6e7d2f7ee..7452f47cf 100644
--- a/src/esengine/resource/ResourceManager.cpp
+++ b/src/esengine/resource/ResourceManager.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ResourceManager.cpp
* @brief Central resource management system implementation
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "ResourceManager.hpp"
diff --git a/src/esengine/resource/ResourceManager.hpp b/src/esengine/resource/ResourceManager.hpp
index d3272ea1d..3b2dabd4a 100644
--- a/src/esengine/resource/ResourceManager.hpp
+++ b/src/esengine/resource/ResourceManager.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ResourceManager.hpp
* @brief Central resource management system
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/resource/ResourcePool.hpp b/src/esengine/resource/ResourcePool.hpp
index e178f6cc3..aac63be27 100644
--- a/src/esengine/resource/ResourcePool.hpp
+++ b/src/esengine/resource/ResourcePool.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ResourcePool.hpp
* @brief Type-erased resource pool with reference counting
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/resource/ShaderParser.cpp b/src/esengine/resource/ShaderParser.cpp
index a901c9663..7daef81bf 100644
--- a/src/esengine/resource/ShaderParser.cpp
+++ b/src/esengine/resource/ShaderParser.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ShaderParser.cpp
* @brief Parser for unified .esshader file format
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#include "ShaderParser.hpp"
diff --git a/src/esengine/resource/ShaderParser.hpp b/src/esengine/resource/ShaderParser.hpp
index 4965988c9..65db435d2 100644
--- a/src/esengine/resource/ShaderParser.hpp
+++ b/src/esengine/resource/ShaderParser.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file ShaderParser.hpp
* @brief Parser for unified .esshader file format
@@ -8,7 +10,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/resource/TextureMetadata.hpp b/src/esengine/resource/TextureMetadata.hpp
index 3593450f7..198350995 100644
--- a/src/esengine/resource/TextureMetadata.hpp
+++ b/src/esengine/resource/TextureMetadata.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file TextureMetadata.hpp
* @brief Texture metadata structures for nine-slice and other settings
@@ -6,7 +8,7 @@
* @date 2026
*
* @copyright Copyright (c) 2026 ESEngine Team
- * Licensed under the MIT License.
+ * Licensed under the PolyForm Noncommercial License 1.0.0.
*/
#pragma once
diff --git a/src/esengine/text/BitmapFont.cpp b/src/esengine/text/BitmapFont.cpp
index 8920a194d..06ffa6098 100644
--- a/src/esengine/text/BitmapFont.cpp
+++ b/src/esengine/text/BitmapFont.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "BitmapFont.hpp"
#include "../core/Log.hpp"
#include "../resource/ResourceManager.hpp"
diff --git a/src/esengine/text/BitmapFont.hpp b/src/esengine/text/BitmapFont.hpp
index 606c3e3a3..ccb867099 100644
--- a/src/esengine/text/BitmapFont.hpp
+++ b/src/esengine/text/BitmapFont.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/text/SdfGenerator.cpp b/src/esengine/text/SdfGenerator.cpp
index 06f020e65..1abff785b 100644
--- a/src/esengine/text/SdfGenerator.cpp
+++ b/src/esengine/text/SdfGenerator.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file text/SdfGenerator.cpp
* @brief 8SSEDT (8-point signed sequential euclidean distance transform).
diff --git a/src/esengine/text/SdfGenerator.hpp b/src/esengine/text/SdfGenerator.hpp
index 7588accb9..cd7bc2e5c 100644
--- a/src/esengine/text/SdfGenerator.hpp
+++ b/src/esengine/text/SdfGenerator.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file text/SdfGenerator.hpp
* @brief Signed distance field generation from an 8-bit alpha coverage bitmap.
diff --git a/src/esengine/tilemap/TiledMapLoader.cpp b/src/esengine/tilemap/TiledMapLoader.cpp
index 02820566e..89570d9e5 100644
--- a/src/esengine/tilemap/TiledMapLoader.cpp
+++ b/src/esengine/tilemap/TiledMapLoader.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#define CUTE_TILED_NO_EXTERNAL_TILESET_WARNING
#define CUTE_TILED_IMPLEMENTATION
#include "cute_tiled.h"
diff --git a/src/esengine/tilemap/TiledMapLoader.hpp b/src/esengine/tilemap/TiledMapLoader.hpp
index 157fb6e05..cdafdb61e 100644
--- a/src/esengine/tilemap/TiledMapLoader.hpp
+++ b/src/esengine/tilemap/TiledMapLoader.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/src/esengine/tilemap/TilemapSystem.cpp b/src/esengine/tilemap/TilemapSystem.cpp
index 311d53361..21936661c 100644
--- a/src/esengine/tilemap/TilemapSystem.cpp
+++ b/src/esengine/tilemap/TilemapSystem.cpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#include "TilemapSystem.hpp"
#include <algorithm>
diff --git a/src/esengine/tilemap/TilemapSystem.hpp b/src/esengine/tilemap/TilemapSystem.hpp
index 5f371c1f7..7d5610ce6 100644
--- a/src/esengine/tilemap/TilemapSystem.hpp
+++ b/src/esengine/tilemap/TilemapSystem.hpp
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
#pragma once
#include "../core/Types.hpp"
diff --git a/tools/asset-meta.js b/tools/asset-meta.js
index aa543524c..4f7e3ceef 100644
--- a/tools/asset-meta.js
+++ b/tools/asset-meta.js
@@ -1,4 +1,6 @@
#!/usr/bin/env node
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file asset-meta.js
* @brief Generate .meta sidecar files for assets (UUID v4 + importer defaults).
diff --git a/tools/check-gl-boundary.mjs b/tools/check-gl-boundary.mjs
index ace11eac2..aeb4f9302 100644
--- a/tools/check-gl-boundary.mjs
+++ b/tools/check-gl-boundary.mjs
@@ -1,4 +1,6 @@
#!/usr/bin/env node
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
// =============================================================================
// GL boundary guard (RC5)
//
diff --git a/tools/eht/generators/embind.py b/tools/eht/generators/embind.py
index b7274594e..aedc9e105 100644
--- a/tools/eht/generators/embind.py
+++ b/tools/eht/generators/embind.py
@@ -121,15 +121,20 @@ class EmbindGenerator:
' .field("x", &glm::quat::x)',
' .field("y", &glm::quat::y)',
' .field("z", &glm::quat::z);',
- '',
- ' value_object<esengine::Padding>("Padding")',
- ' .field("left", &esengine::Padding::left)',
- ' .field("top", &esengine::Padding::top)',
- ' .field("right", &esengine::Padding::right)',
- ' .field("bottom", &esengine::Padding::bottom);',
+ ]
+ # Registered POD structs (Padding, Dimension, ...) — one value_object each,
+ # driven by the type-system registry so a new struct needs no codegen edit.
+ for name, members in self.types.CUSTOM_STRUCTS.items():
+ lines.append('')
+ lines.append(f' value_object<esengine::{name}>("{name}")')
+ for i, (member, _) in enumerate(members):
+ term = ';' if i == len(members) - 1 else ''
+ lines.append(f' .field("{member}", &esengine::{name}::{member}){term}')
+ lines.extend([
'}',
'',
- ]
+ ])
+ return lines
def _gen_enums(self) -> List[str]:
if not self.enums:
diff --git a/tools/eht/generators/ptr_layout.py b/tools/eht/generators/ptr_layout.py
index 585aa0406..59a8e4bae 100644
--- a/tools/eht/generators/ptr_layout.py
+++ b/tools/eht/generators/ptr_layout.py
@@ -15,7 +15,6 @@ class PtrLayoutGenerator:
'glm::vec2': 8, 'glm::uvec2': 8,
'glm::vec3': 12,
'glm::vec4': 16, 'glm::quat': 16,
- 'Padding': 16,
}
TYPE_ALIGNS = {
@@ -26,7 +25,6 @@ class PtrLayoutGenerator:
'glm::vec2': 4, 'glm::uvec2': 4,
'glm::vec3': 4,
'glm::vec4': 4, 'glm::quat': 4,
- 'Padding': 4,
}
CPP_TO_PTR_TYPE = {
@@ -70,12 +68,32 @@ class PtrLayoutGenerator:
return (sz, sz)
return (1, 1)
+ def _custom_struct_size_align(self, t: str):
+ """(size, align) of a registered POD struct under standard C++ layout —
+ members placed in order with per-member alignment, struct size padded to
+ its max member alignment. Matches the compiler (the generated
+ static_assert(offsetof) on each following field proves it)."""
+ offset = 0
+ max_align = 1
+ for _, member_cpp in self.types.CUSTOM_STRUCTS[t]:
+ msize = self.TYPE_SIZES[member_cpp]
+ malign = self.TYPE_ALIGNS[member_cpp]
+ if offset % malign != 0:
+ offset += malign - (offset % malign)
+ offset += msize
+ max_align = max(max_align, malign)
+ if offset % max_align != 0:
+ offset += max_align - (offset % max_align)
+ return (offset, max_align)
+
def _field_size_align(self, cpp_type: str):
"""Return (size, align) for ANY field type so the offset cursor can
advance past it, or None if the size is genuinely unknown."""
t = self.types.clean_type(cpp_type)
if t in self.TYPE_SIZES:
return (self.TYPE_SIZES[t], self.TYPE_ALIGNS[t])
+ if t in self.types.CUSTOM_STRUCTS:
+ return self._custom_struct_size_align(t)
if self.types.is_handle(t):
return (4, 4)
if self.types.is_enum(t):
diff --git a/tools/eht/generators/typescript.py b/tools/eht/generators/typescript.py
index 2a784d80a..cd7b8ad7b 100644
--- a/tools/eht/generators/typescript.py
+++ b/tools/eht/generators/typescript.py
@@ -20,7 +20,7 @@ class TypeScriptGenerator:
return '\n'.join(lines)
def _gen_header(self) -> List[str]:
- return [
+ lines = [
'/**',
' * @file wasm.generated.ts',
' * @brief ESEngine WASM Bindings TypeScript Definitions',
@@ -31,7 +31,13 @@ class TypeScriptGenerator:
'',
'// Additional Math Types',
'export interface UVec2 { x: number; y: number; }',
- 'export interface Padding { left: number; top: number; right: number; bottom: number; }',
+ ]
+ # Registered POD structs (Padding, Dimension, ...) → one TS interface each,
+ # driven by the type-system registry (a new struct needs no codegen edit).
+ for name, members in self.types.CUSTOM_STRUCTS.items():
+ fields = ' '.join(f'{m}: {self.types.member_ts_type(cpp)};' for m, cpp in members)
+ lines.append(f'export interface {name} {{ {fields} }}')
+ lines.extend([
'export type Mat4 = number[];',
'',
'// Emscripten Vector Types',
diff --git a/tools/eht/type_system.py b/tools/eht/type_system.py
index 336380687..9d1d3b962 100644
--- a/tools/eht/type_system.py
+++ b/tools/eht/type_system.py
@@ -14,8 +14,15 @@ class TypeSystem:
GLM_TYPES = {'glm::vec2', 'glm::vec3', 'glm::vec4', 'glm::quat', 'glm::uvec2'}
- CUSTOM_STRUCT_TYPES = {
- 'Padding': ('Padding', [('left', 'left'), ('top', 'top'), ('right', 'right'), ('bottom', 'bottom')]),
+ # Small POD structs usable as builtin component fields: serialized via embind,
+ # sized for the pointer cursor, mirrored to a TS interface + editor controls.
+ # Generalizes the former single Padding special case. Each entry maps a struct
+ # name to its ordered (member_name, member_cpp_type) list; member types must be
+ # primitives in PtrLayoutGenerator.TYPE_SIZES. The struct must be defined and
+ # included by WebBindings (core/UITypes.hpp) and be a standard C++ POD.
+ CUSTOM_STRUCTS = {
+ 'Padding': [('left', 'f32'), ('top', 'f32'), ('right', 'f32'), ('bottom', 'f32')],
+ 'Dimension': [('value', 'f32'), ('unit', 'u8')],
}
SKIP_TYPES = {'glm::mat4', 'std::function'}
@@ -31,7 +38,6 @@ class TypeSystem:
'std::string': 'string', 'Entity': 'number',
'glm::vec2': 'Vec2', 'glm::vec3': 'Vec3', 'glm::vec4': 'Vec4',
'glm::quat': 'Quat', 'glm::uvec2': 'UVec2',
- 'Padding': 'Padding',
}
def __init__(self, enums: List[Enum]):
@@ -76,7 +82,15 @@ class TypeSystem:
return self.clean_type(cpp_type) in self.GLM_TYPES
def is_custom_struct(self, cpp_type: str) -> bool:
- return self.clean_type(cpp_type) in self.CUSTOM_STRUCT_TYPES
+ return self.clean_type(cpp_type) in self.CUSTOM_STRUCTS
+
+ def custom_struct_members(self, cpp_type: str):
+ """Return the [(member_name, member_cpp_type), ...] list for a custom struct."""
+ return self.CUSTOM_STRUCTS[self.clean_type(cpp_type)]
+
+ def member_ts_type(self, member_cpp_type: str) -> str:
+ """TS type for a custom-struct member (always a primitive)."""
+ return self.CPP_TO_TS.get(member_cpp_type, 'number')
def needs_wrapper(self, cpp_type: str) -> bool:
return self.is_enum(cpp_type) or self.is_handle(cpp_type)
@@ -115,6 +129,6 @@ class TypeSystem:
return 'number'
if t in self.VECTOR_TYPES:
return self.VECTOR_TYPES[t][2]
- if t in self.CUSTOM_STRUCT_TYPES:
- return self.CUSTOM_STRUCT_TYPES[t][0]
+ if t in self.CUSTOM_STRUCTS:
+ return t # the struct name is its own TS interface name
return 'unknown'
diff --git a/tools/migrate-asset-refs.js b/tools/migrate-asset-refs.js
index 15e3e8571..627fc5531 100644
--- a/tools/migrate-asset-refs.js
+++ b/tools/migrate-asset-refs.js
@@ -1,4 +1,6 @@
#!/usr/bin/env node
+// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file migrate-asset-refs.js
* @brief Rewrite scene/prefab asset references to canonical UUID refs.