Skip to content

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

chore: adopt mixed proprietary licensing for interior 0.3.0

hoainho10fbd8a2d1b5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5cebbbd..953795e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,12 @@
# Changelog
-## Unreleased
+## 0.3.0 — Unreleased
+
+### 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.
### Documentation
diff --git a/LICENSE b/LICENSE
index a40f4c4..e34c95e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,201 +1,83 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or Derivative
- Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright 2026 hoainho
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+img2 Interior — Mixed License
+Copyright 2026 hoainho
+
+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. Proprietary portions — All rights reserved
+
+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.
+
+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.
+
+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.
+
+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
+
+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.
diff --git a/README.md b/README.md
index 2d798f8..1e2dc43 100644
--- a/README.md
+++ b/README.md
@@ -100,7 +100,7 @@ Review gates track stage order and current evidence. They do not measure aesthet
## Contributing
-Bug reports, documentation improvements, and focused fixes are welcome through [GitHub issues](https://github.com/img2threejs/img2interior/issues) and pull requests, subject to repository access.
+Bug reports are welcome through [GitHub issues](https://github.com/img2threejs/img2interior/issues), subject to repository access. Changes to proprietary portions require prior written authorization and agreed contribution terms; opening a pull request does not by itself grant a license or assign copyright. The Apache-2.0 exceptions retain their own contribution terms.
For a bug report, include the plugin and harness versions, operating system, relevant command, expected result, actual result, and a minimal reproduction. Remove credentials, private images, client assets, and identifying project paths before sharing logs or artifacts.
@@ -148,8 +148,14 @@ Paid generation, private uploads, purchases, deployment, and redistribution of r
## License
-The code in this repository is licensed under [Apache License 2.0](LICENSE).
+Version **0.3.0** uses a [mixed license](LICENSE), not a blanket open-source license:
-Private hosting and package access controls do not change this license or revoke the rights it grants for distributed code.
+- **Proprietary portions:** original plugin instructions, documentation, workflow/resource tools, and viewer code are **All rights reserved**, except for material covered by prior grants. Use, modification, or redistribution requires prior written authorization; this notice grants no general evaluation or commercial license.
+- **Apache-2.0 exceptions:** `authoring/`, `recipes/`, `examples/`, the native authoring/inspection CLIs, the native test module, and the authoring requirements remain under [Apache License 2.0](licenses/Apache-2.0.txt). The exact paths are listed in `LICENSE`.
+- **Earlier grants:** the change does not revoke Apache-2.0 rights already granted for earlier revisions, including `0.2.0` and earlier material reused later.
-Third-party assets and reference images remain subject to their own licenses and permissions. Poly Haven's CC0 asset license is separate from its API terms and attribution requirements; see the [resource guide](reference/resources.md).
+GitHub/npm access does not replace permission to use proprietary portions. Obtain written authorization before following installation or usage instructions for those portions. For a future npm payload package, use `SEE LICENSE IN LICENSE` metadata and include both license files; an installer-only package has its own separately reviewed license.
+
+Apache-2.0 is compatible with GPLv3, not GPLv2-only. Blender/Python API integrations and combined distributions still require review against [Blender's licensing requirements](https://www.blender.org/about/license/#add-ons); this mixed-license notice is not a GPL exception or a legal compliance certification.
+
+Third-party dependencies, assets, and reference images retain their own licenses and permissions. The plugin does not claim ownership of user-created artwork merely because it processes it; copied plugin code and third-party assets retain their terms. Poly Haven's CC0 asset license is separate from its API terms; see the [resource guide](reference/resources.md).
diff --git a/SKILL.md b/SKILL.md
index f998031..04d106f 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -1,8 +1,8 @@
---
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: Apache-2.0
-version: 0.2.0
+license: LicenseRef-img2-Interior-Proprietary AND Apache-2.0
+version: 0.3.0
---
# Image → authored interior → working delivery
diff --git a/authoring/__init__.py b/authoring/__init__.py
index c051749..588cb02 100644
--- a/authoring/__init__.py
+++ b/authoring/__init__.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
"""Explicit, workspace-bound Blender authoring. Importing this package is inert."""
from dataclasses import dataclass
from pathlib import Path
diff --git a/authoring/calibration.py b/authoring/calibration.py
index 9bdd6d4..1cb9176 100644
--- a/authoring/calibration.py
+++ b/authoring/calibration.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
"""Evidence-only runtime fixture for EXR row orientation, rotated UV1 and PI transport.
The Cycles reference evaluates the known Lambertian outgoing radiance albedo*field.
diff --git a/authoring/geometry.py b/authoring/geometry.py
index fa73fe9..2cbb391 100755
--- a/authoring/geometry.py
+++ b/authoring/geometry.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: Apache-2.0
"""Reusable metric geometry/PBR/UV helpers, bound explicitly by Context.helpers.
Coordinates are native Blender Z-up metres. Importing does not author a scene.
diff --git a/authoring/inspection.py b/authoring/inspection.py
index 0b3f8b8..896aab9 100644
--- a/authoring/inspection.py
+++ b/authoring/inspection.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
"""Reopen the authored master or import the portable GLB and render it as a consumer.
Run with the project's bpy Python. Portable colors already contain the Neutral
diff --git a/authoring/pipeline.py b/authoring/pipeline.py
index 1b31ee1..918db6d 100644
--- a/authoring/pipeline.py
+++ b/authoring/pipeline.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
"""Workspace-bound native production using actual Blender/Cycles.
Loaded privately by authoring.bound_module; no paths or scene data are accessed
diff --git a/authoring/regression.py b/authoring/regression.py
index 3d38113..73eb3e2 100644
--- a/authoring/regression.py
+++ b/authoring/regression.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
"""Real Blender export regressions. These measurements are not visual-quality scores."""
from pathlib import Path
from types import SimpleNamespace
diff --git a/examples/studio/build_scene.py b/examples/studio/build_scene.py
index f11385a..e4d187d 100644
--- a/examples/studio/build_scene.py
+++ b/examples/studio/build_scene.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
"""Small authored studio: actual desk, stool, shelf, window and optional moving linen.
Install this file and scene-spec.json in W. Supply an authorized source image at
diff --git a/licenses/Apache-2.0.txt b/licenses/Apache-2.0.txt
new file mode 100644
index 0000000..a40f4c4
--- /dev/null
+++ b/licenses/Apache-2.0.txt
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or Derivative
+ Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2026 hoainho
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/plugin.json b/plugin.json
index 3253e7f..796c7e8 100644
--- a/plugin.json
+++ b/plugin.json
@@ -1,7 +1,7 @@
{
"schema": 1,
"name": "interior",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Agent-operated image/reference analysis, Poly Haven acquisition, Blender/Python authoring and PBR, render/repair, bake/export, Three.js interaction and verified native/runtime/portable delivery.",
"capabilities": [{"from": "image", "to": "interior-scene-candidate"}],
"requires": {"harness": ">=0.4.0", "coreApi": 1}
diff --git a/recipes/oak-linen/build_scene.py b/recipes/oak-linen/build_scene.py
index c27d8e1..51522a3 100644
--- a/recipes/oak-linen/build_scene.py
+++ b/recipes/oak-linen/build_scene.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
"""Explicit hash-guarded Oak/Linen recipe, not a generic image interpreter."""
import json
diff --git a/reference/installation.md b/reference/installation.md
index fad4cdc..eeb33ab 100644
--- a/reference/installation.md
+++ b/reference/installation.md
@@ -6,6 +6,7 @@
- A configured Claude Code, Codex or OpenCode host. 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. The pinned viewer accepts Node 18, 20 or >=22; production preflight checks the actual binary. See [production setup and commands](production-runbook.md); a harness install does not silently install bpy, image packages or a web app.
+- 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.
## Install the private source checkout
@@ -66,7 +67,7 @@ The GitHub repository stays private. npm is the intended installer channel, but
| Public payload package, private GitHub development | The plugin implementation itself | Public npm access; included code is no longer private |
| Private payload package, private GitHub development | The plugin implementation, restricted by npm permissions | A paid npm user/organization account, npm authentication, and package read access |
-The recommended private-source model is the first row, using the official installer generator. A public installer does not grant access to a private Git repository. A private npm payload can avoid GitHub access for consumers, but package readers can still inspect downloaded code. These controls do not replace or change the existing Apache-2.0 license.
+The recommended private-source model is the first row, using the official installer generator. A public installer does not grant access to a private Git repository. A private npm payload can avoid GitHub access for consumers, but package readers can still inspect downloaded code. These access controls are separate from the mixed license: proprietary portions require written authorization, while the listed Apache-2.0 exceptions and prior grants remain effective.
See npm's [private package requirements](https://docs.npmjs.com/about-private-packages). Decide on payload visibility and licensing before authorizing the first publish.
@@ -74,6 +75,7 @@ See npm's [private package requirements](https://docs.npmjs.com/about-private-pa
1. **Confirm ownership and versions.** Choose an available npm package name owned by the maintainer or organization. Keep the plugin ID `interior` and skill name `img2-interior`. Select a reviewed plugin semver tag or full commit SHA; do not make an installer silently track an unreviewed branch.
2. **Generate the official wrapper.** Use `create-img2-plugin-cli` from a reviewed img2 version with `--private-repo`, `--source img2threejs/img2interior`, an explicit `--ref`, and a reviewed full `--workflow-ref` SHA. The generator creates `cli/`, its tests/public README/license, a publish workflow, and `CLI_QUICKSTART.md`; none of these have been generated in this repository yet.
+ Review the generated wrapper's own license separately: the SDK template includes Apache-2.0 terms, which neither relicense the proprietary plugin payload nor permit removal of upstream notices. If distributing the mixed-license payload through npm, use `license: "SEE LICENSE IN LICENSE"` and include the root `LICENSE` and `licenses/Apache-2.0.txt`; do not label the whole payload Apache-2.0 or imply that every file is proprietary.
3. **Review the tarball, not just the repository.** Run the generated CLI tests and `npm pack --dry-run` from `cli/`; inspect the actual packed tarball and test that artifact in an isolated consumer. Allow only the intended installer files and required package metadata/documentation. Do not include the plugin payload, credentials, workspace state, references, scene assets, or environments. Do not publish from the plugin root.
4. **Authorize the first publish.** Use an npm account with package write access and 2FA. Follow the generated quickstart for the reviewed package name, explicit access setting, and first manual release. For this public-wrapper model, the access setting is `public`; publishing is a separate authorized operation, not part of installing or testing the skill.
5. **Configure tokenless CI releases.** After the package exists, configure npm trusted publishing for this repository's exact caller workflow filename and the required publish permission. Use a supported GitHub-hosted runner with `id-token: write`; do not store a long-lived npm write token. Trusted publishing requires Node ≥22.14.0 and npm ≥11.5.1; the SDK's current release-setup instructions require npm ≥11.15 for its trust-management command.
@@ -81,4 +83,6 @@ See npm's [private package requirements](https://docs.npmjs.com/about-private-pa
7. **Verify and document consumer access.** Test dry-run/install/doctor/removal in isolated host directories with authorized HTTPS Git credentials; also check an unauthorized consumer fails without a partial plugin registration. npm authentication alone is not GitHub authorization. Keep credentials out of package contents, command URLs, logs, and public examples.
8. **Release immutable versions.** Plugin source tags use `vX.Y.Z`; generated installer release tags use `cli-vX.Y.Z`. Publish the exact tested tarball, record the installed source ref/integrity, and update public install instructions only after the package/version is available and verified. npm installation does not register a catalog entry.
+Before authorizing a proprietary release, review the scope with qualified counsel, including rights to earlier Apache-2.0 material, the Blender/Python API boundary, retained upstream notices, and written end-user/contributor agreements. This documentation does not certify a combined distribution's GPL compliance.
+
Official references: [img2 wrapper contract](https://github.com/img2threejs/img2/blob/main/docs/WRITING_A_PLUGIN.md#10-plugin-cli-wrapper-optional), [npm trusted publishing](https://docs.npmjs.com/trusted-publishers/), and [npm provenance requirements](https://docs.npmjs.com/generating-provenance-statements/).
diff --git a/requirements-authoring.txt b/requirements-authoring.txt
index 939dd2f..7176eef 100644
--- a/requirements-authoring.txt
+++ b/requirements-authoring.txt
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
# Install in an isolated Python 3.11 environment, never host/global Python.
# A Blender 4.3 Python environment with these modules can be used instead.
# Set IMG2_BLENDER_PYTHON to that interpreter for optional real regression tests.
diff --git a/scripts/package_plugin.py b/scripts/package_plugin.py
index c2e0b39..49dd338 100755
--- a/scripts/package_plugin.py
+++ b/scripts/package_plugin.py
@@ -8,7 +8,7 @@ import re
import sys
import zipfile
-ROOT_FILES = ("plugin.json", "steps.json", "gates.json", "SKILL.md", "README.md", "LICENSE", "SECURITY.md", "CHANGELOG.md", "VERIFICATION.md", "requirements.txt", "requirements-authoring.txt", "requirements-surfaces.txt", ".gitignore")
+ROOT_FILES = ("plugin.json", "steps.json", "gates.json", "SKILL.md", "README.md", "LICENSE", "licenses/Apache-2.0.txt", "SECURITY.md", "CHANGELOG.md", "VERIFICATION.md", "requirements.txt", "requirements-authoring.txt", "requirements-surfaces.txt", ".gitignore")
TREES = ("tools", "authoring", "resources_lib", "runtime", "recipes", "reference", "examples", "tests", "scripts", ".github")
diff --git a/tests/test_authoring.py b/tests/test_authoring.py
index f2c8c11..9ccbf14 100644
--- a/tests/test_authoring.py
+++ b/tests/test_authoring.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
"""Stdlib context tests; opt-in real bpy regressions via IMG2_BLENDER_PYTHON."""
import json
import math
diff --git a/tools/author_scene.py b/tools/author_scene.py
index 6b6e3bf..8065e00 100755
--- a/tools/author_scene.py
+++ b/tools/author_scene.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: Apache-2.0
"""Run explicit native production stages with a compatible bpy Python interpreter."""
from argparse import ArgumentParser
from pathlib import Path
diff --git a/tools/inspect_scene.py b/tools/inspect_scene.py
index 571092e..eef9c0f 100755
--- a/tools/inspect_scene.py
+++ b/tools/inspect_scene.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: Apache-2.0
"""Independently reopen and render a packed master or portable GLB."""
from argparse import ArgumentParser
from pathlib import Path