From d763b36adc652b95e1f677ce5ae500206ea5108d Mon Sep 17 00:00:00 2001 From: malkuthro <166633396+malkuthro@users.noreply.github.com> Date: Wed, 6 May 2026 11:28:20 +0200 Subject: [PATCH] chore(legal): add NOTICE + SPDX headers across web/ (#93) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Codify attribution before the sidebar gets more visibility. NOTICE is the single human-readable source of truth — copyright statement, plain-English attribution request with a copy-pasteable credit line, pointer to LICENSE and forks/THIRD_PARTY.md so it shows the project respects others' attribution too. SPDX-FileCopyrightText / SPDX-License-Identifier headers added at the top of every web/*.js (entry point + sidebar/ + ai_pipeline) so license scanners (GitHub, FOSSA, reuse-tool) parse each file correctly and stripped-attribution forks become an obviously deliberate act rather than "I forgot to copy a file." GPL-3.0-only matches the LICENSE file (no "or later" wording in it). Year range 2025-2026 spans first commit (2025-09-28) to today. Comment-only change — no runtime impact. Co-authored-by: Claude Opus 4.7 (1M context) --- NOTICE | 34 ++++++++++++++++++++++++++++++++++ web/ai_pipeline.js | 3 +++ web/koolook_sidebar.js | 3 +++ web/sidebar/canvas_io.js | 3 +++ web/sidebar/canvas_menu.js | 3 +++ web/sidebar/constants.js | 3 +++ web/sidebar/installer.js | 3 +++ web/sidebar/modals.js | 3 +++ web/sidebar/node_preview.js | 3 +++ web/sidebar/picks_store.js | 3 +++ web/sidebar/snapshot.js | 3 +++ web/sidebar/tree.js | 3 +++ web/sidebar/workflows_store.js | 3 +++ 13 files changed, 70 insertions(+) create mode 100644 NOTICE diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..fe86087 --- /dev/null +++ b/NOTICE @@ -0,0 +1,34 @@ +ComfyUI-Koolook — NOTICE +======================== + +Copyright (C) 2025-2026 Kforge Labs (https://github.com/malkuthro) +Project: https://github.com/malkuthro/ComfyUI-Koolook + +This package is licensed under GPL-3.0 — see LICENSE for the full text. + + +Attribution +----------- + +If you fork, redistribute, or build on top of this code — including the +"Kforge Labs" ComfyUI sidebar (web/koolook_sidebar.js + web/sidebar/) — +please: + + 1. Keep the SPDX header at the top of each source file intact. + + 2. Credit the origin in your README or about page, for example: + + Includes work from Kforge Labs / ComfyUI-Koolook + (https://github.com/malkuthro/ComfyUI-Koolook), licensed GPL-3.0. + + 3. Release your derivative under GPL-3.0 (per LICENSE §5). + + +Third-party code +---------------- + +Third-party code incorporated into this package is tracked in +forks/THIRD_PARTY.md and forks/forks_manifest.yaml. Each entry lists +its upstream license and verification date. We ask the same courtesy +of attribution for our own work that we extend to the upstreams we +build on. diff --git a/web/ai_pipeline.js b/web/ai_pipeline.js index ba23f6b..c1bd984 100644 --- a/web/ai_pipeline.js +++ b/web/ai_pipeline.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + import { app } from "../../../scripts/app.js"; import { ComfyWidgets } from "../../../scripts/widgets.js"; diff --git a/web/koolook_sidebar.js b/web/koolook_sidebar.js index 9a844fc..cb3ba7f 100644 --- a/web/koolook_sidebar.js +++ b/web/koolook_sidebar.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Koolook curated-nodes sidebar — entry point. // diff --git a/web/sidebar/canvas_io.js b/web/sidebar/canvas_io.js index 85a4e1e..ffc2c95 100644 --- a/web/sidebar/canvas_io.js +++ b/web/sidebar/canvas_io.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Canvas IO — anything that touches `app.graph` or `app.canvas` directly. // Selection serialization prunes cross-boundary links so a saved selection diff --git a/web/sidebar/canvas_menu.js b/web/sidebar/canvas_menu.js index 0bba3a1..a3dbf6c 100644 --- a/web/sidebar/canvas_menu.js +++ b/web/sidebar/canvas_menu.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Right-click context menu on canvas nodes — adds to favorites. // diff --git a/web/sidebar/constants.js b/web/sidebar/constants.js index 0a81ebd..64a6788 100644 --- a/web/sidebar/constants.js +++ b/web/sidebar/constants.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Configuration — static "always shown" entries. // diff --git a/web/sidebar/installer.js b/web/sidebar/installer.js index 90c8842..21c4c16 100644 --- a/web/sidebar/installer.js +++ b/web/sidebar/installer.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // ComfyUI-Manager API client + pick → install resolver. // diff --git a/web/sidebar/modals.js b/web/sidebar/modals.js index e5e9387..ce03148 100644 --- a/web/sidebar/modals.js +++ b/web/sidebar/modals.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Modal + context-menu DOM. The shell takes care of the Escape-key / overlay- // click / Cancel / OK dismissal paths and ties the document-level keydown diff --git a/web/sidebar/node_preview.js b/web/sidebar/node_preview.js index f6bb6c1..8971cf3 100644 --- a/web/sidebar/node_preview.js +++ b/web/sidebar/node_preview.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Node preview — hover card for sidebar leaf rows. // diff --git a/web/sidebar/picks_store.js b/web/sidebar/picks_store.js index ca64c5c..f04a29c 100644 --- a/web/sidebar/picks_store.js +++ b/web/sidebar/picks_store.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // User picks (localStorage, browser-local persistence) // ============================================================================= diff --git a/web/sidebar/snapshot.js b/web/sidebar/snapshot.js index 529bae1..337c748 100644 --- a/web/sidebar/snapshot.js +++ b/web/sidebar/snapshot.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Snapshot / preset library (#46 item 1). // diff --git a/web/sidebar/tree.js b/web/sidebar/tree.js index f38b800..e75e824 100644 --- a/web/sidebar/tree.js +++ b/web/sidebar/tree.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Sidebar tree — section-registry engine, data gathering, DOM row factories, // folder builder, context menus for workflow/directory rows, and the panel diff --git a/web/sidebar/workflows_store.js b/web/sidebar/workflows_store.js index c048d09..c553052 100644 --- a/web/sidebar/workflows_store.js +++ b/web/sidebar/workflows_store.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2025-2026 Kforge Labs +// SPDX-License-Identifier: GPL-3.0-only + // ============================================================================= // Workflows storage (ComfyUI /userdata API with localStorage fallback) + // transaction layer + in-memory mutation operations.