From 5ae7482009a6f8e2c3bbff67afb88e3264c44d5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mario=20Guti=C3=A9rrez?=
Date: Mon, 10 Aug 2026 20:09:50 -0500
Subject: [PATCH 1/3] feat: add private Hyphae sidecar adapter
---
.github/workflows/ci.yml | 41 ++
fixtures/next/hyphae-console/.gitignore | 3 +
fixtures/next/hyphae-console/Cargo.lock | 470 +++++++++++++++
fixtures/next/hyphae-console/Cargo.toml | 24 +
fixtures/next/hyphae-console/README.md | 15 +
.../next/hyphae-console/server/Cargo.toml | 23 +
.../server/src/hyphae_native/http.rs | 283 +++++++++
.../server/src/hyphae_native/mod.rs | 90 +++
.../server/src/hyphae_native/process.rs | 447 ++++++++++++++
.../server/src/hyphae_native/tests.rs | 279 +++++++++
.../server/src/hyphae_native/wire.rs | 570 ++++++++++++++++++
.../next/hyphae-console/server/src/lib.rs | 8 +
.../hyphae-console/sidecar-authority.json | 28 +
fixtures/next/manifest.json | 2 +-
package.json | 1 +
scripts/check-next-hyphae-sidecar.mjs | 53 ++
16 files changed, 2336 insertions(+), 1 deletion(-)
create mode 100644 fixtures/next/hyphae-console/.gitignore
create mode 100644 fixtures/next/hyphae-console/Cargo.lock
create mode 100644 fixtures/next/hyphae-console/Cargo.toml
create mode 100644 fixtures/next/hyphae-console/server/Cargo.toml
create mode 100644 fixtures/next/hyphae-console/server/src/hyphae_native/http.rs
create mode 100644 fixtures/next/hyphae-console/server/src/hyphae_native/mod.rs
create mode 100644 fixtures/next/hyphae-console/server/src/hyphae_native/process.rs
create mode 100644 fixtures/next/hyphae-console/server/src/hyphae_native/tests.rs
create mode 100644 fixtures/next/hyphae-console/server/src/hyphae_native/wire.rs
create mode 100644 fixtures/next/hyphae-console/server/src/lib.rs
create mode 100644 fixtures/next/hyphae-console/sidecar-authority.json
create mode 100644 scripts/check-next-hyphae-sidecar.mjs
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d5472d9..731ab8f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -68,6 +68,7 @@ jobs:
cargo fmt --manifest-path tools/opensdk/rust-transform/Cargo.toml -- --check
cargo fmt --manifest-path tools/opensdk/rust-component-transform/Cargo.toml -- --check
cargo fmt --manifest-path tools/opensdk/componentize/Cargo.toml -- --check
+ cargo fmt --manifest-path fixtures/next/hyphae-console/Cargo.toml -- --check
- name: Lint all targets
run: cargo clippy --workspace --all-targets --locked -- -D warnings
@@ -90,6 +91,45 @@ jobs:
--locked \
-- -D warnings
+ - name: Validate private Hyphae sidecar adapter
+ run: |
+ npm run check:next-hyphae-sidecar
+ cargo clippy \
+ --manifest-path fixtures/next/hyphae-console/Cargo.toml \
+ --workspace \
+ --all-targets \
+ --locked \
+ -- -D warnings
+ cargo test \
+ --manifest-path fixtures/next/hyphae-console/Cargo.toml \
+ --workspace \
+ --all-targets \
+ --locked
+
+ - name: Verify Hyphae v1.0.1 sidecar compatibility
+ shell: bash
+ run: |
+ set -euo pipefail
+ release="https://github.com/celiumsai/hyphae/releases/download/v1.0.1"
+ archive="hyphae-1.0.1-x86_64-unknown-linux-gnu.tar.gz"
+ checksums="$RUNNER_TEMP/SHA256SUMS"
+ curl --fail --silent --show-error --location "$release/SHA256SUMS" --output "$checksums"
+ echo "3e45b7056f27a3e2062e7d216cf03972108aae032bee36589210eb28cd569048 $checksums" | sha256sum --check --strict -
+ curl --fail --silent --show-error --location "$release/$archive" --output "$RUNNER_TEMP/$archive"
+ expected="$(awk -v name="$archive" '$2 == name { print $1 }' "$checksums")"
+ test "$expected" = "8745c3615fb5b21747a190b4c922860ff8d3c1c69efe35068a80be56942bcd13"
+ echo "$expected $RUNNER_TEMP/$archive" | sha256sum --check --strict -
+ mkdir "$RUNNER_TEMP/hyphae-v1.0.1"
+ tar -xzf "$RUNNER_TEMP/$archive" -C "$RUNNER_TEMP/hyphae-v1.0.1"
+ export HYPHAE_V101_BIN="$RUNNER_TEMP/hyphae-v1.0.1/hyphae-1.0.1-x86_64-unknown-linux-gnu/hyphae"
+ echo "8a34113a51ffd795db4669419674918f0e11da41f2146f9a4cbe7dcf1878fde1 $HYPHAE_V101_BIN" | sha256sum --check --strict -
+ cargo test \
+ --manifest-path fixtures/next/hyphae-console/Cargo.toml \
+ --locked \
+ real_v101_sidecar_persists_strict_state_across_restart \
+ -- \
+ --ignored
+
- name: Test workspace
run: cargo test --workspace --all-targets --locked
@@ -100,6 +140,7 @@ jobs:
cargo audit --file tools/opensdk/rust-transform/Cargo.lock
cargo audit --file tools/opensdk/rust-component-transform/Cargo.lock
cargo audit --file tools/opensdk/componentize/Cargo.lock
+ cargo audit --file fixtures/next/hyphae-console/Cargo.lock
- name: Check Rust documentation
run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --locked
diff --git a/fixtures/next/hyphae-console/.gitignore b/fixtures/next/hyphae-console/.gitignore
new file mode 100644
index 0000000..367bec6
--- /dev/null
+++ b/fixtures/next/hyphae-console/.gitignore
@@ -0,0 +1,3 @@
+/target/
+*.stderr.log
+*.stdout.log
diff --git a/fixtures/next/hyphae-console/Cargo.lock b/fixtures/next/hyphae-console/Cargo.lock
new file mode 100644
index 0000000..bfdea49
--- /dev/null
+++ b/fixtures/next/hyphae-console/Cargo.lock
@@ -0,0 +1,470 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
+[[package]]
+name = "bitflags"
+version = "2.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
+
+[[package]]
+name = "block-buffer"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+dependencies = [
+ "generic-array",
+]
+
+[[package]]
+name = "bytes"
+version = "1.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
+
+[[package]]
+name = "cpufeatures"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "crypto-common"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
+dependencies = [
+ "generic-array",
+ "typenum",
+]
+
+[[package]]
+name = "digest"
+version = "0.10.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
+dependencies = [
+ "block-buffer",
+ "crypto-common",
+]
+
+[[package]]
+name = "errno"
+version = "0.3.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
+dependencies = [
+ "libc",
+ "windows-sys",
+]
+
+[[package]]
+name = "fastrand"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
+
+[[package]]
+name = "futures-channel"
+version = "0.3.33"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "262590f4fe6afeb0bc83be1daa64e52657fe185690a958af7f3ad0e92085c5ae"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.33"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2cd50c473c80f6d7c3670a752354b8e569b1a7cbfdc0419ec88e5edad85e0dc7"
+
+[[package]]
+name = "generic-array"
+version = "0.14.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+dependencies = [
+ "typenum",
+ "version_check",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "r-efi",
+]
+
+[[package]]
+name = "http"
+version = "1.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
+dependencies = [
+ "bytes",
+ "itoa",
+]
+
+[[package]]
+name = "http-body"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
+dependencies = [
+ "bytes",
+ "http",
+]
+
+[[package]]
+name = "http-body-util"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e9f41fd6a08e4d4ec69df65976da761afd5ad5e58a9d4acb46bd1c953a9e3ff2"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "http",
+ "http-body",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "httparse"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
+
+[[package]]
+name = "hyper"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498"
+dependencies = [
+ "atomic-waker",
+ "bytes",
+ "futures-channel",
+ "futures-core",
+ "http",
+ "http-body",
+ "httparse",
+ "itoa",
+ "pin-project-lite",
+ "smallvec",
+ "tokio",
+ "want",
+]
+
+[[package]]
+name = "hyper-util"
+version = "0.1.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
+dependencies = [
+ "bytes",
+ "http",
+ "http-body",
+ "hyper",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
+
+[[package]]
+name = "libc"
+version = "0.2.189"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
+
+[[package]]
+name = "linux-raw-sys"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
+
+[[package]]
+name = "memchr"
+version = "2.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
+
+[[package]]
+name = "mio"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427"
+dependencies = [
+ "libc",
+ "wasi",
+ "windows-sys",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.21.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
+
+[[package]]
+name = "pliegors-next-hyphae-console-server"
+version = "0.0.0"
+dependencies = [
+ "bytes",
+ "http",
+ "http-body-util",
+ "hyper",
+ "hyper-util",
+ "serde",
+ "serde_json",
+ "sha2",
+ "tempfile",
+ "tokio",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.107"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "r-efi"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
+
+[[package]]
+name = "rustix"
+version = "1.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
+dependencies = [
+ "bitflags",
+ "errno",
+ "libc",
+ "linux-raw-sys",
+ "windows-sys",
+]
+
+[[package]]
+name = "serde"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_core"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.151"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
+dependencies = [
+ "itoa",
+ "memchr",
+ "serde",
+ "serde_core",
+ "zmij",
+]
+
+[[package]]
+name = "sha2"
+version = "0.10.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "digest",
+]
+
+[[package]]
+name = "smallvec"
+version = "1.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
+
+[[package]]
+name = "socket2"
+version = "0.6.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
+dependencies = [
+ "libc",
+ "windows-sys",
+]
+
+[[package]]
+name = "syn"
+version = "3.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.27.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
+dependencies = [
+ "fastrand",
+ "getrandom",
+ "once_cell",
+ "rustix",
+ "windows-sys",
+]
+
+[[package]]
+name = "tokio"
+version = "1.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d988bcd52dbe076d3d46903332f58c912b87a2c49b1428419a5845154762ffee"
+dependencies = [
+ "bytes",
+ "libc",
+ "mio",
+ "pin-project-lite",
+ "socket2",
+ "tokio-macros",
+ "windows-sys",
+]
+
+[[package]]
+name = "tokio-macros"
+version = "2.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "try-lock"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
+
+[[package]]
+name = "typenum"
+version = "1.20.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+
+[[package]]
+name = "version_check"
+version = "0.9.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
+
+[[package]]
+name = "want"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
+dependencies = [
+ "try-lock",
+]
+
+[[package]]
+name = "wasi"
+version = "0.11.1+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "zmij"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
diff --git a/fixtures/next/hyphae-console/Cargo.toml b/fixtures/next/hyphae-console/Cargo.toml
new file mode 100644
index 0000000..023d0fb
--- /dev/null
+++ b/fixtures/next/hyphae-console/Cargo.toml
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-3.0-only
+
+[workspace]
+resolver = "2"
+members = ["server"]
+default-members = ["server"]
+
+[workspace.package]
+version = "0.0.0"
+edition = "2024"
+rust-version = "1.86"
+license = "GPL-3.0-only"
+
+[workspace.dependencies]
+bytes = "=1.12.1"
+http = "=1.4.2"
+http-body-util = "=0.1.4"
+hyper = { version = "=1.10.1", default-features = false, features = ["client", "http1"] }
+hyper-util = { version = "=0.1.20", default-features = false, features = ["tokio"] }
+serde = { version = "1", features = ["derive"] }
+serde_json = "1"
+sha2 = "0.10"
+tempfile = "=3.27.0"
+tokio = { version = "=1.53.0", features = ["io-util", "macros", "net", "rt-multi-thread", "time"] }
diff --git a/fixtures/next/hyphae-console/README.md b/fixtures/next/hyphae-console/README.md
index af94f91..f600b36 100644
--- a/fixtures/next/hyphae-console/README.md
+++ b/fixtures/next/hyphae-console/README.md
@@ -29,3 +29,18 @@ exact sidecar release, probes capabilities, enforces loopback, handles unknown
error codes, and passes bounded startup, shutdown, cancellation, persistence,
and browser-isolation tests. A later released Hyphae version requires a fresh
compatibility decision and new fixture identity.
+
+The private Rust `1.86` adapter lives under `server/src/hyphae_native`. It
+implements only the reviewed capabilities, scalar GET/SET, and transaction-
+status subset of the canonical product envelope. Run its offline gates with:
+
+```sh
+npm run check:next-hyphae-sidecar
+cargo test --manifest-path fixtures/next/hyphae-console/Cargo.toml --locked
+```
+
+The ignored persistence test requires `HYPHAE_V101_BIN` to name the verified
+release executable. CI downloads the exact Linux archive, verifies the release
+checksum file, archive, and executable digests, then runs that test. This does
+not promote the Console to `executable`; application routes, simulated auth,
+SSR, streaming, cancellation acceptance, and browser isolation still remain.
diff --git a/fixtures/next/hyphae-console/server/Cargo.toml b/fixtures/next/hyphae-console/server/Cargo.toml
new file mode 100644
index 0000000..61425cc
--- /dev/null
+++ b/fixtures/next/hyphae-console/server/Cargo.toml
@@ -0,0 +1,23 @@
+# SPDX-License-Identifier: GPL-3.0-only
+
+[package]
+name = "pliegors-next-hyphae-console-server"
+version.workspace = true
+edition.workspace = true
+rust-version.workspace = true
+license.workspace = true
+publish = false
+
+[dependencies]
+bytes = { workspace = true }
+http = { workspace = true }
+http-body-util = { workspace = true }
+hyper = { workspace = true }
+hyper-util = { workspace = true }
+serde = { workspace = true }
+serde_json = { workspace = true }
+sha2 = { workspace = true }
+tokio = { workspace = true }
+
+[dev-dependencies]
+tempfile = { workspace = true }
diff --git a/fixtures/next/hyphae-console/server/src/hyphae_native/http.rs b/fixtures/next/hyphae-console/server/src/hyphae_native/http.rs
new file mode 100644
index 0000000..026a0d2
--- /dev/null
+++ b/fixtures/next/hyphae-console/server/src/hyphae_native/http.rs
@@ -0,0 +1,283 @@
+// SPDX-License-Identifier: GPL-3.0-only
+
+use super::wire::{
+ CommitOutcome, ERROR_MEDIA_TYPE, MAX_WIRE_BYTES, PRODUCT_MEDIA_TYPE, ProductCapabilities,
+ ProductError, ProductLimits, ProductOperation, ProductResponse, TransactionStatus, WireError,
+ decode_error, decode_response, encode_request,
+};
+use bytes::Bytes;
+use http::{HeaderMap, Request, StatusCode};
+use http_body_util::{BodyExt, Empty, Full, Limited};
+use hyper::client::conn::http1;
+use hyper_util::rt::TokioIo;
+use std::fmt;
+use std::net::SocketAddr;
+use std::time::{Duration, SystemTime, UNIX_EPOCH};
+use tokio::net::TcpStream;
+
+#[derive(Clone)]
+pub struct NativeHttpClient {
+ endpoint: SocketAddr,
+ timeout: Duration,
+}
+
+impl NativeHttpClient {
+ pub fn new(endpoint: SocketAddr, timeout: Duration) -> Result {
+ if !endpoint.ip().is_loopback() {
+ return Err(TransportError::NonLoopbackEndpoint(endpoint));
+ }
+ if timeout.is_zero() {
+ return Err(TransportError::Timeout);
+ }
+ Ok(Self { endpoint, timeout })
+ }
+
+ pub async fn capabilities(
+ &self,
+ request_id: u128,
+ ) -> Result {
+ let request = Request::builder()
+ .method("GET")
+ .uri("/v2/capabilities")
+ .header("host", self.endpoint.to_string())
+ .header(
+ "accept",
+ format!("{PRODUCT_MEDIA_TYPE}, {ERROR_MEDIA_TYPE}"),
+ )
+ .header("x-hyphae-request-id", request_id.to_string())
+ .body(Empty::::new())
+ .map_err(|_| TransportError::Protocol(WireError::Malformed))?;
+ match self.send(request, request_id).await? {
+ ProductResponse::Capabilities(capabilities) => Ok(capabilities),
+ _ => Err(TransportError::UnexpectedResponse),
+ }
+ }
+
+ pub async fn get(
+ &self,
+ key: &[u8],
+ request_id: u128,
+ ) -> Result
@@ -481,6 +481,8 @@ CodeQL, secret scanning, `cargo audit`, and `npm audit` remain active.
- [Identity assets](brand/README.md)
- [Public mailbox Worker](workers/pliegors-email/README.md)
-Software: GPL-3.0-only. Documentation and original non-software media:
-CC-BY-SA-4.0. Historical Apache-2.0 releases remain under their existing terms.
+Current and future software: AGPL-3.0-only. Project-authored documentation,
+graphics, diagrams, and original non-software media: CC-BY-SA-4.0. Historical
+Apache-2.0 and GPL-3.0-only grants remain irrevocable under their existing terms;
+see [Licensing](LICENSING.md) for exact revision boundaries.
A Celiums Solutions LLC project. Contact `hello@pliegors.dev`.
diff --git a/SUPPORT.md b/SUPPORT.md
index 5feccee..d557bac 100644
--- a/SUPPORT.md
+++ b/SUPPORT.md
@@ -29,9 +29,11 @@ Use `hello@pliegors.dev` for private project correspondence. Vulnerabilities
must follow `SECURITY.md`. Do not send secrets or proprietary source unless a
separate secure exchange has been agreed.
-PliegoRS is provided under GPL-3.0-only and CC-BY-SA-4.0 without a support SLA
-or warranty. A future commercial support policy, if any, will be published
-separately and will not change rights already granted by those licenses.
+PliegoRS software is provided under AGPL-3.0-only, while project-authored
+documentation, graphics, diagrams, and original non-software media are provided
+under CC-BY-SA-4.0, without a support SLA or warranty. A future commercial
+support policy, if any, will be published separately and will not change rights
+already granted by those licenses.
Release-channel and compatibility windows are defined in the
[product constitution](docs/34-product-constitution.md). Before `1.0`, only the
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index 593c182..1328cc5 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -16,12 +16,14 @@ beside the bundled fonts. Crate tests fail when those files are absent.
The official documentation site bundles Instrument Serif, Instrument Sans,
and Fragment Mono under the SIL Open Font License 1.1. Their complete license
texts are stored beside the font files in `examples/pliegors-site/public/fonts`.
-The original PliegoRS brand images under `examples/pliegors-site/public/media`
-are Celiums Solutions LLC project assets and are not third-party stock media.
+The original PliegoRS graphics and media under
+`examples/pliegors-site/public/media` are Celiums Solutions LLC project assets,
+are not third-party stock media, and fall within the project-authored
+CC-BY-SA-4.0 non-software scope described in `LICENSING.md`.
The official `default` starter contains no third-party media or fonts. Generated
projects receive a neutral `LICENSE.md` placeholder; PliegoRS itself remains
-GPL-3.0-only.
+AGPL-3.0-only.
This file is a distribution index, not a replacement for dependency license
texts or for notices placed beside bundled assets.
diff --git a/TRADEMARKS.md b/TRADEMARKS.md
index 155ebb5..3361750 100644
--- a/TRADEMARKS.md
+++ b/TRADEMARKS.md
@@ -2,8 +2,10 @@
# PliegoRS trademark policy
-GPL-3.0-only and CC-BY-SA-4.0 grant copyright permissions for their respective
-materials; neither grants permission to use Celiums Solutions LLC trademarks.
+AGPL-3.0-only grants copyright permissions for current software, and
+CC-BY-SA-4.0 grants copyright permissions for project-authored documentation,
+graphics, diagrams, and original non-software media. Neither grants permission
+to use Celiums Solutions LLC trademarks.
PliegoRS, the PliegoRS wordmark and symbol, Celiums, and associated visual
identities are marks of Celiums Solutions LLC, whether or not registered in a
particular jurisdiction.
diff --git a/benchmarks/browser-apply/Cargo.toml b/benchmarks/browser-apply/Cargo.toml
index 43d8bfb..2a84fcd 100644
--- a/benchmarks/browser-apply/Cargo.toml
+++ b/benchmarks/browser-apply/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliegors-browser-apply-benchmark"
diff --git a/benchmarks/browser-apply/src/lib.rs b/benchmarks/browser-apply/src/lib.rs
index edee63d..84ef669 100644
--- a/benchmarks/browser-apply/src/lib.rs
+++ b/benchmarks/browser-apply/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#![forbid(unsafe_code)]
diff --git a/crates/pliego-adapters/Cargo.toml b/crates/pliego-adapters/Cargo.toml
index 17a5030..77549ca 100644
--- a/crates/pliego-adapters/Cargo.toml
+++ b/crates/pliego-adapters/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-adapters"
version.workspace = true
diff --git a/crates/pliego-adapters/src/lib.rs b/crates/pliego-adapters/src/lib.rs
index 4350112..0798fcb 100644
--- a/crates/pliego-adapters/src/lib.rs
+++ b/crates/pliego-adapters/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Lifecycle-scoped ESM adapter islands for external browser libraries.
diff --git a/crates/pliego-adapters/src/runtime-v1.js b/crates/pliego-adapters/src/runtime-v1.js
index 12bba0d..8318f63 100644
--- a/crates/pliego-adapters/src/runtime-v1.js
+++ b/crates/pliego-adapters/src/runtime-v1.js
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
export const API_VERSION = 1;
diff --git a/crates/pliego-adapters/tests/runtime-v1.test.mjs b/crates/pliego-adapters/tests/runtime-v1.test.mjs
index ea63732..fe8a6b0 100644
--- a/crates/pliego-adapters/tests/runtime-v1.test.mjs
+++ b/crates/pliego-adapters/tests/runtime-v1.test.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import test from 'node:test';
diff --git a/crates/pliego-artifact/Cargo.toml b/crates/pliego-artifact/Cargo.toml
index 177e196..fb32055 100644
--- a/crates/pliego-artifact/Cargo.toml
+++ b/crates/pliego-artifact/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-artifact"
version.workspace = true
diff --git a/crates/pliego-artifact/src/lib.rs b/crates/pliego-artifact/src/lib.rs
index 974f964..3080f86 100644
--- a/crates/pliego-artifact/src/lib.rs
+++ b/crates/pliego-artifact/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
#![forbid(unsafe_code)]
diff --git a/crates/pliego-cli/Cargo.toml b/crates/pliego-cli/Cargo.toml
index 2d1ac25..9d8cd17 100644
--- a/crates/pliego-cli/Cargo.toml
+++ b/crates/pliego-cli/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-cli"
version.workspace = true
diff --git a/crates/pliego-cli/src/development.rs b/crates/pliego-cli/src/development.rs
index f622307..019e52e 100644
--- a/crates/pliego-cli/src/development.rs
+++ b/crates/pliego-cli/src/development.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
use pliego_artifact::{
diff --git a/crates/pliego-cli/src/lib.rs b/crates/pliego-cli/src/lib.rs
index 3533fc9..51e8919 100644
--- a/crates/pliego-cli/src/lib.rs
+++ b/crates/pliego-cli/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#![forbid(unsafe_code)]
diff --git a/crates/pliego-cli/src/main.rs b/crates/pliego-cli/src/main.rs
index 6f291ee..b5f9b18 100644
--- a/crates/pliego-cli/src/main.rs
+++ b/crates/pliego-cli/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
mod development;
mod pboc;
diff --git a/crates/pliego-cli/src/pboc.rs b/crates/pliego-cli/src/pboc.rs
index 54f3870..3d8a9b2 100644
--- a/crates/pliego-cli/src/pboc.rs
+++ b/crates/pliego-cli/src/pboc.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
use pliego_pboc::{
diff --git a/crates/pliego-cli/src/project_manifest.rs b/crates/pliego-cli/src/project_manifest.rs
index 4b27516..7381117 100644
--- a/crates/pliego-cli/src/project_manifest.rs
+++ b/crates/pliego-cli/src/project_manifest.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_artifact::PortablePath;
use serde::Deserialize;
diff --git a/crates/pliego-cli/src/r1_material_tests.rs b/crates/pliego-cli/src/r1_material_tests.rs
index eb3976f..29aab49 100644
--- a/crates/pliego-cli/src/r1_material_tests.rs
+++ b/crates/pliego-cli/src/r1_material_tests.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use super::*;
use std::sync::atomic::{AtomicU64, Ordering};
diff --git a/crates/pliego-cli/src/runtime_diagnostics.rs b/crates/pliego-cli/src/runtime_diagnostics.rs
index f801061..3bf5aa2 100644
--- a/crates/pliego-cli/src/runtime_diagnostics.rs
+++ b/crates/pliego-cli/src/runtime_diagnostics.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_runtime::{CacheReceipt, InvalidationEvent, RuntimeContractManifest, RuntimeReceipt};
use std::fmt::{Display, Formatter};
diff --git a/crates/pliego-cli/src/sdk.rs b/crates/pliego-cli/src/sdk.rs
index 8ef081e..db12643 100644
--- a/crates/pliego-cli/src/sdk.rs
+++ b/crates/pliego-cli/src/sdk.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use cap_fs_ext::{DirExt, FollowSymlinks, OpenOptionsFollowExt, ambient_authority};
use cap_std::fs::{Dir, OpenOptions};
diff --git a/crates/pliego-cli/src/telemetry.rs b/crates/pliego-cli/src/telemetry.rs
index 59e984b..0bb8f7c 100644
--- a/crates/pliego-cli/src/telemetry.rs
+++ b/crates/pliego-cli/src/telemetry.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use serde::{Deserialize, Serialize};
use std::fs::{self, File, OpenOptions};
diff --git a/crates/pliego-cli/src/trust.rs b/crates/pliego-cli/src/trust.rs
index 97bff32..25b5c71 100644
--- a/crates/pliego-cli/src/trust.rs
+++ b/crates/pliego-cli/src/trust.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use serde::{Deserialize, Serialize};
use sha2::{Digest, Sha256};
diff --git a/crates/pliego-cli/tests/cli_contract.rs b/crates/pliego-cli/tests/cli_contract.rs
index 22a1c91..1f16670 100644
--- a/crates/pliego-cli/tests/cli_contract.rs
+++ b/crates/pliego-cli/tests/cli_contract.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use serde_json::Value;
use sha2::{Digest, Sha256};
diff --git a/crates/pliego-cli/tests/dev_hmr.rs b/crates/pliego-cli/tests/dev_hmr.rs
index 86b14d6..c307de7 100644
--- a/crates/pliego-cli/tests/dev_hmr.rs
+++ b/crates/pliego-cli/tests/dev_hmr.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::fs;
use std::io::{Read, Write};
diff --git a/crates/pliego-cloudflare/Cargo.toml b/crates/pliego-cloudflare/Cargo.toml
index ac15abb..600af3a 100644
--- a/crates/pliego-cloudflare/Cargo.toml
+++ b/crates/pliego-cloudflare/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-cloudflare"
version.workspace = true
diff --git a/crates/pliego-cloudflare/src/lib.rs b/crates/pliego-cloudflare/src/lib.rs
index 50e420c..f55d5a7 100644
--- a/crates/pliego-cloudflare/src/lib.rs
+++ b/crates/pliego-cloudflare/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
#![forbid(unsafe_code)]
diff --git a/crates/pliego-content/Cargo.toml b/crates/pliego-content/Cargo.toml
index 77e0ebb..2e6ab37 100644
--- a/crates/pliego-content/Cargo.toml
+++ b/crates/pliego-content/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-content"
version.workspace = true
diff --git a/crates/pliego-content/src/lib.rs b/crates/pliego-content/src/lib.rs
index 104d0db..177216d 100644
--- a/crates/pliego-content/src/lib.rs
+++ b/crates/pliego-content/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
//! Typed, deterministic, build-time content collections for PliegoRS.
//!
diff --git a/crates/pliego-data/Cargo.toml b/crates/pliego-data/Cargo.toml
index e530fc6..9879c2d 100644
--- a/crates/pliego-data/Cargo.toml
+++ b/crates/pliego-data/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-data"
version = "0.4.0-beta.1"
diff --git a/crates/pliego-data/src/action.rs b/crates/pliego-data/src/action.rs
index 8aa62ff..503afd9 100644
--- a/crates/pliego-data/src/action.rs
+++ b/crates/pliego-data/src/action.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::loader::canonical_json_bytes;
use crate::receipt::DataDurationBucket;
diff --git a/crates/pliego-data/src/authority.rs b/crates/pliego-data/src/authority.rs
index 8fe2ed8..e262349 100644
--- a/crates/pliego-data/src/authority.rs
+++ b/crates/pliego-data/src/authority.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{ActionPolicy, CachePolicy, DataError, LoaderPolicy};
use std::collections::BTreeMap;
diff --git a/crates/pliego-data/src/cache.rs b/crates/pliego-data/src/cache.rs
index 7335512..76ef53a 100644
--- a/crates/pliego-data/src/cache.rs
+++ b/crates/pliego-data/src/cache.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::DataCancellation;
use crate::validate_stable_id;
diff --git a/crates/pliego-data/src/cancellation.rs b/crates/pliego-data/src/cancellation.rs
index c53303b..0057598 100644
--- a/crates/pliego-data/src/cancellation.rs
+++ b/crates/pliego-data/src/cancellation.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use serde::{Deserialize, Serialize};
use std::sync::Arc;
diff --git a/crates/pliego-data/src/context.rs b/crates/pliego-data/src/context.rs
index 4ba6dfc..af2420a 100644
--- a/crates/pliego-data/src/context.rs
+++ b/crates/pliego-data/src/context.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::DataRequestValues;
use crate::cancellation::DataCancellationControl;
diff --git a/crates/pliego-data/src/csrf.rs b/crates/pliego-data/src/csrf.rs
index 6abf77e..942f534 100644
--- a/crates/pliego-data/src/csrf.rs
+++ b/crates/pliego-data/src/csrf.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{SecretHandle, SessionToken, validate_stable_id};
use base64::Engine;
diff --git a/crates/pliego-data/src/error.rs b/crates/pliego-data/src/error.rs
index ed3f9a8..bf0b50d 100644
--- a/crates/pliego-data/src/error.rs
+++ b/crates/pliego-data/src/error.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::fmt::{Display, Formatter};
diff --git a/crates/pliego-data/src/idempotency.rs b/crates/pliego-data/src/idempotency.rs
index e87ddf5..ba12143 100644
--- a/crates/pliego-data/src/idempotency.rs
+++ b/crates/pliego-data/src/idempotency.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::validate_stable_id;
use serde::{Deserialize, Serialize};
diff --git a/crates/pliego-data/src/lib.rs b/crates/pliego-data/src/lib.rs
index dc8443d..d415475 100644
--- a/crates/pliego-data/src/lib.rs
+++ b/crates/pliego-data/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Provider-neutral request data contracts for PliegoRS.
diff --git a/crates/pliego-data/src/loader.rs b/crates/pliego-data/src/loader.rs
index 5b98fce..eda9a58 100644
--- a/crates/pliego-data/src/loader.rs
+++ b/crates/pliego-data/src/loader.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::receipt::DataDurationBucket as DurationBucket;
use crate::{
diff --git a/crates/pliego-data/src/outbound.rs b/crates/pliego-data/src/outbound.rs
index a0f201c..5c706ff 100644
--- a/crates/pliego-data/src/outbound.rs
+++ b/crates/pliego-data/src/outbound.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::receipt::{DataDurationBucket, DataOperation, DataOutcome};
use crate::{DataContext, DataError, DataReceipt, DataSizeBucket, validate_stable_id};
diff --git a/crates/pliego-data/src/receipt.rs b/crates/pliego-data/src/receipt.rs
index 693dbb7..5dd33cc 100644
--- a/crates/pliego-data/src/receipt.rs
+++ b/crates/pliego-data/src/receipt.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::DataCancelReason;
use serde::{Deserialize, Serialize};
diff --git a/crates/pliego-data/src/resource.rs b/crates/pliego-data/src/resource.rs
index cbab85d..92186ce 100644
--- a/crates/pliego-data/src/resource.rs
+++ b/crates/pliego-data/src/resource.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::context::ContextState;
use crate::{DataCancellation, DataError, validate_stable_id};
diff --git a/crates/pliego-data/src/secret.rs b/crates/pliego-data/src/secret.rs
index f791885..8c9ad3d 100644
--- a/crates/pliego-data/src/secret.rs
+++ b/crates/pliego-data/src/secret.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::validate_stable_id;
use std::fmt::{Debug, Display, Formatter};
diff --git a/crates/pliego-data/src/session.rs b/crates/pliego-data/src/session.rs
index 14ff17a..3f1a78d 100644
--- a/crates/pliego-data/src/session.rs
+++ b/crates/pliego-data/src/session.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::validate_stable_id;
use base64::Engine;
diff --git a/crates/pliego-data/src/values.rs b/crates/pliego-data/src/values.rs
index cc74f81..43ef93d 100644
--- a/crates/pliego-data/src/values.rs
+++ b/crates/pliego-data/src/values.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::DataError;
use serde::{Deserialize, Serialize};
diff --git a/crates/pliego-data/tests/cache.rs b/crates/pliego-data/tests/cache.rs
index 0e43d5b..cb63dfe 100644
--- a/crates/pliego-data/tests/cache.rs
+++ b/crates/pliego-data/tests/cache.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_data::{
CacheDomain, CacheError, CacheKeyInput, CacheManager, CacheOutcome, CachePartition,
diff --git a/crates/pliego-data/tests/idempotency.rs b/crates/pliego-data/tests/idempotency.rs
index c599602..c877915 100644
--- a/crates/pliego-data/tests/idempotency.rs
+++ b/crates/pliego-data/tests/idempotency.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_data::{
IdempotencyDecision, IdempotencyError, IdempotencyKey, IdempotencyManager,
diff --git a/crates/pliego-data/tests/outbound_http.rs b/crates/pliego-data/tests/outbound_http.rs
index 2dc299a..5d8f304 100644
--- a/crates/pliego-data/tests/outbound_http.rs
+++ b/crates/pliego-data/tests/outbound_http.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_data::{
DataContext, DataContextOptions, DataIdentity, DataRequestValues, OutboundDnsResolver,
diff --git a/crates/pliego-data/tests/request_data.rs b/crates/pliego-data/tests/request_data.rs
index 5efc135..5e6af7e 100644
--- a/crates/pliego-data/tests/request_data.rs
+++ b/crates/pliego-data/tests/request_data.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_data::{
ActionAdmission, ActionCommitState, ActionIdempotency, ActionInvalidationIntent,
diff --git a/crates/pliego-data/tests/security.rs b/crates/pliego-data/tests/security.rs
index 6ca0401..ae96137 100644
--- a/crates/pliego-data/tests/security.rs
+++ b/crates/pliego-data/tests/security.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_data::{CsrfManager, InMemorySessionStore, SecretHandle, SessionManager, SessionPolicy};
use serde::{Deserialize, Serialize};
diff --git a/crates/pliego-data/tests/session.rs b/crates/pliego-data/tests/session.rs
index e3ed2fc..2d629f7 100644
--- a/crates/pliego-data/tests/session.rs
+++ b/crates/pliego-data/tests/session.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_data::{
InMemorySessionStore, SameSitePolicy, SessionCookiePolicy, SessionError, SessionManager,
diff --git a/crates/pliego-dom/Cargo.toml b/crates/pliego-dom/Cargo.toml
index 98bad72..0efac63 100644
--- a/crates/pliego-dom/Cargo.toml
+++ b/crates/pliego-dom/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-dom"
version.workspace = true
diff --git a/crates/pliego-dom/src/keyed.rs b/crates/pliego-dom/src/keyed.rs
index 6681c5a..7d18c61 100644
--- a/crates/pliego-dom/src/keyed.rs
+++ b/crates/pliego-dom/src/keyed.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
use std::collections::HashSet;
diff --git a/crates/pliego-dom/src/lib.rs b/crates/pliego-dom/src/lib.rs
index 789076a..416fe3f 100644
--- a/crates/pliego-dom/src/lib.rs
+++ b/crates/pliego-dom/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! pliego-dom — PliegoRS's renderer (M4, docs/00 §2.3).
diff --git a/crates/pliego-dom/src/mount.rs b/crates/pliego-dom/src/mount.rs
index f6764d5..6cc0087 100644
--- a/crates/pliego-dom/src/mount.rs
+++ b/crates/pliego-dom/src/mount.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Browser DOM mounting with explicit, deterministic ownership.
diff --git a/crates/pliego-dom/src/mount/adopt.rs b/crates/pliego-dom/src/mount/adopt.rs
index 31b1492..eb17cf3 100644
--- a/crates/pliego-dom/src/mount/adopt.rs
+++ b/crates/pliego-dom/src/mount/adopt.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
use super::*;
diff --git a/crates/pliego-dom/src/name.rs b/crates/pliego-dom/src/name.rs
index d38ab1a..a05641f 100644
--- a/crates/pliego-dom/src/name.rs
+++ b/crates/pliego-dom/src/name.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
use std::error::Error;
diff --git a/crates/pliego-dom/src/plan.rs b/crates/pliego-dom/src/plan.rs
index 246d069..c35eb67 100644
--- a/crates/pliego-dom/src/plan.rs
+++ b/crates/pliego-dom/src/plan.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
/// Identifier assigned by one mounted root in plan-observation order.
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
diff --git a/crates/pliego-dom/tests/browser_lifecycle.rs b/crates/pliego-dom/tests/browser_lifecycle.rs
index 248d4c8..be2a782 100644
--- a/crates/pliego-dom/tests/browser_lifecycle.rs
+++ b/crates/pliego-dom/tests/browser_lifecycle.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#![cfg(target_arch = "wasm32")]
#![forbid(unsafe_code)]
diff --git a/crates/pliego-fold/Cargo.toml b/crates/pliego-fold/Cargo.toml
index c3b8f1b..86c5dc2 100644
--- a/crates/pliego-fold/Cargo.toml
+++ b/crates/pliego-fold/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-fold"
version.workspace = true
diff --git a/crates/pliego-fold/src/codec.rs b/crates/pliego-fold/src/codec.rs
index e8e1ec2..312a19b 100644
--- a/crates/pliego-fold/src/codec.rs
+++ b/crates/pliego-fold/src/codec.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Bounded, deterministic state codecs for projection snapshots.
diff --git a/crates/pliego-fold/src/lib.rs b/crates/pliego-fold/src/lib.rs
index 6784969..dca0888 100644
--- a/crates/pliego-fold/src/lib.rs
+++ b/crates/pliego-fold/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
#![forbid(unsafe_code)]
diff --git a/crates/pliego-fold/src/projection.rs b/crates/pliego-fold/src/projection.rs
index 7a8578a..5be953a 100644
--- a/crates/pliego-fold/src/projection.rs
+++ b/crates/pliego-fold/src/projection.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Transactional reactive projections over a checked event-log tail.
diff --git a/crates/pliego-fold/src/scheduler.rs b/crates/pliego-fold/src/scheduler.rs
index 471b1d8..7ca883a 100644
--- a/crates/pliego-fold/src/scheduler.rs
+++ b/crates/pliego-fold/src/scheduler.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::cell::{Cell, RefCell};
use std::collections::VecDeque;
diff --git a/crates/pliego-fold/src/snapshot.rs b/crates/pliego-fold/src/snapshot.rs
index 930a729..cc87f45 100644
--- a/crates/pliego-fold/src/snapshot.rs
+++ b/crates/pliego-fold/src/snapshot.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Bounded projection snapshot envelopes with self-verifying integrity.
diff --git a/crates/pliego-fold/src/state_root.rs b/crates/pliego-fold/src/state_root.rs
index ddd7de7..a93962e 100644
--- a/crates/pliego-fold/src/state_root.rs
+++ b/crates/pliego-fold/src/state_root.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::fmt;
diff --git a/crates/pliego-fold/tests/causal_scheduler.rs b/crates/pliego-fold/tests/causal_scheduler.rs
index 87d2fbf..95bad95 100644
--- a/crates/pliego-fold/tests/causal_scheduler.rs
+++ b/crates/pliego-fold/tests/causal_scheduler.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::cell::{Cell, RefCell};
use std::rc::Rc;
diff --git a/crates/pliego-fold/tests/r3_projection.rs b/crates/pliego-fold/tests/r3_projection.rs
index 70f04ac..1ecbb50 100644
--- a/crates/pliego-fold/tests/r3_projection.rs
+++ b/crates/pliego-fold/tests/r3_projection.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::cell::Cell;
use std::panic::{AssertUnwindSafe, catch_unwind};
diff --git a/crates/pliego-hyphae/Cargo.toml b/crates/pliego-hyphae/Cargo.toml
index 335384e..f403fac 100644
--- a/crates/pliego-hyphae/Cargo.toml
+++ b/crates/pliego-hyphae/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-hyphae"
version.workspace = true
diff --git a/crates/pliego-hyphae/src/lib.rs b/crates/pliego-hyphae/src/lib.rs
index 0b51865..261bf75 100644
--- a/crates/pliego-hyphae/src/lib.rs
+++ b/crates/pliego-hyphae/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! A versioned client-side sync contract between PliegoRS and Hyphae.
diff --git a/crates/pliego-log/Cargo.toml b/crates/pliego-log/Cargo.toml
index da1e3b8..732c9b6 100644
--- a/crates/pliego-log/Cargo.toml
+++ b/crates/pliego-log/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-log"
version.workspace = true
diff --git a/crates/pliego-log/src/lib.rs b/crates/pliego-log/src/lib.rs
index 6d5ef71..50a2ba2 100644
--- a/crates/pliego-log/src/lib.rs
+++ b/crates/pliego-log/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
#![forbid(unsafe_code)]
diff --git a/crates/pliego-macros/Cargo.toml b/crates/pliego-macros/Cargo.toml
index 18b9e14..5ebebfd 100644
--- a/crates/pliego-macros/Cargo.toml
+++ b/crates/pliego-macros/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-macros"
version.workspace = true
diff --git a/crates/pliego-macros/src/lib.rs b/crates/pliego-macros/src/lib.rs
index e5f4c45..d02ef4c 100644
--- a/crates/pliego-macros/src/lib.rs
+++ b/crates/pliego-macros/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Procedural syntax for PliegoRS's typed `pliego_dom::View` tree.
diff --git a/crates/pliego-pboc/Cargo.toml b/crates/pliego-pboc/Cargo.toml
index 9462fce..cb6700d 100644
--- a/crates/pliego-pboc/Cargo.toml
+++ b/crates/pliego-pboc/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-pboc"
version.workspace = true
diff --git a/crates/pliego-pboc/src/artifact.rs b/crates/pliego-pboc/src/artifact.rs
index 8c4aa72..a77c0ca 100644
--- a/crates/pliego-pboc/src/artifact.rs
+++ b/crates/pliego-pboc/src/artifact.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::PBOC_FILE_NAME;
use crate::model::PbocManifest;
diff --git a/crates/pliego-pboc/src/compatibility.rs b/crates/pliego-pboc/src/compatibility.rs
index 7db0092..02e5642 100644
--- a/crates/pliego-pboc/src/compatibility.rs
+++ b/crates/pliego-pboc/src/compatibility.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
use crate::{PbocError, PbocManifest, validate_manifest};
diff --git a/crates/pliego-pboc/src/lib.rs b/crates/pliego-pboc/src/lib.rs
index b9a92fa..fd656c2 100644
--- a/crates/pliego-pboc/src/lib.rs
+++ b/crates/pliego-pboc/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
#![forbid(unsafe_code)]
diff --git a/crates/pliego-pboc/src/model.rs b/crates/pliego-pboc/src/model.rs
index 376f9a0..9a40f3b 100644
--- a/crates/pliego-pboc/src/model.rs
+++ b/crates/pliego-pboc/src/model.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::validate::{HostAdmission, PbocError, encode_manifest, validate_manifest};
use pliego_router::RouteSpec;
diff --git a/crates/pliego-pboc/src/router.rs b/crates/pliego-pboc/src/router.rs
index d5d612c..ddff754 100644
--- a/crates/pliego-pboc/src/router.rs
+++ b/crates/pliego-pboc/src/router.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{PbocError, PbocManifest, PbocRoute, validate_manifest};
use pliego_router::{ResolveError, RouteGraph, RouteGraphBuilder, RouteMethod, RouteSpec};
diff --git a/crates/pliego-pboc/src/util.rs b/crates/pliego-pboc/src/util.rs
index 61de9c6..c819b85 100644
--- a/crates/pliego-pboc/src/util.rs
+++ b/crates/pliego-pboc/src/util.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use sha2::{Digest, Sha256};
use unicode_casefold::UnicodeCaseFold;
diff --git a/crates/pliego-pboc/src/validate.rs b/crates/pliego-pboc/src/validate.rs
index 3d035b6..c90a1b8 100644
--- a/crates/pliego-pboc/src/validate.rs
+++ b/crates/pliego-pboc/src/validate.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::model::{
CacheDomain, CacheRevalidation, DeploymentTarget, FeatureRequirement, HostProfile,
diff --git a/crates/pliego-pboc/tests/contract.rs b/crates/pliego-pboc/tests/contract.rs
index 7740abe..0907061 100644
--- a/crates/pliego-pboc/tests/contract.rs
+++ b/crates/pliego-pboc/tests/contract.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_pboc::{
ArtifactRole, BuildIdentity, CacheDomain, CachePolicy, CacheRevalidation,
diff --git a/crates/pliego-reactive/Cargo.toml b/crates/pliego-reactive/Cargo.toml
index 8a3298e..82bab67 100644
--- a/crates/pliego-reactive/Cargo.toml
+++ b/crates/pliego-reactive/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-reactive"
version.workspace = true
diff --git a/crates/pliego-reactive/src/lib.rs b/crates/pliego-reactive/src/lib.rs
index 8b99379..35d4312 100644
--- a/crates/pliego-reactive/src/lib.rs
+++ b/crates/pliego-reactive/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
#![forbid(unsafe_code)]
diff --git a/crates/pliego-reactive/tests/wasm_unwind.rs b/crates/pliego-reactive/tests/wasm_unwind.rs
index 351d170..4bb9850 100644
--- a/crates/pliego-reactive/tests/wasm_unwind.rs
+++ b/crates/pliego-reactive/tests/wasm_unwind.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
#![cfg(target_arch = "wasm32")]
diff --git a/crates/pliego-resume/Cargo.toml b/crates/pliego-resume/Cargo.toml
index 6ced5f9..5c5d5ed 100644
--- a/crates/pliego-resume/Cargo.toml
+++ b/crates/pliego-resume/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-resume"
version.workspace = true
diff --git a/crates/pliego-resume/src/lib.rs b/crates/pliego-resume/src/lib.rs
index 0f1489d..df0487d 100644
--- a/crates/pliego-resume/src/lib.rs
+++ b/crates/pliego-resume/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Declarative resumable islands.
diff --git a/crates/pliego-router/Cargo.toml b/crates/pliego-router/Cargo.toml
index de1fe19..3f90f0d 100644
--- a/crates/pliego-router/Cargo.toml
+++ b/crates/pliego-router/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-router"
version = "0.4.0-beta.1"
diff --git a/crates/pliego-router/src/lib.rs b/crates/pliego-router/src/lib.rs
index a3b205e..0851d19 100644
--- a/crates/pliego-router/src/lib.rs
+++ b/crates/pliego-router/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Sealed, deterministic route graphs for PliegoRS.
diff --git a/crates/pliego-runtime/Cargo.toml b/crates/pliego-runtime/Cargo.toml
index 7c017c0..97ae76e 100644
--- a/crates/pliego-runtime/Cargo.toml
+++ b/crates/pliego-runtime/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-runtime"
version = "0.4.0-beta.1"
diff --git a/crates/pliego-runtime/src/action.rs b/crates/pliego-runtime/src/action.rs
index e3cb36a..cea46f1 100644
--- a/crates/pliego-runtime/src/action.rs
+++ b/crates/pliego-runtime/src/action.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{
ActionAdmission, ActionContentEncoding, ActionFailure, ActionMediaType, ActionNavigation,
diff --git a/crates/pliego-runtime/src/error.rs b/crates/pliego-runtime/src/error.rs
index f07b06b..7e4798c 100644
--- a/crates/pliego-runtime/src/error.rs
+++ b/crates/pliego-runtime/src/error.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{Body, HandlerError, Response, StatusCode};
use std::future::Future;
diff --git a/crates/pliego-runtime/src/host.rs b/crates/pliego-runtime/src/host.rs
index 51e1725..b292e89 100644
--- a/crates/pliego-runtime/src/host.rs
+++ b/crates/pliego-runtime/src/host.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::telemetry::OpenTelemetryRuntime;
use crate::transport::TimedIo;
diff --git a/crates/pliego-runtime/src/lib.rs b/crates/pliego-runtime/src/lib.rs
index f00aed1..f48408c 100644
--- a/crates/pliego-runtime/src/lib.rs
+++ b/crates/pliego-runtime/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Bounded native HTTP lifecycle for PliegoRS.
diff --git a/crates/pliego-runtime/src/limits.rs b/crates/pliego-runtime/src/limits.rs
index 8dbe043..6040126 100644
--- a/crates/pliego-runtime/src/limits.rs
+++ b/crates/pliego-runtime/src/limits.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use http::request::Parts;
use serde::{Deserialize, Serialize};
diff --git a/crates/pliego-runtime/src/middleware.rs b/crates/pliego-runtime/src/middleware.rs
index 8322cb5..be15461 100644
--- a/crates/pliego-runtime/src/middleware.rs
+++ b/crates/pliego-runtime/src/middleware.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{
Body, HandlerError, HandlerFuture, PreRouteContext, Request, RequestContext, Response,
diff --git a/crates/pliego-runtime/src/pboc.rs b/crates/pliego-runtime/src/pboc.rs
index e9d865b..9f5f947 100644
--- a/crates/pliego-runtime/src/pboc.rs
+++ b/crates/pliego-runtime/src/pboc.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_pboc::{
FeatureRequirement, HostAdmission, HostKind, HostProfile, PbocError, PbocManifest, feature,
diff --git a/crates/pliego-runtime/src/render.rs b/crates/pliego-runtime/src/render.rs
index 8042865..56c2e74 100644
--- a/crates/pliego-runtime/src/render.rs
+++ b/crates/pliego-runtime/src/render.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{Body, HandlerError, Response, RuntimeDiagnostic, StatusCode};
use axum::body::Bytes;
diff --git a/crates/pliego-runtime/src/scope.rs b/crates/pliego-runtime/src/scope.rs
index 08b8334..09d8af8 100644
--- a/crates/pliego-runtime/src/scope.rs
+++ b/crates/pliego-runtime/src/scope.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::telemetry::OpenTelemetryRequest;
use crate::{RenderMode, RequestLimits};
diff --git a/crates/pliego-runtime/src/session.rs b/crates/pliego-runtime/src/session.rs
index f738a66..0a51596 100644
--- a/crates/pliego-runtime/src/session.rs
+++ b/crates/pliego-runtime/src/session.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{SameSitePolicy, SessionCookie, SessionCookiePolicy, SessionError, SessionToken};
use http::HeaderMap;
diff --git a/crates/pliego-runtime/src/telemetry.rs b/crates/pliego-runtime/src/telemetry.rs
index c6605c6..d3a4d92 100644
--- a/crates/pliego-runtime/src/telemetry.rs
+++ b/crates/pliego-runtime/src/telemetry.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{CancelReason, RenderMode, RequestOutcome, RuntimeReceipt};
use http::{HeaderMap, Request, Version};
diff --git a/crates/pliego-runtime/src/transport.rs b/crates/pliego-runtime/src/transport.rs
index adf078f..4d25ce5 100644
--- a/crates/pliego-runtime/src/transport.rs
+++ b/crates/pliego-runtime/src/transport.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use serde::{Deserialize, Serialize};
use sha2::{Digest, Sha256};
diff --git a/crates/pliego-runtime/src/upload.rs b/crates/pliego-runtime/src/upload.rs
index 2ca3dfd..7d15bdf 100644
--- a/crates/pliego-runtime/src/upload.rs
+++ b/crates/pliego-runtime/src/upload.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{Body, DataContext};
use multer::{Constraints, Multipart, SizeLimit};
diff --git a/crates/pliego-runtime/tests/actions_g2.rs b/crates/pliego-runtime/tests/actions_g2.rs
index 8513de5..a472b19 100644
--- a/crates/pliego-runtime/tests/actions_g2.rs
+++ b/crates/pliego-runtime/tests/actions_g2.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use axum::body::to_bytes;
use flate2::Compression;
diff --git a/crates/pliego-runtime/tests/native_load.rs b/crates/pliego-runtime/tests/native_load.rs
index ab10ac9..8de036a 100644
--- a/crates/pliego-runtime/tests/native_load.rs
+++ b/crates/pliego-runtime/tests/native_load.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use http::Response;
use http_body_util::{BodyExt, Empty};
diff --git a/crates/pliego-runtime/tests/native_runtime.rs b/crates/pliego-runtime/tests/native_runtime.rs
index 031ba36..eddaeb2 100644
--- a/crates/pliego-runtime/tests/native_runtime.rs
+++ b/crates/pliego-runtime/tests/native_runtime.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use axum::body::to_bytes;
use http::{Request, Response, StatusCode};
diff --git a/crates/pliego-runtime/tests/native_socket.rs b/crates/pliego-runtime/tests/native_socket.rs
index ab63e05..9b39006 100644
--- a/crates/pliego-runtime/tests/native_socket.rs
+++ b/crates/pliego-runtime/tests/native_socket.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use http::Response;
use http_body_util::{BodyExt, Empty};
diff --git a/crates/pliego-runtime/tests/opentelemetry.rs b/crates/pliego-runtime/tests/opentelemetry.rs
index 627c3e3..7a10557 100644
--- a/crates/pliego-runtime/tests/opentelemetry.rs
+++ b/crates/pliego-runtime/tests/opentelemetry.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use http_body_util::BodyExt;
use opentelemetry::global;
diff --git a/crates/pliego-runtime/tests/session.rs b/crates/pliego-runtime/tests/session.rs
index 2f24bd9..bca4cf8 100644
--- a/crates/pliego-runtime/tests/session.rs
+++ b/crates/pliego-runtime/tests/session.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use http::HeaderMap;
use pliego_runtime::{
diff --git a/crates/pliego-sdk/Cargo.toml b/crates/pliego-sdk/Cargo.toml
index f69c233..e27a4e1 100644
--- a/crates/pliego-sdk/Cargo.toml
+++ b/crates/pliego-sdk/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-sdk"
version = "0.4.0-beta.1"
diff --git a/crates/pliego-sdk/src/capability.rs b/crates/pliego-sdk/src/capability.rs
index d2f9f31..1f1011e 100644
--- a/crates/pliego-sdk/src/capability.rs
+++ b/crates/pliego-sdk/src/capability.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::Capability;
use serde::{Deserialize, Serialize};
diff --git a/crates/pliego-sdk/src/compatibility.rs b/crates/pliego-sdk/src/compatibility.rs
index 9ee04dd..60c5368 100644
--- a/crates/pliego-sdk/src/compatibility.rs
+++ b/crates/pliego-sdk/src/compatibility.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{OPENSDK_API_VERSION, Plane};
use semver::Version;
diff --git a/crates/pliego-sdk/src/component.rs b/crates/pliego-sdk/src/component.rs
index 03a76b4..349a16d 100644
--- a/crates/pliego-sdk/src/component.rs
+++ b/crates/pliego-sdk/src/component.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{Capability, ExtensionManifest};
use std::collections::BTreeSet;
diff --git a/crates/pliego-sdk/src/lib.rs b/crates/pliego-sdk/src/lib.rs
index 6e7f330..30772c3 100644
--- a/crates/pliego-sdk/src/lib.rs
+++ b/crates/pliego-sdk/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
//! OpenSDK admission, capability, and evidence contracts.
//!
diff --git a/crates/pliego-sdk/src/manifest.rs b/crates/pliego-sdk/src/manifest.rs
index a5a1aa8..e5a0139 100644
--- a/crates/pliego-sdk/src/manifest.rs
+++ b/crates/pliego-sdk/src/manifest.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::CapabilityPolicy;
use semver::{Version, VersionReq};
diff --git a/crates/pliego-sdk/src/runtime.rs b/crates/pliego-sdk/src/runtime.rs
index ae7a996..096f002 100644
--- a/crates/pliego-sdk/src/runtime.rs
+++ b/crates/pliego-sdk/src/runtime.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{
Capability, CapabilityPolicy, Determinism, EffectBroker, EffectError, EntryKind, Plane,
diff --git a/crates/pliego-sdk/src/tooling.rs b/crates/pliego-sdk/src/tooling.rs
index 26d0562..b08f35e 100644
--- a/crates/pliego-sdk/src/tooling.rs
+++ b/crates/pliego-sdk/src/tooling.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use serde::{Deserialize, Deserializer, Serialize, de::Error as _};
use serde_json::{Value, json};
diff --git a/crates/pliego-sdk/src/wit.rs b/crates/pliego-sdk/src/wit.rs
index 546dfb4..ba35630 100644
--- a/crates/pliego-sdk/src/wit.rs
+++ b/crates/pliego-sdk/src/wit.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::path::Path;
use wit_parser::Resolve;
diff --git a/crates/pliego-sdk/wit/build/build.wit b/crates/pliego-sdk/wit/build/build.wit
index 401760b..4b5789e 100644
--- a/crates/pliego-sdk/wit/build/build.wit
+++ b/crates/pliego-sdk/wit/build/build.wit
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
package pliego:build@0.1.0;
interface transform {
diff --git a/crates/pliego-sdk/wit/component/component.wit b/crates/pliego-sdk/wit/component/component.wit
index 53ce9f8..d1e7cc4 100644
--- a/crates/pliego-sdk/wit/component/component.wit
+++ b/crates/pliego-sdk/wit/component/component.wit
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
package pliego:component@0.1.0;
interface descriptor {
diff --git a/crates/pliego-sdk/wit/deploy/deploy.wit b/crates/pliego-sdk/wit/deploy/deploy.wit
index c7a64dd..fc3f608 100644
--- a/crates/pliego-sdk/wit/deploy/deploy.wit
+++ b/crates/pliego-sdk/wit/deploy/deploy.wit
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
package pliego:deploy@0.1.0;
interface output {
diff --git a/crates/pliego-sdk/wit/diagnostics/diagnostics.wit b/crates/pliego-sdk/wit/diagnostics/diagnostics.wit
index 83cc138..203364d 100644
--- a/crates/pliego-sdk/wit/diagnostics/diagnostics.wit
+++ b/crates/pliego-sdk/wit/diagnostics/diagnostics.wit
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
package pliego:diagnostics@0.1.0;
interface sink {
diff --git a/crates/pliego-sdk/wit/effects/effects.wit b/crates/pliego-sdk/wit/effects/effects.wit
index 9b66aeb..c6238e5 100644
--- a/crates/pliego-sdk/wit/effects/effects.wit
+++ b/crates/pliego-sdk/wit/effects/effects.wit
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
package pliego:effects@0.1.0;
interface broker {
diff --git a/crates/pliego-sdk/wit/http/http.wit b/crates/pliego-sdk/wit/http/http.wit
index fbe1549..3c25f71 100644
--- a/crates/pliego-sdk/wit/http/http.wit
+++ b/crates/pliego-sdk/wit/http/http.wit
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
package pliego:http@0.1.0;
interface handler {
diff --git a/crates/pliego-sdk/wit/manifest/manifest.wit b/crates/pliego-sdk/wit/manifest/manifest.wit
index 48dd474..6ff277b 100644
--- a/crates/pliego-sdk/wit/manifest/manifest.wit
+++ b/crates/pliego-sdk/wit/manifest/manifest.wit
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
package pliego:manifest@0.1.0;
interface descriptor {
diff --git a/crates/pliego-ssg/Cargo.toml b/crates/pliego-ssg/Cargo.toml
index 2b7bbf9..0d22f74 100644
--- a/crates/pliego-ssg/Cargo.toml
+++ b/crates/pliego-ssg/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-ssg"
version.workspace = true
diff --git a/crates/pliego-ssg/src/lib.rs b/crates/pliego-ssg/src/lib.rs
index 6b3aa28..86329da 100644
--- a/crates/pliego-ssg/src/lib.rs
+++ b/crates/pliego-ssg/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Deterministic full-document and static-route generation for PliegoRS.
diff --git a/crates/pliego-ssg/src/product.rs b/crates/pliego-ssg/src/product.rs
index 6518db1..5cd7c92 100644
--- a/crates/pliego-ssg/src/product.rs
+++ b/crates/pliego-ssg/src/product.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! Framework-owned product topology for build adapters.
diff --git a/crates/pliego-starters/Cargo.toml b/crates/pliego-starters/Cargo.toml
index d788001..4f4eb9d 100644
--- a/crates/pliego-starters/Cargo.toml
+++ b/crates/pliego-starters/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-starters"
version.workspace = true
diff --git a/crates/pliego-starters/src/lib.rs b/crates/pliego-starters/src/lib.rs
index 3698ef9..c59f596 100644
--- a/crates/pliego-starters/src/lib.rs
+++ b/crates/pliego-starters/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
//! Maintained project trees embedded in the standalone `pliego` binary.
diff --git a/crates/pliego-starters/templates/PROJECT-LICENSE.md b/crates/pliego-starters/templates/PROJECT-LICENSE.md
index c915562..153a2f8 100644
--- a/crates/pliego-starters/templates/PROJECT-LICENSE.md
+++ b/crates/pliego-starters/templates/PROJECT-LICENSE.md
@@ -10,12 +10,15 @@ project:
4. add matching notices to source and content files where appropriate.
The PliegoRS framework, CLI, and template code copied into this project are
-licensed under GPL-3.0-only.
-Distributing a combined or derivative work that includes GPL-covered PliegoRS
-code may require the combined work to comply with GPL v3. Merely generating a
-project does not transfer ownership of your original work or select a license
-for it. This placeholder is not a license exception for copied PliegoRS
-template code. This notice is informational and is not legal advice.
+licensed under AGPL-3.0-only.
+Distributing a combined or derivative work that includes AGPL-covered PliegoRS
+code may require the combined work to comply with AGPL v3. If you modify the
+Program and that modified version supports remote network interaction, AGPL
+section 13 requires a prominent no-charge Corresponding Source offer to its
+remote users. Merely generating a project does not transfer ownership of your
+original work or select a license for it. This placeholder is not a license
+exception for copied PliegoRS template code. This notice is informational and
+is not legal advice.
Third-party dependencies, fonts, and media retain their own licenses and
notices. Preserve every applicable `THIRD_PARTY_NOTICES.md` and license file.
diff --git a/crates/pliego-starters/templates/cinematic/README.md b/crates/pliego-starters/templates/cinematic/README.md
index 2b54cdf..886ef84 100644
--- a/crates/pliego-starters/templates/cinematic/README.md
+++ b/crates/pliego-starters/templates/cinematic/README.md
@@ -35,7 +35,7 @@ Third-party font attribution and license locations are recorded in
## Project license
-The copied starter code and PliegoRS engine are GPL-3.0-only. New original work
+The copied starter code and PliegoRS engine are AGPL-3.0-only. New original work
you author remains yours and is not automatically licensed by PliegoRS. Choose
an SPDX identifier in `Cargo.toml` and replace `LICENSE.md` before distribution,
-while preserving GPL obligations for covered or combined work.
+while preserving AGPL obligations for covered or combined work.
diff --git a/crates/pliego-starters/templates/default/README.md b/crates/pliego-starters/templates/default/README.md
index 986b9a4..1f8741f 100644
--- a/crates/pliego-starters/templates/default/README.md
+++ b/crates/pliego-starters/templates/default/README.md
@@ -56,8 +56,8 @@ Documentation: https://pliegors.dev/docs/getting-started
## License
-The copied starter code and PliegoRS engine are GPL-3.0-only. New original
+The copied starter code and PliegoRS engine are AGPL-3.0-only. New original
application code, content, brand, and assets that you author remain yours and
are not automatically licensed by PliegoRS. Choose an SPDX identifier in
-`Cargo.toml` and replace `LICENSE.md` before distribution, while preserving GPL
+`Cargo.toml` and replace `LICENSE.md` before distribution, while preserving AGPL
obligations for covered or combined work. Preserve third-party notices.
diff --git a/crates/pliego-starters/templates/editorial/README.md b/crates/pliego-starters/templates/editorial/README.md
index 9f0f7f1..547f78d 100644
--- a/crates/pliego-starters/templates/editorial/README.md
+++ b/crates/pliego-starters/templates/editorial/README.md
@@ -36,7 +36,7 @@ Third-party font attribution and license locations are recorded in
## Project license
-The copied starter code and PliegoRS engine are GPL-3.0-only. New original work
+The copied starter code and PliegoRS engine are AGPL-3.0-only. New original work
you author remains yours and is not automatically licensed by PliegoRS. Choose
an SPDX identifier in `Cargo.toml` and replace `LICENSE.md` before distribution,
-while preserving GPL obligations for covered or combined work.
+while preserving AGPL obligations for covered or combined work.
diff --git a/crates/pliego-starters/templates/minimal/README.md b/crates/pliego-starters/templates/minimal/README.md
index 65ca5ba..c47cd34 100644
--- a/crates/pliego-starters/templates/minimal/README.md
+++ b/crates/pliego-starters/templates/minimal/README.md
@@ -26,7 +26,7 @@ last build executed or was a verified no-op.
## License
-The copied starter code and PliegoRS engine are GPL-3.0-only. New original work
+The copied starter code and PliegoRS engine are AGPL-3.0-only. New original work
you author remains yours and is not automatically licensed by PliegoRS. Choose
an SPDX identifier in `Cargo.toml` and replace `LICENSE.md` before distribution,
-while preserving GPL obligations for covered or combined work.
+while preserving AGPL obligations for covered or combined work.
diff --git a/docs/20-official-starters-and-diagnostics.md b/docs/20-official-starters-and-diagnostics.md
index 3988049..36ab1c7 100644
--- a/docs/20-official-starters-and-diagnostics.md
+++ b/docs/20-official-starters-and-diagnostics.md
@@ -65,7 +65,7 @@ The editorial and cinematic source trees also include the complete SIL OFL
license texts and a `THIRD_PARTY_NOTICES.md` file. A crate test requires those
files whenever a starter embeds local font binaries. Every maintained starter
ships a neutral `LICENSE.md` project placeholder. Copied starter code remains
-GPL-3.0-only; new original user work is not automatically licensed by PliegoRS.
+AGPL-3.0-only; new original user work is not automatically licensed by PliegoRS.
## Diagnostics
diff --git a/docs/34-product-constitution.md b/docs/34-product-constitution.md
index 9a86d17..be87dde 100644
--- a/docs/34-product-constitution.md
+++ b/docs/34-product-constitution.md
@@ -26,7 +26,7 @@ behavior, diagnostics, and acceptance evidence.
| Product | Visibility | Boundary |
| --- | --- | --- |
-| PliegoRS | GPL-3.0-only software and CC-BY-SA-4.0 documentation/media in `celiumsai/pliegors` | Framework, CLI, OpenSDK specifications, conformance suites, portable artifacts, and provider-neutral deployment contracts |
+| PliegoRS | AGPL-3.0-only software and CC-BY-SA-4.0 project-authored documentation, graphics, diagrams, and original non-software media in `celiumsai/pliegors` | Framework, CLI, OpenSDK specifications, conformance suites, portable artifacts, and provider-neutral deployment contracts |
| Pliego.run | Closed source in a separate private repository | Hosted control plane, build orchestration, UI, infrastructure, billing, and operations |
| PliegoCSS | Separate Apache-2.0 public-preview product | Optional build-time companion; never a required PliegoRS dependency |
@@ -34,6 +34,9 @@ PliegoRS's split license is prospective from the `0.5.x` source line. Signed
`v0.4.0-beta.1` and earlier artifacts remain available under their published
Apache-2.0 terms. See [`LICENSING.md`](../LICENSING.md).
+The historical Apache-2.0 and GPL-3.0-only grants retain the exact boundaries
+recorded in [`LICENSING.md`](../LICENSING.md).
+
The PliegoRS repository must not contain the Pliego.run dashboard, control
plane, billing logic, infrastructure implementation, or private provider
adapter. A public build-output contract does not open the hosted product; it
diff --git a/examples/content-collections-pliegors/Cargo.toml b/examples/content-collections-pliegors/Cargo.toml
index fd90c87..c99b439 100644
--- a/examples/content-collections-pliegors/Cargo.toml
+++ b/examples/content-collections-pliegors/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "content-collections-pliegors"
version.workspace = true
diff --git a/examples/content-collections-pliegors/src/main.rs b/examples/content-collections-pliegors/src/main.rs
index 100e9d0..60c79e4 100644
--- a/examples/content-collections-pliegors/src/main.rs
+++ b/examples/content-collections-pliegors/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
mod components;
mod content;
diff --git a/examples/fullstack-pliego/Cargo.toml b/examples/fullstack-pliego/Cargo.toml
index 2574dad..04d6f61 100644
--- a/examples/fullstack-pliego/Cargo.toml
+++ b/examples/fullstack-pliego/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "fullstack-pliego"
diff --git a/examples/fullstack-pliego/src/lib.rs b/examples/fullstack-pliego/src/lib.rs
index 5d34e20..75a6194 100644
--- a/examples/fullstack-pliego/src/lib.rs
+++ b/examples/fullstack-pliego/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_router::{RouteGraphBuilder, RouteMethod, RouteResourceSpec, RouteSpec};
use pliego_runtime::{
diff --git a/examples/fullstack-pliego/src/main.rs b/examples/fullstack-pliego/src/main.rs
index b85b779..369c3cf 100644
--- a/examples/fullstack-pliego/src/main.rs
+++ b/examples/fullstack-pliego/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#[tokio::main]
async fn main() -> Result<(), Box> {
diff --git a/examples/fullstack-pliego/tests/two_replicas.rs b/examples/fullstack-pliego/tests/two_replicas.rs
index 791b160..ca24ba8 100644
--- a/examples/fullstack-pliego/tests/two_replicas.rs
+++ b/examples/fullstack-pliego/tests/two_replicas.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use fullstack_pliego::build_cluster;
use http::header::{CACHE_CONTROL, CONTENT_TYPE, COOKIE, LOCATION, ORIGIN, SET_COOKIE};
diff --git a/examples/minimal-pliego/Cargo.toml b/examples/minimal-pliego/Cargo.toml
index 51d9a9b..7a32e47 100644
--- a/examples/minimal-pliego/Cargo.toml
+++ b/examples/minimal-pliego/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "minimal-pliego"
version.workspace = true
diff --git a/examples/minimal-pliego/src/main.rs b/examples/minimal-pliego/src/main.rs
index b2f24a7..5baa7c5 100644
--- a/examples/minimal-pliego/src/main.rs
+++ b/examples/minimal-pliego/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_dom::{IntoView, el};
use pliego_ssg::{Asset, Head, Page, Site};
diff --git a/examples/native-pliego/Cargo.toml b/examples/native-pliego/Cargo.toml
index b9421aa..1518892 100644
--- a/examples/native-pliego/Cargo.toml
+++ b/examples/native-pliego/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "native-pliego"
diff --git a/examples/native-pliego/src/lib.rs b/examples/native-pliego/src/lib.rs
index 92c973f..7f2ec36 100644
--- a/examples/native-pliego/src/lib.rs
+++ b/examples/native-pliego/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use futures_util::stream;
use pliego_dom::{IntoView, el};
diff --git a/examples/native-pliego/src/main.rs b/examples/native-pliego/src/main.rs
index 7688fdc..73cb766 100644
--- a/examples/native-pliego/src/main.rs
+++ b/examples/native-pliego/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use native_pliego::{build_runtime, configured_address};
use tokio::net::TcpListener;
diff --git a/examples/pliegors-site-client/Cargo.toml b/examples/pliegors-site-client/Cargo.toml
index 8b39f24..1a19b98 100644
--- a/examples/pliegors-site-client/Cargo.toml
+++ b/examples/pliegors-site-client/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliegors-site-client"
version.workspace = true
diff --git a/examples/pliegors-site-client/src/lib.rs b/examples/pliegors-site-client/src/lib.rs
index 800a310..72f4b3d 100644
--- a/examples/pliegors-site-client/src/lib.rs
+++ b/examples/pliegors-site-client/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#[cfg(any(target_arch = "wasm32", test))]
fn normalize_search(value: &str) -> String {
diff --git a/examples/pliegors-site/Cargo.toml b/examples/pliegors-site/Cargo.toml
index 333de93..69b32dd 100644
--- a/examples/pliegors-site/Cargo.toml
+++ b/examples/pliegors-site/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliegors-site"
version.workspace = true
diff --git a/examples/pliegors-site/content/seo-pages/docs-licensing.toml b/examples/pliegors-site/content/seo-pages/docs-licensing.toml
index 3b692b6..7de7585 100644
--- a/examples/pliegors-site/content/seo-pages/docs-licensing.toml
+++ b/examples/pliegors-site/content/seo-pages/docs-licensing.toml
@@ -1,5 +1,5 @@
key = "docs-licensing"
-title = { en = "PliegoRS Licensing | Apache-2.0, Trademarks and Project Policy", es = "Licenciamiento PliegoRS | Apache-2.0, marcas y políticas" }
-description = { en = "Understand PliegoRS GPL-3.0-only software, CC-BY-SA-4.0 documentation and media, starter ownership, third-party notices, trademarks, security, support, and contributions.", es = "Entiende el software GPL-3.0-only de PliegoRS, la documentación y medios CC-BY-SA-4.0, propiedad de starters, avisos de terceros, marcas, seguridad, soporte y contribuciones." }
+title = { en = "PliegoRS Licensing | AGPL-3.0-only and Historical Grants", es = "Licenciamiento PliegoRS | AGPL-3.0-only y concesiones históricas" }
+description = { en = "Understand PliegoRS AGPL-3.0-only software, CC-BY-SA-4.0 documentation, graphics, diagrams, and original media, historical grants, starter ownership, and project policy.", es = "Entiende el software AGPL-3.0-only de PliegoRS, la documentación, gráficos, diagramas y medios originales CC-BY-SA-4.0, las concesiones históricas, la propiedad de starters y las políticas del proyecto." }
image = "/media/pliegors/fold-hero.webp"
imageAlt = { en = "The PliegoRS execution fold representing source and policy ownership", es = "El pliegue de ejecución de PliegoRS que representa propiedad de fuente y políticas" }
diff --git a/examples/pliegors-site/src/components/footer.rs b/examples/pliegors-site/src/components/footer.rs
index aa6f14b..729d2aa 100644
--- a/examples/pliegors-site/src/components/footer.rs
+++ b/examples/pliegors-site/src/components/footer.rs
@@ -34,8 +34,8 @@ pub fn footer(locale: Locale, shell: &ShellCopy) -> View {
.child(el("span").child("Medellín · Worldwide"))
.child(el("span").child(localize(
locale,
- "Copyleft · GPL-3.0-only / CC-BY-SA-4.0",
- "Copyleft · GPL-3.0-only / CC-BY-SA-4.0",
+ "Copyleft · AGPL-3.0-only software / CC-BY-SA-4.0 materials",
+ "Copyleft · software AGPL-3.0-only / materiales CC-BY-SA-4.0",
))),
)
.into_view()
diff --git a/examples/pliegors-site/src/docs.rs b/examples/pliegors-site/src/docs.rs
index 0f31e76..82b3803 100644
--- a/examples/pliegors-site/src/docs.rs
+++ b/examples/pliegors-site/src/docs.rs
@@ -281,8 +281,8 @@ pub const TOPICS: &[DocTopic] = &[
group_es: "Proyecto",
title_en: "Licensing and policy",
title_es: "Licenciamiento y políticas",
- summary_en: "Understand GPL-3.0-only, CC-BY-SA-4.0, third-party notices, trademarks, security reports, support, and contributions.",
- summary_es: "Entiende GPL-3.0-only, CC-BY-SA-4.0, avisos de terceros, marcas, reportes de seguridad, soporte y contribuciones.",
+ summary_en: "Understand AGPL-3.0-only software, CC-BY-SA-4.0 documentation and media, historical grants, third-party notices, and project policy.",
+ summary_es: "Entiende el software AGPL-3.0-only, la documentación y medios CC-BY-SA-4.0, las concesiones históricas, avisos de terceros y políticas del proyecto.",
},
];
@@ -1563,17 +1563,17 @@ fn crate_reference(locale: Locale) -> View {
fn licensing(locale: Locale) -> View {
vec![
doc_section(locale, "copyleft", "Copyleft licensing", "Licenciamiento copyleft", vec![
- paragraph(locale, "PliegoRS software is licensed under GPL-3.0-only. Project-authored documentation and original non-software media are licensed under CC-BY-SA-4.0. LICENSING.md and the license files define the controlling boundary.", "El software PliegoRS está licenciado bajo GPL-3.0-only. La documentación del proyecto y los medios originales que no son software están licenciados bajo CC-BY-SA-4.0. LICENSING.md y los archivos de licencia definen el límite rector."),
+ paragraph(locale, "Current and future PliegoRS software is licensed under AGPL-3.0-only. Project-authored documentation, graphics, diagrams, and original non-software media are licensed under CC-BY-SA-4.0. Historical Apache-2.0 and GPL-3.0-only grants remain in force at the exact revision boundaries in LICENSING.md.", "El software PliegoRS actual y futuro está licenciado bajo AGPL-3.0-only. La documentación, gráficos, diagramas y medios originales que no son software del proyecto están licenciados bajo CC-BY-SA-4.0. Las concesiones históricas Apache-2.0 y GPL-3.0-only siguen vigentes en los límites exactos de revisión indicados en LICENSING.md."),
link_list(locale, &[
("https://github.com/celiumsai/pliegors/blob/main/LICENSE", "Read LICENSE", "Leer LICENSE"),
("https://github.com/celiumsai/pliegors/blob/main/NOTICE", "Read NOTICE", "Leer NOTICE"),
]),
]),
doc_section(locale, "starters", "Generated starters", "Starters generados", vec![
- paragraph(locale, "Generated starters include a neutral application-license placeholder. Copied template code remains GPL-covered; new original application code, content, brand, and assets remain yours and are not automatically licensed by PliegoRS. Choose and document your project license before publication while preserving applicable GPL and third-party obligations.", "Los starters generados incluyen un marcador neutral para la licencia de la aplicación. El código copiado de la plantilla conserva la GPL; el nuevo código, contenido, marca y assets originales de tu aplicación siguen siendo tuyos y PliegoRS no los licencia automáticamente. Elige y documenta la licencia del proyecto antes de publicar, preservando las obligaciones GPL y de terceros aplicables."),
+ paragraph(locale, "Generated starters include a neutral application-license placeholder. Copied template code remains AGPL-covered; new original application code, content, brand, and assets remain yours and are not automatically licensed by PliegoRS. Choose and document your project license before publication while preserving applicable AGPL and third-party obligations.", "Los starters generados incluyen un marcador neutral para la licencia de la aplicación. El código copiado de la plantilla conserva la AGPL; el nuevo código, contenido, marca y assets originales de tu aplicación siguen siendo tuyos y PliegoRS no los licencia automáticamente. Elige y documenta la licencia del proyecto antes de publicar, preservando las obligaciones AGPL y de terceros aplicables."),
]),
doc_section(locale, "trademarks", "Names and marks", "Nombres y marcas", vec![
- paragraph(locale, "GPL-3.0-only and CC-BY-SA-4.0 do not grant permission to use PliegoRS or Celiums names, logos, or marks to imply endorsement. Descriptive references such as “Built with PliegoRS” are governed by the repository trademark policy.", "GPL-3.0-only y CC-BY-SA-4.0 no conceden permiso para usar nombres, logos o marcas de PliegoRS o Celiums para implicar respaldo. Referencias descriptivas como “Built with PliegoRS” se rigen por la política de marcas del repositorio."),
+ paragraph(locale, "AGPL-3.0-only and CC-BY-SA-4.0 do not grant permission to use PliegoRS or Celiums names, logos, or marks to imply endorsement. Descriptive references such as “Built with PliegoRS” are governed by the repository trademark policy.", "AGPL-3.0-only y CC-BY-SA-4.0 no conceden permiso para usar nombres, logos o marcas de PliegoRS o Celiums para implicar respaldo. Referencias descriptivas como “Built with PliegoRS” se rigen por la política de marcas del repositorio."),
link_list(locale, &[("https://github.com/celiumsai/pliegors/blob/main/TRADEMARKS.md", "Trademark policy", "Política de marcas")]),
]),
doc_section(locale, "project-policy", "Public project policy", "Política pública del proyecto", vec![
@@ -1989,7 +1989,7 @@ fn outline(slug: &str) -> Vec<(&'static str, &'static str, &'static str)> {
("boundaries", "Normative boundaries", "Límites normativos"),
],
"licensing" => vec![
- ("copyleft", "GPL and CC BY-SA", "GPL y CC BY-SA"),
+ ("copyleft", "AGPL and CC BY-SA", "AGPL y CC BY-SA"),
("starters", "Generated starters", "Starters generados"),
("trademarks", "Names and marks", "Nombres y marcas"),
("project-policy", "Project policy", "Política del proyecto"),
diff --git a/examples/pliegors-site/src/pages.rs b/examples/pliegors-site/src/pages.rs
index e209060..ae248c4 100644
--- a/examples/pliegors-site/src/pages.rs
+++ b/examples/pliegors-site/src/pages.rs
@@ -873,8 +873,8 @@ fn about_stewardship(locale: Locale) -> View {
)))
.child(el("p").child(l(
locale,
- "PliegoRS is stewarded in Medellín by Celiums Solutions LLC. Software is GPL-3.0-only; documentation and original media are CC-BY-SA-4.0; the project name and symbol remain protected marks. Governance, security reporting, compatibility, and releases are documented public contracts.",
- "PliegoRS es administrado desde Medellín por Celiums Solutions LLC. El software usa GPL-3.0-only; la documentación y medios originales usan CC-BY-SA-4.0; el nombre y el símbolo siguen siendo marcas protegidas. Gobernanza, reportes de seguridad, compatibilidad y releases son contratos públicos documentados.",
+ "PliegoRS is stewarded in Medellín by Celiums Solutions LLC. Current software is AGPL-3.0-only; project-authored documentation, graphics, diagrams, and original non-software media are CC-BY-SA-4.0; the project name and symbol remain protected marks.",
+ "PliegoRS es administrado desde Medellín por Celiums Solutions LLC. El software actual usa AGPL-3.0-only; la documentación, gráficos, diagramas y medios originales que no son software del proyecto usan CC-BY-SA-4.0; el nombre y el símbolo siguen siendo marcas protegidas.",
)))
.child(
el("div")
@@ -2109,15 +2109,15 @@ pub fn legal_document(locale: Locale, slug: &str) -> Result {
"02",
"License",
"Licencia",
- "Framework software and packages are GPL-3.0-only. Project-authored documentation and original non-software media are CC-BY-SA-4.0. Trademarks and third-party files remain subject to their accompanying notices and policies.",
- "El software y los paquetes del framework usan GPL-3.0-only. La documentación del proyecto y los medios originales que no son software usan CC-BY-SA-4.0. Las marcas y archivos de terceros conservan sus avisos y políticas aplicables.",
+ "Current and future framework software and packages are AGPL-3.0-only. Project-authored documentation, graphics, diagrams, and original non-software media are CC-BY-SA-4.0. Historical grants, trademarks, and third-party files remain subject to their accompanying notices and policies.",
+ "El software y los paquetes actuales y futuros del framework usan AGPL-3.0-only. La documentación, gráficos, diagramas y medios originales que no son software del proyecto usan CC-BY-SA-4.0. Las concesiones históricas, marcas y archivos de terceros conservan sus avisos y políticas aplicables.",
),
(
"03",
"No warranty",
"Sin garantía",
- "The software is provided without warranties to the extent permitted by law, as stated in GPL v3.",
- "El software se entrega sin garantías en la medida permitida por la ley, según GPL v3.",
+ "The software is provided without warranties to the extent permitted by law, as stated in AGPL v3.",
+ "El software se entrega sin garantías en la medida permitida por la ley, según AGPL v3.",
),
],
),
diff --git a/examples/provider-tck/Cargo.toml b/examples/provider-tck/Cargo.toml
index 7079383..3fdfc59 100644
--- a/examples/provider-tck/Cargo.toml
+++ b/examples/provider-tck/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "provider-tck"
diff --git a/examples/provider-tck/Containerfile b/examples/provider-tck/Containerfile
index 2bb1646..4378b56 100644
--- a/examples/provider-tck/Containerfile
+++ b/examples/provider-tck/Containerfile
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
FROM gcr.io/distroless/static-debian12@sha256:f5b485ea962d9bd1186b2f6b3a061191539b905b82ec395de78cbfae51f20e35
diff --git a/examples/provider-tck/scripts/build-worker.mjs b/examples/provider-tck/scripts/build-worker.mjs
index c83864c..70be439 100644
--- a/examples/provider-tck/scripts/build-worker.mjs
+++ b/examples/provider-tck/scripts/build-worker.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { existsSync } from 'node:fs';
import path from 'node:path';
diff --git a/examples/provider-tck/scripts/check-worker.mjs b/examples/provider-tck/scripts/check-worker.mjs
index 722fed5..3713ef6 100644
--- a/examples/provider-tck/scripts/check-worker.mjs
+++ b/examples/provider-tck/scripts/check-worker.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { existsSync } from 'node:fs';
import path from 'node:path';
diff --git a/examples/provider-tck/scripts/deploy-worker.mjs b/examples/provider-tck/scripts/deploy-worker.mjs
index 0669ebe..0b0b8e8 100644
--- a/examples/provider-tck/scripts/deploy-worker.mjs
+++ b/examples/provider-tck/scripts/deploy-worker.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import path from 'node:path';
import { spawnSync } from 'node:child_process';
diff --git a/examples/provider-tck/scripts/dev-worker.mjs b/examples/provider-tck/scripts/dev-worker.mjs
index dfea320..2087422 100644
--- a/examples/provider-tck/scripts/dev-worker.mjs
+++ b/examples/provider-tck/scripts/dev-worker.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import path from 'node:path';
import { spawn } from 'node:child_process';
diff --git a/examples/provider-tck/scripts/wrangler-pboc.mjs b/examples/provider-tck/scripts/wrangler-pboc.mjs
index 988947d..69640c8 100644
--- a/examples/provider-tck/scripts/wrangler-pboc.mjs
+++ b/examples/provider-tck/scripts/wrangler-pboc.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { createHash } from 'node:crypto';
import { access, mkdir, readFile, writeFile } from 'node:fs/promises';
diff --git a/examples/provider-tck/src/bin/native.rs b/examples/provider-tck/src/bin/native.rs
index cb9bb3c..43f8435 100644
--- a/examples/provider-tck/src/bin/native.rs
+++ b/examples/provider-tck/src/bin/native.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_pboc::{decode_manifest, verify_bundle};
use provider_tck::native::build_runtime_with_identity;
diff --git a/examples/provider-tck/src/bin/pack.rs b/examples/provider-tck/src/bin/pack.rs
index 485eebd..31a3b37 100644
--- a/examples/provider-tck/src/bin/pack.rs
+++ b/examples/provider-tck/src/bin/pack.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_pboc::{
ArtifactRole, BuildIdentity, CompatibilityIdentity, DeploymentTarget, FeatureRequirement,
diff --git a/examples/provider-tck/src/cloudflare.rs b/examples/provider-tck/src/cloudflare.rs
index 2780c8f..ca1eef6 100644
--- a/examples/provider-tck/src/cloudflare.rs
+++ b/examples/provider-tck/src/cloudflare.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{STREAM_BODY, route_graph_sha256, runtime_contract_sha256};
use futures_util::stream;
diff --git a/examples/provider-tck/src/lib.rs b/examples/provider-tck/src/lib.rs
index d01429c..407a9d7 100644
--- a/examples/provider-tck/src/lib.rs
+++ b/examples/provider-tck/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use pliego_pboc::{
CacheDomain, CachePolicy, CacheRevalidation, FeatureRequirement, PbocFunction, PbocRoute,
diff --git a/examples/provider-tck/src/native.rs b/examples/provider-tck/src/native.rs
index 1f2cbdf..d00bd23 100644
--- a/examples/provider-tck/src/native.rs
+++ b/examples/provider-tck/src/native.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use crate::{STATIC_BODY, STREAM_BODY, route_graph};
use bytes::Bytes;
diff --git a/examples/spike/Cargo.toml b/examples/spike/Cargo.toml
index 2370d7d..b96e4e1 100644
--- a/examples/spike/Cargo.toml
+++ b/examples/spike/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "spike"
version.workspace = true
diff --git a/examples/spike/index.html b/examples/spike/index.html
index 0c59f32..aeae915 100644
--- a/examples/spike/index.html
+++ b/examples/spike/index.html
@@ -1,5 +1,5 @@
-
+
diff --git a/examples/spike/src/lib.rs b/examples/spike/src/lib.rs
index 905d46b..0d9fa24 100644
--- a/examples/spike/src/lib.rs
+++ b/examples/spike/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026 Celiums Solutions LLC
//! A typed task-list spike for PliegoRS.
diff --git a/fixtures/next/hyphae-console/Cargo.toml b/fixtures/next/hyphae-console/Cargo.toml
index 023d0fb..ac5c76d 100644
--- a/fixtures/next/hyphae-console/Cargo.toml
+++ b/fixtures/next/hyphae-console/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[workspace]
resolver = "2"
@@ -9,7 +9,7 @@ default-members = ["server"]
version = "0.0.0"
edition = "2024"
rust-version = "1.86"
-license = "GPL-3.0-only"
+license = "AGPL-3.0-only"
[workspace.dependencies]
bytes = "=1.12.1"
diff --git a/fixtures/next/hyphae-console/server/Cargo.toml b/fixtures/next/hyphae-console/server/Cargo.toml
index 61425cc..e24e64b 100644
--- a/fixtures/next/hyphae-console/server/Cargo.toml
+++ b/fixtures/next/hyphae-console/server/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliegors-next-hyphae-console-server"
diff --git a/fixtures/next/hyphae-console/server/src/hyphae_native/http.rs b/fixtures/next/hyphae-console/server/src/hyphae_native/http.rs
index 026a0d2..eaff725 100644
--- a/fixtures/next/hyphae-console/server/src/hyphae_native/http.rs
+++ b/fixtures/next/hyphae-console/server/src/hyphae_native/http.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use super::wire::{
CommitOutcome, ERROR_MEDIA_TYPE, MAX_WIRE_BYTES, PRODUCT_MEDIA_TYPE, ProductCapabilities,
diff --git a/fixtures/next/hyphae-console/server/src/hyphae_native/mod.rs b/fixtures/next/hyphae-console/server/src/hyphae_native/mod.rs
index 8ac8112..f09b5f3 100644
--- a/fixtures/next/hyphae-console/server/src/hyphae_native/mod.rs
+++ b/fixtures/next/hyphae-console/server/src/hyphae_native/mod.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
mod http;
mod process;
diff --git a/fixtures/next/hyphae-console/server/src/hyphae_native/process.rs b/fixtures/next/hyphae-console/server/src/hyphae_native/process.rs
index b9ca3ec..cae3dfa 100644
--- a/fixtures/next/hyphae-console/server/src/hyphae_native/process.rs
+++ b/fixtures/next/hyphae-console/server/src/hyphae_native/process.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use super::http::{NativeHttpClient, TransportError};
use serde::Deserialize;
@@ -403,7 +403,7 @@ fn local_endpoint(data_dir: &Path, port: u16) -> String {
format!("pliegors-hyphae-{}-{port}", std::process::id())
} else {
data_dir
- .with_extension("sock")
+ .with_extension(format!("{port}.sock"))
.to_string_lossy()
.into_owned()
}
@@ -433,6 +433,23 @@ fn terminate_process_tree(child: &mut Child) -> Result<(), SidecarError> {
}
return Ok(());
}
+ let status = Command::new("kill")
+ .args(["-INT", &child.id().to_string()])
+ .stdin(Stdio::null())
+ .stdout(Stdio::null())
+ .stderr(Stdio::null())
+ .status()
+ .map_err(SidecarError::Io)?;
+ if !status.success() {
+ return child.kill().map_err(SidecarError::Io);
+ }
+ let deadline = Instant::now() + Duration::from_secs(5);
+ while Instant::now() < deadline {
+ if child.try_wait().map_err(SidecarError::Io)?.is_some() {
+ return Ok(());
+ }
+ std::thread::sleep(Duration::from_millis(25));
+ }
child.kill().map_err(SidecarError::Io)
}
diff --git a/fixtures/next/hyphae-console/server/src/hyphae_native/tests.rs b/fixtures/next/hyphae-console/server/src/hyphae_native/tests.rs
index e1ac734..62f2101 100644
--- a/fixtures/next/hyphae-console/server/src/hyphae_native/tests.rs
+++ b/fixtures/next/hyphae-console/server/src/hyphae_native/tests.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use super::wire::{ERROR_MEDIA_TYPE, PRODUCT_MEDIA_TYPE};
use super::*;
diff --git a/fixtures/next/hyphae-console/server/src/hyphae_native/wire.rs b/fixtures/next/hyphae-console/server/src/hyphae_native/wire.rs
index 42cec2e..029f11f 100644
--- a/fixtures/next/hyphae-console/server/src/hyphae_native/wire.rs
+++ b/fixtures/next/hyphae-console/server/src/hyphae_native/wire.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::fmt;
diff --git a/fixtures/next/hyphae-console/server/src/lib.rs b/fixtures/next/hyphae-console/server/src/lib.rs
index f76bfce..52327ee 100644
--- a/fixtures/next/hyphae-console/server/src/lib.rs
+++ b/fixtures/next/hyphae-console/server/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
mod hyphae_native;
diff --git a/fixtures/next/manifest.json b/fixtures/next/manifest.json
index 924d195..33b2024 100644
--- a/fixtures/next/manifest.json
+++ b/fixtures/next/manifest.json
@@ -267,7 +267,7 @@
"objective": "Counter, local state, list, conditional, owned effect, and mount/unmount lifecycle.",
"sourceIdentity": {
"algorithm": "sha256-tree-v1",
- "digest": "5585e56f668bf51caab6a9f98d5180e8deac60f35b6a46ee1d7fa97faa5c99fb"
+ "digest": "f248bea7af7aa441f510493f324bd99c9c4cc48399a6a912d8d6451448cd344b"
},
"notApplicable": []
},
@@ -279,7 +279,7 @@
"objective": "Thousands of nodes, filters, keyed table, charts, frequent updates, nested ownership, and lifecycle stress.",
"sourceIdentity": {
"algorithm": "sha256-tree-v1",
- "digest": "227982841f412465bad01fff63dfd93dc3e9cdc0a3f22946feab1decf61959f2"
+ "digest": "2484ac098c3f14cc37fe638cfae697a3b62e4d081d930601d1c7fce4853f9ae9"
},
"notApplicable": []
},
@@ -291,7 +291,7 @@
"objective": "Navigation, simulated authentication, SSR, streaming, queries, optional PliegoCSS, and verified persistent state.",
"sourceIdentity": {
"algorithm": "sha256-tree-v1",
- "digest": "04c0b253129d150760f15f71ce190e25567d46e724dc67d22561b54684cb21d7"
+ "digest": "771e2ec4a9feeec11901def642fcae1244d8b1f2f76c21e3fbf253e6c1f9a2bb"
},
"externalAuthority": {
"repository": "https://github.com/celiumsai/hyphae",
diff --git a/fixtures/next/minimal/Cargo.toml b/fixtures/next/minimal/Cargo.toml
index da98225..8f64696 100644
--- a/fixtures/next/minimal/Cargo.toml
+++ b/fixtures/next/minimal/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[workspace]
resolver = "2"
@@ -10,7 +10,7 @@ exclude = []
version = "0.0.0"
edition = "2024"
rust-version = "1.86"
-license = "GPL-3.0-only"
+license = "AGPL-3.0-only"
[workspace.dependencies]
pliego-dom = { version = "=0.4.0-beta.1", path = "../../../crates/pliego-dom" }
diff --git a/fixtures/next/minimal/client/Cargo.toml b/fixtures/next/minimal/client/Cargo.toml
index 12b986f..8d01747 100644
--- a/fixtures/next/minimal/client/Cargo.toml
+++ b/fixtures/next/minimal/client/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "minimal-next-client"
diff --git a/fixtures/next/minimal/client/src/lib.rs b/fixtures/next/minimal/client/src/lib.rs
index ed45222..40ad08a 100644
--- a/fixtures/next/minimal/client/src/lib.rs
+++ b/fixtures/next/minimal/client/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#![forbid(unsafe_code)]
diff --git a/fixtures/next/minimal/site/Cargo.toml b/fixtures/next/minimal/site/Cargo.toml
index 6889d1f..a58365e 100644
--- a/fixtures/next/minimal/site/Cargo.toml
+++ b/fixtures/next/minimal/site/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "minimal-next-site"
diff --git a/fixtures/next/minimal/site/src/main.rs b/fixtures/next/minimal/site/src/main.rs
index 5a7b1ae..3856a55 100644
--- a/fixtures/next/minimal/site/src/main.rs
+++ b/fixtures/next/minimal/site/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#![forbid(unsafe_code)]
diff --git a/fixtures/next/stress-dashboard/Cargo.toml b/fixtures/next/stress-dashboard/Cargo.toml
index 9e0b6f5..74116b7 100644
--- a/fixtures/next/stress-dashboard/Cargo.toml
+++ b/fixtures/next/stress-dashboard/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[workspace]
resolver = "2"
@@ -9,7 +9,7 @@ default-members = ["client", "site"]
version = "0.0.0"
edition = "2024"
rust-version = "1.86"
-license = "GPL-3.0-only"
+license = "AGPL-3.0-only"
[workspace.dependencies]
js-sys = "=0.3.103"
diff --git a/fixtures/next/stress-dashboard/client/Cargo.toml b/fixtures/next/stress-dashboard/client/Cargo.toml
index e57832d..d753821 100644
--- a/fixtures/next/stress-dashboard/client/Cargo.toml
+++ b/fixtures/next/stress-dashboard/client/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "stress-dashboard-next-client"
diff --git a/fixtures/next/stress-dashboard/client/src/lib.rs b/fixtures/next/stress-dashboard/client/src/lib.rs
index 26beadd..c14af7b 100644
--- a/fixtures/next/stress-dashboard/client/src/lib.rs
+++ b/fixtures/next/stress-dashboard/client/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#![forbid(unsafe_code)]
diff --git a/fixtures/next/stress-dashboard/site/Cargo.toml b/fixtures/next/stress-dashboard/site/Cargo.toml
index 8693b29..cf48951 100644
--- a/fixtures/next/stress-dashboard/site/Cargo.toml
+++ b/fixtures/next/stress-dashboard/site/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "stress-dashboard-next-site"
diff --git a/fixtures/next/stress-dashboard/site/src/main.rs b/fixtures/next/stress-dashboard/site/src/main.rs
index 056b7ec..5a60665 100644
--- a/fixtures/next/stress-dashboard/site/src/main.rs
+++ b/fixtures/next/stress-dashboard/site/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
#![forbid(unsafe_code)]
diff --git a/fixtures/opensdk/browser-component/component.js b/fixtures/opensdk/browser-component/component.js
index fe8b11c..8ff3023 100644
--- a/fixtures/opensdk/browser-component/component.js
+++ b/fixtures/opensdk/browser-component/component.js
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
export const pliegoComponent = Object.freeze({
apiVersion: "0.2.0-beta.1",
diff --git a/fixtures/opensdk/browser-component/pliego-extension.json b/fixtures/opensdk/browser-component/pliego-extension.json
index cac7207..d056f61 100644
--- a/fixtures/opensdk/browser-component/pliego-extension.json
+++ b/fixtures/opensdk/browser-component/pliego-extension.json
@@ -7,7 +7,7 @@
"namespace": "pliego",
"name": "browser-component-fixture",
"version": "0.1.0",
- "digest": "sha256:c7d6305c8dd181c27c0c20112c3027174c79baf1a030822545b0e353efcff5e5"
+ "digest": "sha256:6dbbdfdfbead305db2c5e7cc099540e45c3982863ce95bf146108fcec4565278"
},
"entry": {
"kind": "browser-esm",
diff --git a/fixtures/opensdk/browser-frameworks/adversarial.js b/fixtures/opensdk/browser-frameworks/adversarial.js
index ff7fd97..06b6c89 100644
--- a/fixtures/opensdk/browser-frameworks/adversarial.js
+++ b/fixtures/opensdk/browser-frameworks/adversarial.js
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
const TAG = "pliego-adversarial-status";
const state = globalThis.__pliegoFrameworkMetrics ||= { active: {}, events: [] };
diff --git a/fixtures/opensdk/browser-frameworks/lit.js b/fixtures/opensdk/browser-frameworks/lit.js
index d27381b..e6c678f 100644
--- a/fixtures/opensdk/browser-frameworks/lit.js
+++ b/fixtures/opensdk/browser-frameworks/lit.js
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { LitElement, html } from "lit";
diff --git a/fixtures/opensdk/browser-frameworks/react.js b/fixtures/opensdk/browser-frameworks/react.js
index f1a8b00..a610ae2 100644
--- a/fixtures/opensdk/browser-frameworks/react.js
+++ b/fixtures/opensdk/browser-frameworks/react.js
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import React from "react";
import { flushSync } from "react-dom";
diff --git a/fixtures/opensdk/browser-frameworks/svelte.js b/fixtures/opensdk/browser-frameworks/svelte.js
index 8aa5ff2..49cb99e 100644
--- a/fixtures/opensdk/browser-frameworks/svelte.js
+++ b/fixtures/opensdk/browser-frameworks/svelte.js
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { mount, unmount } from "svelte";
import Status from "./Status.svelte";
diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml
index 369843d..426987d 100644
--- a/fuzz/Cargo.toml
+++ b/fuzz/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliegors-fuzz"
diff --git a/product.capabilities.json b/product.capabilities.json
index a93a82c..4154b82 100644
--- a/product.capabilities.json
+++ b/product.capabilities.json
@@ -7,8 +7,11 @@
"releasedVersion": "0.4.0-beta.1",
"workspaceVersion": "0.4.0-beta.1",
"openSdkVersion": "0.4.0-beta.1",
- "license": "GPL-3.0-only",
+ "license": "AGPL-3.0-only",
"documentationLicense": "CC-BY-SA-4.0",
+ "graphicsLicense": "CC-BY-SA-4.0",
+ "diagramsLicense": "CC-BY-SA-4.0",
+ "originalNonSoftwareMediaLicense": "CC-BY-SA-4.0",
"releasedCrateCount": 21,
"unreleasedCrates": []
},
diff --git a/schemas/pliego.product-capabilities.schema.json b/schemas/pliego.product-capabilities.schema.json
index 800e750..344e556 100644
--- a/schemas/pliego.product-capabilities.schema.json
+++ b/schemas/pliego.product-capabilities.schema.json
@@ -19,6 +19,9 @@
"openSdkVersion",
"license",
"documentationLicense",
+ "graphicsLicense",
+ "diagramsLicense",
+ "originalNonSoftwareMediaLicense",
"releasedCrateCount",
"unreleasedCrates"
],
@@ -28,8 +31,11 @@
"releasedVersion": { "$ref": "#/$defs/packageVersion" },
"workspaceVersion": { "$ref": "#/$defs/packageVersion" },
"openSdkVersion": { "$ref": "#/$defs/packageVersion" },
- "license": { "const": "GPL-3.0-only" },
+ "license": { "const": "AGPL-3.0-only" },
"documentationLicense": { "const": "CC-BY-SA-4.0" },
+ "graphicsLicense": { "const": "CC-BY-SA-4.0" },
+ "diagramsLicense": { "const": "CC-BY-SA-4.0" },
+ "originalNonSoftwareMediaLicense": { "const": "CC-BY-SA-4.0" },
"releasedCrateCount": { "type": "integer", "minimum": 1, "maximum": 128 },
"unreleasedCrates": {
"type": "array",
diff --git a/scripts/assemble-release-candidate.mjs b/scripts/assemble-release-candidate.mjs
index a053962..45fe5a9 100644
--- a/scripts/assemble-release-candidate.mjs
+++ b/scripts/assemble-release-candidate.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { copyFile, lstat, mkdir, readdir, readFile, writeFile } from 'node:fs/promises';
import path from 'node:path';
diff --git a/scripts/build-browser-benchmark.sh b/scripts/build-browser-benchmark.sh
index a63670e..a80b9e1 100755
--- a/scripts/build-browser-benchmark.sh
+++ b/scripts/build-browser-benchmark.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
set -eu
root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
diff --git a/scripts/build-opensdk-rust-component.mjs b/scripts/build-opensdk-rust-component.mjs
index 0553fdc..936771d 100644
--- a/scripts/build-opensdk-rust-component.mjs
+++ b/scripts/build-opensdk-rust-component.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { spawnSync } from "node:child_process";
import path from "node:path";
diff --git a/scripts/check-benchmark-contract.mjs b/scripts/check-benchmark-contract.mjs
index 2201a42..652e9ca 100644
--- a/scripts/check-benchmark-contract.mjs
+++ b/scripts/check-benchmark-contract.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { spawnSync } from 'node:child_process';
diff --git a/scripts/check-distribution.mjs b/scripts/check-distribution.mjs
index 5c70a9c..11db258 100644
--- a/scripts/check-distribution.mjs
+++ b/scripts/check-distribution.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { execFileSync } from 'node:child_process';
@@ -32,7 +32,7 @@ assert.deepEqual(crates.map((pkg) => pkg.name), expected);
const packagesByName = new Map(allCrates.map((pkg) => [pkg.name, pkg]));
for (const pkg of allCrates) {
assert.equal(pkg.version, workspaceVersion, `${pkg.name} version drift`);
- assert.equal(pkg.license, 'GPL-3.0-only', `${pkg.name} license`);
+ assert.equal(pkg.license, 'AGPL-3.0-only', `${pkg.name} license`);
assert.equal(pkg.repository, 'https://github.com/celiumsai/pliegors', `${pkg.name} repository`);
assert.equal(pkg.homepage, 'https://pliegors.dev', `${pkg.name} homepage`);
assert.equal(pkg.rust_version, '1.86', `${pkg.name} rust-version`);
@@ -124,7 +124,7 @@ for (const contract of [
'link-arg=/Brepro',
'pliego-$env:RELEASE_TARGET.zip', 'retention-days: 7', 'retention-days: 14',
'Copy-Item LICENSE, LICENSE-DOCUMENTATION, LICENSING.md, NOTICE, README.md, THIRD_PARTY_NOTICES.md, TRADEMARKS.md',
- 'Copy-Item LICENSES/GPL-3.0-only.txt, LICENSES/CC-BY-SA-4.0.txt',
+ 'Copy-Item LICENSES/AGPL-3.0-only.txt, LICENSES/GPL-3.0-only.txt, LICENSES/CC-BY-SA-4.0.txt',
'CANDIDATE-METADATA.json',
'PLIEGORS_CANDIDATE_SIGNING_KEY', 'create-release-manifest.mjs',
'verify-release-bundle.mjs', 'install.sh', 'install.ps1', 'golden_path',
@@ -204,6 +204,7 @@ const publicProjectFiles = [
'LICENSE',
'LICENSE-DOCUMENTATION',
'LICENSES/CC-BY-SA-4.0.txt',
+ 'LICENSES/AGPL-3.0-only.txt',
'LICENSES/GPL-3.0-only.txt',
'LICENSING.md',
'NOTICE',
diff --git a/scripts/check-distribution.test.mjs b/scripts/check-distribution.test.mjs
index f2ebf3f..324508e 100644
--- a/scripts/check-distribution.test.mjs
+++ b/scripts/check-distribution.test.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { spawnSync } from 'node:child_process';
diff --git a/scripts/check-fuzz-contract.mjs b/scripts/check-fuzz-contract.mjs
index 6beb3cd..0c9b02d 100644
--- a/scripts/check-fuzz-contract.mjs
+++ b/scripts/check-fuzz-contract.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { access, readFile } from 'node:fs/promises';
diff --git a/scripts/check-g2-browser.mjs b/scripts/check-g2-browser.mjs
index 4da8133..84a7315 100644
--- a/scripts/check-g2-browser.mjs
+++ b/scripts/check-g2-browser.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { access } from 'node:fs/promises';
diff --git a/scripts/check-g4-engineering-readiness.mjs b/scripts/check-g4-engineering-readiness.mjs
index 3c39823..a71565f 100644
--- a/scripts/check-g4-engineering-readiness.mjs
+++ b/scripts/check-g4-engineering-readiness.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { execFileSync, spawnSync } from "node:child_process";
import { mkdtemp, mkdir, readFile, rm, writeFile } from "node:fs/promises";
diff --git a/scripts/check-golden-matrix.mjs b/scripts/check-golden-matrix.mjs
index bc2925a..76ef02d 100644
--- a/scripts/check-golden-matrix.mjs
+++ b/scripts/check-golden-matrix.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { spawnSync } from 'node:child_process';
diff --git a/scripts/check-license-contract.mjs b/scripts/check-license-contract.mjs
index f62f4a0..15b1c89 100644
--- a/scripts/check-license-contract.mjs
+++ b/scripts/check-license-contract.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { execFileSync } from 'node:child_process';
@@ -7,9 +7,9 @@ import { existsSync, readFileSync } from 'node:fs';
import path from 'node:path';
const root = path.resolve(import.meta.dirname, '..');
-const softwareLicense = 'GPL-3.0-only';
+const softwareLicense = 'AGPL-3.0-only';
const documentationLicense = 'CC-BY-SA-4.0';
-const obsoleteSpdx = ['SPDX-License-Identifier:', 'Apache-2.0'].join(' ');
+const obsoleteSoftwareLicenses = ['Apache-2.0', 'GPL-3.0-only'];
const metadata = JSON.parse(execFileSync('cargo', [
'metadata', '--no-deps', '--format-version', '1',
@@ -21,6 +21,7 @@ for (const pkg of metadata.packages) {
for (const relativePath of [
'LICENSE',
'LICENSE-DOCUMENTATION',
+ 'LICENSES/AGPL-3.0-only.txt',
'LICENSES/GPL-3.0-only.txt',
'LICENSES/CC-BY-SA-4.0.txt',
'LICENSING.md',
@@ -30,7 +31,7 @@ for (const relativePath of [
assert.ok(readFileSync(absolute).length > 0, `empty license contract file: ${relativePath}`);
}
-const tracked = execFileSync('git', ['ls-files', '-z'], {
+const tracked = execFileSync('git', ['ls-files', '-z', '--cached', '--others', '--exclude-standard'], {
cwd: root,
encoding: 'utf8',
}).split('\0').filter(Boolean);
@@ -45,10 +46,21 @@ const generatedTemplates = new Set([
for (const relativePath of tracked) {
if (!isTextSource(relativePath)) continue;
const source = readFileSync(path.join(root, relativePath), 'utf8');
- assert.ok(
- !source.includes(obsoleteSpdx),
- `${relativePath} retains the obsolete Apache SPDX identifier`,
- );
+ for (const obsoleteLicense of obsoleteSoftwareLicenses) {
+ assert.ok(
+ !source.includes(`SPDX-License-Identifier: ${obsoleteLicense}`),
+ `${relativePath} retains the obsolete ${obsoleteLicense} SPDX identifier`,
+ );
+ }
+ if (source.includes('SPDX-License-Identifier:')) {
+ const expectedLicense = relativePath.endsWith('.md')
+ ? documentationLicense
+ : softwareLicense;
+ assert.ok(
+ source.includes(`SPDX-License-Identifier: ${expectedLicense}`),
+ `${relativePath} must use the ${expectedLicense} SPDX identifier`,
+ );
+ }
if (generatedTemplates.has(relativePath)) {
assert.ok(
source.startsWith('// Generated by PliegoRS. Choose a project license before distribution.'),
@@ -58,7 +70,19 @@ for (const relativePath of tracked) {
}
const licensing = readFileSync(path.join(root, 'LICENSING.md'), 'utf8');
-for (const token of [softwareLicense, documentationLicense, 'v0.4.0-beta.1', 'Apache-2.0']) {
+for (const token of [
+ softwareLicense,
+ documentationLicense,
+ 'v0.4.0-beta.1',
+ 'Apache-2.0',
+ 'GPL-3.0-only',
+ '96a4eca352c766ecc92ed72366e6f41b8b0089d6',
+ '056666e303a92f1e64348f126556bc74670b6761',
+ '2cf1d7bdc094939e0cbb719fce6aa3b6175ae60c',
+ 'eaf0dbc824459335c9b06ec0dd6bdbaf7681bf67',
+ '5ae7482009a6f8e2c3bbff67afb88e3264c44d5e',
+ 'section 13',
+]) {
assert.ok(licensing.includes(token), `LICENSING.md lacks ${token}`);
}
diff --git a/scripts/check-next-baseline.mjs b/scripts/check-next-baseline.mjs
index 4d2a0bb..a22daf7 100644
--- a/scripts/check-next-baseline.mjs
+++ b/scripts/check-next-baseline.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { lstat, readdir, readFile } from "node:fs/promises";
import path from "node:path";
diff --git a/scripts/check-next-hyphae-sidecar.mjs b/scripts/check-next-hyphae-sidecar.mjs
index c1deaae..ae7945d 100644
--- a/scripts/check-next-hyphae-sidecar.mjs
+++ b/scripts/check-next-hyphae-sidecar.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from "node:assert/strict";
import { execFileSync } from "node:child_process";
diff --git a/scripts/check-next-minimal-browser.mjs b/scripts/check-next-minimal-browser.mjs
index 97595e3..e54e99b 100644
--- a/scripts/check-next-minimal-browser.mjs
+++ b/scripts/check-next-minimal-browser.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { access, readFile, stat } from "node:fs/promises";
import { createServer } from "node:http";
diff --git a/scripts/check-next-stress-dashboard-browser.mjs b/scripts/check-next-stress-dashboard-browser.mjs
index 0b3a0b5..13673ef 100644
--- a/scripts/check-next-stress-dashboard-browser.mjs
+++ b/scripts/check-next-stress-dashboard-browser.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { access, readFile, stat } from "node:fs/promises";
import { createServer } from "node:http";
diff --git a/scripts/check-opensdk-browser-frameworks.mjs b/scripts/check-opensdk-browser-frameworks.mjs
index acf555b..8ca2363 100644
--- a/scripts/check-opensdk-browser-frameworks.mjs
+++ b/scripts/check-opensdk-browser-frameworks.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from "node:assert/strict";
import { access, mkdir, readFile, rm } from "node:fs/promises";
diff --git a/scripts/check-opensdk-component-runtime.mjs b/scripts/check-opensdk-component-runtime.mjs
index 1dc1579..4acf468 100644
--- a/scripts/check-opensdk-component-runtime.mjs
+++ b/scripts/check-opensdk-component-runtime.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from "node:assert/strict";
import { createHash } from "node:crypto";
diff --git a/scripts/check-opensdk-contract.mjs b/scripts/check-opensdk-contract.mjs
index 53c76e6..9314a86 100644
--- a/scripts/check-opensdk-contract.mjs
+++ b/scripts/check-opensdk-contract.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from "node:assert/strict";
import { createHash } from "node:crypto";
diff --git a/scripts/check-opensdk-multilang.mjs b/scripts/check-opensdk-multilang.mjs
index e430012..dbb1ae9 100644
--- a/scripts/check-opensdk-multilang.mjs
+++ b/scripts/check-opensdk-multilang.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
diff --git a/scripts/check-opensdk-tooling.mjs b/scripts/check-opensdk-tooling.mjs
index a63fa24..cddb06f 100644
--- a/scripts/check-opensdk-tooling.mjs
+++ b/scripts/check-opensdk-tooling.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from "node:assert/strict";
import { spawn, spawnSync } from "node:child_process";
diff --git a/scripts/check-pboc-bundle.mjs b/scripts/check-pboc-bundle.mjs
index dfd123f..310c522 100644
--- a/scripts/check-pboc-bundle.mjs
+++ b/scripts/check-pboc-bundle.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { readdir, readFile } from 'node:fs/promises';
diff --git a/scripts/check-pboc-contract.mjs b/scripts/check-pboc-contract.mjs
index ae26f0b..6282a61 100644
--- a/scripts/check-pboc-contract.mjs
+++ b/scripts/check-pboc-contract.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
diff --git a/scripts/check-product-truth.mjs b/scripts/check-product-truth.mjs
index 846f445..c95c521 100644
--- a/scripts/check-product-truth.mjs
+++ b/scripts/check-product-truth.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { access, readFile } from 'node:fs/promises';
@@ -52,8 +52,11 @@ const sdkVersion = tomlSectionString(sdkCargo, 'package', 'version');
assert.equal(manifest.framework.workspaceVersion, workspaceVersion, 'workspace version drift');
assert.equal(manifest.framework.releasedVersion, packageDocument.version, 'released npm metadata version drift');
assert.equal(manifest.framework.openSdkVersion, sdkVersion, 'OpenSDK version drift');
-assert.equal(manifest.framework.license, 'GPL-3.0-only', 'framework software license drift');
+assert.equal(manifest.framework.license, 'AGPL-3.0-only', 'framework software license drift');
assert.equal(manifest.framework.documentationLicense, 'CC-BY-SA-4.0', 'documentation license drift');
+assert.equal(manifest.framework.graphicsLicense, 'CC-BY-SA-4.0', 'graphics license drift');
+assert.equal(manifest.framework.diagramsLicense, 'CC-BY-SA-4.0', 'diagrams license drift');
+assert.equal(manifest.framework.originalNonSoftwareMediaLicense, 'CC-BY-SA-4.0', 'original media license drift');
assert.equal(manifest.support.rust.msrv, `${workspaceRust}.0`, 'MSRV drift');
assert.equal(manifest.support.rust.releaseToolchain, toolchainVersion, 'release toolchain drift');
diff --git a/scripts/check-provider-skew.mjs b/scripts/check-provider-skew.mjs
index 2e1edf5..e73a064 100644
--- a/scripts/check-provider-skew.mjs
+++ b/scripts/check-provider-skew.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
diff --git a/scripts/check-provider-tck.mjs b/scripts/check-provider-tck.mjs
index 23804f1..771c287 100644
--- a/scripts/check-provider-tck.mjs
+++ b/scripts/check-provider-tck.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
diff --git a/scripts/check-security-map.mjs b/scripts/check-security-map.mjs
index e98233d..7a30311 100644
--- a/scripts/check-security-map.mjs
+++ b/scripts/check-security-map.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { access, readFile } from 'node:fs/promises';
diff --git a/scripts/check-telemetry-contract.mjs b/scripts/check-telemetry-contract.mjs
index 5daf32a..cfc1c01 100644
--- a/scripts/check-telemetry-contract.mjs
+++ b/scripts/check-telemetry-contract.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
diff --git a/scripts/check-wasm-lifetimes.mjs b/scripts/check-wasm-lifetimes.mjs
index 14a3bbc..eae7f99 100644
--- a/scripts/check-wasm-lifetimes.mjs
+++ b/scripts/check-wasm-lifetimes.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { readdir, readFile } from 'node:fs/promises';
import path from 'node:path';
diff --git a/scripts/create-deterministic-zip.mjs b/scripts/create-deterministic-zip.mjs
index d32bd12..31a2f7d 100644
--- a/scripts/create-deterministic-zip.mjs
+++ b/scripts/create-deterministic-zip.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { lstat, mkdir, readFile, readdir, writeFile } from 'node:fs/promises';
import path from 'node:path';
diff --git a/scripts/create-release-manifest.mjs b/scripts/create-release-manifest.mjs
index 42c4834..255233d 100644
--- a/scripts/create-release-manifest.mjs
+++ b/scripts/create-release-manifest.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import {
createPrivateKey,
diff --git a/scripts/create-supply-chain-attestations.mjs b/scripts/create-supply-chain-attestations.mjs
index 1a9d9b2..abf8fbe 100644
--- a/scripts/create-supply-chain-attestations.mjs
+++ b/scripts/create-supply-chain-attestations.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { copyFile, mkdir, writeFile } from 'node:fs/promises';
import path from 'node:path';
diff --git a/scripts/deterministic-zip.test.mjs b/scripts/deterministic-zip.test.mjs
index 491882f..bf5c783 100644
--- a/scripts/deterministic-zip.test.mjs
+++ b/scripts/deterministic-zip.test.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { spawnSync } from 'node:child_process';
diff --git a/scripts/golden-matrix.test.mjs b/scripts/golden-matrix.test.mjs
index b045f9c..9e11617 100644
--- a/scripts/golden-matrix.test.mjs
+++ b/scripts/golden-matrix.test.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { spawnSync } from 'node:child_process';
diff --git a/scripts/install.ps1 b/scripts/install.ps1
index f279e06..51f9c0a 100644
--- a/scripts/install.ps1
+++ b/scripts/install.ps1
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
param(
[string]$Version,
[string]$Channel,
diff --git a/scripts/install.sh b/scripts/install.sh
index 842d395..ff76045 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
set -eu
download_base="https://github.com/celiumsai/pliegors/releases/download"
diff --git a/scripts/measure-browser-benchmark.mjs b/scripts/measure-browser-benchmark.mjs
index 1836313..7fb9923 100644
--- a/scripts/measure-browser-benchmark.mjs
+++ b/scripts/measure-browser-benchmark.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { spawn, spawnSync } from 'node:child_process';
import { access, mkdir, mkdtemp, readFile, rm, writeFile } from 'node:fs/promises';
diff --git a/scripts/measure-g4-engineering-readiness.mjs b/scripts/measure-g4-engineering-readiness.mjs
index 36c733a..4aec24a 100644
--- a/scripts/measure-g4-engineering-readiness.mjs
+++ b/scripts/measure-g4-engineering-readiness.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { execFileSync, spawn as spawnChild, spawnSync } from "node:child_process";
import { createHash } from "node:crypto";
diff --git a/scripts/measure-next-baseline.mjs b/scripts/measure-next-baseline.mjs
index 771be18..ea23799 100644
--- a/scripts/measure-next-baseline.mjs
+++ b/scripts/measure-next-baseline.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { readFile } from "node:fs/promises";
import path from "node:path";
diff --git a/scripts/measure-p8-builds.mjs b/scripts/measure-p8-builds.mjs
index a1d768d..e92b648 100644
--- a/scripts/measure-p8-builds.mjs
+++ b/scripts/measure-p8-builds.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { spawn, spawnSync } from 'node:child_process';
import { cp, mkdir, mkdtemp, readFile, rename, rm, writeFile } from 'node:fs/promises';
@@ -198,7 +198,7 @@ async function createFixture(workspace, project) {
cp(path.join(root, 'examples', 'content-collections-pliegors', 'pliego.toml'), path.join(project, 'pliego.toml')),
]);
const dependency = (name) => path.join(root, 'crates', name).replaceAll('\\', '/');
- const manifest = `# SPDX-License-Identifier: GPL-3.0-only\n[package]\nname = "content-collections-pliegors"\nversion = "0.0.0"\nedition = "2024"\nrust-version = "1.85"\npublish = false\n\n[workspace]\n\n[[bin]]\nname = "content-collections-pliegors"\npath = "src/main.rs"\ntest = false\nbench = false\n\n[dependencies]\npliego-content = { path = "${dependency('pliego-content')}" }\npliego-dom = { path = "${dependency('pliego-dom')}" }\npliego-ssg = { path = "${dependency('pliego-ssg')}" }\nserde = { version = "1", features = ["derive"] }\n`;
+ const manifest = `# SPDX-License-Identifier: AGPL-3.0-only\n[package]\nname = "content-collections-pliegors"\nversion = "0.0.0"\nedition = "2024"\nrust-version = "1.85"\npublish = false\n\n[workspace]\n\n[[bin]]\nname = "content-collections-pliegors"\npath = "src/main.rs"\ntest = false\nbench = false\n\n[dependencies]\npliego-content = { path = "${dependency('pliego-content')}" }\npliego-dom = { path = "${dependency('pliego-dom')}" }\npliego-ssg = { path = "${dependency('pliego-ssg')}" }\nserde = { version = "1", features = ["derive"] }\n`;
await writeFile(path.join(project, 'Cargo.toml'), manifest, 'utf8');
}
diff --git a/scripts/measure-r5-first-app.sh b/scripts/measure-r5-first-app.sh
index 8827fb7..e8a51d3 100755
--- a/scripts/measure-r5-first-app.sh
+++ b/scripts/measure-r5-first-app.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
set -euo pipefail
diff --git a/scripts/merge-p8-benchmark-report.mjs b/scripts/merge-p8-benchmark-report.mjs
index 5fc28a9..225d04c 100644
--- a/scripts/merge-p8-benchmark-report.mjs
+++ b/scripts/merge-p8-benchmark-report.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { mkdir, readFile, writeFile } from 'node:fs/promises';
diff --git a/scripts/next-baseline-build.mjs b/scripts/next-baseline-build.mjs
index cc3788f..524b531 100644
--- a/scripts/next-baseline-build.mjs
+++ b/scripts/next-baseline-build.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { cp, mkdir, mkdtemp, readFile, rm, stat } from "node:fs/promises";
import path from "node:path";
diff --git a/scripts/next-baseline-dev.mjs b/scripts/next-baseline-dev.mjs
index 90614c5..1321bf5 100644
--- a/scripts/next-baseline-dev.mjs
+++ b/scripts/next-baseline-dev.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { access, cp, mkdir, mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
import net from "node:net";
diff --git a/scripts/next-baseline-lib.mjs b/scripts/next-baseline-lib.mjs
index 305da16..b3e4d92 100644
--- a/scripts/next-baseline-lib.mjs
+++ b/scripts/next-baseline-lib.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { spawnSync } from "node:child_process";
import { createHash, randomUUID } from "node:crypto";
diff --git a/scripts/process-tree-rss.mjs b/scripts/process-tree-rss.mjs
index 9480020..ac18d14 100644
--- a/scripts/process-tree-rss.mjs
+++ b/scripts/process-tree-rss.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { readFile } from "node:fs/promises";
diff --git a/scripts/provider-tck.test.mjs b/scripts/provider-tck.test.mjs
index 42c8fe4..5145b29 100644
--- a/scripts/provider-tck.test.mjs
+++ b/scripts/provider-tck.test.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import test from 'node:test';
diff --git a/scripts/publish-crates.mjs b/scripts/publish-crates.mjs
index 8a8f8f2..f216505 100644
--- a/scripts/publish-crates.mjs
+++ b/scripts/publish-crates.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { execFileSync, spawn, spawnSync } from 'node:child_process';
diff --git a/scripts/release-bundle-lib.mjs b/scripts/release-bundle-lib.mjs
index 5642832..1f98f00 100644
--- a/scripts/release-bundle-lib.mjs
+++ b/scripts/release-bundle-lib.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { createHash, createPublicKey } from 'node:crypto';
import { createReadStream } from 'node:fs';
diff --git a/scripts/release-bundle.test.mjs b/scripts/release-bundle.test.mjs
index 407ec23..1eac3e8 100644
--- a/scripts/release-bundle.test.mjs
+++ b/scripts/release-bundle.test.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { generateKeyPairSync, sign } from 'node:crypto';
diff --git a/scripts/run-fuzz.sh b/scripts/run-fuzz.sh
index 2dd84b9..94da645 100755
--- a/scripts/run-fuzz.sh
+++ b/scripts/run-fuzz.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
set -eu
root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
diff --git a/scripts/run-golden-path.mjs b/scripts/run-golden-path.mjs
index 6361547..a5aa846 100644
--- a/scripts/run-golden-path.mjs
+++ b/scripts/run-golden-path.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { spawn, spawnSync } from 'node:child_process';
diff --git a/scripts/run-provider-tck.mjs b/scripts/run-provider-tck.mjs
index b672f32..a14f338 100644
--- a/scripts/run-provider-tck.mjs
+++ b/scripts/run-provider-tck.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { randomUUID } from 'node:crypto';
diff --git a/scripts/source-archive-listing.mjs b/scripts/source-archive-listing.mjs
index 0c24536..6f3e5e6 100644
--- a/scripts/source-archive-listing.mjs
+++ b/scripts/source-archive-listing.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { TextDecoder } from 'node:util';
diff --git a/scripts/source-archive-listing.test.mjs b/scripts/source-archive-listing.test.mjs
index ea8f419..148f09f 100644
--- a/scripts/source-archive-listing.test.mjs
+++ b/scripts/source-archive-listing.test.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { test } from 'node:test';
diff --git a/scripts/supply-chain-attestations-lib.mjs b/scripts/supply-chain-attestations-lib.mjs
index 35dcc49..4374908 100644
--- a/scripts/supply-chain-attestations-lib.mjs
+++ b/scripts/supply-chain-attestations-lib.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { createHash } from 'node:crypto';
import { createReadStream } from 'node:fs';
diff --git a/scripts/supply-chain-attestations.test.mjs b/scripts/supply-chain-attestations.test.mjs
index 0fcc462..aa35f5a 100644
--- a/scripts/supply-chain-attestations.test.mjs
+++ b/scripts/supply-chain-attestations.test.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { mkdtemp, mkdir, readFile, rm, writeFile } from 'node:fs/promises';
diff --git a/scripts/test-adapters-browser.mjs b/scripts/test-adapters-browser.mjs
index a9b5913..b6cb698 100644
--- a/scripts/test-adapters-browser.mjs
+++ b/scripts/test-adapters-browser.mjs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { spawn } from 'node:child_process';
diff --git a/scripts/test-browser-wasm.ps1 b/scripts/test-browser-wasm.ps1
index 45045a8..8612df5 100644
--- a/scripts/test-browser-wasm.ps1
+++ b/scripts/test-browser-wasm.ps1
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[CmdletBinding()]
param(
[string]$ChromeDriver = $env:CHROMEDRIVER
diff --git a/scripts/update-next-fixture-identities.mjs b/scripts/update-next-fixture-identities.mjs
index d030338..418ecc0 100644
--- a/scripts/update-next-fixture-identities.mjs
+++ b/scripts/update-next-fixture-identities.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { readFile, rename, writeFile } from "node:fs/promises";
import path from "node:path";
diff --git a/scripts/verify-release-bundle.mjs b/scripts/verify-release-bundle.mjs
index f3fb99b..d8e57f1 100644
--- a/scripts/verify-release-bundle.mjs
+++ b/scripts/verify-release-bundle.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import { verify } from 'node:crypto';
import { lstat, readFile } from 'node:fs/promises';
diff --git a/scripts/verify-supply-chain-attestations.mjs b/scripts/verify-supply-chain-attestations.mjs
index 8a5c435..8a3aa43 100644
--- a/scripts/verify-supply-chain-attestations.mjs
+++ b/scripts/verify-supply-chain-attestations.mjs
@@ -1,5 +1,5 @@
#!/usr/bin/env node
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
import path from 'node:path';
import {
diff --git a/tools/opensdk/componentize/Cargo.toml b/tools/opensdk/componentize/Cargo.toml
index abafd8a..2f9f653 100644
--- a/tools/opensdk/componentize/Cargo.toml
+++ b/tools/opensdk/componentize/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-opensdk-componentize"
version = "0.1.0"
diff --git a/tools/opensdk/componentize/src/main.rs b/tools/opensdk/componentize/src/main.rs
index ef8beb7..c6e10c0 100644
--- a/tools/opensdk/componentize/src/main.rs
+++ b/tools/opensdk/componentize/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use std::env;
use std::fs;
diff --git a/tools/opensdk/python/transform.py b/tools/opensdk/python/transform.py
index 9e23d17..61b7248 100644
--- a/tools/opensdk/python/transform.py
+++ b/tools/opensdk/python/transform.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
import base64
import json
diff --git a/tools/opensdk/rust-component-transform/Cargo.toml b/tools/opensdk/rust-component-transform/Cargo.toml
index 8892afd..ccf4b5a 100644
--- a/tools/opensdk/rust-component-transform/Cargo.toml
+++ b/tools/opensdk/rust-component-transform/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-opensdk-rust-component-transform"
version = "0.1.0"
diff --git a/tools/opensdk/rust-component-transform/src/lib.rs b/tools/opensdk/rust-component-transform/src/lib.rs
index 8ad23e6..f452c5a 100644
--- a/tools/opensdk/rust-component-transform/src/lib.rs
+++ b/tools/opensdk/rust-component-transform/src/lib.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
wit_bindgen::generate!({
path: "../../../crates/pliego-sdk/wit/build",
diff --git a/tools/opensdk/rust-transform/Cargo.toml b/tools/opensdk/rust-transform/Cargo.toml
index 013e1cb..937820f 100644
--- a/tools/opensdk/rust-transform/Cargo.toml
+++ b/tools/opensdk/rust-transform/Cargo.toml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-3.0-only
+# SPDX-License-Identifier: AGPL-3.0-only
[package]
name = "pliego-opensdk-rust-transform-fixture"
version = "0.1.0"
diff --git a/tools/opensdk/rust-transform/src/main.rs b/tools/opensdk/rust-transform/src/main.rs
index 999b87d..e048d51 100644
--- a/tools/opensdk/rust-transform/src/main.rs
+++ b/tools/opensdk/rust-transform/src/main.rs
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
use base64::{Engine, engine::general_purpose::STANDARD};
use serde::{Deserialize, Serialize};
diff --git a/tools/opensdk/typescript/transform.ts b/tools/opensdk/typescript/transform.ts
index 05810d9..a29f7ee 100644
--- a/tools/opensdk/typescript/transform.ts
+++ b/tools/opensdk/typescript/transform.ts
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-License-Identifier: AGPL-3.0-only
type Input = Readonly<{ source: string; prefix: string }>;
From 3a19cb10ba0a733b046d18c69999c47f32189d2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mario=20Guti=C3=A9rrez?=
Date: Mon, 10 Aug 2026 20:53:15 -0500
Subject: [PATCH 3/3] fix: distinguish current and released licenses
---
docs/47-product-capability-manifest.md | 6 ++++++
product.capabilities.json | 1 +
schemas/pliego.product-capabilities.schema.json | 2 ++
scripts/check-product-truth.mjs | 1 +
4 files changed, 10 insertions(+)
diff --git a/docs/47-product-capability-manifest.md b/docs/47-product-capability-manifest.md
index 8cd161b..2de0083 100644
--- a/docs/47-product-capability-manifest.md
+++ b/docs/47-product-capability-manifest.md
@@ -44,6 +44,8 @@ not an implementation or release claim.
The manifest records three distinct versions:
- `releasedVersion`: the latest complete CLI/distribution release;
+- `releasedLicense`: the license attached to that published release, currently
+ Apache-2.0 for `v0.4.0-beta.1`;
- `workspaceVersion`: the version currently shared by released workspace
packages on `main`; and
- `openSdkVersion`: the OpenSDK protocol version coordinated with the current package graph.
@@ -52,6 +54,10 @@ The product-truth checker compares those values with `Cargo.toml`,
`package.json`, `rust-toolchain.toml`, the released crate set, the README,
constitution, framework contract, and official site source.
+The manifest's `license` field describes current source. It is intentionally
+separate from `releasedLicense`, so a prospective source-license correction
+does not rewrite the terms of an already published artifact.
+
## Target authority
Target roles are explicit:
diff --git a/product.capabilities.json b/product.capabilities.json
index 4154b82..92d3294 100644
--- a/product.capabilities.json
+++ b/product.capabilities.json
@@ -5,6 +5,7 @@
"name": "PliegoRS",
"channel": "public-beta",
"releasedVersion": "0.4.0-beta.1",
+ "releasedLicense": "Apache-2.0",
"workspaceVersion": "0.4.0-beta.1",
"openSdkVersion": "0.4.0-beta.1",
"license": "AGPL-3.0-only",
diff --git a/schemas/pliego.product-capabilities.schema.json b/schemas/pliego.product-capabilities.schema.json
index 344e556..45347fb 100644
--- a/schemas/pliego.product-capabilities.schema.json
+++ b/schemas/pliego.product-capabilities.schema.json
@@ -15,6 +15,7 @@
"name",
"channel",
"releasedVersion",
+ "releasedLicense",
"workspaceVersion",
"openSdkVersion",
"license",
@@ -29,6 +30,7 @@
"name": { "const": "PliegoRS" },
"channel": { "enum": ["public-preview", "public-beta"] },
"releasedVersion": { "$ref": "#/$defs/packageVersion" },
+ "releasedLicense": { "const": "Apache-2.0" },
"workspaceVersion": { "$ref": "#/$defs/packageVersion" },
"openSdkVersion": { "$ref": "#/$defs/packageVersion" },
"license": { "const": "AGPL-3.0-only" },
diff --git a/scripts/check-product-truth.mjs b/scripts/check-product-truth.mjs
index c95c521..a783bd2 100644
--- a/scripts/check-product-truth.mjs
+++ b/scripts/check-product-truth.mjs
@@ -51,6 +51,7 @@ const sdkVersion = tomlSectionString(sdkCargo, 'package', 'version');
assert.equal(manifest.framework.workspaceVersion, workspaceVersion, 'workspace version drift');
assert.equal(manifest.framework.releasedVersion, packageDocument.version, 'released npm metadata version drift');
+assert.equal(manifest.framework.releasedLicense, 'Apache-2.0', 'released artifact license drift');
assert.equal(manifest.framework.openSdkVersion, sdkVersion, 'OpenSDK version drift');
assert.equal(manifest.framework.license, 'AGPL-3.0-only', 'framework software license drift');
assert.equal(manifest.framework.documentationLicense, 'CC-BY-SA-4.0', 'documentation license drift');