Skip to content

Production interior authoring and interactive Three.js delivery plugin for img2.

docs: simplify the primary proprietary license and notices

hoainhob4be6947b6f5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dd22bec..19dc250 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,9 +4,9 @@
### Licensing
-- Adopt a mixed license: proprietary terms apply to original plugin portions except for prior grants; Blender authoring, recipes/examples, native entrypoints/tests, and authoring requirements retain Apache-2.0 under the paths listed in `LICENSE`.
-- Preserve the complete Apache-2.0 text and copyright notice in `licenses/Apache-2.0.txt`, and include it in source archives. Retain third-party licensing and previously granted Apache-2.0 rights; do not claim blanket proprietary ownership or GPL compliance.
-- Align plugin/skill metadata at 0.3.0 to distinguish this licensing revision from the earlier Apache-2.0 source. No npm package, release tag, scene behavior, or visual-quality upgrade is introduced.
+- Use one primary **Proprietary — All rights reserved** license in `LICENSE`, requiring prior written authorization rather than granting automatic evaluation, internal, commercial or redistribution rights. Simplify the README and skill metadata to point to that policy.
+- Move the exact separately licensed component scope and earlier-grant notices into `THIRD_PARTY_NOTICES.md`; retain `licenses/Apache-2.0.txt` unchanged. Require all three files in source archives and future npm payloads. This reorganization neither revokes existing Apache-2.0 rights nor certifies exclusive ownership or Blender GPL compliance for the entire distribution.
+- Keep plugin/skill metadata at 0.3.0 for this unreleased licensing revision. No npm package, release tag, scene behavior or visual-quality upgrade is introduced.
### Documentation
diff --git a/LICENSE b/LICENSE
index e34c95e..6af5451 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,83 +1,34 @@
-img2 Interior — Mixed License
-Copyright 2026 hoainho
+img2 Interior — Proprietary License
+Copyright 2026 hoainho. All rights reserved.
+License identifier: LicenseRef-img2-Interior-Proprietary
-This notice applies to img2 Interior 0.3.0 and subsequent revisions carrying this
-notice. The repository contains proprietary portions and the Apache-2.0 portions
-expressly identified below. It is not licensed as a whole under an open-source
-license.
+1. Scope
-1. Proprietary portions — All rights reserved
+These terms apply to the original portions of img2 Interior that the copyright
+holder is entitled to license on proprietary terms. Separately licensed
+components and previously granted rights are expressly excluded, as identified
+in THIRD_PARTY_NOTICES.md. Their applicable license terms remain controlling;
+this license does not revoke, restrict, or replace them.
-Except for the exceptions in sections 2–4, the original plugin source code,
-agent instructions, documentation, tools, and viewer code are proprietary.
-Their license identifier is LicenseRef-img2-Interior-Proprietary.
+2. No permission without written authorization
-No permission is granted by this notice to use, reproduce, modify, create
-derivative works of, distribute, sublicense, sell, or otherwise exploit those
-proprietary portions. Such activities require prior written authorization from
-the copyright holder, except where permitted by applicable law or by rights you
-already hold under another applicable license. Repository access, npm access,
-installation, or payment alone does not supply that authorization.
+This notice grants no permission to use, reproduce, modify, create derivative
+works of, distribute, sublicense, sell, or otherwise exploit the proprietary
+portions, except where permitted by applicable law or rights you already hold.
+Any other permission requires a separate written agreement from the copyright
+holder specifying the permitted use. No evaluation, internal-use, commercial,
+modification, or redistribution license is granted automatically.
-A separate written agreement must specify any permitted evaluation, internal,
-commercial, modification, or redistribution use. Request authorization from the
-copyright holder through the repository owner at https://github.com/img2threejs.
-No patent or trademark license is granted for the proprietary portions.
+GitHub access, npm access, downloading, installation, or payment alone does not
+supply that authorization. No ownership, patent, or trademark rights are granted
+by this notice. Request authorization through https://github.com/img2threejs.
-2. Apache-2.0 exceptions — Blender integration and fixtures
-
-The following repository-relative paths remain licensed under Apache License,
-Version 2.0, rather than the proprietary terms above:
-
-- authoring/ and all its contents
-- recipes/ and all its contents
-- examples/ and all its contents
-- tools/author_scene.py
-- tools/inspect_scene.py
-- tests/test_authoring.py
-- requirements-authoring.txt
-
-The complete Apache-2.0 text and retained copyright notice are provided in
-licenses/Apache-2.0.txt. Preserve that license and applicable notices when
-redistributing these portions. The proprietary terms in section 1 do not limit
-the rights granted for these Apache-2.0 portions.
-
-Apache-2.0 is compatible with GPLv3; it is not compatible with GPLv2-only.
-Blender and its Python API remain subject to their own license. This notice
-does not create an exception to Blender's GPL requirements or certify that an
-arbitrary combined distribution is compliant. Review those requirements before
-distributing Blender binaries, Python API integrations, or combined works.
-
-3. Third-party components and assets
-
-Third-party code, dependencies, assets, and their notices retain their own
-licenses. This notice neither relicenses them nor overrides any rights or
-obligations under those licenses. In particular, the img2 harness, Blender/bpy,
-Three.js, build tools, Python packages, and acquired resources are not made
-proprietary by this notice. Preserve their required licenses and notices in
-any distribution that includes them.
-
-This notice does not claim ownership of a user's reference images, original
-scene data, renders, or artwork merely because the user creates or processes
-them with the plugin. Copied plugin code and third-party material retain their
-applicable terms.
-
-4. Previously licensed material
-
-Earlier revisions, including the 0.2.0 source through commit
-2dceef978d2fd696ea4d1f531049389d3b666eed, were provided under Apache-2.0.
-This notice does not withdraw or restrict rights already granted under that
-license, including rights to earlier material reused in a later revision.
-Consult the license supplied with the applicable revision. The proprietary
-terms do not retroactively convert earlier Apache-2.0 material into exclusively
-proprietary code.
-
-5. Disclaimer for proprietary portions
+3. Disclaimer
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PROPRIETARY PORTIONS ARE
PROVIDED "AS IS", WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
THE COPYRIGHT HOLDER IS NOT LIABLE FOR CLAIMS, DAMAGES, OR OTHER LIABILITY
ARISING FROM THOSE PORTIONS OR THEIR USE, EXCEPT WHERE APPLICABLE LAW OR A
-SEPARATE WRITTEN AGREEMENT REQUIRES OTHERWISE. THE APACHE-2.0 AND THIRD-PARTY
-PORTIONS HAVE THE DISCLAIMERS AND LIABILITY TERMS OF THEIR RESPECTIVE LICENSES.
+SEPARATE WRITTEN AGREEMENT REQUIRES OTHERWISE. SEPARATELY LICENSED COMPONENTS
+HAVE THE DISCLAIMERS AND LIABILITY TERMS OF THEIR RESPECTIVE LICENSES.
diff --git a/README.md b/README.md
index 0199dd8..2b76de6 100644
--- a/README.md
+++ b/README.md
@@ -160,10 +160,10 @@ Repository members can use [issues](https://github.com/img2threejs/img2interior/
Report security-sensitive information privately to the repository owner; read the bundled [security policy](SECURITY.md) before executing authored Python or consuming external resources. Paid generation, uploads, public deployment and redistribution need their own authorization.
-Contributions to proprietary portions require prior written authorization and agreed terms. Keep generated projects, dependencies and private evidence out of commits; the approved documentation previews are the explicit exception. Describe the behavior changed and checks exercised. Apache-2.0 exceptions retain their own contribution terms; see [maintainer checks](reference/installation.md#maintainer-checks).
+Contributions to proprietary portions require prior written authorization and agreed terms. Keep generated projects, dependencies and private evidence out of commits; the approved documentation previews are the explicit exception. Describe the behavior changed and checks exercised. Separately licensed components retain their own terms; see [component notices](THIRD_PARTY_NOTICES.md) and [maintainer checks](reference/installation.md#maintainer-checks).
## License
-Version **0.3.0** uses a [mixed license](LICENSE), not a blanket open-source license. Original proprietary portions require prior written authorization; GitHub/npm access is not a usage license. The listed Blender authoring, recipe/example and native-tool exceptions retain [Apache-2.0](licenses/Apache-2.0.txt), and earlier Apache-2.0 grants are not revoked. Exact paths and terms are in `LICENSE`.
+**Proprietary — All rights reserved.** The [primary license](LICENSE) grants no automatic permission to use, modify or redistribute the proprietary portions. Obtain written authorization from the copyright holder; GitHub/npm access or payment alone is not a usage license.
-The mixed-license notice is not a Blender GPL exception or a legal compliance certification. Dependencies, assets and references retain their own rights. The plugin does not claim ownership of your artwork merely because it processes it; copied code and third-party content retain their terms. Public showcase images grant neither access to the implementation nor rights to unpublished scene assets.
+[Component notices and prior grants](THIRD_PARTY_NOTICES.md) preserve separately licensed material, including existing Apache-2.0 rights. They do not make the whole product open source, and the proprietary license does not override them. Third-party content and your artwork retain their respective rights.
diff --git a/SKILL.md b/SKILL.md
index 04d106f..af45038 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -1,7 +1,7 @@
---
name: img2-interior
description: Builds image-led interiors through Blender/Python, PBR, render-and-repair, bake/export and an interactive Three.js viewer; verifies native/runtime/portable delivery with img2.
-license: LicenseRef-img2-Interior-Proprietary AND Apache-2.0
+license: Proprietary. See LICENSE and THIRD_PARTY_NOTICES.md.
version: 0.3.0
---
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
new file mode 100644
index 0000000..d9d0dcd
--- /dev/null
+++ b/THIRD_PARTY_NOTICES.md
@@ -0,0 +1,37 @@
+# Component licenses and prior grants
+
+The primary product license is the [img2 Interior Proprietary License](LICENSE). This file identifies portions and rights excluded from its restrictions; it is not a choice of alternative licenses for the entire product. These notices include author-owned material retained under an earlier license, not only third-party dependencies.
+
+## Apache-2.0 components
+
+The following repository-relative paths remain under Apache License, Version 2.0, rather than the proprietary terms:
+
+- `authoring/` and all its contents
+- `recipes/` and all its contents
+- `examples/` and all its contents
+- `tools/author_scene.py`
+- `tools/inspect_scene.py`
+- `tests/test_authoring.py`
+- `requirements-authoring.txt`
+
+Their retained copyright notice is **Copyright 2026 hoainho**. The complete license and copyright notice are in [licenses/Apache-2.0.txt](licenses/Apache-2.0.txt). Preserve the license and applicable notices when redistributing these portions. The proprietary license does not limit the rights granted for these components.
+
+## Previously licensed material
+
+Earlier revisions, including the 0.2.0 source through commit `2dceef978d2fd696ea4d1f531049389d3b666eed`, were provided under Apache-2.0. Already granted rights remain effective, including rights to earlier material reused in later revisions. Consult the license supplied with the applicable revision; proprietary terms do not retroactively turn those grants into exclusive rights.
+
+Apache-2.0's [copyright grant, section 2](https://www.apache.org/licenses/LICENSE-2.0.txt), is perpetual and irrevocable, subject to the license's terms. A private repository, private npm package or changed license label does not withdraw that grant.
+
+## Blender and its Python API
+
+Apache-2.0 is compatible with GPLv3, not GPLv2-only. Blender and its Python API retain their own license requirements. [Blender's published licensing guidance](https://www.blender.org/about/license/#add-ons) requires distributed Python API scripts to be shared under a GPL-compliant license and distinguishes software from artwork.
+
+Neither `LICENSE` nor this file creates a GPL exception or certifies a combined distribution's compliance. Review Blender binaries, Python API integrations and combined distributions before release; obtain qualified legal advice where the boundary is uncertain. Do not apply the proprietary restrictions to rights that must remain available under an applicable component license.
+
+## External dependencies and resources
+
+Third-party code, dependencies, assets and their required notices retain their respective licenses. The img2 harness, Blender/bpy, Three.js, build tools, Python packages and acquired resources are not made proprietary by the product license. Preserve required licenses and notices in any distribution that includes them. A dependency's permissive license and a resource provider's API terms are separate questions.
+
+## User inputs and artwork
+
+The plugin does not claim ownership of a user's reference images, original scene data, renders or artwork merely because the plugin creates or processes them. Copied plugin code and third-party material retain their applicable terms. Public showcase previews grant no rights to unpublished plugin implementation or scene assets.
diff --git a/reference/installation.md b/reference/installation.md
index e0116c0..9a191c0 100644
--- a/reference/installation.md
+++ b/reference/installation.md
@@ -6,7 +6,7 @@
- A configured, image-capable Claude Code, Codex or OpenCode host with command execution and browser/image inspection. Hermes is not supported by this harness.
- Production native tools: isolated Python 3.11/bpy 4.3.0/NumPy 1.26.4 (`requirements-authoring.txt`); separate NumPy/Pillow image environment (`requirements-surfaces.txt`). Audit/state tools remain stdlib plus core API 1.
- Workspace-local pinned npm dependencies and a real WebGL browser for the viewer/validator. See [production setup and commands](production-runbook.md); a harness install does not silently install bpy, image packages or a web app. Compatible Blender wheels must exist for your platform.
-- Version 0.3.0 uses the repository's [mixed license](../LICENSE): proprietary portions require prior written authorization. GitHub or npm access alone does not grant usage rights; Apache-2.0 exceptions and earlier grants remain effective.
+- Version 0.3.0 uses the [img2 Interior Proprietary License](../LICENSE). Proprietary portions require prior written authorization; GitHub/npm access or payment alone is not a usage license. [Component notices](../THIRD_PARTY_NOTICES.md) preserve separately licensed portions and earlier grants.
## Install the private source checkout
@@ -50,8 +50,8 @@ Keep the current directory in the authored project. Resolve `SKILL_DIR` from the
The historical npm Enterprise product [was sunset](https://docs.npmjs.com/configuring-your-registry-settings-as-an-npm-enterprise-user/). For npm registry distribution, obtain a current user/organization plan supporting private packages, then configure package read/write permissions and authentication. A plan purchase is not a usage license, automatic package publication or code encryption. Do not confuse this with a separately configured GitHub Packages registry.
1. **Confirm the real name, registry and access policy.** Select an owned scoped package name and exact version. Keep plugin ID `interior` and skill name `img2-interior`; align package and plugin versions. Do not advertise a copy/paste npm install command until that real version is published and consumer-tested.
-2. **Package the implementation, not a Git-fetch wrapper.** Use a reviewed root `package.json` and explicit file allowlist. Include `plugin.json`, `SKILL.md`, steps/gates, tools, authoring helpers, resource library, viewer/templates, required recipes/examples, references, dependency manifests, README, `docs/showcase/`, root `LICENSE` and `licenses/Apache-2.0.txt`. Include needed scripts/fixtures without generated state. Exclude credentials, generated `_img2_local.py`, environments, `node_modules`, builds, private production reports, full-resolution references and generated scenes.
-3. **Keep access and license metadata correct.** Use `license: "SEE LICENSE IN LICENSE"` and `publishConfig.access: "restricted"` for the scoped private payload. `private: true` prevents npm publication; it is not the switch for a publishable private package. Preserve Apache-2.0 exceptions, earlier grants and third-party notices; review Blender/Python API and combined-distribution obligations with qualified counsel. This documentation is not a GPL compliance certification.
+2. **Package the implementation, not a Git-fetch wrapper.** Use a reviewed root `package.json` and explicit file allowlist. Include `plugin.json`, `SKILL.md`, steps/gates, tools, authoring helpers, resource library, viewer/templates, required recipes/examples, references, dependency manifests, README, `docs/showcase/`, `LICENSE`, `THIRD_PARTY_NOTICES.md` and `licenses/Apache-2.0.txt`. Include needed scripts/fixtures without generated state. Exclude credentials, generated `_img2_local.py`, environments, `node_modules`, builds, private production reports, full-resolution references and generated scenes.
+3. **Keep access and license metadata correct.** Use `license: "SEE LICENSE IN LICENSE"` for the primary proprietary terms and their expressly excluded components, and `publishConfig.access: "restricted"` for the scoped private payload. `private: true` prevents npm publication; it is not the switch for a publishable private package. Include all three license/notice files and preserve component terms and earlier grants. Review Blender/Python API and combined-distribution obligations with qualified counsel; a proprietary product label is not a GPL exception or a guarantee of exclusive rights to every included file.
4. **Review the actual tarball.** Run `npm pack --dry-run`, build the tarball, inspect its complete file list and install that exact artifact in an isolated consumer. The source ZIP packager is a separate format, not proof of an npm package. Reopen the bundled guides/gallery without GitHub access; verify license files, image paths and required runtime dependencies.
5. **Authorize and perform the first publication separately.** Use explicit restricted access, reviewed bytes, package write permission and the account's required authentication/2FA. Do not publish merely to preview the README. For CI, review current [trusted-publishing support](https://docs.npmjs.com/trusted-publishers/) for the selected registry/account and workflow; never commit credentials or assume an OIDC flow has been configured. Private source repositories do not support npm provenance attestations; keep provenance disabled rather than claim an attestation exists.
6. **Test authenticated consumer registration after publication.** Use the official `img2 add` provider with the published package's exact `npm:` source. Harness 0.4.0 resolves packages with `npm view` and `npm pack`; verify the intended npm registry/auth configuration in practice. Test without GitHub source credentials, plus doctor, sync, capability resolution, update and removal. Packages outside the default `@img2threejs` scope require explicit source approval. Check an unauthorized npm reader fails without partial registration; do not weaken access or use `--force` to conceal failures.
@@ -84,6 +84,6 @@ python scripts/package_plugin.py
Native regressions need the separate authoring environment: set `IMG2_BLENDER_PYTHON` to that Python executable before the suite. Optional-environment skips are not passing native checks. Tests/builds do not replace changed-path rendering or browser inspection.
-`verify_install.py` runs the official CLI with temporary HOME/IMG2_HOME and three isolated host configurations; it does not alter real host settings or launchers. It checks install/add, identity, links, doctor, sync, capability resolution and removal. The source packager writes a deterministic versioned ZIP and `SHA256SUMS` under `dist/`, including both license files and the small documentation gallery, not generated scene assets. Neither command publishes anything.
+`verify_install.py` runs the official CLI with temporary HOME/IMG2_HOME and three isolated host configurations; it does not alter real host settings or launchers. It checks install/add, identity, links, doctor, sync, capability resolution and removal. The source packager writes a deterministic versioned ZIP and `SHA256SUMS` under `dist/`, including `LICENSE`, `THIRD_PARTY_NOTICES.md`, the retained Apache-2.0 license and the small documentation gallery, not generated scene assets. Neither command publishes anything.
Official references: [private packages](https://docs.npmjs.com/creating-and-publishing-private-packages/), [package metadata](https://docs.npmjs.com/cli/v11/configuring-npm/package-json/), [npm provenance](https://docs.npmjs.com/generating-provenance-statements/) and the [img2 harness](https://github.com/img2threejs/img2).
diff --git a/scripts/package_plugin.py b/scripts/package_plugin.py
index 9ddef9a..1b08f62 100755
--- a/scripts/package_plugin.py
+++ b/scripts/package_plugin.py
@@ -10,7 +10,7 @@ import zipfile
ROOT_FILES = (
"plugin.json", "steps.json", "gates.json", "SKILL.md", "README.md", "LICENSE",
- "licenses/Apache-2.0.txt", "SECURITY.md", "CHANGELOG.md", "VERIFICATION.md",
+ "THIRD_PARTY_NOTICES.md", "licenses/Apache-2.0.txt", "SECURITY.md", "CHANGELOG.md", "VERIFICATION.md",
"requirements.txt", "requirements-authoring.txt", "requirements-surfaces.txt", ".gitignore",
"docs/showcase/README.md", "docs/showcase/living-room-comparison.webp", "docs/showcase/living-room-viewer.webp",
)