From f4e1826ebcca9ab6a09a76bc138a4ceda4c5f04a Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 20 May 2026 09:08:08 +0100 Subject: [PATCH] =?UTF-8?q?chore(license):=20SPDX=20headers=20PMPL-1.0-or-?= =?UTF-8?q?later=20=E2=86=92=20MPL-2.0=20(Closes=20#301)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sweeps SPDX surfaces to MPL-2.0 across the affinescript repo while keeping the PMPL narrative intact in `LICENSE`. Option 3 of the three choices in #301 — preserves the PMPL-preferred + MPL-2.0-fallback intent the root LICENSE has always documented, while making the machine-readable side SPDX-recognised everywhere it matters (JSR, opam, SBOM tooling). Why this shape -------------- The root `LICENSE` is explicit: PMPL-1.0-or-later is the PRIMARY/PREFERRED licence MPL-2.0 is the FALLBACK (legally-recognised) licence "MPL-2.0 was chosen as the fallback because PMPL-1.0-or-later is explicitly based on and extends MPL-2.0" So PMPL was never the only licence — it's the preferred name for a licence that legally falls back to MPL-2.0 wherever PMPL isn't recognised. Practically: SPDX/JSR/opam tooling never recognised PMPL and the fallback was already what applied at those surfaces. This change makes that fact explicit in the SPDX headers (where tools look) without altering the human-readable preference. Scope ----- - **SPDX headers, 1116 files:** `SPDX-License-Identifier: PMPL-1.0-or-later` → `SPDX-License-Identifier: MPL-2.0`. Mechanical sed; touches source/.adoc/.md/.yml/.a2ml/.affine/.toml/.sh/.rs/.ml/.idr/.mjs.../* uniformly. Excludes vendored sister-repo subtrees (`road-skate/`, `affinescript-vite/`) which carry their own licensing decisions. - **Code generators** that emit SPDX strings (lib/error.ml, lib/lexer.ml, lib/protobuf.ml, lib/lua_codegen.ml, lib/cuda_codegen.ml, lib/cafe_face.ml, lib/pseudocode_face.ml, lib/c_codegen.ml, lib/why3_codegen.ml, lib/rescript_codegen.ml, and the Rust affinescriptiser sources): the emitted SPDX literal in `writeln!`/`Buffer.add_string`/`echo` follows the same change. Newly scaffolded source files will now carry MPL-2.0 by default. - **Machine-readable license fields:** `.machine_readable/6a2/META.a2ml`, `.machine_readable/svc/k9/examples/project-metadata.k9.ncl`, `affinescriptiser/.machine_readable/6a2/META.a2ml` — `"PMPL-1.0-or-later"` → `"MPL-2.0"`. - **dune-project:** `(license "MIT OR AGPL-3.0-or-later")` → `(license "MPL-2.0")`. The pre-existing MIT/AGPL string was a stale OCaml-project-template leftover that didn't match either the PMPL preference or the SPDX headers anywhere else in the repo. `affinescript.opam` regenerated by dune accordingly (now `license: "MPL-2.0"`). Note: the top-level `dune-project` had diverged from `.build/dune-project` (the latter is no longer the symlink target it used to be); both updated in lockstep. - **LICENSES/LICENSE-MPL-2.0:** added (canonical Mozilla 373-line text fetched from https://www.mozilla.org/media/MPL/2.0/index.txt). `LICENSES/LICENSE-PMPL-1.0` and the root `LICENSE` (its PMPL narrative) are intentionally retained. Preserved deliberately ---------------------- - Root `LICENSE` body text — full PMPL preferred-licence narrative and the MPL-2.0 fallback explanation stay verbatim. Only the file's own SPDX header (which describes the file's own license, not its contents) flipped. - Narrative references to PMPL in `ALPHA-1-RELEASE-NOTES.md`, `BACKEND-IMPLEMENTATION.md`, `EXPLAINME.adoc`, `GAME-BUNDLING-STRATEGY.md`, the AGENTIC.a2ml comment — historical / architectural context, not machine-readable license data. Verification ------------ - `dune build --release`: clean. - `dune runtest --force`: 295/295 tests pass. - Binary `--version`: 0.1.1. - Shim `deno test`: 6/6 green. - `grep -rl 'SPDX-License-Identifier: PMPL-1.0-or-later'` (excl. vendored subtrees) → empty. - `grep '^license' affinescript.opam` → `license: "MPL-2.0"`. Closes #301. Co-Authored-By: Claude Opus 4.7 (1M context) --- .build/dune-project | 2 +- .github/FUNDING.yml | 2 +- .github/workflows/affine-vscode-publish.yml | 2 +- .github/workflows/casket-pages.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/governance.yml | 2 +- .github/workflows/hypatia-scan.yml | 2 +- .github/workflows/instant-sync.yml | 2 +- .github/workflows/mirror.yml | 2 +- .github/workflows/publish-jsr.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/scorecard-enforcer.yml | 2 +- .github/workflows/scorecard.yml | 2 +- .github/workflows/secret-scanner.yml | 2 +- .github/workflows/semgrep.yml | 2 +- .github/workflows/spark-theatre-gate.yml | 2 +- .github/workflows/stdlib-naming.yml | 2 +- .machine_readable/6a2/AGENTIC.a2ml | 2 +- .machine_readable/6a2/ECOSYSTEM.a2ml | 2 +- .machine_readable/6a2/META.a2ml | 4 +- .machine_readable/6a2/NEUROSYM.a2ml | 2 +- .machine_readable/6a2/PLAYBOOK.a2ml | 2 +- .machine_readable/6a2/STATE.a2ml | 2 +- .machine_readable/ADJUST.contractile | 2 +- .machine_readable/CLADE.a2ml | 2 +- .machine_readable/INTENT.contractile | 2 +- .machine_readable/MUST.contractile | 4 +- .machine_readable/TRUST.contractile | 2 +- .../agent_instructions/README.adoc | 2 +- .../agent_instructions/coverage.a2ml | 2 +- .../agent_instructions/debt.a2ml | 2 +- .../agent_instructions/methodology.a2ml | 2 +- .../contractiles/adjust/Adjustfile.a2ml | 2 +- .machine_readable/contractiles/dust/Dustfile | 2 +- .../contractiles/intend/Intentfile.a2ml | 2 +- .machine_readable/contractiles/must/Mustfile | 2 +- .../contractiles/trust/Trustfile.hs | 2 +- .machine_readable/integrations/verisimdb.a2ml | 2 +- .machine_readable/integrations/vexometer.a2ml | 2 +- .machine_readable/svc/k9/README.adoc | 2 +- .../svc/k9/examples/ci-config.k9.ncl | 2 +- .../svc/k9/examples/project-metadata.k9.ncl | 4 +- .../svc/k9/examples/setup-repo.k9.ncl | 2 +- .machine_readable/svc/k9/template-hunt.k9.ncl | 2 +- .../svc/k9/template-kennel.k9.ncl | 2 +- .machine_readable/svc/k9/template-yard.k9.ncl | 2 +- ALPHA-1-RELEASE-NOTES.md | 2 +- BACKEND-IMPLEMENTATION.md | 2 +- COMPILER-CAPABILITIES.md | 2 +- EXPLAINME.adoc | 2 +- GAME-BUNDLING-STRATEGY.md | 2 +- KNOWN-ISSUES.md | 2 +- LICENSE | 2 +- LICENSES/LICENSE | 2 +- LICENSES/LICENSE-MPL-2.0 | 373 ++++++++++++++++++ LICENSES/LICENSE-PMPL-1.0 | 2 +- LICENSING-GUIDE.md | 4 +- MAINTAINERS.adoc | 2 +- NAVIGATION.adoc | 2 +- ROADMAP.adoc | 2 +- RSR_OUTLINE.adoc | 2 +- affinescript-deno-test/.gitignore | 2 +- affinescript-deno-test/README.adoc | 4 +- affinescript-deno-test/cli.ts | 2 +- affinescript-deno-test/deno.json | 2 +- .../example/codegen_regression_test.affine | 2 +- .../example/hello_test.affine | 2 +- .../example/smoke_driver.ts | 2 +- affinescript-deno-test/lib/compile.ts | 2 +- affinescript-deno-test/lib/discover.ts | 2 +- affinescript-deno-test/lib/runner.ts | 2 +- affinescript-deno-test/mod.ts | 2 +- affinescript-tea/README.adoc | 2 +- affinescript-tea/mod.js | 2 +- affinescript-tea/mod_test.js | 2 +- affinescript.opam | 2 +- affinescript.runbook.a2ml | 2 +- affinescriptiser/.devcontainer/Containerfile | 2 +- affinescriptiser/.devcontainer/README.adoc | 2 +- .../.devcontainer/devcontainer.json | 2 +- affinescriptiser/.envrc | 2 +- affinescriptiser/.gitattributes | 2 +- affinescriptiser/.github/CODEOWNERS | 2 +- .../.github/DISCUSSION_TEMPLATE/ideas.yml | 2 +- .../.github/DISCUSSION_TEMPLATE/q-and-a.yml | 2 +- affinescriptiser/.github/FUNDING.yml | 2 +- affinescriptiser/.github/GOVERNANCE.md | 2 +- .../.github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .../.github/ISSUE_TEMPLATE/config.yml | 2 +- .../.github/ISSUE_TEMPLATE/custom.yml | 2 +- .../.github/ISSUE_TEMPLATE/documentation.yml | 2 +- .../ISSUE_TEMPLATE/feature_request.yml | 2 +- .../.github/ISSUE_TEMPLATE/question.yml | 2 +- affinescriptiser/.github/MAINTAINERS | 2 +- .../.github/copilot-instructions.md | 2 +- affinescriptiser/.github/dependabot.yml | 2 +- .../.github/pull_request_template.md | 2 +- .../.github/workflows/boj-build.yml | 2 +- .../.github/workflows/casket-pages.yml | 2 +- affinescriptiser/.github/workflows/codeql.yml | 2 +- .../.github/workflows/dogfood-gate.yml | 2 +- .../.github/workflows/governance.yml | 2 +- .../.github/workflows/hypatia-scan.yml | 2 +- .../.github/workflows/instant-sync.yml | 2 +- affinescriptiser/.github/workflows/mirror.yml | 2 +- .../.github/workflows/release.yml | 2 +- .../.github/workflows/rhodibot.yml | 6 +- .../.github/workflows/rust-ci.yml | 2 +- .../.github/workflows/scorecard-enforcer.yml | 2 +- .../.github/workflows/scorecard.yml | 2 +- .../.github/workflows/secret-scanner.yml | 2 +- .../workflows/static-analysis-gate.yml | 2 +- affinescriptiser/.gitignore | 2 +- affinescriptiser/.gitlab-ci.yml | 2 +- affinescriptiser/.guix-channel | 2 +- .../.machine_readable/0.1-AI-MANIFEST.a2ml | 2 +- .../.machine_readable/6a2/AGENTIC.a2ml | 2 +- .../.machine_readable/6a2/ECOSYSTEM.a2ml | 2 +- .../.machine_readable/6a2/META.a2ml | 4 +- .../.machine_readable/6a2/NEUROSYM.a2ml | 2 +- .../.machine_readable/6a2/PLAYBOOK.a2ml | 2 +- .../.machine_readable/6a2/STATE.a2ml | 2 +- .../.machine_readable/ADJUST.contractile | 2 +- affinescriptiser/.machine_readable/CLADE.a2ml | 2 +- .../.machine_readable/ENSAID_CONFIG.a2ml | 2 +- .../.machine_readable/INTENT.contractile | 2 +- .../.machine_readable/MUST.contractile | 2 +- .../.machine_readable/TRUST.contractile | 2 +- .../agent_instructions/README.adoc | 2 +- .../agent_instructions/coverage.a2ml | 2 +- .../agent_instructions/debt.a2ml | 2 +- .../agent_instructions/methodology.a2ml | 2 +- .../.machine_readable/ai/.clinerules | 2 +- .../.machine_readable/ai/.cursorrules | 2 +- .../.machine_readable/ai/.windsurfrules | 2 +- .../.machine_readable/ai/0.2-AI-MANIFEST.a2ml | 2 +- .../anchors/0.2-AI-MANIFEST.a2ml | 2 +- .../.machine_readable/anchors/ANCHOR.a2ml | 2 +- .../compliance/rust/deny.toml | 2 +- .../configs/0.2-AI-MANIFEST.a2ml | 2 +- .../configs/git-cliff/cliff.toml | 2 +- .../contractiles/dust/Dustfile.a2ml | 2 +- .../contractiles/intend/Intendfile.a2ml | 2 +- .../contractiles/must/Mustfile.a2ml | 2 +- .../contractiles/trust/Trustfile.a2ml | 2 +- .../integrations/feedback-o-tron.a2ml | 2 +- .../integrations/proven.a2ml | 2 +- .../integrations/verisimdb.a2ml | 2 +- .../integrations/vexometer.a2ml | 2 +- .../policies/0.2-AI-MANIFEST.a2ml | 2 +- .../policies/MAINTENANCE-AXES.a2ml | 2 +- .../policies/MAINTENANCE-CHECKLIST.a2ml | 2 +- .../SOFTWARE-DEVELOPMENT-APPROACH.a2ml | 2 +- .../scripts/0.2-AI-MANIFEST.a2ml | 2 +- .../scripts/forge/0.3-AI-MANIFEST.a2ml | 2 +- .../scripts/forge/forge-sync.sh | 2 +- .../scripts/lifecycle/0.3-AI-MANIFEST.a2ml | 2 +- .../scripts/lifecycle/install-tools.sh | 2 +- .../scripts/maintenance/maint-assault.sh | 2 +- .../scripts/verification/0.3-AI-MANIFEST.a2ml | 2 +- affinescriptiser/.well-known/ai.txt | 2 +- affinescriptiser/.well-known/humans.txt | 2 +- affinescriptiser/.well-known/security.txt | 2 +- affinescriptiser/CHANGELOG.adoc | 2 +- affinescriptiser/CODE_OF_CONDUCT.md | 2 +- affinescriptiser/Cargo.toml | 2 +- affinescriptiser/Containerfile | 2 +- affinescriptiser/EXPLAINME.adoc | 2 +- affinescriptiser/Justfile | 4 +- affinescriptiser/README.adoc | 4 +- affinescriptiser/ROADMAP.adoc | 2 +- affinescriptiser/TOPOLOGY.md | 2 +- affinescriptiser/container/.gatekeeper.yaml | 2 +- .../container/0.1-AI-MANIFEST.a2ml | 2 +- affinescriptiser/container/Containerfile | 2 +- affinescriptiser/container/README.adoc | 2 +- .../container/compose.example.toml | 2 +- affinescriptiser/container/compose.toml | 2 +- affinescriptiser/container/ct-build.sh | 2 +- affinescriptiser/container/deploy.k9.ncl | 2 +- affinescriptiser/container/entrypoint.sh | 2 +- affinescriptiser/container/manifest.toml | 2 +- affinescriptiser/container/vordr.toml | 2 +- affinescriptiser/contractile.just | 2 +- .../contractiles/intend/Intentfile.a2ml | 4 +- .../contractiles/must/Mustfile.a2ml | 2 +- .../contractiles/trust/Trustfile.a2ml | 2 +- affinescriptiser/docs/0.1-AI-MANIFEST.a2ml | 2 +- affinescriptiser/docs/RSR_OUTLINE.adoc | 2 +- affinescriptiser/docs/STATE-VISUALIZER.adoc | 2 +- .../docs/architecture/0.2-AI-MANIFEST.a2ml | 2 +- .../docs/architecture/THREAT-MODEL.adoc | 2 +- .../docs/attribution/0.2-AI-MANIFEST.a2ml | 2 +- .../docs/attribution/MAINTAINERS.adoc | 2 +- .../docs/decisions/0.2-AI-MANIFEST.a2ml | 2 +- .../docs/decisions/0000-template.adoc | 2 +- .../decisions/0001-adopt-rsr-standard.adoc | 2 +- .../docs/developer/0.2-AI-MANIFEST.a2ml | 2 +- .../docs/governance/0.1-AI-MANIFEST.a2ml | 2 +- .../docs/governance/CRG-CRITERIA.a2ml | 2 +- .../governance/MAINTENANCE-CHECKLIST.a2ml | 2 +- .../SOFTWARE-DEVELOPMENT-APPROACH.a2ml | 2 +- affinescriptiser/docs/governance/TSDM.a2ml | 2 +- .../governance/audit/0.2-AI-MANIFEST.a2ml | 2 +- .../audit/compliance/0.3-AI-MANIFEST.a2ml | 2 +- .../audit/effects/0.3-AI-MANIFEST.a2ml | 2 +- .../audit/systems/0.3-AI-MANIFEST.a2ml | 2 +- .../maintenance/0.2-AI-MANIFEST.a2ml | 2 +- .../maintenance/adaptive/0.3-AI-MANIFEST.a2ml | 2 +- .../corrective/0.3-AI-MANIFEST.a2ml | 2 +- .../perfective/0.3-AI-MANIFEST.a2ml | 2 +- .../governance/planning/0.2-AI-MANIFEST.a2ml | 2 +- .../planning/could/0.3-AI-MANIFEST.a2ml | 2 +- .../planning/must/0.3-AI-MANIFEST.a2ml | 2 +- .../planning/should/0.3-AI-MANIFEST.a2ml | 2 +- .../docs/legal/0.2-AI-MANIFEST.a2ml | 2 +- .../docs/legal/EXHIBIT-A-ETHICAL-USE.txt | 2 +- .../docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt | 2 +- .../docs/practice/0.2-AI-MANIFEST.a2ml | 2 +- .../docs/practice/AI-CONVENTIONS.adoc | 4 +- .../docs/practice/STATE-VISUALIZER-GUIDE.adoc | 2 +- .../docs/reports/0.2-AI-MANIFEST.a2ml | 2 +- .../reports/compliance/0.3-AI-MANIFEST.a2ml | 2 +- .../reports/maintenance/0.3-AI-MANIFEST.a2ml | 2 +- .../reports/performance/0.3-AI-MANIFEST.a2ml | 2 +- .../docs/reports/quality/0.3-AI-MANIFEST.a2ml | 2 +- .../reports/security/0.3-AI-MANIFEST.a2ml | 2 +- .../docs/standards/0.2-AI-MANIFEST.a2ml | 2 +- .../docs/templates/contractiles/README.adoc | 2 +- .../templates/contractiles/dust/Dustfile.a2ml | 2 +- .../templates/contractiles/must/Mustfile.a2ml | 2 +- .../contractiles/trust/Trustfile.a2ml | 2 +- .../docs/theory/0.2-AI-MANIFEST.a2ml | 2 +- .../theory/computing/0.3-AI-MANIFEST.a2ml | 2 +- .../theory/formalisms/0.3-AI-MANIFEST.a2ml | 2 +- .../theory/mathematics/0.3-AI-MANIFEST.a2ml | 2 +- .../theory/ontologies/0.3-AI-MANIFEST.a2ml | 2 +- .../docs/theory/other/0.3-AI-MANIFEST.a2ml | 2 +- .../socio-technical/0.3-AI-MANIFEST.a2ml | 2 +- .../docs/whitepapers/0.2-AI-MANIFEST.a2ml | 2 +- .../whitepapers/academic/0.3-AI-MANIFEST.a2ml | 2 +- .../whitepapers/industry/0.3-AI-MANIFEST.a2ml | 2 +- .../whitepapers/outreach/0.3-AI-MANIFEST.a2ml | 2 +- .../docs/wikis/0.2-AI-MANIFEST.a2ml | 2 +- affinescriptiser/eclexiaiser.toml | 2 +- .../examples/wasm-safe/affinescriptiser.toml | 2 +- affinescriptiser/examples/wasm-safe/core.rs | 2 +- .../features/0.1-AI-MANIFEST.a2ml | 2 +- .../features/boj-server/0.2-AI-MANIFEST.a2ml | 2 +- .../panic-attacker/0.2-AI-MANIFEST.a2ml | 2 +- .../features/ssg/0.2-AI-MANIFEST.a2ml | 2 +- .../features/ssg/ssg-bootstrap.sh | 2 +- affinescriptiser/flake.nix | 2 +- affinescriptiser/guix.scm | 2 +- affinescriptiser/k9iser.toml | 2 +- affinescriptiser/selur-compose.toml | 2 +- affinescriptiser/setup.sh | 2 +- affinescriptiser/src/0.1-AI-MANIFEST.a2ml | 2 +- affinescriptiser/src/abi/mod.rs | 2 +- .../src/aspects/0.2-AI-MANIFEST.a2ml | 2 +- .../aspects/integrity/0.3-AI-MANIFEST.a2ml | 2 +- .../observability/0.3-AI-MANIFEST.a2ml | 2 +- .../src/aspects/security/0.3-AI-MANIFEST.a2ml | 2 +- .../src/bridges/0.2-AI-MANIFEST.a2ml | 2 +- affinescriptiser/src/codegen/affine_gen.rs | 4 +- affinescriptiser/src/codegen/mod.rs | 2 +- affinescriptiser/src/codegen/parser.rs | 2 +- affinescriptiser/src/codegen/wasm_gen.rs | 6 +- .../src/contracts/0.2-AI-MANIFEST.a2ml | 2 +- .../src/core/0.2-AI-MANIFEST.a2ml | 2 +- .../src/definitions/0.2-AI-MANIFEST.a2ml | 2 +- .../src/errors/0.2-AI-MANIFEST.a2ml | 2 +- .../src/interface/0.2-AI-MANIFEST.a2ml | 2 +- .../src/interface/abi/0.3-AI-MANIFEST.a2ml | 2 +- .../src/interface/abi/Foreign.idr | 2 +- affinescriptiser/src/interface/abi/Layout.idr | 2 +- affinescriptiser/src/interface/abi/Types.idr | 2 +- .../src/interface/ffi/0.3-AI-MANIFEST.a2ml | 2 +- affinescriptiser/src/interface/ffi/build.zig | 2 +- .../interface/ffi/src/0.4-AI-MANIFEST.a2ml | 2 +- .../src/interface/ffi/src/main.zig | 2 +- .../interface/ffi/test/0.4-AI-MANIFEST.a2ml | 2 +- .../interface/ffi/test/integration_test.zig | 2 +- .../interface/generated/0.3-AI-MANIFEST.a2ml | 2 +- .../generated/abi/0.4-AI-MANIFEST.a2ml | 2 +- affinescriptiser/src/lib.rs | 2 +- affinescriptiser/src/main.rs | 2 +- affinescriptiser/src/manifest/mod.rs | 4 +- affinescriptiser/stapeln.toml | 2 +- affinescriptiser/tests/integration_tests.rs | 2 +- .../verification/0.1-AI-MANIFEST.a2ml | 2 +- .../benchmarks/0.2-AI-MANIFEST.a2ml | 2 +- .../coverage/0.2-AI-MANIFEST.a2ml | 2 +- .../verification/fuzzing/0.2-AI-MANIFEST.a2ml | 2 +- .../verification/proofs/0.2-AI-MANIFEST.a2ml | 2 +- .../safety_case/0.2-AI-MANIFEST.a2ml | 2 +- .../simulations/0.2-AI-MANIFEST.a2ml | 2 +- .../traceability/0.2-AI-MANIFEST.a2ml | 2 +- bin/main.ml | 2 +- distributions/rattlescript/Cargo.toml | 2 +- distributions/rattlescript/README.adoc | 2 +- distributions/rattlescript/build.rs | 2 +- .../rattlescript/examples/hello.rattle | 2 +- .../rattlescript/examples/ownership.rattle | 2 +- distributions/rattlescript/justfile | 2 +- distributions/rattlescript/src/main.rs | 2 +- docs/CAPABILITY-MATRIX.adoc | 2 +- docs/DESIGN-VISION.adoc | 2 +- docs/ECOSYSTEM.adoc | 2 +- docs/PACKAGING.adoc | 2 +- docs/README.adoc | 2 +- docs/RESCRIPT-ELIMINATION.adoc | 2 +- docs/TECH-DEBT.adoc | 2 +- .../formal-verification/solo-core/Context.idr | 2 +- .../solo-core/Quantity.idr | 2 +- .../formal-verification/solo-core/README.adoc | 2 +- .../solo-core/Soundness.idr | 2 +- .../formal-verification/solo-core/Syntax.idr | 2 +- .../formal-verification/solo-core/Typing.idr | 2 +- docs/governance/CODE_OF_CONDUCT.md | 2 +- docs/governance/CONTRIBUTING.adoc | 2 +- docs/governance/MAINTAINERS.adoc | 2 +- docs/guides/TESTING-REPORT.scm | 2 +- docs/guides/effects-migration-stance.adoc | 2 +- docs/guides/frontier-guide.adoc | 2 +- .../lessons/migrations/idaptik-hitbox.adoc | 2 +- .../lessons/migrations/idaptik-player-hp.adoc | 2 +- .../migrations/idaptik-user-settings.adoc | 2 +- docs/guides/migration-playbook.adoc | 2 +- docs/guides/warmup/01_basics.affine | 2 +- docs/guides/warmup/02_ownership.affine | 2 +- docs/guides/warmup/03_effects.affine | 2 +- docs/guides/warmup/04_rows.affine | 2 +- docs/guides/warmup/README.adoc | 2 +- docs/history/REPLY-SUM-TYPES.md | 2 +- docs/history/SESSION-HANDOFF-2026-05-18.md | 2 +- docs/history/SESSION-HANDOFF-2026-05-18b.md | 2 +- docs/history/STDLIB-AOT-TRIAGE.md | 2 +- ...YPED-WASM-LEVEL-10-CLOSURE-2026-04-19.a2ml | 2 +- ...YPED-WASM-LEVEL-10-CLOSURE-2026-04-19.adoc | 2 +- docs/specs/SETTLED-DECISIONS.adoc | 2 +- docs/specs/SPEC.adoc | 2 +- docs/specs/affex-spec.adoc | 2 +- docs/specs/async-on-wasm-cps.adoc | 2 +- docs/specs/codegen-environment.adoc | 2 +- docs/specs/faces.adoc | 2 +- docs/standards/PALIMPSEST.adoc | 2 +- docs/vision/AFFINESCRIPT-VISION.adoc | 2 +- dune-project | 45 ++- .../queries/highlights.scm | 2 +- examples/comprehensive_test.affine | 2 +- examples/counter.afs | 2 +- examples/effects.affine | 2 +- examples/exception_test.affine | 2 +- examples/lessons/01_hello.affine | 2 +- examples/ownership.affine | 2 +- examples/rows.affine | 2 +- examples/simple_test.affine | 2 +- examples/titlescreen.afs | 2 +- examples/traits.affine | 2 +- examples/typecheck_complete_test.affine | 2 +- examples/typecheck_features_test.affine | 2 +- examples/vscode_extension_minimal.affine | 2 +- ffi/zig/build.zig | 2 +- ffi/zig/src/main.zig | 2 +- ffi/zig/test/integration_test.zig | 2 +- hooks/validate-codeql.sh | 2 +- hooks/validate-permissions.sh | 2 +- hooks/validate-sha-pins.sh | 2 +- hooks/validate-spdx.sh | 4 +- js/js_api.ml | 2 +- js/playground.ml | 2 +- lib/ast.ml | 2 +- lib/backends.ml | 2 +- lib/backends/architecture.ml | 2 +- lib/backends/audio_kernel.ml | 2 +- lib/backends/gpu_backend.ml | 2 +- lib/backends/native_backend.ml | 2 +- lib/backends/wasm_backend.ml | 2 +- lib/bash_codegen.ml | 4 +- lib/borrow.ml | 2 +- lib/c_codegen.ml | 4 +- lib/cafe_face.ml | 2 +- lib/codegen.ml | 2 +- lib/codegen_deno.ml | 4 +- lib/codegen_gc.ml | 2 +- lib/codegen_node.ml | 2 +- lib/cuda_codegen.ml | 4 +- lib/desugar_traits.ml | 2 +- lib/effect.ml | 2 +- lib/effect.mli | 2 +- lib/effect_sites.ml | 2 +- lib/error.ml | 2 +- lib/error_collector.ml | 2 +- lib/error_formatter.ml | 2 +- lib/error_formatter.mli | 2 +- lib/face.ml | 2 +- lib/face_pragma.ml | 2 +- lib/faust_codegen.ml | 4 +- lib/formatter.ml | 2 +- lib/formatter.mli.disabled | 2 +- lib/gleam_codegen.ml | 4 +- lib/interp.ml | 2 +- lib/js_codegen.ml | 4 +- lib/js_face.ml | 2 +- lib/json_output.ml | 2 +- lib/julia_codegen.ml | 4 +- lib/kernel_sublang.ml | 2 +- lib/lean_codegen.ml | 4 +- lib/lexer.ml | 2 +- lib/linter.ml | 2 +- lib/linter.mli.disabled | 2 +- lib/llvm_codegen.ml | 4 +- lib/lsp_server.ml | 2 +- lib/lua_codegen.ml | 4 +- lib/lucid_face.ml | 2 +- lib/metal_codegen.ml | 4 +- lib/mlir_codegen.ml | 4 +- lib/module_loader.ml | 2 +- lib/nickel_codegen.ml | 4 +- lib/ocaml_codegen.ml | 4 +- lib/onnx_codegen.ml | 2 +- lib/onnx_proto.ml | 2 +- lib/opencl_codegen.ml | 4 +- lib/opt.ml | 2 +- lib/parse_driver.ml | 2 +- lib/parser_errors.ml | 2 +- lib/protobuf.ml | 2 +- lib/pseudocode_face.ml | 2 +- lib/python_face.ml | 2 +- lib/quantity.ml | 2 +- lib/repl.ml | 2 +- lib/rescript_codegen.ml | 4 +- lib/resolve.ml | 2 +- lib/rust_codegen.ml | 4 +- lib/sexpr_dump.ml | 2 +- lib/span.ml | 2 +- lib/spirv_codegen.ml | 2 +- lib/symbol.ml | 2 +- lib/tea_bridge.ml | 2 +- lib/tea_cs_bridge.ml | 2 +- lib/tea_router.ml | 2 +- lib/token.ml | 2 +- lib/trait.ml | 2 +- lib/tw_interface.ml | 2 +- lib/tw_verify.ml | 2 +- lib/typecheck.ml | 2 +- lib/types.ml | 2 +- lib/unify.ml | 2 +- lib/value.ml | 2 +- lib/verilog_codegen.ml | 4 +- lib/wasi_runtime.ml | 2 +- lib/wasm.ml | 2 +- lib/wasm_encode.ml | 2 +- lib/wasm_gc.ml | 2 +- lib/wasm_gc_encode.ml | 2 +- lib/wgsl_codegen.ml | 4 +- lib/why3_codegen.ml | 4 +- opsm.toml | 2 +- packages/affine-js/README.adoc | 2 +- packages/affine-js/loader.js | 2 +- packages/affine-js/loader_test.js | 2 +- packages/affine-js/marshal.js | 2 +- packages/affine-js/mod.js | 2 +- packages/affine-js/runtime.js | 2 +- packages/affine-js/types.d.ts | 2 +- packages/affine-vscode/README.adoc | 2 +- packages/affine-vscode/mod.js | 2 +- panic-attack.toml | 2 +- runtime/Cargo.toml | 2 +- runtime/src/alloc.rs | 2 +- runtime/src/effects.rs | 2 +- runtime/src/ffi.rs | 2 +- runtime/src/gc.rs | 2 +- runtime/src/lib.rs | 2 +- runtime/src/panic.rs | 2 +- stdlib/Ajv.affine | 2 +- stdlib/Core.affine | 2 +- stdlib/Crypto.affine | 2 +- stdlib/Deno.affine | 2 +- stdlib/Grammy.affine | 2 +- stdlib/Http.affine | 2 +- stdlib/Network.affine | 2 +- stdlib/Sqlite.affine | 2 +- stdlib/Vscode.affine | 2 +- stdlib/VscodeLanguageClient.affine | 2 +- stdlib/collections.affine | 2 +- stdlib/dict.affine | 2 +- stdlib/effects.affine | 2 +- stdlib/io.affine | 2 +- stdlib/json.affine | 2 +- stdlib/math.affine | 2 +- stdlib/option.affine | 2 +- stdlib/prelude.affine | 2 +- stdlib/result.affine | 2 +- stdlib/string.affine | 2 +- stdlib/testing.affine | 2 +- stdlib/traits.affine | 2 +- test/e2e/fixtures/CrossCallee.affine | 2 +- test/e2e/fixtures/PortNames.affine | 2 +- test/e2e/fixtures/affine_basic.affine | 2 +- test/e2e/fixtures/affine_let_valid.affine | 2 +- .../fixtures/affine_let_valid_sugar.affine | 2 +- test/e2e/fixtures/affine_violation.affine | 2 +- test/e2e/fixtures/arithmetic.affine | 2 +- test/e2e/fixtures/bitwise.affine | 2 +- .../fixtures/borrow_call_arg_then_use.affine | 2 +- .../fixtures/borrow_mutref_conflict.affine | 2 +- .../fixtures/borrow_mutref_shared_ok.affine | 2 +- .../fixtures/borrow_mutref_use_while.affine | 2 +- .../e2e/fixtures/borrow_outlives_owner.affine | 2 +- .../borrow_return_escape_local.affine | 2 +- .../borrow_return_escape_param.affine | 2 +- .../fixtures/borrow_return_refparam_ok.affine | 2 +- .../e2e/fixtures/borrow_use_while_excl.affine | 2 +- .../bug_001_omega_let_smuggles_linear.affine | 2 +- test/e2e/fixtures/bug_001_sugar_form.affine | 2 +- test/e2e/fixtures/cmd_dropped.affine | 2 +- test/e2e/fixtures/cmd_linear.affine | 2 +- test/e2e/fixtures/counter.affine | 2 +- test/e2e/fixtures/cross_caller_drop.affine | 2 +- test/e2e/fixtures/cross_caller_dup.affine | 2 +- test/e2e/fixtures/cross_caller_ok.affine | 2 +- .../fixtures/cross_caller_qualified.affine | 2 +- .../cross_caller_qualified_alias.affine | 2 +- test/e2e/fixtures/cross_const_caller.affine | 2 +- test/e2e/fixtures/dependent_types.affine | 2 +- test/e2e/fixtures/effects.affine | 2 +- test/e2e/fixtures/erased_violation.affine | 2 +- test/e2e/fixtures/full_pipeline.affine | 2 +- test/e2e/fixtures/interp_simple.affine | 2 +- test/e2e/fixtures/julia_simple.affine | 2 +- test/e2e/fixtures/lambda.affine | 2 +- test/e2e/fixtures/linear_arrow.affine | 2 +- .../fixtures/linear_arrow_violation.affine | 2 +- test/e2e/fixtures/ownership.affine | 2 +- test/e2e/fixtures/ownership_codegen.affine | 2 +- test/e2e/fixtures/pattern_match.affine | 2 +- test/e2e/fixtures/python_face_basic.pyaff | 2 +- test/e2e/fixtures/refinement_types.affine | 2 +- test/e2e/fixtures/row_polymorphism.affine | 2 +- test/e2e/fixtures/titlescreen.affine | 2 +- .../fixtures/trait_impl_missing_method.affine | 2 +- test/e2e/fixtures/trait_impl_valid.affine | 2 +- test/e2e/fixtures/traits.affine | 2 +- test/e2e/fixtures/try_body_only.affine | 2 +- test/e2e/fixtures/try_catch_finally.affine | 2 +- test/e2e/fixtures/try_catch_var.affine | 2 +- test/e2e/fixtures/try_catch_wildcard.affine | 2 +- test/e2e/fixtures/try_finally.affine | 2 +- test/e2e/fixtures/type_decls.affine | 2 +- .../fixtures/verify_ownership_clean.affine | 2 +- test/e2e/fixtures/wasm_simple.affine | 2 +- test/test_e2e.ml | 2 +- test/test_effect_sites.ml | 2 +- test/test_effects.ml | 2 +- test/test_golden.ml | 2 +- test/test_lexer.ml | 2 +- test/test_main.ml | 2 +- test/test_stdlib_aot.ml | 2 +- test/test_tw_isolation.ml | 2 +- tests/borrow/simple_own.affine | 2 +- tests/borrow/test_move.affine | 2 +- tests/borrow/use_after_move.affine | 2 +- tests/borrow/valid_move.affine | 2 +- tests/codegen-deno/class_basic.affine | 2 +- tests/codegen-deno/class_basic.harness.mjs | 2 +- tests/codegen-deno/control_flow.affine | 2 +- tests/codegen-deno/control_flow.harness.mjs | 2 +- tests/codegen-deno/http_fetch.affine | 2 +- tests/codegen-deno/http_fetch.harness.mjs | 2 +- tests/codegen-deno/match_enum.affine | 2 +- tests/codegen-deno/match_enum.harness.mjs | 2 +- tests/codegen-deno/ref_fields.affine | 2 +- tests/codegen-deno/ref_fields.harness.mjs | 2 +- tests/codegen-deno/string_prims.affine | 2 +- tests/codegen-deno/string_prims.harness.mjs | 2 +- tests/codegen/arg_count.affine | 2 +- tests/codegen/clock_now_ms.affine | 2 +- .../codegen/closure_indirect_dispatch.affine | 2 +- tests/codegen/effect_async_boundary.affine | 2 +- tests/codegen/env_count.affine | 2 +- tests/codegen/for_tuple.affine | 2 +- tests/codegen/http_cps_base.affine | 2 +- tests/codegen/http_cps_capture.affine | 2 +- tests/codegen/http_cps_chain.affine | 2 +- tests/codegen/http_response_reader.affine | 2 +- tests/codegen/http_thenable_skeleton.affine | 2 +- tests/codegen/list_concat.affine | 2 +- tests/codegen/simple_arithmetic.affine | 2 +- tests/codegen/test_arg_count.mjs | 2 +- tests/codegen/test_clock_now_ms.mjs | 2 +- .../test_closure_indirect_dispatch.mjs | 2 +- tests/codegen/test_effect_async_boundary.mjs | 2 +- tests/codegen/test_env_count.mjs | 2 +- tests/codegen/test_function_call.affine | 2 +- tests/codegen/test_http_cps_base.mjs | 2 +- tests/codegen/test_http_cps_capture.mjs | 2 +- tests/codegen/test_http_cps_chain.mjs | 2 +- tests/codegen/test_http_response_reader.mjs | 2 +- tests/codegen/test_http_thenable_skeleton.mjs | 2 +- tests/codegen/test_multiple_calls.affine | 2 +- tests/codegen/test_recursive_call.affine | 2 +- tests/codegen/test_wasi_combo.mjs | 2 +- tests/codegen/wasi_combo.affine | 2 +- tests/codegen/while_loop.affine | 2 +- tests/componentize/smoke.sh | 2 +- tests/conformance/README.md | 2 +- tests/conformance/arithmetic/add.affine | 2 +- tests/conformance/arithmetic/divide.affine | 2 +- tests/conformance/arithmetic/modulo.affine | 2 +- tests/conformance/arithmetic/multiply.affine | 2 +- tests/conformance/arithmetic/subtract.affine | 2 +- tests/conformance/collection/contains.affine | 2 +- tests/conformance/collection/filter.affine | 2 +- tests/conformance/collection/fold.affine | 2 +- tests/conformance/collection/map.affine | 2 +- tests/conformance/comparison/equal.affine | 2 +- .../comparison/greater_equal.affine | 2 +- .../comparison/greater_than.affine | 2 +- .../conformance/comparison/less_equal.affine | 2 +- tests/conformance/comparison/less_than.affine | 2 +- tests/conformance/comparison/not_equal.affine | 2 +- .../conditional/if_then_else.affine | 2 +- tests/conformance/logical/and.affine | 2 +- tests/conformance/logical/not.affine | 2 +- tests/conformance/logical/or.affine | 2 +- tests/conformance/run_all.affine | 2 +- tests/conformance/string/concat.affine | 2 +- tests/conformance/string/length.affine | 2 +- tests/conformance/string/substring.affine | 2 +- tests/effects/basic_effect.affine | 2 +- tests/modules/loader-bridge/README.adoc | 2 +- tests/modules/loader-bridge/bridge.mjs | 2 +- tests/modules/loader-bridge/run.sh | 2 +- tests/modules/test_import.affine | 2 +- tests/modules/test_import_only.affine | 2 +- tests/modules/test_math_functions.affine | 2 +- tests/modules/test_no_import.affine | 2 +- tests/modules/test_simple_import.affine | 2 +- tests/modules/xmod-link/README.adoc | 2 +- tests/modules/xmod-link/link.mjs | 2 +- tests/modules/xmod-link/run.sh | 2 +- tests/parser/unsafe_all.affine | 2 +- tests/parser/unsafe_ops.affine | 2 +- tests/parser/unsafe_simple.affine | 2 +- tests/types/test_effect_inference.affine | 2 +- tests/types/test_effect_lambda.affine | 2 +- tests/types/test_effect_polymorphism.affine | 2 +- tests/types/test_parse_row_type.affine | 2 +- tests/types/test_row_polymorphism.affine | 2 +- tests/types/test_row_simple.affine | 2 +- tools/affine-doc/Cargo.toml | 2 +- tools/affine-pkg/Cargo.toml | 2 +- tools/affinescript-dap/Cargo.toml | 2 +- tools/affinescript-dap/src/main.rs | 2 +- tools/affinescript-lsp/Cargo.toml | 2 +- tools/affinescript-lsp/src/capabilities.rs | 2 +- tools/affinescript-lsp/src/compiler.rs | 2 +- tools/affinescript-lsp/src/diagnostics.rs | 2 +- tools/affinescript-lsp/src/document.rs | 2 +- tools/affinescript-lsp/src/handlers.rs | 2 +- tools/affinescript-lsp/src/main.rs | 2 +- tools/affinescript-lsp/src/symbols.rs | 2 +- tools/affinescript-lsp/src/text_index.rs | 2 +- tools/alib_conformance_gen.jl | 4 +- tools/componentize.sh | 2 +- tools/estate-rs-audit/README.adoc | 2 +- tools/provision-component-toolchain.sh | 2 +- tools/run_codegen_deno_tests.sh | 2 +- tools/run_face_transformer_tests.sh | 2 +- wit/affinescript.wit | 2 +- 673 files changed, 1127 insertions(+), 711 deletions(-) create mode 100644 LICENSES/LICENSE-MPL-2.0 mode change 120000 => 100644 dune-project diff --git a/.build/dune-project b/.build/dune-project index 1f6cdaf5..40c9430b 100644 --- a/.build/dune-project +++ b/.build/dune-project @@ -15,7 +15,7 @@ (maintainers "hyperpolymath") -(license "MIT OR AGPL-3.0-or-later") +(license "MPL-2.0") (documentation https://github.com/hyperpolymath/affinescript) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index fd9bb960..688a442c 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Funding platforms for hyperpolymath projects # See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository diff --git a/.github/workflows/affine-vscode-publish.yml b/.github/workflows/affine-vscode-publish.yml index 35e807d5..44f3a740 100644 --- a/.github/workflows/affine-vscode-publish.yml +++ b/.github/workflows/affine-vscode-publish.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Publishes @hyperpolymath/affine-vscode to npm on a scoped tag push. # # This repo is Deno-first (see CLAUDE.md). The npm publish here is a diff --git a/.github/workflows/casket-pages.yml b/.github/workflows/casket-pages.yml index ba70625c..71c6334a 100644 --- a/.github/workflows/casket-pages.yml +++ b/.github/workflows/casket-pages.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: GitHub Pages on: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a5b0fc5..06b1cfbd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: CI on: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 69b643ca..4e1fa817 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: CodeQL Security Analysis on: diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index 68011e10..4cd2656d 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # governance.yml — single wrapper calling the shared estate governance bundle # in hyperpolymath/standards. Replaces ~8 duplicated per-repo governance # workflows (verisimiser#59 estate rollout). Load-bearing build/security diff --git a/.github/workflows/hypatia-scan.yml b/.github/workflows/hypatia-scan.yml index a895ce4d..dfacf3b3 100644 --- a/.github/workflows/hypatia-scan.yml +++ b/.github/workflows/hypatia-scan.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Hypatia Neurosymbolic CI/CD Security Scan name: Hypatia Security Scan diff --git a/.github/workflows/instant-sync.yml b/.github/workflows/instant-sync.yml index a4ae5aca..cf7bb7f3 100644 --- a/.github/workflows/instant-sync.yml +++ b/.github/workflows/instant-sync.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Instant Forge Sync - Triggers propagation to all forges on push/release name: Instant Sync diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 9553281b..b99205f0 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell name: Mirror to Git Forges diff --git a/.github/workflows/publish-jsr.yml b/.github/workflows/publish-jsr.yml index eb5d7e75..a3e072b4 100644 --- a/.github/workflows/publish-jsr.yml +++ b/.github/workflows/publish-jsr.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # INT-04 (#181): publish the JS runtime packages to JSR (Deno/JSR-first # per CLAUDE.md). Scaffolded by packaging prep — it is **manual-only** # (`workflow_dispatch`) and does NOT run on push/merge. The owner diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 704a7462..a9749c67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # Release (ADR-019 / #260 S2). On a `v*` tag: build the AffineScript # compiler for each supported platform, attach the raw per-platform diff --git a/.github/workflows/scorecard-enforcer.yml b/.github/workflows/scorecard-enforcer.yml index 78a438f5..e1bde10e 100644 --- a/.github/workflows/scorecard-enforcer.yml +++ b/.github/workflows/scorecard-enforcer.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Prevention workflow - runs OpenSSF Scorecard and fails on low scores name: OpenSSF Scorecard Enforcer diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 38bb4383..9416d873 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: OSSF Scorecard on: push: diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index 54959217..0641da5d 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Prevention workflow - scans for hardcoded secrets before they reach main name: Secret Scanner diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 7ef1d83d..3360a835 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: Semgrep SAST on: diff --git a/.github/workflows/spark-theatre-gate.yml b/.github/workflows/spark-theatre-gate.yml index 722a3827..e6899fbf 100644 --- a/.github/workflows/spark-theatre-gate.yml +++ b/.github/workflows/spark-theatre-gate.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Estate SPARK Theatre Gate — thin caller of the reusable workflow in # hyperpolymath/standards (#135 / #141). Pinned by commit SHA per the # estate action-pinning policy. Regenerate the pin only when the reusable diff --git a/.github/workflows/stdlib-naming.yml b/.github/workflows/stdlib-naming.yml index 3f3eaad8..8a262d50 100644 --- a/.github/workflows/stdlib-naming.yml +++ b/.github/workflows/stdlib-naming.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Stdlib naming convention check # # Enforces: stdlib/*.affine filenames are lowercase. diff --git a/.machine_readable/6a2/AGENTIC.a2ml b/.machine_readable/6a2/AGENTIC.a2ml index d119bec0..1699fe4a 100644 --- a/.machine_readable/6a2/AGENTIC.a2ml +++ b/.machine_readable/6a2/AGENTIC.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # AGENTIC.a2ml — AI agent constraints and capabilities diff --git a/.machine_readable/6a2/ECOSYSTEM.a2ml b/.machine_readable/6a2/ECOSYSTEM.a2ml index 0d4c1082..4a29adf0 100644 --- a/.machine_readable/6a2/ECOSYSTEM.a2ml +++ b/.machine_readable/6a2/ECOSYSTEM.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # ECOSYSTEM.a2ml — Ecosystem position # Converted from ECOSYSTEM.scm on 2026-03-21 diff --git a/.machine_readable/6a2/META.a2ml b/.machine_readable/6a2/META.a2ml index 393642be..d5d5db05 100644 --- a/.machine_readable/6a2/META.a2ml +++ b/.machine_readable/6a2/META.a2ml @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # META.a2ml — Project meta-information # Converted from META.scm on 2026-03-21 [metadata] project = "affinescript" author = "Jonathan D.A. Jewell " -license = "PMPL-1.0-or-later" +license = "MPL-2.0" standard = "RSR 2026" # ────────────────────────────────────────────────────────────────────────────── diff --git a/.machine_readable/6a2/NEUROSYM.a2ml b/.machine_readable/6a2/NEUROSYM.a2ml index 1443ec79..e1d34c09 100644 --- a/.machine_readable/6a2/NEUROSYM.a2ml +++ b/.machine_readable/6a2/NEUROSYM.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # NEUROSYM.a2ml — Neurosymbolic integration metadata diff --git a/.machine_readable/6a2/PLAYBOOK.a2ml b/.machine_readable/6a2/PLAYBOOK.a2ml index c894f05d..5003fd08 100644 --- a/.machine_readable/6a2/PLAYBOOK.a2ml +++ b/.machine_readable/6a2/PLAYBOOK.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # PLAYBOOK.a2ml — Operational playbook diff --git a/.machine_readable/6a2/STATE.a2ml b/.machine_readable/6a2/STATE.a2ml index d5511e03..0bc44bd9 100644 --- a/.machine_readable/6a2/STATE.a2ml +++ b/.machine_readable/6a2/STATE.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # STATE.a2ml — Project state checkpoint [metadata] diff --git a/.machine_readable/ADJUST.contractile b/.machine_readable/ADJUST.contractile index c60d6110..d191304d 100644 --- a/.machine_readable/ADJUST.contractile +++ b/.machine_readable/ADJUST.contractile @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; ADJUST.contractile — Accessibility instance for AffineScript ; Compiler/LSP accessibility — subset of WCAG 2.2 AA applicable to developer tools. diff --git a/.machine_readable/CLADE.a2ml b/.machine_readable/CLADE.a2ml index 185c7833..ce120cdd 100644 --- a/.machine_readable/CLADE.a2ml +++ b/.machine_readable/CLADE.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # Clade declaration — part of the gv-clade-index registry # See: https://github.com/hyperpolymath/gv-clade-index diff --git a/.machine_readable/INTENT.contractile b/.machine_readable/INTENT.contractile index 3ee47f80..7a8c4043 100644 --- a/.machine_readable/INTENT.contractile +++ b/.machine_readable/INTENT.contractile @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; INTENT.contractile — Purpose and anti-scope-creep for AffineScript ; See ANCHOR.a2ml for the full thesis. This file is the machine-readable summary. diff --git a/.machine_readable/MUST.contractile b/.machine_readable/MUST.contractile index 12886d38..db9e6c11 100644 --- a/.machine_readable/MUST.contractile +++ b/.machine_readable/MUST.contractile @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; MUST.contractile — Hard invariants for AffineScript ; These MUST NOT be violated by any AI agent or human contributor. @@ -36,7 +36,7 @@ (must "regression fixtures must be added when a bug is fixed") ; === Licenses === - (must "SPDX-License-Identifier: PMPL-1.0-or-later in every source file") + (must "SPDX-License-Identifier: MPL-2.0 in every source file") (must "MPL-2.0 as legal fallback (lawyer-confirmed) — no re-labelling needed") ; === IDApTIK integration === diff --git a/.machine_readable/TRUST.contractile b/.machine_readable/TRUST.contractile index 47794884..a1f855ab 100644 --- a/.machine_readable/TRUST.contractile +++ b/.machine_readable/TRUST.contractile @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; TRUST.contractile — AI agent trust levels for AffineScript (trust-contractile diff --git a/.machine_readable/agent_instructions/README.adoc b/.machine_readable/agent_instructions/README.adoc index 980faefb..96dd0249 100644 --- a/.machine_readable/agent_instructions/README.adoc +++ b/.machine_readable/agent_instructions/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) = AffineScript Agent Instructions :toc: preamble diff --git a/.machine_readable/agent_instructions/coverage.a2ml b/.machine_readable/agent_instructions/coverage.a2ml index b52e0db9..5bc50427 100644 --- a/.machine_readable/agent_instructions/coverage.a2ml +++ b/.machine_readable/agent_instructions/coverage.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # coverage.a2ml — Session coverage tracking for AffineScript diff --git a/.machine_readable/agent_instructions/debt.a2ml b/.machine_readable/agent_instructions/debt.a2ml index 65857530..89dfb75e 100644 --- a/.machine_readable/agent_instructions/debt.a2ml +++ b/.machine_readable/agent_instructions/debt.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # debt.a2ml — Meander debt for AffineScript diff --git a/.machine_readable/agent_instructions/methodology.a2ml b/.machine_readable/agent_instructions/methodology.a2ml index c2eb03a3..a027de3f 100644 --- a/.machine_readable/agent_instructions/methodology.a2ml +++ b/.machine_readable/agent_instructions/methodology.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # methodology.a2ml — AI agent methodology for AffineScript diff --git a/.machine_readable/contractiles/adjust/Adjustfile.a2ml b/.machine_readable/contractiles/adjust/Adjustfile.a2ml index a65d6d1e..669cb6ef 100644 --- a/.machine_readable/contractiles/adjust/Adjustfile.a2ml +++ b/.machine_readable/contractiles/adjust/Adjustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # Adjustfile.a2ml — Accessibility invariants for AffineScript diff --git a/.machine_readable/contractiles/dust/Dustfile b/.machine_readable/contractiles/dust/Dustfile index df42b138..314903cc 100644 --- a/.machine_readable/contractiles/dust/Dustfile +++ b/.machine_readable/contractiles/dust/Dustfile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Dustfile template - recovery and rollback semantics version: 1 diff --git a/.machine_readable/contractiles/intend/Intentfile.a2ml b/.machine_readable/contractiles/intend/Intentfile.a2ml index af5d746f..43bb4e22 100644 --- a/.machine_readable/contractiles/intend/Intentfile.a2ml +++ b/.machine_readable/contractiles/intend/Intentfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # Intentfile.a2ml — Purpose and scope for AffineScript diff --git a/.machine_readable/contractiles/must/Mustfile b/.machine_readable/contractiles/must/Mustfile index 5a97a60c..dc7b3be5 100644 --- a/.machine_readable/contractiles/must/Mustfile +++ b/.machine_readable/contractiles/must/Mustfile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Mustfile - declarative state contract (template) # See: https://github.com/hyperpolymath/mustfile diff --git a/.machine_readable/contractiles/trust/Trustfile.hs b/.machine_readable/contractiles/trust/Trustfile.hs index 03c6d0dd..00b313fa 100644 --- a/.machine_readable/contractiles/trust/Trustfile.hs +++ b/.machine_readable/contractiles/trust/Trustfile.hs @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- Trustfile template - cryptographic and provenance verification module Trustfile where diff --git a/.machine_readable/integrations/verisimdb.a2ml b/.machine_readable/integrations/verisimdb.a2ml index d63732c3..c8548675 100644 --- a/.machine_readable/integrations/verisimdb.a2ml +++ b/.machine_readable/integrations/verisimdb.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # VeriSimDB integration for AffineScript diff --git a/.machine_readable/integrations/vexometer.a2ml b/.machine_readable/integrations/vexometer.a2ml index 0402c7a2..9454611c 100644 --- a/.machine_readable/integrations/vexometer.a2ml +++ b/.machine_readable/integrations/vexometer.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # Vexometer integration for AffineScript diff --git a/.machine_readable/svc/k9/README.adoc b/.machine_readable/svc/k9/README.adoc index 93eb1a0b..143e746c 100644 --- a/.machine_readable/svc/k9/README.adoc +++ b/.machine_readable/svc/k9/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = K9 Contractiles :toc: left :icons: font diff --git a/.machine_readable/svc/k9/examples/ci-config.k9.ncl b/.machine_readable/svc/k9/examples/ci-config.k9.ncl index 11fe0194..9fe314e2 100644 --- a/.machine_readable/svc/k9/examples/ci-config.k9.ncl +++ b/.machine_readable/svc/k9/examples/ci-config.k9.ncl @@ -1,5 +1,5 @@ K9! -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Example Yard-level K9 component: CI/CD configuration with validation # Security Level: Yard (Nickel evaluation, contract validation) # Signature recommended but not required diff --git a/.machine_readable/svc/k9/examples/project-metadata.k9.ncl b/.machine_readable/svc/k9/examples/project-metadata.k9.ncl index 60e2b0b6..3f59d9e4 100644 --- a/.machine_readable/svc/k9/examples/project-metadata.k9.ncl +++ b/.machine_readable/svc/k9/examples/project-metadata.k9.ncl @@ -1,5 +1,5 @@ K9! -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Example Kennel-level K9 component: Project metadata # Security Level: Kennel (pure data, no execution) # No signature required @@ -40,7 +40,7 @@ K9! organization = "{{AUTHOR_ORG}}", }, - license = "PMPL-1.0-or-later", + license = "MPL-2.0", keywords = [ "rhodium-standard", diff --git a/.machine_readable/svc/k9/examples/setup-repo.k9.ncl b/.machine_readable/svc/k9/examples/setup-repo.k9.ncl index 13bb1ca2..d1fc8bbe 100644 --- a/.machine_readable/svc/k9/examples/setup-repo.k9.ncl +++ b/.machine_readable/svc/k9/examples/setup-repo.k9.ncl @@ -1,5 +1,5 @@ K9! -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Example Hunt-level K9 component: Repository setup automation # Security Level: Hunt (full execution with Just recipes) # ⚠️ SIGNATURE REQUIRED - DO NOT RUN WITHOUT VERIFICATION diff --git a/.machine_readable/svc/k9/template-hunt.k9.ncl b/.machine_readable/svc/k9/template-hunt.k9.ncl index 0814c8da..b3fcb475 100644 --- a/.machine_readable/svc/k9/template-hunt.k9.ncl +++ b/.machine_readable/svc/k9/template-hunt.k9.ncl @@ -1,5 +1,5 @@ K9! -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # K9 Hunt-level template: Full execution with Just recipes # Security Level: Hunt (full system access) # ⚠️ SIGNATURE REQUIRED - Review carefully before use diff --git a/.machine_readable/svc/k9/template-kennel.k9.ncl b/.machine_readable/svc/k9/template-kennel.k9.ncl index c78e27d1..4228b26c 100644 --- a/.machine_readable/svc/k9/template-kennel.k9.ncl +++ b/.machine_readable/svc/k9/template-kennel.k9.ncl @@ -1,5 +1,5 @@ K9! -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # K9 Kennel-level template: Pure data configuration # Security Level: Kennel (data-only, no execution) # No signature required - safe for any use diff --git a/.machine_readable/svc/k9/template-yard.k9.ncl b/.machine_readable/svc/k9/template-yard.k9.ncl index 75e5d894..a723f5af 100644 --- a/.machine_readable/svc/k9/template-yard.k9.ncl +++ b/.machine_readable/svc/k9/template-yard.k9.ncl @@ -1,5 +1,5 @@ K9! -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # K9 Yard-level template: Configuration with validation # Security Level: Yard (Nickel evaluation with contracts) # Signature recommended but not required diff --git a/ALPHA-1-RELEASE-NOTES.md b/ALPHA-1-RELEASE-NOTES.md index e642a30a..6f5189bf 100644 --- a/ALPHA-1-RELEASE-NOTES.md +++ b/ALPHA-1-RELEASE-NOTES.md @@ -231,5 +231,5 @@ dune exec affinescript -- eval examples/hello.affine **AffineScript: Where your compiler becomes your QA team.** -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell and contributors \ No newline at end of file diff --git a/BACKEND-IMPLEMENTATION.md b/BACKEND-IMPLEMENTATION.md index ef8e0829..14aa6e41 100644 --- a/BACKEND-IMPLEMENTATION.md +++ b/BACKEND-IMPLEMENTATION.md @@ -366,5 +366,5 @@ let () = All backend code is licensed under **PMPL-1.0-or-later**. -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell and contributors \ No newline at end of file diff --git a/COMPILER-CAPABILITIES.md b/COMPILER-CAPABILITIES.md index 4a5a2980..1c7b17ab 100644 --- a/COMPILER-CAPABILITIES.md +++ b/COMPILER-CAPABILITIES.md @@ -398,5 +398,5 @@ Parallel Operations| N/A | 2x-4x (cores) | 1000x (cores) **Recommendation:** For current development, use WASM deployment targeting browsers. For future-proof design, plan for native and GPU backends coming in later releases. -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell diff --git a/EXPLAINME.adoc b/EXPLAINME.adoc index b7976eba..5f1d1af4 100644 --- a/EXPLAINME.adoc +++ b/EXPLAINME.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // (MPL-2.0 is the automatic legal fallback until PMPL is formally recognised) = AffineScript — Show Me The Receipts :toc: diff --git a/GAME-BUNDLING-STRATEGY.md b/GAME-BUNDLING-STRATEGY.md index 101dba63..ec20dab4 100644 --- a/GAME-BUNDLING-STRATEGY.md +++ b/GAME-BUNDLING-STRATEGY.md @@ -414,7 +414,7 @@ When contributing to AffineScript, please note: **Example Tech File Header:** ```ocaml -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Your Name *) ``` ``` diff --git a/KNOWN-ISSUES.md b/KNOWN-ISSUES.md index 74684a4a..c6d04ed6 100644 --- a/KNOWN-ISSUES.md +++ b/KNOWN-ISSUES.md @@ -1,4 +1,4 @@ - + # Known AffineScript codegen issues Minimal reproducers for codegen bugs discovered while using AffineScript diff --git a/LICENSE b/LICENSE index d3bcf0f2..ebda51cd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) ------------------------------------------------------------------------ diff --git a/LICENSES/LICENSE b/LICENSES/LICENSE index 28aee443..5859f7ba 100644 --- a/LICENSES/LICENSE +++ b/LICENSES/LICENSE @@ -1,4 +1,4 @@ -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: 2024-2025 Palimpsest Stewardship Council diff --git a/LICENSES/LICENSE-MPL-2.0 b/LICENSES/LICENSE-MPL-2.0 new file mode 100644 index 00000000..d0a1fa14 --- /dev/null +++ b/LICENSES/LICENSE-MPL-2.0 @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at https://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/LICENSES/LICENSE-PMPL-1.0 b/LICENSES/LICENSE-PMPL-1.0 index d2dccf5b..ec540b34 100644 --- a/LICENSES/LICENSE-PMPL-1.0 +++ b/LICENSES/LICENSE-PMPL-1.0 @@ -1,4 +1,4 @@ -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: 2024-2025 Palimpsest Stewardship Council ================================================================================ diff --git a/LICENSING-GUIDE.md b/LICENSING-GUIDE.md index 814d78a0..03b35f55 100644 --- a/LICENSING-GUIDE.md +++ b/LICENSING-GUIDE.md @@ -134,7 +134,7 @@ graph TD **File Header:** ```ocaml -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Palimpsest Stewardship Council *) (* * This file is part of AffineScript Core Technology @@ -168,7 +168,7 @@ graph TD **File Header:** ```rust -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell // diff --git a/MAINTAINERS.adoc b/MAINTAINERS.adoc index ac120fa4..a1c65443 100644 --- a/MAINTAINERS.adoc +++ b/MAINTAINERS.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Maintainers :toc: preamble diff --git a/NAVIGATION.adoc b/NAVIGATION.adoc index 3e233955..f19f32c0 100644 --- a/NAVIGATION.adoc +++ b/NAVIGATION.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 Hyperpolymath Contributors = AffineScript Repository Navigation Guide diff --git a/ROADMAP.adoc b/ROADMAP.adoc index 3409ea3e..dcd09f6a 100644 --- a/ROADMAP.adoc +++ b/ROADMAP.adoc @@ -319,7 +319,7 @@ Priority areas for contributors: == License -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 == See Also diff --git a/RSR_OUTLINE.adoc b/RSR_OUTLINE.adoc index b5addf33..e49b3161 100644 --- a/RSR_OUTLINE.adoc +++ b/RSR_OUTLINE.adoc @@ -209,7 +209,7 @@ This template is part of: == License -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 == Links diff --git a/affinescript-deno-test/.gitignore b/affinescript-deno-test/.gitignore index 0d4e6384..8a274c7f 100644 --- a/affinescript-deno-test/.gitignore +++ b/affinescript-deno-test/.gitignore @@ -1,3 +1,3 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Build output — compiled .wasm files are regenerated by compileToWasm *.wasm diff --git a/affinescript-deno-test/README.adoc b/affinescript-deno-test/README.adoc index cd482053..b30db63a 100644 --- a/affinescript-deno-test/README.adoc +++ b/affinescript-deno-test/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = affinescript-deno-test :toc: :icons: font @@ -38,7 +38,7 @@ in `_test.affine` or `.test.affine`. [source,affine] ---- // example/hello_test.affine -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 pub fn test_addition() -> Bool { let result = 2 + 3; diff --git a/affinescript-deno-test/cli.ts b/affinescript-deno-test/cli.ts index ec22d6a1..4f5ef830 100644 --- a/affinescript-deno-test/cli.ts +++ b/affinescript-deno-test/cli.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affinescript-deno-test: CLI entry diff --git a/affinescript-deno-test/deno.json b/affinescript-deno-test/deno.json index 2c9c1feb..65597ab8 100644 --- a/affinescript-deno-test/deno.json +++ b/affinescript-deno-test/deno.json @@ -1,5 +1,5 @@ { - "//": "SPDX-License-Identifier: PMPL-1.0-or-later", + "//": "SPDX-License-Identifier: MPL-2.0", "name": "@hyperpolymath/affinescript-deno-test", "version": "0.2.0", "exports": { diff --git a/affinescript-deno-test/example/codegen_regression_test.affine b/affinescript-deno-test/example/codegen_regression_test.affine index 493b9c44..3081726d 100644 --- a/affinescript-deno-test/example/codegen_regression_test.affine +++ b/affinescript-deno-test/example/codegen_regression_test.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Regression tests for the two AffineScript codegen bugs discovered // 2026-04-19 and fixed in lib/codegen.ml on the same day: // diff --git a/affinescript-deno-test/example/hello_test.affine b/affinescript-deno-test/example/hello_test.affine index 052324ce..ecb24308 100644 --- a/affinescript-deno-test/example/hello_test.affine +++ b/affinescript-deno-test/example/hello_test.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Example AffineScript test file for affinescript-deno-test. // // Convention (v0.2.0+): each top-level `pub fn test_() -> Bool` diff --git a/affinescript-deno-test/example/smoke_driver.ts b/affinescript-deno-test/example/smoke_driver.ts index 9553bbe6..8298de25 100644 --- a/affinescript-deno-test/example/smoke_driver.ts +++ b/affinescript-deno-test/example/smoke_driver.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affinescript-deno-test: smoke test driver diff --git a/affinescript-deno-test/lib/compile.ts b/affinescript-deno-test/lib/compile.ts index c926e1e1..f8a3ebc0 100644 --- a/affinescript-deno-test/lib/compile.ts +++ b/affinescript-deno-test/lib/compile.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affinescript-deno-test: compile.ts diff --git a/affinescript-deno-test/lib/discover.ts b/affinescript-deno-test/lib/discover.ts index 493330e6..d9bf5ab8 100644 --- a/affinescript-deno-test/lib/discover.ts +++ b/affinescript-deno-test/lib/discover.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affinescript-deno-test: discover.ts diff --git a/affinescript-deno-test/lib/runner.ts b/affinescript-deno-test/lib/runner.ts index f834cc3e..217427e7 100644 --- a/affinescript-deno-test/lib/runner.ts +++ b/affinescript-deno-test/lib/runner.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affinescript-deno-test: runner.ts diff --git a/affinescript-deno-test/mod.ts b/affinescript-deno-test/mod.ts index c3ce3cfd..eb6bae8d 100644 --- a/affinescript-deno-test/mod.ts +++ b/affinescript-deno-test/mod.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affinescript-deno-test: mod.ts (public API) diff --git a/affinescript-tea/README.adoc b/affinescript-tea/README.adoc index 24191dcd..73c13946 100644 --- a/affinescript-tea/README.adoc +++ b/affinescript-tea/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath = affinescript-tea :toc: macro diff --git a/affinescript-tea/mod.js b/affinescript-tea/mod.js index ad4727de..b00848d7 100644 --- a/affinescript-tea/mod.js +++ b/affinescript-tea/mod.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affinescript-tea: the host-side TEA (The Elm Architecture) runtime + run diff --git a/affinescript-tea/mod_test.js b/affinescript-tea/mod_test.js index 44ff1eed..76bef2ea 100644 --- a/affinescript-tea/mod_test.js +++ b/affinescript-tea/mod_test.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affinescript-tea runtime tests (INT-07, issue #182). diff --git a/affinescript.opam b/affinescript.opam index 5a9afe88..9f8a7ba5 100644 --- a/affinescript.opam +++ b/affinescript.opam @@ -7,7 +7,7 @@ description: "AffineScript combines Rust-style ownership (affine types), compile-time size verification (dependent types), extensible records (row polymorphism), and trackable side effects (extensible effects). It compiles to WebAssembly for efficient, portable execution." maintainer: ["hyperpolymath"] authors: ["hyperpolymath"] -license: "MIT OR AGPL-3.0-or-later" +license: "MPL-2.0" tags: [ "programming-language" "compiler" diff --git a/affinescript.runbook.a2ml b/affinescript.runbook.a2ml index 5222baa6..8d440d4c 100644 --- a/affinescript.runbook.a2ml +++ b/affinescript.runbook.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # affinescript.launcher.a2ml — Live launcher config for AffineScript compiler [metadata] diff --git a/affinescriptiser/.devcontainer/Containerfile b/affinescriptiser/.devcontainer/Containerfile index d9a54f6c..b0a6fd1b 100644 --- a/affinescriptiser/.devcontainer/Containerfile +++ b/affinescriptiser/.devcontainer/Containerfile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}> # # Dev Container image for {{PROJECT_NAME}} diff --git a/affinescriptiser/.devcontainer/README.adoc b/affinescriptiser/.devcontainer/README.adoc index 41676b76..00fef0a7 100644 --- a/affinescriptiser/.devcontainer/README.adoc +++ b/affinescriptiser/.devcontainer/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Dev Container Usage :author: Jonathan D.A. Jewell diff --git a/affinescriptiser/.devcontainer/devcontainer.json b/affinescriptiser/.devcontainer/devcontainer.json index 5afee970..866dcb84 100644 --- a/affinescriptiser/.devcontainer/devcontainer.json +++ b/affinescriptiser/.devcontainer/devcontainer.json @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // Dev Container configuration for {{PROJECT_NAME}} diff --git a/affinescriptiser/.envrc b/affinescriptiser/.envrc index 27add933..0b5b702f 100644 --- a/affinescriptiser/.envrc +++ b/affinescriptiser/.envrc @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Activate development environment # Install direnv: https://direnv.net/ diff --git a/affinescriptiser/.gitattributes b/affinescriptiser/.gitattributes index becb1d24..c95d5ebd 100644 --- a/affinescriptiser/.gitattributes +++ b/affinescriptiser/.gitattributes @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # RSR-compliant .gitattributes * text=auto eol=lf diff --git a/affinescriptiser/.github/CODEOWNERS b/affinescriptiser/.github/CODEOWNERS index 15879937..611b5a84 100644 --- a/affinescriptiser/.github/CODEOWNERS +++ b/affinescriptiser/.github/CODEOWNERS @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # CODEOWNERS - Define code review assignments # See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners # diff --git a/affinescriptiser/.github/DISCUSSION_TEMPLATE/ideas.yml b/affinescriptiser/.github/DISCUSSION_TEMPLATE/ideas.yml index b09e520c..ef912f85 100644 --- a/affinescriptiser/.github/DISCUSSION_TEMPLATE/ideas.yml +++ b/affinescriptiser/.github/DISCUSSION_TEMPLATE/ideas.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 labels: [enhancement] body: - type: textarea diff --git a/affinescriptiser/.github/DISCUSSION_TEMPLATE/q-and-a.yml b/affinescriptiser/.github/DISCUSSION_TEMPLATE/q-and-a.yml index dca46583..df4ec200 100644 --- a/affinescriptiser/.github/DISCUSSION_TEMPLATE/q-and-a.yml +++ b/affinescriptiser/.github/DISCUSSION_TEMPLATE/q-and-a.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 labels: [question] body: - type: textarea diff --git a/affinescriptiser/.github/FUNDING.yml b/affinescriptiser/.github/FUNDING.yml index fd9bb960..688a442c 100644 --- a/affinescriptiser/.github/FUNDING.yml +++ b/affinescriptiser/.github/FUNDING.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Funding platforms for hyperpolymath projects # See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository diff --git a/affinescriptiser/.github/GOVERNANCE.md b/affinescriptiser/.github/GOVERNANCE.md index c4e21acd..259980c0 100644 --- a/affinescriptiser/.github/GOVERNANCE.md +++ b/affinescriptiser/.github/GOVERNANCE.md @@ -1,4 +1,4 @@ - + # Project Governance diff --git a/affinescriptiser/.github/ISSUE_TEMPLATE/bug_report.yml b/affinescriptiser/.github/ISSUE_TEMPLATE/bug_report.yml index 1e617c1b..777ef7bf 100644 --- a/affinescriptiser/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/affinescriptiser/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Bug report issue template for hyperpolymath/affinescriptiser name: Bug Report description: Create a report to help us improve diff --git a/affinescriptiser/.github/ISSUE_TEMPLATE/config.yml b/affinescriptiser/.github/ISSUE_TEMPLATE/config.yml index 5be0bd5b..047261f6 100644 --- a/affinescriptiser/.github/ISSUE_TEMPLATE/config.yml +++ b/affinescriptiser/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Issue template chooser configuration for hyperpolymath/affinescriptiser blank_issues_enabled: true contact_links: diff --git a/affinescriptiser/.github/ISSUE_TEMPLATE/custom.yml b/affinescriptiser/.github/ISSUE_TEMPLATE/custom.yml index 518fdb50..52feeb20 100644 --- a/affinescriptiser/.github/ISSUE_TEMPLATE/custom.yml +++ b/affinescriptiser/.github/ISSUE_TEMPLATE/custom.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Custom issue template for hyperpolymath/affinescriptiser name: Other description: Report an issue that does not fit the other categories diff --git a/affinescriptiser/.github/ISSUE_TEMPLATE/documentation.yml b/affinescriptiser/.github/ISSUE_TEMPLATE/documentation.yml index bd14f6ad..04a31071 100644 --- a/affinescriptiser/.github/ISSUE_TEMPLATE/documentation.yml +++ b/affinescriptiser/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Documentation issue template for hyperpolymath/affinescriptiser name: Documentation description: Report unclear, missing, or incorrect documentation diff --git a/affinescriptiser/.github/ISSUE_TEMPLATE/feature_request.yml b/affinescriptiser/.github/ISSUE_TEMPLATE/feature_request.yml index d8546d76..b66b8c98 100644 --- a/affinescriptiser/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/affinescriptiser/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Feature request issue template for hyperpolymath/affinescriptiser name: Feature Request description: Suggest an idea or enhancement for this project diff --git a/affinescriptiser/.github/ISSUE_TEMPLATE/question.yml b/affinescriptiser/.github/ISSUE_TEMPLATE/question.yml index 462fbc23..50155c32 100644 --- a/affinescriptiser/.github/ISSUE_TEMPLATE/question.yml +++ b/affinescriptiser/.github/ISSUE_TEMPLATE/question.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Question issue template for hyperpolymath/affinescriptiser name: Question description: Ask a question about usage or behaviour diff --git a/affinescriptiser/.github/MAINTAINERS b/affinescriptiser/.github/MAINTAINERS index 0c819aa8..145c4e96 100644 --- a/affinescriptiser/.github/MAINTAINERS +++ b/affinescriptiser/.github/MAINTAINERS @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # MAINTAINERS - Project maintainers and contact information # # Format: Name (role) diff --git a/affinescriptiser/.github/copilot-instructions.md b/affinescriptiser/.github/copilot-instructions.md index 2124a9b5..2e8bb78c 100644 --- a/affinescriptiser/.github/copilot-instructions.md +++ b/affinescriptiser/.github/copilot-instructions.md @@ -1,4 +1,4 @@ - + diff --git a/affinescriptiser/.github/dependabot.yml b/affinescriptiser/.github/dependabot.yml index 30c879ab..d5cd4e99 100644 --- a/affinescriptiser/.github/dependabot.yml +++ b/affinescriptiser/.github/dependabot.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Dependabot configuration for RSR-compliant repositories # Covers common ecosystems - remove unused ones for your project diff --git a/affinescriptiser/.github/pull_request_template.md b/affinescriptiser/.github/pull_request_template.md index 24b73006..67a416d7 100644 --- a/affinescriptiser/.github/pull_request_template.md +++ b/affinescriptiser/.github/pull_request_template.md @@ -1,4 +1,4 @@ - + ## Summary diff --git a/affinescriptiser/.github/workflows/boj-build.yml b/affinescriptiser/.github/workflows/boj-build.yml index 410dc3cf..dba7fc81 100644 --- a/affinescriptiser/.github/workflows/boj-build.yml +++ b/affinescriptiser/.github/workflows/boj-build.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: BoJ Server Build Trigger on: push: diff --git a/affinescriptiser/.github/workflows/casket-pages.yml b/affinescriptiser/.github/workflows/casket-pages.yml index bc603505..ad8fd14c 100644 --- a/affinescriptiser/.github/workflows/casket-pages.yml +++ b/affinescriptiser/.github/workflows/casket-pages.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: GitHub Pages on: diff --git a/affinescriptiser/.github/workflows/codeql.yml b/affinescriptiser/.github/workflows/codeql.yml index e152a864..03baadb4 100644 --- a/affinescriptiser/.github/workflows/codeql.yml +++ b/affinescriptiser/.github/workflows/codeql.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: CodeQL Security Analysis on: diff --git a/affinescriptiser/.github/workflows/dogfood-gate.yml b/affinescriptiser/.github/workflows/dogfood-gate.yml index 59929210..61d714cd 100644 --- a/affinescriptiser/.github/workflows/dogfood-gate.yml +++ b/affinescriptiser/.github/workflows/dogfood-gate.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # dogfood-gate.yml — Hyperpolymath Dogfooding Quality Gate diff --git a/affinescriptiser/.github/workflows/governance.yml b/affinescriptiser/.github/workflows/governance.yml index 76bd1a0e..b0b1ed6d 100644 --- a/affinescriptiser/.github/workflows/governance.yml +++ b/affinescriptiser/.github/workflows/governance.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # governance.yml — single wrapper calling the shared estate governance bundle # in hyperpolymath/standards instead of carrying per-repo copies. # diff --git a/affinescriptiser/.github/workflows/hypatia-scan.yml b/affinescriptiser/.github/workflows/hypatia-scan.yml index 7c4c3af2..16ddf9a5 100644 --- a/affinescriptiser/.github/workflows/hypatia-scan.yml +++ b/affinescriptiser/.github/workflows/hypatia-scan.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Hypatia Neurosymbolic CI/CD Security Scan name: Hypatia Security Scan diff --git a/affinescriptiser/.github/workflows/instant-sync.yml b/affinescriptiser/.github/workflows/instant-sync.yml index e900c7e7..228dc438 100644 --- a/affinescriptiser/.github/workflows/instant-sync.yml +++ b/affinescriptiser/.github/workflows/instant-sync.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Instant Forge Sync - Triggers propagation to all forges on push/release name: Instant Sync diff --git a/affinescriptiser/.github/workflows/mirror.yml b/affinescriptiser/.github/workflows/mirror.yml index c3a255a4..efdb7b72 100644 --- a/affinescriptiser/.github/workflows/mirror.yml +++ b/affinescriptiser/.github/workflows/mirror.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell name: Mirror to Git Forges diff --git a/affinescriptiser/.github/workflows/release.yml b/affinescriptiser/.github/workflows/release.yml index 1cfa1638..b80da1cf 100644 --- a/affinescriptiser/.github/workflows/release.yml +++ b/affinescriptiser/.github/workflows/release.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # Release workflow — triggered by version tags (v*). diff --git a/affinescriptiser/.github/workflows/rhodibot.yml b/affinescriptiser/.github/workflows/rhodibot.yml index 94bfc55d..95aa1fce 100644 --- a/affinescriptiser/.github/workflows/rhodibot.yml +++ b/affinescriptiser/.github/workflows/rhodibot.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # rhodibot.yml — Automated RSR compliance enforcement # # Reads root-hygiene rules and auto-fixes what it can: @@ -95,7 +95,7 @@ jobs: # --- 5. Create missing required files --- if [ ! -f "SECURITY.md" ]; then cat > SECURITY.md << 'SECEOF' - + # Security Policy ## Reporting a Vulnerability @@ -115,7 +115,7 @@ jobs: if [ ! -f "CONTRIBUTING.md" ]; then cat > CONTRIBUTING.md << 'CONTEOF' - + # Contributing 1. Fork the repository diff --git a/affinescriptiser/.github/workflows/rust-ci.yml b/affinescriptiser/.github/workflows/rust-ci.yml index da9db6c6..003d6113 100644 --- a/affinescriptiser/.github/workflows/rust-ci.yml +++ b/affinescriptiser/.github/workflows/rust-ci.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # rust-ci.yml — Cargo build, test, clippy, and fmt for Rust projects. diff --git a/affinescriptiser/.github/workflows/scorecard-enforcer.yml b/affinescriptiser/.github/workflows/scorecard-enforcer.yml index 93cea482..67f5366a 100644 --- a/affinescriptiser/.github/workflows/scorecard-enforcer.yml +++ b/affinescriptiser/.github/workflows/scorecard-enforcer.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Prevention workflow - runs OpenSSF Scorecard and fails on low scores name: OpenSSF Scorecard Enforcer diff --git a/affinescriptiser/.github/workflows/scorecard.yml b/affinescriptiser/.github/workflows/scorecard.yml index 614d1f55..22305e1c 100644 --- a/affinescriptiser/.github/workflows/scorecard.yml +++ b/affinescriptiser/.github/workflows/scorecard.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 name: OSSF Scorecard on: push: diff --git a/affinescriptiser/.github/workflows/secret-scanner.yml b/affinescriptiser/.github/workflows/secret-scanner.yml index ea912ff9..7cb561df 100644 --- a/affinescriptiser/.github/workflows/secret-scanner.yml +++ b/affinescriptiser/.github/workflows/secret-scanner.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Prevention workflow - scans for hardcoded secrets before they reach main name: Secret Scanner diff --git a/affinescriptiser/.github/workflows/static-analysis-gate.yml b/affinescriptiser/.github/workflows/static-analysis-gate.yml index 1bfe9edd..4fba8fbd 100644 --- a/affinescriptiser/.github/workflows/static-analysis-gate.yml +++ b/affinescriptiser/.github/workflows/static-analysis-gate.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Static Analysis Gate — Required by branch protection rules. # Runs panic-attack and hypatia, deposits findings for gitbot-fleet learning. name: Static Analysis Gate diff --git a/affinescriptiser/.gitignore b/affinescriptiser/.gitignore index 5b09f56f..f522aef3 100644 --- a/affinescriptiser/.gitignore +++ b/affinescriptiser/.gitignore @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # RSR-compliant .gitignore # OS & Editor diff --git a/affinescriptiser/.gitlab-ci.yml b/affinescriptiser/.gitlab-ci.yml index 6df637a9..7309fa90 100644 --- a/affinescriptiser/.gitlab-ci.yml +++ b/affinescriptiser/.gitlab-ci.yml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Primary CI/CD - GitLab is the source of truth stages: diff --git a/affinescriptiser/.guix-channel b/affinescriptiser/.guix-channel index 463636d7..f9bdf68f 100644 --- a/affinescriptiser/.guix-channel +++ b/affinescriptiser/.guix-channel @@ -1,4 +1,4 @@ -;; SPDX-License-Identifier: PMPL-1.0-or-later +;; SPDX-License-Identifier: MPL-2.0 ;; Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}> ;; ;; Guix channel definition for {{PROJECT_NAME}} diff --git a/affinescriptiser/.machine_readable/0.1-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/0.1-AI-MANIFEST.a2ml index 2f21772b..9d2bc7a0 100644 --- a/affinescriptiser/.machine_readable/0.1-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/0.1-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "machine-readable-pillar" diff --git a/affinescriptiser/.machine_readable/6a2/AGENTIC.a2ml b/affinescriptiser/.machine_readable/6a2/AGENTIC.a2ml index 6fbd6b4c..4d5db884 100644 --- a/affinescriptiser/.machine_readable/6a2/AGENTIC.a2ml +++ b/affinescriptiser/.machine_readable/6a2/AGENTIC.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # AGENTIC.a2ml — AI agent constraints and capabilities diff --git a/affinescriptiser/.machine_readable/6a2/ECOSYSTEM.a2ml b/affinescriptiser/.machine_readable/6a2/ECOSYSTEM.a2ml index 84ac7d14..17dd528b 100644 --- a/affinescriptiser/.machine_readable/6a2/ECOSYSTEM.a2ml +++ b/affinescriptiser/.machine_readable/6a2/ECOSYSTEM.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # ECOSYSTEM.a2ml — Affinescriptiser ecosystem position diff --git a/affinescriptiser/.machine_readable/6a2/META.a2ml b/affinescriptiser/.machine_readable/6a2/META.a2ml index b8ea1a02..2f015c52 100644 --- a/affinescriptiser/.machine_readable/6a2/META.a2ml +++ b/affinescriptiser/.machine_readable/6a2/META.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # META.a2ml — Affinescriptiser meta-level information @@ -7,7 +7,7 @@ version = "0.1.0" last-updated = "2026-03-21" [project-info] -license = "PMPL-1.0-or-later" +license = "MPL-2.0" author = "Jonathan D.A. Jewell (hyperpolymath)" [architecture-decisions] diff --git a/affinescriptiser/.machine_readable/6a2/NEUROSYM.a2ml b/affinescriptiser/.machine_readable/6a2/NEUROSYM.a2ml index 1b2fbe51..1acf7a30 100644 --- a/affinescriptiser/.machine_readable/6a2/NEUROSYM.a2ml +++ b/affinescriptiser/.machine_readable/6a2/NEUROSYM.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # NEUROSYM.a2ml — Neurosymbolic integration metadata diff --git a/affinescriptiser/.machine_readable/6a2/PLAYBOOK.a2ml b/affinescriptiser/.machine_readable/6a2/PLAYBOOK.a2ml index a74bd833..6408e1c7 100644 --- a/affinescriptiser/.machine_readable/6a2/PLAYBOOK.a2ml +++ b/affinescriptiser/.machine_readable/6a2/PLAYBOOK.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # PLAYBOOK.a2ml — Operational playbook diff --git a/affinescriptiser/.machine_readable/6a2/STATE.a2ml b/affinescriptiser/.machine_readable/6a2/STATE.a2ml index d0dc0866..c599c52e 100644 --- a/affinescriptiser/.machine_readable/6a2/STATE.a2ml +++ b/affinescriptiser/.machine_readable/6a2/STATE.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # STATE.a2ml — Affinescriptiser project state diff --git a/affinescriptiser/.machine_readable/ADJUST.contractile b/affinescriptiser/.machine_readable/ADJUST.contractile index 0e9ba376..1807e29e 100644 --- a/affinescriptiser/.machine_readable/ADJUST.contractile +++ b/affinescriptiser/.machine_readable/ADJUST.contractile @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; ADJUST.contractile — Accessibility invariants for affinescriptiser ; "ADJUST" = Accessibility & Digital Justice for Universal Software & Technology ; diff --git a/affinescriptiser/.machine_readable/CLADE.a2ml b/affinescriptiser/.machine_readable/CLADE.a2ml index 9e77419b..b14389ce 100644 --- a/affinescriptiser/.machine_readable/CLADE.a2ml +++ b/affinescriptiser/.machine_readable/CLADE.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Clade declaration — part of the gv-clade-index registry # See: https://github.com/hyperpolymath/gv-clade-index diff --git a/affinescriptiser/.machine_readable/ENSAID_CONFIG.a2ml b/affinescriptiser/.machine_readable/ENSAID_CONFIG.a2ml index 11c8223c..2068cc16 100644 --- a/affinescriptiser/.machine_readable/ENSAID_CONFIG.a2ml +++ b/affinescriptiser/.machine_readable/ENSAID_CONFIG.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # ENSAID_CONFIG.a2ml — eNSAID Environment Configuration diff --git a/affinescriptiser/.machine_readable/INTENT.contractile b/affinescriptiser/.machine_readable/INTENT.contractile index 17de4f2a..55998e12 100644 --- a/affinescriptiser/.machine_readable/INTENT.contractile +++ b/affinescriptiser/.machine_readable/INTENT.contractile @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; INTENT.contractile — Purpose and scope for affinescriptiser ; Helps LLM/SLM agents understand what this repo IS and IS NOT. ; diff --git a/affinescriptiser/.machine_readable/MUST.contractile b/affinescriptiser/.machine_readable/MUST.contractile index e11df47e..3cabba22 100644 --- a/affinescriptiser/.machine_readable/MUST.contractile +++ b/affinescriptiser/.machine_readable/MUST.contractile @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; MUST.contractile — Baseline invariants for affinescriptiser ; These constraints MUST NOT be violated. K9 validators enforce them. ; diff --git a/affinescriptiser/.machine_readable/TRUST.contractile b/affinescriptiser/.machine_readable/TRUST.contractile index 25590815..76e51671 100644 --- a/affinescriptiser/.machine_readable/TRUST.contractile +++ b/affinescriptiser/.machine_readable/TRUST.contractile @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; TRUST.contractile — Trust boundaries for affinescriptiser ; Defines what LLM/SLM agents are trusted to do without asking. ; diff --git a/affinescriptiser/.machine_readable/agent_instructions/README.adoc b/affinescriptiser/.machine_readable/agent_instructions/README.adoc index 0ed360be..9bc2e24b 100644 --- a/affinescriptiser/.machine_readable/agent_instructions/README.adoc +++ b/affinescriptiser/.machine_readable/agent_instructions/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) = Agent Instructions :toc: preamble diff --git a/affinescriptiser/.machine_readable/agent_instructions/coverage.a2ml b/affinescriptiser/.machine_readable/agent_instructions/coverage.a2ml index 3d720dc3..69796642 100644 --- a/affinescriptiser/.machine_readable/agent_instructions/coverage.a2ml +++ b/affinescriptiser/.machine_readable/agent_instructions/coverage.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # coverage.a2ml — Session coverage tracking diff --git a/affinescriptiser/.machine_readable/agent_instructions/debt.a2ml b/affinescriptiser/.machine_readable/agent_instructions/debt.a2ml index f46451a6..c0238c5d 100644 --- a/affinescriptiser/.machine_readable/agent_instructions/debt.a2ml +++ b/affinescriptiser/.machine_readable/agent_instructions/debt.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # debt.a2ml — Meander debt list diff --git a/affinescriptiser/.machine_readable/agent_instructions/methodology.a2ml b/affinescriptiser/.machine_readable/agent_instructions/methodology.a2ml index 9bf14390..754f3571 100644 --- a/affinescriptiser/.machine_readable/agent_instructions/methodology.a2ml +++ b/affinescriptiser/.machine_readable/agent_instructions/methodology.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # methodology.a2ml — AI agent methodology configuration diff --git a/affinescriptiser/.machine_readable/ai/.clinerules b/affinescriptiser/.machine_readable/ai/.clinerules index dd6a026c..854d2ee3 100644 --- a/affinescriptiser/.machine_readable/ai/.clinerules +++ b/affinescriptiser/.machine_readable/ai/.clinerules @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}> # Authoritative source: docs/AI-CONVENTIONS.md diff --git a/affinescriptiser/.machine_readable/ai/.cursorrules b/affinescriptiser/.machine_readable/ai/.cursorrules index ca78d43b..d3b9cee0 100644 --- a/affinescriptiser/.machine_readable/ai/.cursorrules +++ b/affinescriptiser/.machine_readable/ai/.cursorrules @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}> # Authoritative source: docs/AI-CONVENTIONS.md diff --git a/affinescriptiser/.machine_readable/ai/.windsurfrules b/affinescriptiser/.machine_readable/ai/.windsurfrules index dd6a026c..854d2ee3 100644 --- a/affinescriptiser/.machine_readable/ai/.windsurfrules +++ b/affinescriptiser/.machine_readable/ai/.windsurfrules @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}> # Authoritative source: docs/AI-CONVENTIONS.md diff --git a/affinescriptiser/.machine_readable/ai/0.2-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/ai/0.2-AI-MANIFEST.a2ml index 2c9ed6cc..869cbee6 100644 --- a/affinescriptiser/.machine_readable/ai/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/ai/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "ai-registry" diff --git a/affinescriptiser/.machine_readable/anchors/0.2-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/anchors/0.2-AI-MANIFEST.a2ml index eb739e96..45038e1e 100644 --- a/affinescriptiser/.machine_readable/anchors/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/anchors/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "anchors-registry" diff --git a/affinescriptiser/.machine_readable/anchors/ANCHOR.a2ml b/affinescriptiser/.machine_readable/anchors/ANCHOR.a2ml index eb47d475..c0ae9da5 100644 --- a/affinescriptiser/.machine_readable/anchors/ANCHOR.a2ml +++ b/affinescriptiser/.machine_readable/anchors/ANCHOR.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # ANCHOR.a2ml - authoritative anchor for this repository diff --git a/affinescriptiser/.machine_readable/compliance/rust/deny.toml b/affinescriptiser/.machine_readable/compliance/rust/deny.toml index ad75c2cd..b096db88 100644 --- a/affinescriptiser/.machine_readable/compliance/rust/deny.toml +++ b/affinescriptiser/.machine_readable/compliance/rust/deny.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # cargo-deny configuration for RSR-compliant repositories # Run: cargo deny check # Docs: https://embarkstudios.github.io/cargo-deny/ diff --git a/affinescriptiser/.machine_readable/configs/0.2-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/configs/0.2-AI-MANIFEST.a2ml index 029fbbad..6e41e6c2 100644 --- a/affinescriptiser/.machine_readable/configs/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/configs/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "configs-registry" diff --git a/affinescriptiser/.machine_readable/configs/git-cliff/cliff.toml b/affinescriptiser/.machine_readable/configs/git-cliff/cliff.toml index 648bca02..d9f90b46 100644 --- a/affinescriptiser/.machine_readable/configs/git-cliff/cliff.toml +++ b/affinescriptiser/.machine_readable/configs/git-cliff/cliff.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # git-cliff configuration for conventional commit changelog generation. diff --git a/affinescriptiser/.machine_readable/contractiles/dust/Dustfile.a2ml b/affinescriptiser/.machine_readable/contractiles/dust/Dustfile.a2ml index 018c1e58..0a154fd3 100644 --- a/affinescriptiser/.machine_readable/contractiles/dust/Dustfile.a2ml +++ b/affinescriptiser/.machine_readable/contractiles/dust/Dustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Dustfile — Cleanup and hygiene contract for affinescriptiser # Author: Jonathan D.A. Jewell diff --git a/affinescriptiser/.machine_readable/contractiles/intend/Intendfile.a2ml b/affinescriptiser/.machine_readable/contractiles/intend/Intendfile.a2ml index 3482cfc3..b0f1c014 100644 --- a/affinescriptiser/.machine_readable/contractiles/intend/Intendfile.a2ml +++ b/affinescriptiser/.machine_readable/contractiles/intend/Intendfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Intendfile — Intent declarations for affinescriptiser # Author: Jonathan D.A. Jewell diff --git a/affinescriptiser/.machine_readable/contractiles/must/Mustfile.a2ml b/affinescriptiser/.machine_readable/contractiles/must/Mustfile.a2ml index d702ec9a..e2df930d 100644 --- a/affinescriptiser/.machine_readable/contractiles/must/Mustfile.a2ml +++ b/affinescriptiser/.machine_readable/contractiles/must/Mustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Mustfile — Physical state contract for affinescriptiser # Author: Jonathan D.A. Jewell diff --git a/affinescriptiser/.machine_readable/contractiles/trust/Trustfile.a2ml b/affinescriptiser/.machine_readable/contractiles/trust/Trustfile.a2ml index 19486c87..eea6a3a9 100644 --- a/affinescriptiser/.machine_readable/contractiles/trust/Trustfile.a2ml +++ b/affinescriptiser/.machine_readable/contractiles/trust/Trustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Trustfile — Integrity and provenance verification for affinescriptiser # Author: Jonathan D.A. Jewell diff --git a/affinescriptiser/.machine_readable/integrations/feedback-o-tron.a2ml b/affinescriptiser/.machine_readable/integrations/feedback-o-tron.a2ml index 1c473aef..5381604e 100644 --- a/affinescriptiser/.machine_readable/integrations/feedback-o-tron.a2ml +++ b/affinescriptiser/.machine_readable/integrations/feedback-o-tron.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Feedback-o-Tron Integration — Autonomous Bug Reporting [integration] diff --git a/affinescriptiser/.machine_readable/integrations/proven.a2ml b/affinescriptiser/.machine_readable/integrations/proven.a2ml index 6b3e8057..9af33ffd 100644 --- a/affinescriptiser/.machine_readable/integrations/proven.a2ml +++ b/affinescriptiser/.machine_readable/integrations/proven.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Proven Integration — Formally Verified Safety Library [integration] diff --git a/affinescriptiser/.machine_readable/integrations/verisimdb.a2ml b/affinescriptiser/.machine_readable/integrations/verisimdb.a2ml index 2c8f8f5b..164c5229 100644 --- a/affinescriptiser/.machine_readable/integrations/verisimdb.a2ml +++ b/affinescriptiser/.machine_readable/integrations/verisimdb.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # VeriSimDB Feed — Cross-Repo Analytics Data Store [integration] diff --git a/affinescriptiser/.machine_readable/integrations/vexometer.a2ml b/affinescriptiser/.machine_readable/integrations/vexometer.a2ml index bb7fc435..238b3d2c 100644 --- a/affinescriptiser/.machine_readable/integrations/vexometer.a2ml +++ b/affinescriptiser/.machine_readable/integrations/vexometer.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Vexometer Integration — Irritation Surface Analysis [integration] diff --git a/affinescriptiser/.machine_readable/policies/0.2-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/policies/0.2-AI-MANIFEST.a2ml index ea4ba2cd..01a19140 100644 --- a/affinescriptiser/.machine_readable/policies/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/policies/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "policies-registry" diff --git a/affinescriptiser/.machine_readable/policies/MAINTENANCE-AXES.a2ml b/affinescriptiser/.machine_readable/policies/MAINTENANCE-AXES.a2ml index 3ca8e00d..8cc906fd 100644 --- a/affinescriptiser/.machine_readable/policies/MAINTENANCE-AXES.a2ml +++ b/affinescriptiser/.machine_readable/policies/MAINTENANCE-AXES.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # Canonical maintenance governance model diff --git a/affinescriptiser/.machine_readable/policies/MAINTENANCE-CHECKLIST.a2ml b/affinescriptiser/.machine_readable/policies/MAINTENANCE-CHECKLIST.a2ml index 7e896524..eaee7205 100644 --- a/affinescriptiser/.machine_readable/policies/MAINTENANCE-CHECKLIST.a2ml +++ b/affinescriptiser/.machine_readable/policies/MAINTENANCE-CHECKLIST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Cross-repo maintenance baseline (machine-readable canonical) [metadata] diff --git a/affinescriptiser/.machine_readable/policies/SOFTWARE-DEVELOPMENT-APPROACH.a2ml b/affinescriptiser/.machine_readable/policies/SOFTWARE-DEVELOPMENT-APPROACH.a2ml index b8954d8b..093573a0 100644 --- a/affinescriptiser/.machine_readable/policies/SOFTWARE-DEVELOPMENT-APPROACH.a2ml +++ b/affinescriptiser/.machine_readable/policies/SOFTWARE-DEVELOPMENT-APPROACH.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # General software development approach (machine-readable) [metadata] diff --git a/affinescriptiser/.machine_readable/scripts/0.2-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/scripts/0.2-AI-MANIFEST.a2ml index ec8281dc..615df84f 100644 --- a/affinescriptiser/.machine_readable/scripts/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/scripts/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "automation-scripts-unit" diff --git a/affinescriptiser/.machine_readable/scripts/forge/0.3-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/scripts/forge/0.3-AI-MANIFEST.a2ml index fb387e18..4bbd6cf3 100644 --- a/affinescriptiser/.machine_readable/scripts/forge/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/scripts/forge/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "automation-unit-forge" diff --git a/affinescriptiser/.machine_readable/scripts/forge/forge-sync.sh b/affinescriptiser/.machine_readable/scripts/forge/forge-sync.sh index bd754e61..330e54b3 100755 --- a/affinescriptiser/.machine_readable/scripts/forge/forge-sync.sh +++ b/affinescriptiser/.machine_readable/scripts/forge/forge-sync.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # forge-sync.sh — Multi-forge mirroring script # diff --git a/affinescriptiser/.machine_readable/scripts/lifecycle/0.3-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/scripts/lifecycle/0.3-AI-MANIFEST.a2ml index 3ee51243..3182d175 100644 --- a/affinescriptiser/.machine_readable/scripts/lifecycle/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/scripts/lifecycle/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "automation-unit-lifecycle" diff --git a/affinescriptiser/.machine_readable/scripts/lifecycle/install-tools.sh b/affinescriptiser/.machine_readable/scripts/lifecycle/install-tools.sh index f01442c5..408df642 100755 --- a/affinescriptiser/.machine_readable/scripts/lifecycle/install-tools.sh +++ b/affinescriptiser/.machine_readable/scripts/lifecycle/install-tools.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # install-tools.sh — Developer toolchain installer # diff --git a/affinescriptiser/.machine_readable/scripts/maintenance/maint-assault.sh b/affinescriptiser/.machine_readable/scripts/maintenance/maint-assault.sh index 2d429b7a..f170cabc 100644 --- a/affinescriptiser/.machine_readable/scripts/maintenance/maint-assault.sh +++ b/affinescriptiser/.machine_readable/scripts/maintenance/maint-assault.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # maint-assault.sh — High-rigor stress testing using panic-attacker # diff --git a/affinescriptiser/.machine_readable/scripts/verification/0.3-AI-MANIFEST.a2ml b/affinescriptiser/.machine_readable/scripts/verification/0.3-AI-MANIFEST.a2ml index 9dacbd6e..460e0694 100644 --- a/affinescriptiser/.machine_readable/scripts/verification/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/.machine_readable/scripts/verification/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "automation-unit-verification" diff --git a/affinescriptiser/.well-known/ai.txt b/affinescriptiser/.well-known/ai.txt index 6668d669..cc7cbc35 100644 --- a/affinescriptiser/.well-known/ai.txt +++ b/affinescriptiser/.well-known/ai.txt @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # ai.txt - AI interaction policy # See: https://site.spawning.ai/spawning-ai-txt diff --git a/affinescriptiser/.well-known/humans.txt b/affinescriptiser/.well-known/humans.txt index 28735602..6b2998f1 100644 --- a/affinescriptiser/.well-known/humans.txt +++ b/affinescriptiser/.well-known/humans.txt @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # humanstxt.org /* TEAM */ diff --git a/affinescriptiser/.well-known/security.txt b/affinescriptiser/.well-known/security.txt index 3484bf49..e498e883 100644 --- a/affinescriptiser/.well-known/security.txt +++ b/affinescriptiser/.well-known/security.txt @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # RFC 9116 - security.txt # https://securitytxt.org/ diff --git a/affinescriptiser/CHANGELOG.adoc b/affinescriptiser/CHANGELOG.adoc index 7efddfef..e7813385 100644 --- a/affinescriptiser/CHANGELOG.adoc +++ b/affinescriptiser/CHANGELOG.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Changelog :toc: diff --git a/affinescriptiser/CODE_OF_CONDUCT.md b/affinescriptiser/CODE_OF_CONDUCT.md index c32021ad..1f1548ca 100644 --- a/affinescriptiser/CODE_OF_CONDUCT.md +++ b/affinescriptiser/CODE_OF_CONDUCT.md @@ -1,4 +1,4 @@ - + # Contributor Covenant Code of Conduct ## Our Pledge diff --git a/affinescriptiser/Cargo.toml b/affinescriptiser/Cargo.toml index 2c4c5e2f..7190c194 100644 --- a/affinescriptiser/Cargo.toml +++ b/affinescriptiser/Cargo.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 [package] name = "affinescriptiser" version = "0.1.0" diff --git a/affinescriptiser/Containerfile b/affinescriptiser/Containerfile index 19e2289f..d7266bc0 100644 --- a/affinescriptiser/Containerfile +++ b/affinescriptiser/Containerfile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}> # # Containerfile for {{PROJECT_NAME}} diff --git a/affinescriptiser/EXPLAINME.adoc b/affinescriptiser/EXPLAINME.adoc index 891f88db..eb91b1e2 100644 --- a/affinescriptiser/EXPLAINME.adoc +++ b/affinescriptiser/EXPLAINME.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Affinescriptiser — Show Me The Receipts :toc: :icons: font diff --git a/affinescriptiser/Justfile b/affinescriptiser/Justfile index f0a267de..a41a5932 100644 --- a/affinescriptiser/Justfile +++ b/affinescriptiser/Justfile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # affinescriptiser — affine + dependent type wrappers targeting WASM via AffineScript # Default: build and test @@ -134,7 +134,7 @@ tour: echo " Affinescriptiser — Guided Tour" echo "═══════════════════════════════════════════════════" echo "" - echo '// SPDX-License-Identifier: PMPL-1.0-or-later' + echo '// SPDX-License-Identifier: MPL-2.0' echo "" echo "Key directories:" echo " src/ Source code" diff --git a/affinescriptiser/README.adoc b/affinescriptiser/README.adoc index 3b4879f8..1ef38f87 100644 --- a/affinescriptiser/README.adoc +++ b/affinescriptiser/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) = Affinescriptiser Jonathan D.A. Jewell @@ -184,4 +184,4 @@ See link:ROADMAP.adoc[ROADMAP.adoc] for the phased development plan. == License -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 diff --git a/affinescriptiser/ROADMAP.adoc b/affinescriptiser/ROADMAP.adoc index 0c270b25..a3e55cb8 100644 --- a/affinescriptiser/ROADMAP.adoc +++ b/affinescriptiser/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) = Affinescriptiser Roadmap Jonathan D.A. Jewell diff --git a/affinescriptiser/TOPOLOGY.md b/affinescriptiser/TOPOLOGY.md index 9e435848..137398cd 100644 --- a/affinescriptiser/TOPOLOGY.md +++ b/affinescriptiser/TOPOLOGY.md @@ -1,4 +1,4 @@ - + # TOPOLOGY.md — Affinescriptiser Repository Map diff --git a/affinescriptiser/container/.gatekeeper.yaml b/affinescriptiser/container/.gatekeeper.yaml index cffda23e..4aac671d 100644 --- a/affinescriptiser/container/.gatekeeper.yaml +++ b/affinescriptiser/container/.gatekeeper.yaml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # Svalinn gatekeeper policy for {{PROJECT_NAME}} # diff --git a/affinescriptiser/container/0.1-AI-MANIFEST.a2ml b/affinescriptiser/container/0.1-AI-MANIFEST.a2ml index 3d89b876..ccb5bc51 100644 --- a/affinescriptiser/container/0.1-AI-MANIFEST.a2ml +++ b/affinescriptiser/container/0.1-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "container-templates" diff --git a/affinescriptiser/container/Containerfile b/affinescriptiser/container/Containerfile index efcafa22..ba85260a 100644 --- a/affinescriptiser/container/Containerfile +++ b/affinescriptiser/container/Containerfile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # {{PROJECT_NAME}} Container Image # # Multi-stage build template for Chainguard Wolfi base images. diff --git a/affinescriptiser/container/README.adoc b/affinescriptiser/container/README.adoc index 94aabec9..1c0044c8 100644 --- a/affinescriptiser/container/README.adoc +++ b/affinescriptiser/container/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) = {{PROJECT_NAME}} Container Templates :toc: left diff --git a/affinescriptiser/container/compose.example.toml b/affinescriptiser/container/compose.example.toml index 4bce8288..d8d717c4 100644 --- a/affinescriptiser/container/compose.example.toml +++ b/affinescriptiser/container/compose.example.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # Example selur-compose configuration — multi-service stack # diff --git a/affinescriptiser/container/compose.toml b/affinescriptiser/container/compose.toml index 19eda0fa..a14f8a00 100644 --- a/affinescriptiser/container/compose.toml +++ b/affinescriptiser/container/compose.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # {{PROJECT_NAME}} selur-compose configuration # diff --git a/affinescriptiser/container/ct-build.sh b/affinescriptiser/container/ct-build.sh index 527325d9..a54a5418 100755 --- a/affinescriptiser/container/ct-build.sh +++ b/affinescriptiser/container/ct-build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # {{PROJECT_NAME}} — Cerro Torre build, sign, and verify pipeline # diff --git a/affinescriptiser/container/deploy.k9.ncl b/affinescriptiser/container/deploy.k9.ncl index b283a7c1..0ad0d04a 100644 --- a/affinescriptiser/container/deploy.k9.ncl +++ b/affinescriptiser/container/deploy.k9.ncl @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # deploy.k9.ncl — {{PROJECT_NAME}} deployment component (Hunt level) # # k9-svc deployment specification with full pedigree (L1-L5). diff --git a/affinescriptiser/container/entrypoint.sh b/affinescriptiser/container/entrypoint.sh index 72ace9c1..a7a03699 100755 --- a/affinescriptiser/container/entrypoint.sh +++ b/affinescriptiser/container/entrypoint.sh @@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # {{PROJECT_NAME}} container entrypoint # # Handles signal propagation, startup logging, and health check diff --git a/affinescriptiser/container/manifest.toml b/affinescriptiser/container/manifest.toml index f5557fad..c521b964 100644 --- a/affinescriptiser/container/manifest.toml +++ b/affinescriptiser/container/manifest.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # Cerro Torre manifest for {{PROJECT_NAME}} .ctp bundle # diff --git a/affinescriptiser/container/vordr.toml b/affinescriptiser/container/vordr.toml index 0fb7fd59..af38fc54 100644 --- a/affinescriptiser/container/vordr.toml +++ b/affinescriptiser/container/vordr.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # Vordr runtime monitoring configuration for {{PROJECT_NAME}} # diff --git a/affinescriptiser/contractile.just b/affinescriptiser/contractile.just index 8f99137a..9a5827ba 100644 --- a/affinescriptiser/contractile.just +++ b/affinescriptiser/contractile.just @@ -2,7 +2,7 @@ # Source directory: contractiles # Re-generate with: contractile gen-just --dir contractiles # -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # === DUST (Recovery & Rollback) === # Source: Dustfile.a2ml diff --git a/affinescriptiser/contractiles/intend/Intentfile.a2ml b/affinescriptiser/contractiles/intend/Intentfile.a2ml index ad379676..523fce79 100644 --- a/affinescriptiser/contractiles/intend/Intentfile.a2ml +++ b/affinescriptiser/contractiles/intend/Intentfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Intentfile (A2ML Canonical) # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) @@ -8,7 +8,7 @@ Declared intent and purpose for Affinescriptiser. ## Purpose -Affinescriptiser — // SPDX-License-Identifier: PMPL-1.0-or-later +Affinescriptiser — // SPDX-License-Identifier: MPL-2.0 ## Anti-Purpose diff --git a/affinescriptiser/contractiles/must/Mustfile.a2ml b/affinescriptiser/contractiles/must/Mustfile.a2ml index d4912f96..05ca0ba2 100644 --- a/affinescriptiser/contractiles/must/Mustfile.a2ml +++ b/affinescriptiser/contractiles/must/Mustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Mustfile (A2ML Canonical) # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) diff --git a/affinescriptiser/contractiles/trust/Trustfile.a2ml b/affinescriptiser/contractiles/trust/Trustfile.a2ml index 25292f2e..599bc3f8 100644 --- a/affinescriptiser/contractiles/trust/Trustfile.a2ml +++ b/affinescriptiser/contractiles/trust/Trustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Trustfile (A2ML Canonical) # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) diff --git a/affinescriptiser/docs/0.1-AI-MANIFEST.a2ml b/affinescriptiser/docs/0.1-AI-MANIFEST.a2ml index 828253e6..7f79301e 100644 --- a/affinescriptiser/docs/0.1-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/0.1-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "docs-pillar" diff --git a/affinescriptiser/docs/RSR_OUTLINE.adoc b/affinescriptiser/docs/RSR_OUTLINE.adoc index c7931831..0ba0c97b 100644 --- a/affinescriptiser/docs/RSR_OUTLINE.adoc +++ b/affinescriptiser/docs/RSR_OUTLINE.adoc @@ -281,7 +281,7 @@ This template is part of: == License -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 == Links diff --git a/affinescriptiser/docs/STATE-VISUALIZER.adoc b/affinescriptiser/docs/STATE-VISUALIZER.adoc index fb453375..422fcd5c 100644 --- a/affinescriptiser/docs/STATE-VISUALIZER.adoc +++ b/affinescriptiser/docs/STATE-VISUALIZER.adoc @@ -1,7 +1,7 @@ = Project State Visualizer [source] ---- - + diff --git a/affinescriptiser/docs/architecture/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/architecture/0.2-AI-MANIFEST.a2ml index cf992d93..028b503d 100644 --- a/affinescriptiser/docs/architecture/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/architecture/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "architecture-track" diff --git a/affinescriptiser/docs/architecture/THREAT-MODEL.adoc b/affinescriptiser/docs/architecture/THREAT-MODEL.adoc index 920e3bb4..04829037 100644 --- a/affinescriptiser/docs/architecture/THREAT-MODEL.adoc +++ b/affinescriptiser/docs/architecture/THREAT-MODEL.adoc @@ -1,5 +1,5 @@ = Threat Model - + # Threat Model: {{PROJECT_NAME}} diff --git a/affinescriptiser/docs/attribution/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/attribution/0.2-AI-MANIFEST.a2ml index 27b6fc6c..52beaea4 100644 --- a/affinescriptiser/docs/attribution/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/attribution/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "attribution-unit" diff --git a/affinescriptiser/docs/attribution/MAINTAINERS.adoc b/affinescriptiser/docs/attribution/MAINTAINERS.adoc index ac120fa4..a1c65443 100644 --- a/affinescriptiser/docs/attribution/MAINTAINERS.adoc +++ b/affinescriptiser/docs/attribution/MAINTAINERS.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Maintainers :toc: preamble diff --git a/affinescriptiser/docs/decisions/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/decisions/0.2-AI-MANIFEST.a2ml index c84edf33..ac26298b 100644 --- a/affinescriptiser/docs/decisions/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/decisions/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "decisions-unit" diff --git a/affinescriptiser/docs/decisions/0000-template.adoc b/affinescriptiser/docs/decisions/0000-template.adoc index 49151a25..b1a561f3 100644 --- a/affinescriptiser/docs/decisions/0000-template.adoc +++ b/affinescriptiser/docs/decisions/0000-template.adoc @@ -1,5 +1,5 @@ = Architecture Decision Record: 0000-template - + # [NUMBER]. [TITLE] diff --git a/affinescriptiser/docs/decisions/0001-adopt-rsr-standard.adoc b/affinescriptiser/docs/decisions/0001-adopt-rsr-standard.adoc index efd55181..070eda3a 100644 --- a/affinescriptiser/docs/decisions/0001-adopt-rsr-standard.adoc +++ b/affinescriptiser/docs/decisions/0001-adopt-rsr-standard.adoc @@ -1,5 +1,5 @@ = Architecture Decision Record: 0001-adopt-rsr-standard - + # 1. Adopt Rhodium Standard Repository (RSR) Template diff --git a/affinescriptiser/docs/developer/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/developer/0.2-AI-MANIFEST.a2ml index f650269a..c16fcc74 100644 --- a/affinescriptiser/docs/developer/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/developer/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "developer-unit" diff --git a/affinescriptiser/docs/governance/0.1-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/0.1-AI-MANIFEST.a2ml index 56188c89..6e373bd2 100644 --- a/affinescriptiser/docs/governance/0.1-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/0.1-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-pillar" diff --git a/affinescriptiser/docs/governance/CRG-CRITERIA.a2ml b/affinescriptiser/docs/governance/CRG-CRITERIA.a2ml index 8b0ac778..99a1c4e0 100644 --- a/affinescriptiser/docs/governance/CRG-CRITERIA.a2ml +++ b/affinescriptiser/docs/governance/CRG-CRITERIA.a2ml @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) ; Component Readiness Grades (CRG) — Machine-readable specification diff --git a/affinescriptiser/docs/governance/MAINTENANCE-CHECKLIST.a2ml b/affinescriptiser/docs/governance/MAINTENANCE-CHECKLIST.a2ml index 7e896524..eaee7205 100644 --- a/affinescriptiser/docs/governance/MAINTENANCE-CHECKLIST.a2ml +++ b/affinescriptiser/docs/governance/MAINTENANCE-CHECKLIST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Cross-repo maintenance baseline (machine-readable canonical) [metadata] diff --git a/affinescriptiser/docs/governance/SOFTWARE-DEVELOPMENT-APPROACH.a2ml b/affinescriptiser/docs/governance/SOFTWARE-DEVELOPMENT-APPROACH.a2ml index b8954d8b..093573a0 100644 --- a/affinescriptiser/docs/governance/SOFTWARE-DEVELOPMENT-APPROACH.a2ml +++ b/affinescriptiser/docs/governance/SOFTWARE-DEVELOPMENT-APPROACH.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # General software development approach (machine-readable) [metadata] diff --git a/affinescriptiser/docs/governance/TSDM.a2ml b/affinescriptiser/docs/governance/TSDM.a2ml index 78cd0fc6..f27036cc 100644 --- a/affinescriptiser/docs/governance/TSDM.a2ml +++ b/affinescriptiser/docs/governance/TSDM.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [TSDM_SPEC] id: "tsdm-standard" diff --git a/affinescriptiser/docs/governance/audit/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/audit/0.2-AI-MANIFEST.a2ml index b8e7e5a9..47224869 100644 --- a/affinescriptiser/docs/governance/audit/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/audit/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-axis-audit" diff --git a/affinescriptiser/docs/governance/audit/compliance/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/audit/compliance/0.3-AI-MANIFEST.a2ml index 2e24f04f..b13ec695 100644 --- a/affinescriptiser/docs/governance/audit/compliance/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/audit/compliance/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-compliance" diff --git a/affinescriptiser/docs/governance/audit/effects/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/audit/effects/0.3-AI-MANIFEST.a2ml index 635d6623..0bccae0d 100644 --- a/affinescriptiser/docs/governance/audit/effects/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/audit/effects/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-effects" diff --git a/affinescriptiser/docs/governance/audit/systems/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/audit/systems/0.3-AI-MANIFEST.a2ml index 86f05ebb..f97bc9cc 100644 --- a/affinescriptiser/docs/governance/audit/systems/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/audit/systems/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-systems" diff --git a/affinescriptiser/docs/governance/maintenance/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/maintenance/0.2-AI-MANIFEST.a2ml index e8054e04..8e0dff5e 100644 --- a/affinescriptiser/docs/governance/maintenance/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/maintenance/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-axis-maintenance" diff --git a/affinescriptiser/docs/governance/maintenance/adaptive/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/maintenance/adaptive/0.3-AI-MANIFEST.a2ml index 8c92d115..63d1a999 100644 --- a/affinescriptiser/docs/governance/maintenance/adaptive/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/maintenance/adaptive/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-adaptive" diff --git a/affinescriptiser/docs/governance/maintenance/corrective/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/maintenance/corrective/0.3-AI-MANIFEST.a2ml index 5e1bcdf5..05cb89da 100644 --- a/affinescriptiser/docs/governance/maintenance/corrective/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/maintenance/corrective/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-corrective" diff --git a/affinescriptiser/docs/governance/maintenance/perfective/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/maintenance/perfective/0.3-AI-MANIFEST.a2ml index f8beee52..832762fe 100644 --- a/affinescriptiser/docs/governance/maintenance/perfective/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/maintenance/perfective/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-perfective" diff --git a/affinescriptiser/docs/governance/planning/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/planning/0.2-AI-MANIFEST.a2ml index 457811cc..80339e77 100644 --- a/affinescriptiser/docs/governance/planning/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/planning/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-axis-planning" diff --git a/affinescriptiser/docs/governance/planning/could/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/planning/could/0.3-AI-MANIFEST.a2ml index 50ed2733..fc17a27d 100644 --- a/affinescriptiser/docs/governance/planning/could/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/planning/could/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-could" diff --git a/affinescriptiser/docs/governance/planning/must/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/planning/must/0.3-AI-MANIFEST.a2ml index 19fe1eed..0987daee 100644 --- a/affinescriptiser/docs/governance/planning/must/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/planning/must/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-must" diff --git a/affinescriptiser/docs/governance/planning/should/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/governance/planning/should/0.3-AI-MANIFEST.a2ml index 5c371942..f492289a 100644 --- a/affinescriptiser/docs/governance/planning/should/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/governance/planning/should/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "governance-unit-should" diff --git a/affinescriptiser/docs/legal/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/legal/0.2-AI-MANIFEST.a2ml index c68b6e35..e5477983 100644 --- a/affinescriptiser/docs/legal/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/legal/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "legal-track" diff --git a/affinescriptiser/docs/legal/EXHIBIT-A-ETHICAL-USE.txt b/affinescriptiser/docs/legal/EXHIBIT-A-ETHICAL-USE.txt index 7b2675d4..0b20fca2 100644 --- a/affinescriptiser/docs/legal/EXHIBIT-A-ETHICAL-USE.txt +++ b/affinescriptiser/docs/legal/EXHIBIT-A-ETHICAL-USE.txt @@ -1,4 +1,4 @@ -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 ================================================================================ EXHIBIT A — ETHICAL USE GUIDELINES diff --git a/affinescriptiser/docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt b/affinescriptiser/docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt index 83f47066..7fba8c94 100644 --- a/affinescriptiser/docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt +++ b/affinescriptiser/docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt @@ -1,4 +1,4 @@ -SPDX-License-Identifier: PMPL-1.0-or-later +SPDX-License-Identifier: MPL-2.0 ================================================================================ EXHIBIT B — QUANTUM-SAFE PROVENANCE SPECIFICATION diff --git a/affinescriptiser/docs/practice/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/practice/0.2-AI-MANIFEST.a2ml index 92095899..257f3a4f 100644 --- a/affinescriptiser/docs/practice/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/practice/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "practice-unit" diff --git a/affinescriptiser/docs/practice/AI-CONVENTIONS.adoc b/affinescriptiser/docs/practice/AI-CONVENTIONS.adoc index db82caa3..7d015338 100644 --- a/affinescriptiser/docs/practice/AI-CONVENTIONS.adoc +++ b/affinescriptiser/docs/practice/AI-CONVENTIONS.adoc @@ -1,5 +1,5 @@ = AI Conventions - + # AI Conventions (Authoritative Source) @@ -23,7 +23,7 @@ Per-tool config files (.cursorrules, .clinerules, etc.) reference this document. - Fallback (platform-required only): MPL-2.0 with comment explaining why. - NEVER use AGPL-3.0. - Preserve third-party licenses verbatim. -- Every source file needs `# SPDX-License-Identifier: PMPL-1.0-or-later`. +- Every source file needs `# SPDX-License-Identifier: MPL-2.0`. ## Author Attribution diff --git a/affinescriptiser/docs/practice/STATE-VISUALIZER-GUIDE.adoc b/affinescriptiser/docs/practice/STATE-VISUALIZER-GUIDE.adoc index 6663cb79..c2490ca4 100644 --- a/affinescriptiser/docs/practice/STATE-VISUALIZER-GUIDE.adoc +++ b/affinescriptiser/docs/practice/STATE-VISUALIZER-GUIDE.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = TOPOLOGY.md — Generation Guide Jonathan D.A. Jewell (hyperpolymath) :toc: diff --git a/affinescriptiser/docs/reports/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/reports/0.2-AI-MANIFEST.a2ml index ec4a54d6..5eb265dc 100644 --- a/affinescriptiser/docs/reports/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/reports/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "reports-unit" diff --git a/affinescriptiser/docs/reports/compliance/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/reports/compliance/0.3-AI-MANIFEST.a2ml index 80e08070..6b397528 100644 --- a/affinescriptiser/docs/reports/compliance/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/reports/compliance/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "report-unit-compliance" diff --git a/affinescriptiser/docs/reports/maintenance/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/reports/maintenance/0.3-AI-MANIFEST.a2ml index 900256ff..43eefe29 100644 --- a/affinescriptiser/docs/reports/maintenance/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/reports/maintenance/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "report-unit-maintenance" diff --git a/affinescriptiser/docs/reports/performance/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/reports/performance/0.3-AI-MANIFEST.a2ml index ef901d8c..40c09540 100644 --- a/affinescriptiser/docs/reports/performance/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/reports/performance/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "report-unit-performance" diff --git a/affinescriptiser/docs/reports/quality/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/reports/quality/0.3-AI-MANIFEST.a2ml index 803eff01..d460edcf 100644 --- a/affinescriptiser/docs/reports/quality/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/reports/quality/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "report-unit-quality" diff --git a/affinescriptiser/docs/reports/security/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/reports/security/0.3-AI-MANIFEST.a2ml index 869d2ed0..696ab590 100644 --- a/affinescriptiser/docs/reports/security/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/reports/security/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "report-unit-security" diff --git a/affinescriptiser/docs/standards/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/standards/0.2-AI-MANIFEST.a2ml index 26b6aa5d..c147c6f8 100644 --- a/affinescriptiser/docs/standards/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/standards/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "standards-unit" diff --git a/affinescriptiser/docs/templates/contractiles/README.adoc b/affinescriptiser/docs/templates/contractiles/README.adoc index 32f6a5e0..121da7ae 100644 --- a/affinescriptiser/docs/templates/contractiles/README.adoc +++ b/affinescriptiser/docs/templates/contractiles/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Contractile Templates Blank templates for projects that want to replace the hyperpolymath diff --git a/affinescriptiser/docs/templates/contractiles/dust/Dustfile.a2ml b/affinescriptiser/docs/templates/contractiles/dust/Dustfile.a2ml index 84d0c083..903af2c3 100644 --- a/affinescriptiser/docs/templates/contractiles/dust/Dustfile.a2ml +++ b/affinescriptiser/docs/templates/contractiles/dust/Dustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Dustfile.a2ml — BLANK TEMPLATE # Replace this with your project's contractile. # See .machine_readable/contractiles/ for a working example. diff --git a/affinescriptiser/docs/templates/contractiles/must/Mustfile.a2ml b/affinescriptiser/docs/templates/contractiles/must/Mustfile.a2ml index ab21b25c..d08796f9 100644 --- a/affinescriptiser/docs/templates/contractiles/must/Mustfile.a2ml +++ b/affinescriptiser/docs/templates/contractiles/must/Mustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Mustfile.a2ml — BLANK TEMPLATE # Replace this with your project's contractile. # See .machine_readable/contractiles/ for a working example. diff --git a/affinescriptiser/docs/templates/contractiles/trust/Trustfile.a2ml b/affinescriptiser/docs/templates/contractiles/trust/Trustfile.a2ml index 0de44cb7..842c6b06 100644 --- a/affinescriptiser/docs/templates/contractiles/trust/Trustfile.a2ml +++ b/affinescriptiser/docs/templates/contractiles/trust/Trustfile.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Trustfile.a2ml — BLANK TEMPLATE # Replace this with your project's contractile. # See .machine_readable/contractiles/ for a working example. diff --git a/affinescriptiser/docs/theory/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/theory/0.2-AI-MANIFEST.a2ml index 3fa9caf4..93df1870 100644 --- a/affinescriptiser/docs/theory/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/theory/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "theory-track" diff --git a/affinescriptiser/docs/theory/computing/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/theory/computing/0.3-AI-MANIFEST.a2ml index c8ad40f2..f387d08e 100644 --- a/affinescriptiser/docs/theory/computing/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/theory/computing/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "theory-unit-computing" diff --git a/affinescriptiser/docs/theory/formalisms/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/theory/formalisms/0.3-AI-MANIFEST.a2ml index 39e4f020..cdc2baa1 100644 --- a/affinescriptiser/docs/theory/formalisms/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/theory/formalisms/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "theory-unit-formalisms" diff --git a/affinescriptiser/docs/theory/mathematics/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/theory/mathematics/0.3-AI-MANIFEST.a2ml index 4fed7fa6..677a4dac 100644 --- a/affinescriptiser/docs/theory/mathematics/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/theory/mathematics/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "theory-unit-mathematics" diff --git a/affinescriptiser/docs/theory/ontologies/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/theory/ontologies/0.3-AI-MANIFEST.a2ml index 2bb0c580..d888cee5 100644 --- a/affinescriptiser/docs/theory/ontologies/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/theory/ontologies/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "theory-unit-ontologies" diff --git a/affinescriptiser/docs/theory/other/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/theory/other/0.3-AI-MANIFEST.a2ml index 8c6f72b1..166ed9e8 100644 --- a/affinescriptiser/docs/theory/other/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/theory/other/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "theory-unit-other" diff --git a/affinescriptiser/docs/theory/socio-technical/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/theory/socio-technical/0.3-AI-MANIFEST.a2ml index d6c68642..89195222 100644 --- a/affinescriptiser/docs/theory/socio-technical/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/theory/socio-technical/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "theory-unit-socio-technical" diff --git a/affinescriptiser/docs/whitepapers/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/whitepapers/0.2-AI-MANIFEST.a2ml index 03685ee4..c936101d 100644 --- a/affinescriptiser/docs/whitepapers/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/whitepapers/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "whitepapers-track" diff --git a/affinescriptiser/docs/whitepapers/academic/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/whitepapers/academic/0.3-AI-MANIFEST.a2ml index 871ec12f..ceb8a1e7 100644 --- a/affinescriptiser/docs/whitepapers/academic/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/whitepapers/academic/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "academic-unit" diff --git a/affinescriptiser/docs/whitepapers/industry/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/whitepapers/industry/0.3-AI-MANIFEST.a2ml index 9217576c..20156dd5 100644 --- a/affinescriptiser/docs/whitepapers/industry/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/whitepapers/industry/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "industry-unit" diff --git a/affinescriptiser/docs/whitepapers/outreach/0.3-AI-MANIFEST.a2ml b/affinescriptiser/docs/whitepapers/outreach/0.3-AI-MANIFEST.a2ml index b851497f..ed7e1529 100644 --- a/affinescriptiser/docs/whitepapers/outreach/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/whitepapers/outreach/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "whitepapers-track-outreach" diff --git a/affinescriptiser/docs/wikis/0.2-AI-MANIFEST.a2ml b/affinescriptiser/docs/wikis/0.2-AI-MANIFEST.a2ml index c1b1411a..f071ca8a 100644 --- a/affinescriptiser/docs/wikis/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/docs/wikis/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "wikis-track" diff --git a/affinescriptiser/eclexiaiser.toml b/affinescriptiser/eclexiaiser.toml index 05ef9321..ec7cbda3 100644 --- a/affinescriptiser/eclexiaiser.toml +++ b/affinescriptiser/eclexiaiser.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # eclexiaiser manifest for affinescriptiser [project] diff --git a/affinescriptiser/examples/wasm-safe/affinescriptiser.toml b/affinescriptiser/examples/wasm-safe/affinescriptiser.toml index 430312d4..c142ba3c 100644 --- a/affinescriptiser/examples/wasm-safe/affinescriptiser.toml +++ b/affinescriptiser/examples/wasm-safe/affinescriptiser.toml @@ -1,5 +1,5 @@ # affinescriptiser manifest — Example: GPU buffer and session token safety -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 [project] name = "wasm-safe" diff --git a/affinescriptiser/examples/wasm-safe/core.rs b/affinescriptiser/examples/wasm-safe/core.rs index 11ca444f..2f7f20de 100644 --- a/affinescriptiser/examples/wasm-safe/core.rs +++ b/affinescriptiser/examples/wasm-safe/core.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Example source file for affinescriptiser — demonstrates resource allocation patterns // that the parser will detect and the affine type system will wrap. diff --git a/affinescriptiser/features/0.1-AI-MANIFEST.a2ml b/affinescriptiser/features/0.1-AI-MANIFEST.a2ml index 3fc432e7..dc3e4ee3 100644 --- a/affinescriptiser/features/0.1-AI-MANIFEST.a2ml +++ b/affinescriptiser/features/0.1-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "features-pillar" diff --git a/affinescriptiser/features/boj-server/0.2-AI-MANIFEST.a2ml b/affinescriptiser/features/boj-server/0.2-AI-MANIFEST.a2ml index 5677138d..c77798cd 100644 --- a/affinescriptiser/features/boj-server/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/features/boj-server/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "feature-unit-boj-server" diff --git a/affinescriptiser/features/panic-attacker/0.2-AI-MANIFEST.a2ml b/affinescriptiser/features/panic-attacker/0.2-AI-MANIFEST.a2ml index 49a83318..e61ad244 100644 --- a/affinescriptiser/features/panic-attacker/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/features/panic-attacker/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "feature-unit-panic-attacker" diff --git a/affinescriptiser/features/ssg/0.2-AI-MANIFEST.a2ml b/affinescriptiser/features/ssg/0.2-AI-MANIFEST.a2ml index 3a40801e..121c5ae2 100644 --- a/affinescriptiser/features/ssg/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/features/ssg/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "feature-unit-ssg" diff --git a/affinescriptiser/features/ssg/ssg-bootstrap.sh b/affinescriptiser/features/ssg/ssg-bootstrap.sh index eda90f00..89c6fa5f 100755 --- a/affinescriptiser/features/ssg/ssg-bootstrap.sh +++ b/affinescriptiser/features/ssg/ssg-bootstrap.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # ssg-bootstrap.sh — Universal SSG Initialisation Helper # diff --git a/affinescriptiser/flake.nix b/affinescriptiser/flake.nix index da78ead3..ded161e3 100644 --- a/affinescriptiser/flake.nix +++ b/affinescriptiser/flake.nix @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}> # # Nix flake for {{PROJECT_NAME}} diff --git a/affinescriptiser/guix.scm b/affinescriptiser/guix.scm index aa88a34f..bf6350c9 100644 --- a/affinescriptiser/guix.scm +++ b/affinescriptiser/guix.scm @@ -1,4 +1,4 @@ -;; SPDX-License-Identifier: PMPL-1.0-or-later +;; SPDX-License-Identifier: MPL-2.0 ;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) ;; ;; Guix package definition for {{PROJECT_NAME}} diff --git a/affinescriptiser/k9iser.toml b/affinescriptiser/k9iser.toml index 1b6f2a9e..b841eb59 100644 --- a/affinescriptiser/k9iser.toml +++ b/affinescriptiser/k9iser.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # k9iser manifest for affinescriptiser diff --git a/affinescriptiser/selur-compose.toml b/affinescriptiser/selur-compose.toml index 6de8af44..e345aeca 100644 --- a/affinescriptiser/selur-compose.toml +++ b/affinescriptiser/selur-compose.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # Stapeln service definition for affinescriptiser diff --git a/affinescriptiser/setup.sh b/affinescriptiser/setup.sh index e02792a6..ed56853d 100755 --- a/affinescriptiser/setup.sh +++ b/affinescriptiser/setup.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # Affinescriptiser — Universal Setup Script diff --git a/affinescriptiser/src/0.1-AI-MANIFEST.a2ml b/affinescriptiser/src/0.1-AI-MANIFEST.a2ml index b8ec5aef..c92e124d 100644 --- a/affinescriptiser/src/0.1-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/0.1-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "source-pillar" diff --git a/affinescriptiser/src/abi/mod.rs b/affinescriptiser/src/abi/mod.rs index e1ede775..33377c6c 100644 --- a/affinescriptiser/src/abi/mod.rs +++ b/affinescriptiser/src/abi/mod.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // ABI module for affinescriptiser — Core type definitions for affine/linear resource tracking, diff --git a/affinescriptiser/src/aspects/0.2-AI-MANIFEST.a2ml b/affinescriptiser/src/aspects/0.2-AI-MANIFEST.a2ml index 872287a5..3d5b209e 100644 --- a/affinescriptiser/src/aspects/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/aspects/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "source-unit-aspects" diff --git a/affinescriptiser/src/aspects/integrity/0.3-AI-MANIFEST.a2ml b/affinescriptiser/src/aspects/integrity/0.3-AI-MANIFEST.a2ml index 7a2bea51..f114cbd2 100644 --- a/affinescriptiser/src/aspects/integrity/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/aspects/integrity/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "aspect-unit-integrity" diff --git a/affinescriptiser/src/aspects/observability/0.3-AI-MANIFEST.a2ml b/affinescriptiser/src/aspects/observability/0.3-AI-MANIFEST.a2ml index d0837d59..e16cbdf9 100644 --- a/affinescriptiser/src/aspects/observability/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/aspects/observability/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "aspect-unit-observability" diff --git a/affinescriptiser/src/aspects/security/0.3-AI-MANIFEST.a2ml b/affinescriptiser/src/aspects/security/0.3-AI-MANIFEST.a2ml index 3512a878..09965363 100644 --- a/affinescriptiser/src/aspects/security/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/aspects/security/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "aspect-unit-security" diff --git a/affinescriptiser/src/bridges/0.2-AI-MANIFEST.a2ml b/affinescriptiser/src/bridges/0.2-AI-MANIFEST.a2ml index 502d4f48..3d3e27a0 100644 --- a/affinescriptiser/src/bridges/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/bridges/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "source-unit-bridges" diff --git a/affinescriptiser/src/codegen/affine_gen.rs b/affinescriptiser/src/codegen/affine_gen.rs index 28908c64..f970b710 100644 --- a/affinescriptiser/src/codegen/affine_gen.rs +++ b/affinescriptiser/src/codegen/affine_gen.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // AffineScript type annotation generator — Takes parsed resource sites and manifest resource @@ -43,7 +43,7 @@ pub fn generate_affine_module( "// AffineScript module generated by affinescriptiser" ) .expect("writing to String is infallible"); - writeln!(source, "// SPDX-License-Identifier: PMPL-1.0-or-later").expect("writing to String is infallible"); + writeln!(source, "// SPDX-License-Identifier: MPL-2.0").expect("writing to String is infallible"); writeln!(source, "// Module: {}", module_name).expect("writing to String is infallible"); writeln!(source).expect("writing to String is infallible"); writeln!(source, "module {} {{", module_name).expect("writing to String is infallible"); diff --git a/affinescriptiser/src/codegen/mod.rs b/affinescriptiser/src/codegen/mod.rs index 17ebceab..1e135063 100644 --- a/affinescriptiser/src/codegen/mod.rs +++ b/affinescriptiser/src/codegen/mod.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Codegen orchestrator for affinescriptiser — Coordinates the three-phase code generation diff --git a/affinescriptiser/src/codegen/parser.rs b/affinescriptiser/src/codegen/parser.rs index ccdf9d3b..bf7bf7d3 100644 --- a/affinescriptiser/src/codegen/parser.rs +++ b/affinescriptiser/src/codegen/parser.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Source parser for affinescriptiser — Scans source files (Rust, C, Zig) to identify call sites diff --git a/affinescriptiser/src/codegen/wasm_gen.rs b/affinescriptiser/src/codegen/wasm_gen.rs index 33cedd55..ef09e339 100644 --- a/affinescriptiser/src/codegen/wasm_gen.rs +++ b/affinescriptiser/src/codegen/wasm_gen.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // WASM generation module for affinescriptiser — Produces WASM compilation configuration files @@ -49,7 +49,7 @@ fn generate_build_config(config: &WasmConfig, module_name: &str) -> String { "# WASM build configuration generated by affinescriptiser" ) .expect("writing to String is infallible"); - writeln!(out, "# SPDX-License-Identifier: PMPL-1.0-or-later").expect("writing to String is infallible"); + writeln!(out, "# SPDX-License-Identifier: MPL-2.0").expect("writing to String is infallible"); writeln!(out).expect("writing to String is infallible"); writeln!(out, "[build]").expect("writing to String is infallible"); writeln!(out, "module = \"{}\"", module_name).expect("writing to String is infallible"); @@ -89,7 +89,7 @@ fn generate_entry_point(affine_module: &AffineModule) -> String { let mut out = String::new(); writeln!(out, "// WASM entry point generated by affinescriptiser").expect("writing to String is infallible"); - writeln!(out, "// SPDX-License-Identifier: PMPL-1.0-or-later").expect("writing to String is infallible"); + writeln!(out, "// SPDX-License-Identifier: MPL-2.0").expect("writing to String is infallible"); writeln!(out).expect("writing to String is infallible"); writeln!( out, diff --git a/affinescriptiser/src/contracts/0.2-AI-MANIFEST.a2ml b/affinescriptiser/src/contracts/0.2-AI-MANIFEST.a2ml index 8e9026c7..0bd9198f 100644 --- a/affinescriptiser/src/contracts/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/contracts/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "source-unit-contracts" diff --git a/affinescriptiser/src/core/0.2-AI-MANIFEST.a2ml b/affinescriptiser/src/core/0.2-AI-MANIFEST.a2ml index 097b8e86..22846c78 100644 --- a/affinescriptiser/src/core/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/core/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "source-unit-core" diff --git a/affinescriptiser/src/definitions/0.2-AI-MANIFEST.a2ml b/affinescriptiser/src/definitions/0.2-AI-MANIFEST.a2ml index a2c573f5..e54f4dab 100644 --- a/affinescriptiser/src/definitions/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/definitions/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "source-unit-definitions" diff --git a/affinescriptiser/src/errors/0.2-AI-MANIFEST.a2ml b/affinescriptiser/src/errors/0.2-AI-MANIFEST.a2ml index c25c68a2..dddcc6c4 100644 --- a/affinescriptiser/src/errors/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/errors/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "source-unit-errors" diff --git a/affinescriptiser/src/interface/0.2-AI-MANIFEST.a2ml b/affinescriptiser/src/interface/0.2-AI-MANIFEST.a2ml index 7afd897b..7f0f471b 100644 --- a/affinescriptiser/src/interface/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/interface/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "interface-seams-unit" diff --git a/affinescriptiser/src/interface/abi/0.3-AI-MANIFEST.a2ml b/affinescriptiser/src/interface/abi/0.3-AI-MANIFEST.a2ml index f547a7c9..91cafa01 100644 --- a/affinescriptiser/src/interface/abi/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/interface/abi/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "abi-logic" diff --git a/affinescriptiser/src/interface/abi/Foreign.idr b/affinescriptiser/src/interface/abi/Foreign.idr index ed4c761c..f8550bb2 100644 --- a/affinescriptiser/src/interface/abi/Foreign.idr +++ b/affinescriptiser/src/interface/abi/Foreign.idr @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) -- ||| Foreign Function Interface Declarations for Affinescriptiser diff --git a/affinescriptiser/src/interface/abi/Layout.idr b/affinescriptiser/src/interface/abi/Layout.idr index a7b5566c..aabdb621 100644 --- a/affinescriptiser/src/interface/abi/Layout.idr +++ b/affinescriptiser/src/interface/abi/Layout.idr @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) -- ||| WASM Memory Layout Proofs for Affinescriptiser diff --git a/affinescriptiser/src/interface/abi/Types.idr b/affinescriptiser/src/interface/abi/Types.idr index 93ebebab..ce1bf98a 100644 --- a/affinescriptiser/src/interface/abi/Types.idr +++ b/affinescriptiser/src/interface/abi/Types.idr @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) -- ||| ABI Type Definitions for Affinescriptiser diff --git a/affinescriptiser/src/interface/ffi/0.3-AI-MANIFEST.a2ml b/affinescriptiser/src/interface/ffi/0.3-AI-MANIFEST.a2ml index 3e2bf8fa..bf456ae2 100644 --- a/affinescriptiser/src/interface/ffi/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/interface/ffi/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "ffi-logic" diff --git a/affinescriptiser/src/interface/ffi/build.zig b/affinescriptiser/src/interface/ffi/build.zig index 03f1f09d..6ec12953 100644 --- a/affinescriptiser/src/interface/ffi/build.zig +++ b/affinescriptiser/src/interface/ffi/build.zig @@ -1,5 +1,5 @@ // Affinescriptiser FFI Build Configuration -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) const std = @import("std"); diff --git a/affinescriptiser/src/interface/ffi/src/0.4-AI-MANIFEST.a2ml b/affinescriptiser/src/interface/ffi/src/0.4-AI-MANIFEST.a2ml index ebc882dc..5b5f1b1e 100644 --- a/affinescriptiser/src/interface/ffi/src/0.4-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/interface/ffi/src/0.4-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "src-unit" diff --git a/affinescriptiser/src/interface/ffi/src/main.zig b/affinescriptiser/src/interface/ffi/src/main.zig index ecf90f18..f35c7add 100644 --- a/affinescriptiser/src/interface/ffi/src/main.zig +++ b/affinescriptiser/src/interface/ffi/src/main.zig @@ -6,7 +6,7 @@ // // All types and layouts must match the Idris2 ABI definitions in Types.idr and Layout.idr. // -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) const std = @import("std"); diff --git a/affinescriptiser/src/interface/ffi/test/0.4-AI-MANIFEST.a2ml b/affinescriptiser/src/interface/ffi/test/0.4-AI-MANIFEST.a2ml index b6ea3818..e02427f8 100644 --- a/affinescriptiser/src/interface/ffi/test/0.4-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/interface/ffi/test/0.4-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "test-unit" diff --git a/affinescriptiser/src/interface/ffi/test/integration_test.zig b/affinescriptiser/src/interface/ffi/test/integration_test.zig index 5526962c..80766a37 100644 --- a/affinescriptiser/src/interface/ffi/test/integration_test.zig +++ b/affinescriptiser/src/interface/ffi/test/integration_test.zig @@ -1,5 +1,5 @@ // Affinescriptiser Integration Tests -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // These tests verify that the Zig FFI correctly implements the Idris2 ABI diff --git a/affinescriptiser/src/interface/generated/0.3-AI-MANIFEST.a2ml b/affinescriptiser/src/interface/generated/0.3-AI-MANIFEST.a2ml index 1a97b441..0088b80c 100644 --- a/affinescriptiser/src/interface/generated/0.3-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/interface/generated/0.3-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "generated-logic" diff --git a/affinescriptiser/src/interface/generated/abi/0.4-AI-MANIFEST.a2ml b/affinescriptiser/src/interface/generated/abi/0.4-AI-MANIFEST.a2ml index 28a5ea7c..4eeb5808 100644 --- a/affinescriptiser/src/interface/generated/abi/0.4-AI-MANIFEST.a2ml +++ b/affinescriptiser/src/interface/generated/abi/0.4-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "abi-unit" diff --git a/affinescriptiser/src/lib.rs b/affinescriptiser/src/lib.rs index ab8ef5d2..7710ce2b 100644 --- a/affinescriptiser/src/lib.rs +++ b/affinescriptiser/src/lib.rs @@ -6,7 +6,7 @@ clippy::if_same_then_else, clippy::vec_init_then_push )] -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // affinescriptiser library — Public API for embedding affinescriptiser's analysis and diff --git a/affinescriptiser/src/main.rs b/affinescriptiser/src/main.rs index 9a2cf856..eb840b81 100644 --- a/affinescriptiser/src/main.rs +++ b/affinescriptiser/src/main.rs @@ -6,7 +6,7 @@ clippy::vec_init_then_push )] #![forbid(unsafe_code)] -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // affinescriptiser CLI — Wrap existing code in affine + dependent types targeting WASM diff --git a/affinescriptiser/src/manifest/mod.rs b/affinescriptiser/src/manifest/mod.rs index fe2ec638..288820a9 100644 --- a/affinescriptiser/src/manifest/mod.rs +++ b/affinescriptiser/src/manifest/mod.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Manifest module for affinescriptiser — Parses and validates the affinescriptiser.toml manifest, @@ -177,7 +177,7 @@ pub fn init_manifest(path: &str) -> Result<()> { anyhow::bail!("affinescriptiser.toml already exists at {}", p.display()); } let template = r#"# affinescriptiser manifest — Wrap code in affine + dependent types targeting WASM -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 [project] name = "wasm-safe" diff --git a/affinescriptiser/stapeln.toml b/affinescriptiser/stapeln.toml index 6b547a67..6ee0e964 100644 --- a/affinescriptiser/stapeln.toml +++ b/affinescriptiser/stapeln.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # stapeln.toml — Layer-based container build for affinescriptiser # # stapeln builds containers as composable layers (German: "to stack"). diff --git a/affinescriptiser/tests/integration_tests.rs b/affinescriptiser/tests/integration_tests.rs index 8a6f802f..c386456f 100644 --- a/affinescriptiser/tests/integration_tests.rs +++ b/affinescriptiser/tests/integration_tests.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Integration tests for affinescriptiser — Validates the full pipeline from manifest parsing diff --git a/affinescriptiser/verification/0.1-AI-MANIFEST.a2ml b/affinescriptiser/verification/0.1-AI-MANIFEST.a2ml index 39b370fc..3435bdb4 100644 --- a/affinescriptiser/verification/0.1-AI-MANIFEST.a2ml +++ b/affinescriptiser/verification/0.1-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "verification-pillar" diff --git a/affinescriptiser/verification/benchmarks/0.2-AI-MANIFEST.a2ml b/affinescriptiser/verification/benchmarks/0.2-AI-MANIFEST.a2ml index 64163094..d922a4c7 100644 --- a/affinescriptiser/verification/benchmarks/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/verification/benchmarks/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "benches-pillar" diff --git a/affinescriptiser/verification/coverage/0.2-AI-MANIFEST.a2ml b/affinescriptiser/verification/coverage/0.2-AI-MANIFEST.a2ml index fc15bd3c..32b819e4 100644 --- a/affinescriptiser/verification/coverage/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/verification/coverage/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "verification-unit-coverage" diff --git a/affinescriptiser/verification/fuzzing/0.2-AI-MANIFEST.a2ml b/affinescriptiser/verification/fuzzing/0.2-AI-MANIFEST.a2ml index 79c4feff..5178d400 100644 --- a/affinescriptiser/verification/fuzzing/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/verification/fuzzing/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "fuzzing-unit" diff --git a/affinescriptiser/verification/proofs/0.2-AI-MANIFEST.a2ml b/affinescriptiser/verification/proofs/0.2-AI-MANIFEST.a2ml index 0e5666ff..135e181b 100644 --- a/affinescriptiser/verification/proofs/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/verification/proofs/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "verification-unit-proofs" diff --git a/affinescriptiser/verification/safety_case/0.2-AI-MANIFEST.a2ml b/affinescriptiser/verification/safety_case/0.2-AI-MANIFEST.a2ml index 818fba43..d461915b 100644 --- a/affinescriptiser/verification/safety_case/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/verification/safety_case/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "verification-unit-safety_case" diff --git a/affinescriptiser/verification/simulations/0.2-AI-MANIFEST.a2ml b/affinescriptiser/verification/simulations/0.2-AI-MANIFEST.a2ml index f40fc1cc..f890ecac 100644 --- a/affinescriptiser/verification/simulations/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/verification/simulations/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "simulations-unit" diff --git a/affinescriptiser/verification/traceability/0.2-AI-MANIFEST.a2ml b/affinescriptiser/verification/traceability/0.2-AI-MANIFEST.a2ml index defa1251..96677665 100644 --- a/affinescriptiser/verification/traceability/0.2-AI-MANIFEST.a2ml +++ b/affinescriptiser/verification/traceability/0.2-AI-MANIFEST.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 --- ### [META] id: "verification-unit-traceability" diff --git a/bin/main.ml b/bin/main.ml index 499094ab..f54cd2cf 100644 --- a/bin/main.ml +++ b/bin/main.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** AffineScript compiler CLI diff --git a/distributions/rattlescript/Cargo.toml b/distributions/rattlescript/Cargo.toml index 32c6e291..3b8bfc7b 100644 --- a/distributions/rattlescript/Cargo.toml +++ b/distributions/rattlescript/Cargo.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) [package] diff --git a/distributions/rattlescript/README.adoc b/distributions/rattlescript/README.adoc index 1a418e7b..85f038bb 100644 --- a/distributions/rattlescript/README.adoc +++ b/distributions/rattlescript/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) = RattleScript :toc: diff --git a/distributions/rattlescript/build.rs b/distributions/rattlescript/build.rs index 6e14b161..5c6d3952 100644 --- a/distributions/rattlescript/build.rs +++ b/distributions/rattlescript/build.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! build.rs — detect or require the `affinescript` binary path. diff --git a/distributions/rattlescript/examples/hello.rattle b/distributions/rattlescript/examples/hello.rattle index 5f02f4f9..93fbbe44 100644 --- a/distributions/rattlescript/examples/hello.rattle +++ b/distributions/rattlescript/examples/hello.rattle @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) # RattleScript — Hello World diff --git a/distributions/rattlescript/examples/ownership.rattle b/distributions/rattlescript/examples/ownership.rattle index b97ed0dd..4014af2a 100644 --- a/distributions/rattlescript/examples/ownership.rattle +++ b/distributions/rattlescript/examples/ownership.rattle @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) # RattleScript — Ownership demo diff --git a/distributions/rattlescript/justfile b/distributions/rattlescript/justfile index 87905e6c..b52ddfe3 100644 --- a/distributions/rattlescript/justfile +++ b/distributions/rattlescript/justfile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) # RattleScript distribution justfile. diff --git a/distributions/rattlescript/src/main.rs b/distributions/rattlescript/src/main.rs index 55003923..f7ce11fd 100644 --- a/distributions/rattlescript/src/main.rs +++ b/distributions/rattlescript/src/main.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! RattleScript CLI — thin distribution wrapper around AffineScript with diff --git a/docs/CAPABILITY-MATRIX.adoc b/docs/CAPABILITY-MATRIX.adoc index 9aa1d945..b5014105 100644 --- a/docs/CAPABILITY-MATRIX.adoc +++ b/docs/CAPABILITY-MATRIX.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 hyperpolymath = AffineScript Capability Matrix :toc: macro diff --git a/docs/DESIGN-VISION.adoc b/docs/DESIGN-VISION.adoc index c29d0b66..0d0e5432 100644 --- a/docs/DESIGN-VISION.adoc +++ b/docs/DESIGN-VISION.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = AffineScript: Design Vision Jonathan D.A. Jewell :toc: diff --git a/docs/ECOSYSTEM.adoc b/docs/ECOSYSTEM.adoc index 4d599326..bd70c715 100644 --- a/docs/ECOSYSTEM.adoc +++ b/docs/ECOSYSTEM.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 hyperpolymath = AffineScript Ecosystem, Spine, and the typed-wasm Contract :toc: macro diff --git a/docs/PACKAGING.adoc b/docs/PACKAGING.adoc index 6448ef21..c9840289 100644 --- a/docs/PACKAGING.adoc +++ b/docs/PACKAGING.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath = AffineScript Packaging & Distribution (INT-04) :toc: macro diff --git a/docs/README.adoc b/docs/README.adoc index 94169a72..7ce63789 100644 --- a/docs/README.adoc +++ b/docs/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 Hyperpolymath Contributors = AffineScript Documentation Directory diff --git a/docs/RESCRIPT-ELIMINATION.adoc b/docs/RESCRIPT-ELIMINATION.adoc index f0f6bae6..3d510f2e 100644 --- a/docs/RESCRIPT-ELIMINATION.adoc +++ b/docs/RESCRIPT-ELIMINATION.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 hyperpolymath = Estate ReScript-surface elimination — authoritative ledger (issue #229) :toc: macro diff --git a/docs/TECH-DEBT.adoc b/docs/TECH-DEBT.adoc index 1b929437..2684d8a3 100644 --- a/docs/TECH-DEBT.adoc +++ b/docs/TECH-DEBT.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 hyperpolymath = AffineScript Coordination Ledger (TECH-DEBT) :toc: macro diff --git a/docs/academic/formal-verification/solo-core/Context.idr b/docs/academic/formal-verification/solo-core/Context.idr index e2ca28b1..191637b3 100644 --- a/docs/academic/formal-verification/solo-core/Context.idr +++ b/docs/academic/formal-verification/solo-core/Context.idr @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell -- -- QTT-style typing contexts for the Solo core. diff --git a/docs/academic/formal-verification/solo-core/Quantity.idr b/docs/academic/formal-verification/solo-core/Quantity.idr index 128140bf..c0b733c1 100644 --- a/docs/academic/formal-verification/solo-core/Quantity.idr +++ b/docs/academic/formal-verification/solo-core/Quantity.idr @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell -- -- Quantity semiring for the AffineScript Solo core. diff --git a/docs/academic/formal-verification/solo-core/README.adoc b/docs/academic/formal-verification/solo-core/README.adoc index c2fcb908..6d18d1fc 100644 --- a/docs/academic/formal-verification/solo-core/README.adoc +++ b/docs/academic/formal-verification/solo-core/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell = Solo Core — Idris2 Mechanization diff --git a/docs/academic/formal-verification/solo-core/Soundness.idr b/docs/academic/formal-verification/solo-core/Soundness.idr index 3f658586..112272ab 100644 --- a/docs/academic/formal-verification/solo-core/Soundness.idr +++ b/docs/academic/formal-verification/solo-core/Soundness.idr @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell -- -- Statements of the soundness theorems for the Solo core. diff --git a/docs/academic/formal-verification/solo-core/Syntax.idr b/docs/academic/formal-verification/solo-core/Syntax.idr index 68cd8b2b..701cefce 100644 --- a/docs/academic/formal-verification/solo-core/Syntax.idr +++ b/docs/academic/formal-verification/solo-core/Syntax.idr @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell -- -- Syntax of the Solo core of AffineScript. diff --git a/docs/academic/formal-verification/solo-core/Typing.idr b/docs/academic/formal-verification/solo-core/Typing.idr index 1811b50e..5aa9036a 100644 --- a/docs/academic/formal-verification/solo-core/Typing.idr +++ b/docs/academic/formal-verification/solo-core/Typing.idr @@ -1,4 +1,4 @@ --- SPDX-License-Identifier: PMPL-1.0-or-later +-- SPDX-License-Identifier: MPL-2.0 -- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell -- -- QTT typing judgement for the Solo core. diff --git a/docs/governance/CODE_OF_CONDUCT.md b/docs/governance/CODE_OF_CONDUCT.md index c32021ad..1f1548ca 100644 --- a/docs/governance/CODE_OF_CONDUCT.md +++ b/docs/governance/CODE_OF_CONDUCT.md @@ -1,4 +1,4 @@ - + # Contributor Covenant Code of Conduct ## Our Pledge diff --git a/docs/governance/CONTRIBUTING.adoc b/docs/governance/CONTRIBUTING.adoc index c73e96ff..1f34e602 100644 --- a/docs/governance/CONTRIBUTING.adoc +++ b/docs/governance/CONTRIBUTING.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Contributing Guide == Getting Started diff --git a/docs/governance/MAINTAINERS.adoc b/docs/governance/MAINTAINERS.adoc index ac120fa4..a1c65443 100644 --- a/docs/governance/MAINTAINERS.adoc +++ b/docs/governance/MAINTAINERS.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Maintainers :toc: preamble diff --git a/docs/guides/TESTING-REPORT.scm b/docs/guides/TESTING-REPORT.scm index d291eec0..be0004fd 100644 --- a/docs/guides/TESTING-REPORT.scm +++ b/docs/guides/TESTING-REPORT.scm @@ -1,4 +1,4 @@ -;; SPDX-License-Identifier: PMPL-1.0-or-later +;; SPDX-License-Identifier: MPL-2.0 ;; AffineScript Testing Report - Machine-Readable Format ;; Generated: 2025-12-29 diff --git a/docs/guides/effects-migration-stance.adoc b/docs/guides/effects-migration-stance.adoc index 8d8287fa..95a4b61f 100644 --- a/docs/guides/effects-migration-stance.adoc +++ b/docs/guides/effects-migration-stance.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = AffineScript: Effects Migration Stance :author: Jonathan D.A. Jewell (hyperpolymath) :revdate: 2026-05-02 diff --git a/docs/guides/frontier-guide.adoc b/docs/guides/frontier-guide.adoc index 2a000e13..a0f2f88e 100644 --- a/docs/guides/frontier-guide.adoc +++ b/docs/guides/frontier-guide.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = AffineScript Frontier Guide: The Unveiling Jonathan D.A. Jewell v1.0, 2026-04-11 diff --git a/docs/guides/lessons/migrations/idaptik-hitbox.adoc b/docs/guides/lessons/migrations/idaptik-hitbox.adoc index e3626fa5..0d7e25f8 100644 --- a/docs/guides/lessons/migrations/idaptik-hitbox.adoc +++ b/docs/guides/lessons/migrations/idaptik-hitbox.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) = Migration Lesson: idaptik `Hitbox.res` → `Hitbox.affine` :revdate: 2026-05-02 diff --git a/docs/guides/lessons/migrations/idaptik-player-hp.adoc b/docs/guides/lessons/migrations/idaptik-player-hp.adoc index c4d2a8b5..321b0a48 100644 --- a/docs/guides/lessons/migrations/idaptik-player-hp.adoc +++ b/docs/guides/lessons/migrations/idaptik-player-hp.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) = Migration Lesson: idaptik `PlayerHP.res` → `PlayerHP.affine` :revdate: 2026-05-02 diff --git a/docs/guides/lessons/migrations/idaptik-user-settings.adoc b/docs/guides/lessons/migrations/idaptik-user-settings.adoc index b8efc71a..08c8086a 100644 --- a/docs/guides/lessons/migrations/idaptik-user-settings.adoc +++ b/docs/guides/lessons/migrations/idaptik-user-settings.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) = Migration Lesson: idaptik `UserSettings.res` → `UserSettings.affine` (design-only) :revdate: 2026-05-02 diff --git a/docs/guides/migration-playbook.adoc b/docs/guides/migration-playbook.adoc index b5baca74..c1b4844c 100644 --- a/docs/guides/migration-playbook.adoc +++ b/docs/guides/migration-playbook.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) = AffineScript Migration Playbook: Re-decomposition Patterns Jonathan D.A. Jewell diff --git a/docs/guides/warmup/01_basics.affine b/docs/guides/warmup/01_basics.affine index bef9ed20..469aad6d 100644 --- a/docs/guides/warmup/01_basics.affine +++ b/docs/guides/warmup/01_basics.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Warmup 01: Basic AffineScript — let bindings, literals, functions // // Try running each section with: diff --git a/docs/guides/warmup/02_ownership.affine b/docs/guides/warmup/02_ownership.affine index e2a68782..6f340f5a 100644 --- a/docs/guides/warmup/02_ownership.affine +++ b/docs/guides/warmup/02_ownership.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Warmup 02: Ownership and affine types // // AffineScript's key insight: resources can only be used once by default. diff --git a/docs/guides/warmup/03_effects.affine b/docs/guides/warmup/03_effects.affine index c0764170..8b62be68 100644 --- a/docs/guides/warmup/03_effects.affine +++ b/docs/guides/warmup/03_effects.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Warmup 03: Algebraic effects // // Effects are AffineScript's unified model for anything "impure": diff --git a/docs/guides/warmup/04_rows.affine b/docs/guides/warmup/04_rows.affine index 28ab2201..fd54e94d 100644 --- a/docs/guides/warmup/04_rows.affine +++ b/docs/guides/warmup/04_rows.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Warmup 04: Row polymorphism // // Row polymorphism lets you write functions that work on any record with at diff --git a/docs/guides/warmup/README.adoc b/docs/guides/warmup/README.adoc index aa701d15..22d9bc18 100644 --- a/docs/guides/warmup/README.adoc +++ b/docs/guides/warmup/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = AffineScript Warmup Scripts :toc: :icons: font diff --git a/docs/history/REPLY-SUM-TYPES.md b/docs/history/REPLY-SUM-TYPES.md index 2de43267..e2d6ed2c 100644 --- a/docs/history/REPLY-SUM-TYPES.md +++ b/docs/history/REPLY-SUM-TYPES.md @@ -1,4 +1,4 @@ - + # Reply to REPORT-SUM-TYPES.md — Sum Types Already Implemented **Date:** 2026-03-21 diff --git a/docs/history/SESSION-HANDOFF-2026-05-18.md b/docs/history/SESSION-HANDOFF-2026-05-18.md index b7590e0a..674c36c5 100644 --- a/docs/history/SESSION-HANDOFF-2026-05-18.md +++ b/docs/history/SESSION-HANDOFF-2026-05-18.md @@ -1,4 +1,4 @@ - + # Session handoff — #135 stdlib AOT (note for the next Claude) diff --git a/docs/history/SESSION-HANDOFF-2026-05-18b.md b/docs/history/SESSION-HANDOFF-2026-05-18b.md index 72de1209..21649f6f 100644 --- a/docs/history/SESSION-HANDOFF-2026-05-18b.md +++ b/docs/history/SESSION-HANDOFF-2026-05-18b.md @@ -1,4 +1,4 @@ - + # Session handoff (b) — #128/#135 stdlib AOT, continued diff --git a/docs/history/STDLIB-AOT-TRIAGE.md b/docs/history/STDLIB-AOT-TRIAGE.md index 42fa0763..21776a1c 100644 --- a/docs/history/STDLIB-AOT-TRIAGE.md +++ b/docs/history/STDLIB-AOT-TRIAGE.md @@ -1,4 +1,4 @@ - + # Stdlib AOT triage — #135 punch list diff --git a/docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.a2ml b/docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.a2ml index c9f3512f..400b5723 100644 --- a/docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.a2ml +++ b/docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.a2ml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Machine-readable session summary: typed-wasm Level 10 CLI closure + # three codegen bug fixes. Bot-primary doc per A2ML standard; see the # .adoc companion for human narrative. diff --git a/docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.adoc b/docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.adoc index 46b098cd..a8df1eb6 100644 --- a/docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.adoc +++ b/docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = typed-wasm Level 10 CLI closure + three codegen bug fixes :toc: :date: 2026-04-19 diff --git a/docs/specs/SETTLED-DECISIONS.adoc b/docs/specs/SETTLED-DECISIONS.adoc index b1433360..f117fd6a 100644 --- a/docs/specs/SETTLED-DECISIONS.adoc +++ b/docs/specs/SETTLED-DECISIONS.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = AffineScript: Settled Design Decisions Jonathan D.A. Jewell :toc: diff --git a/docs/specs/SPEC.adoc b/docs/specs/SPEC.adoc index fbe39de7..85f826ec 100644 --- a/docs/specs/SPEC.adoc +++ b/docs/specs/SPEC.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = AffineScript Language Specification v0.1 :toc: macro :toclevels: 2 diff --git a/docs/specs/affex-spec.adoc b/docs/specs/affex-spec.adoc index 66e03488..5f3ca634 100644 --- a/docs/specs/affex-spec.adoc +++ b/docs/specs/affex-spec.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = `.affex` — AffineScript Face-Interop Manifest Specification v0.1 :toc: macro :toclevels: 2 diff --git a/docs/specs/async-on-wasm-cps.adoc b/docs/specs/async-on-wasm-cps.adoc index 6ba0de3a..335bbaca 100644 --- a/docs/specs/async-on-wasm-cps.adoc +++ b/docs/specs/async-on-wasm-cps.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Async on the WasmGC backend: transparent CPS continuation transform Jonathan D.A. Jewell :toc: diff --git a/docs/specs/codegen-environment.adoc b/docs/specs/codegen-environment.adoc index 9538ce78..dc574a2c 100644 --- a/docs/specs/codegen-environment.adoc +++ b/docs/specs/codegen-environment.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = Codegen Environment — WebAssembly Realisation of SPEC §8 :toc: macro :toclevels: 3 diff --git a/docs/specs/faces.adoc b/docs/specs/faces.adoc index 6dc63042..e15fd5af 100644 --- a/docs/specs/faces.adoc +++ b/docs/specs/faces.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) = AffineScript Faces — Design & Implementation Reference :toc: macro diff --git a/docs/standards/PALIMPSEST.adoc b/docs/standards/PALIMPSEST.adoc index e40e76c1..84c84825 100644 --- a/docs/standards/PALIMPSEST.adoc +++ b/docs/standards/PALIMPSEST.adoc @@ -26,7 +26,7 @@ ethical-use, provenance, and lineage requirements. 1. Include the PMPL-1.0 license text in `LICENSE`. 2. Add SPDX headers to source files: - `SPDX-License-Identifier: PMPL-1.0-or-later` + `SPDX-License-Identifier: MPL-2.0` 3. Add a Palimpsest badge to your README (see `assets/badges/` and `embed/license-blocks/`). == Versioning diff --git a/docs/vision/AFFINESCRIPT-VISION.adoc b/docs/vision/AFFINESCRIPT-VISION.adoc index 0052e9be..6673ff92 100644 --- a/docs/vision/AFFINESCRIPT-VISION.adoc +++ b/docs/vision/AFFINESCRIPT-VISION.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = AffineScript: Design Vision Jonathan D.A. Jewell :toc: diff --git a/dune-project b/dune-project deleted file mode 120000 index 7c2a0843..00000000 --- a/dune-project +++ /dev/null @@ -1 +0,0 @@ -.build/dune-project \ No newline at end of file diff --git a/dune-project b/dune-project new file mode 100644 index 00000000..40c9430b --- /dev/null +++ b/dune-project @@ -0,0 +1,44 @@ +(lang dune 3.14) + +(using menhir 3.0) + +(name affinescript) + +(version 0.1.1) + +(generate_opam_files true) + +(source + (github hyperpolymath/affinescript)) + +(authors "hyperpolymath") + +(maintainers "hyperpolymath") + +(license "MPL-2.0") + +(documentation https://github.com/hyperpolymath/affinescript) + +(package + (name affinescript) + (synopsis "A programming language with affine types, dependent types, row polymorphism, and extensible effects") + (description + "AffineScript combines Rust-style ownership (affine types), compile-time size verification (dependent types), extensible records (row polymorphism), and trackable side effects (extensible effects). It compiles to WebAssembly for efficient, portable execution.") + (depends + (ocaml (>= 4.14)) + (dune (>= 3.14)) + (menhir (>= 20231231)) + (sedlex (>= 3.2)) + (ppx_deriving (>= 5.2)) + (ppx_sexp_conv (>= 0.16)) + (sexplib0 (>= 0.16)) + (fmt (>= 0.9)) + (cmdliner (>= 1.2)) + (yojson (>= 2.1)) + (alcotest (and (>= 1.7) :with-test)) + (odoc (and (>= 2.4) :with-doc)) + (js_of_ocaml (>= 5.0)) + (js_of_ocaml-ppx (>= 5.0)) + (ocamlformat (and (>= 0.26) :with-test))) + (tags + (programming-language compiler webassembly affine-types dependent-types row-polymorphism effects ocaml))) diff --git a/editors/tree-sitter-affinescript/queries/highlights.scm b/editors/tree-sitter-affinescript/queries/highlights.scm index 38cf701e..b35ea787 100644 --- a/editors/tree-sitter-affinescript/queries/highlights.scm +++ b/editors/tree-sitter-affinescript/queries/highlights.scm @@ -1,4 +1,4 @@ -; SPDX-License-Identifier: PMPL-1.0-or-later +; SPDX-License-Identifier: MPL-2.0 ; Syntax highlighting queries for AffineScript ; Keywords diff --git a/examples/comprehensive_test.affine b/examples/comprehensive_test.affine index 80448d04..635c996a 100644 --- a/examples/comprehensive_test.affine +++ b/examples/comprehensive_test.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Comprehensive parser/typecheck example struct Vec2 { diff --git a/examples/counter.afs b/examples/counter.afs index e6f7219b..21dac0f9 100644 --- a/examples/counter.afs +++ b/examples/counter.afs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025-2026 hyperpolymath // // AffineScript TEA counter — Stage 3c dogfood diff --git a/examples/effects.affine b/examples/effects.affine index eca189b1..cfe0dfe0 100644 --- a/examples/effects.affine +++ b/examples/effects.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Effect declarations and annotations (parser-compatible example) effect IO { diff --git a/examples/exception_test.affine b/examples/exception_test.affine index 18e1abbd..864816a0 100644 --- a/examples/exception_test.affine +++ b/examples/exception_test.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // try/catch/finally example (parser-compatible) fn full_try(x: Int) -> Int { diff --git a/examples/lessons/01_hello.affine b/examples/lessons/01_hello.affine index 1396025e..433a2a0b 100644 --- a/examples/lessons/01_hello.affine +++ b/examples/lessons/01_hello.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Lesson 1: Hello AffineScript - Interactive Examples diff --git a/examples/ownership.affine b/examples/ownership.affine index d38f8d1a..158988ea 100644 --- a/examples/ownership.affine +++ b/examples/ownership.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Ownership and borrowing (parser-compatible example) fn takes_owned(x: own String) -> () = (); diff --git a/examples/rows.affine b/examples/rows.affine index 2f76f3d1..066c4136 100644 --- a/examples/rows.affine +++ b/examples/rows.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Record/row building blocks (parser-compatible example) struct Point2D { diff --git a/examples/simple_test.affine b/examples/simple_test.affine index f79054ee..f29d3e16 100644 --- a/examples/simple_test.affine +++ b/examples/simple_test.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Simple test for the interpreter fn add(x: Int, y: Int) -> Int { diff --git a/examples/titlescreen.afs b/examples/titlescreen.afs index 66483fcc..9046325c 100644 --- a/examples/titlescreen.afs +++ b/examples/titlescreen.afs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025-2026 hyperpolymath // // AffineScript TEA TitleScreen — Stage 3d dogfood diff --git a/examples/traits.affine b/examples/traits.affine index 510cb65f..29630dd7 100644 --- a/examples/traits.affine +++ b/examples/traits.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Trait declarations and impls (parser-compatible example) trait Eq { diff --git a/examples/typecheck_complete_test.affine b/examples/typecheck_complete_test.affine index 7e141091..c5da1d75 100644 --- a/examples/typecheck_complete_test.affine +++ b/examples/typecheck_complete_test.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Type-checker complete-path sample (parser-compatible) type Alias = Int; diff --git a/examples/typecheck_features_test.affine b/examples/typecheck_features_test.affine index 934cfe71..0377fa90 100644 --- a/examples/typecheck_features_test.affine +++ b/examples/typecheck_features_test.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Feature sample for parser + type checker effect IO { diff --git a/examples/vscode_extension_minimal.affine b/examples/vscode_extension_minimal.affine index e3341d99..3d5316c0 100644 --- a/examples/vscode_extension_minimal.affine +++ b/examples/vscode_extension_minimal.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Minimal demonstration of issue #35 Phase 2 — a VS Code extension diff --git a/ffi/zig/build.zig b/ffi/zig/build.zig index c2081bdb..4a2e049a 100644 --- a/ffi/zig/build.zig +++ b/ffi/zig/build.zig @@ -1,5 +1,5 @@ // {{PROJECT}} FFI Build Configuration -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 const std = @import("std"); diff --git a/ffi/zig/src/main.zig b/ffi/zig/src/main.zig index 26a158b4..6b233bc7 100644 --- a/ffi/zig/src/main.zig +++ b/ffi/zig/src/main.zig @@ -3,7 +3,7 @@ // This module implements the C-compatible FFI declared in src/abi/Foreign.idr // All types and layouts must match the Idris2 ABI definitions. // -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 const std = @import("std"); diff --git a/ffi/zig/test/integration_test.zig b/ffi/zig/test/integration_test.zig index d66a3025..03419949 100644 --- a/ffi/zig/test/integration_test.zig +++ b/ffi/zig/test/integration_test.zig @@ -1,5 +1,5 @@ // {{PROJECT}} Integration Tests -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // // These tests verify that the Zig FFI correctly implements the Idris2 ABI diff --git a/hooks/validate-codeql.sh b/hooks/validate-codeql.sh index c435189d..15b52c3d 100755 --- a/hooks/validate-codeql.sh +++ b/hooks/validate-codeql.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Pre-commit hook: Validate CodeQL language matrix matches repo set -euo pipefail diff --git a/hooks/validate-permissions.sh b/hooks/validate-permissions.sh index 50fce4f4..1999b018 100755 --- a/hooks/validate-permissions.sh +++ b/hooks/validate-permissions.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Pre-commit hook: Validate workflow permissions declarations set -euo pipefail ERRORS=0 diff --git a/hooks/validate-sha-pins.sh b/hooks/validate-sha-pins.sh index c6d9913c..697092b5 100755 --- a/hooks/validate-sha-pins.sh +++ b/hooks/validate-sha-pins.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Pre-commit hook: Validate GitHub Actions are SHA-pinned set -euo pipefail diff --git a/hooks/validate-spdx.sh b/hooks/validate-spdx.sh index 8f500022..cc81cf18 100755 --- a/hooks/validate-spdx.sh +++ b/hooks/validate-spdx.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Pre-commit hook: Validate SPDX headers in workflow files set -euo pipefail @@ -13,7 +13,7 @@ for workflow in .github/workflows/*.yml .github/workflows/*.yaml; do first_line=$(head -n1 "$workflow") if ! echo "$first_line" | grep -qE "$SPDX_PATTERN"; then echo "ERROR: Missing SPDX header in $workflow" - echo " First line should be: # SPDX-License-Identifier: PMPL-1.0-or-later" + echo " First line should be: # SPDX-License-Identifier: MPL-2.0" ERRORS=$((ERRORS + 1)) fi done diff --git a/js/js_api.ml b/js/js_api.ml index e221c8d2..b194ba69 100644 --- a/js/js_api.ml +++ b/js/js_api.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** JavaScript API for AffineScript interpreter. diff --git a/js/playground.ml b/js/playground.ml index 9b1471de..0f41c8e5 100644 --- a/js/playground.ml +++ b/js/playground.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Entry point for JavaScript playground build. diff --git a/lib/ast.ml b/lib/ast.ml index f6c9849f..6c823eaa 100644 --- a/lib/ast.ml +++ b/lib/ast.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Abstract Syntax Tree for AffineScript *) diff --git a/lib/backends.ml b/lib/backends.ml index 40aea65f..fb3dd422 100644 --- a/lib/backends.ml +++ b/lib/backends.ml @@ -1,4 +1,4 @@ -(** SPDX-License-Identifier: PMPL-1.0-or-later *) +(** SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** AffineScript Backends Module diff --git a/lib/backends/architecture.ml b/lib/backends/architecture.ml index 0d844810..5e050493 100644 --- a/lib/backends/architecture.ml +++ b/lib/backends/architecture.ml @@ -1,4 +1,4 @@ -(** SPDX-License-Identifier: PMPL-1.0-or-later *) +(** SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** AffineScript Backend Architecture diff --git a/lib/backends/audio_kernel.ml b/lib/backends/audio_kernel.ml index f026557d..a87f662f 100644 --- a/lib/backends/audio_kernel.ml +++ b/lib/backends/audio_kernel.ml @@ -1,4 +1,4 @@ -(** SPDX-License-Identifier: PMPL-1.0-or-later *) +(** SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Audio DSP Kernel (Stub) diff --git a/lib/backends/gpu_backend.ml b/lib/backends/gpu_backend.ml index 461be88d..4705c3e4 100644 --- a/lib/backends/gpu_backend.ml +++ b/lib/backends/gpu_backend.ml @@ -1,4 +1,4 @@ -(** SPDX-License-Identifier: PMPL-1.0-or-later *) +(** SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** GPU Backend Implementation (Stub) diff --git a/lib/backends/native_backend.ml b/lib/backends/native_backend.ml index 52ebf84f..7e81f0f8 100644 --- a/lib/backends/native_backend.ml +++ b/lib/backends/native_backend.ml @@ -1,4 +1,4 @@ -(** SPDX-License-Identifier: PMPL-1.0-or-later *) +(** SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Native Backend Implementation (Stub) diff --git a/lib/backends/wasm_backend.ml b/lib/backends/wasm_backend.ml index b06c8e65..e21f7e8a 100644 --- a/lib/backends/wasm_backend.ml +++ b/lib/backends/wasm_backend.ml @@ -1,4 +1,4 @@ -(** SPDX-License-Identifier: PMPL-1.0-or-later *) +(** SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** WASM Backend Implementation diff --git a/lib/bash_codegen.ml b/lib/bash_codegen.ml index 76de40e5..e4bedf67 100644 --- a/lib/bash_codegen.ml +++ b/lib/bash_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Bash/POSIX shell emitter (heavily restricted MVP). @@ -88,7 +88,7 @@ let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "#!/usr/bin/env bash\n"; Buffer.add_string buf "# Generated by AffineScript compiler\n"; - Buffer.add_string buf "# SPDX-License-Identifier: PMPL-1.0-or-later\n"; + Buffer.add_string buf "# SPDX-License-Identifier: MPL-2.0\n"; Buffer.add_string buf "set -euo pipefail\n\n"; List.iter (function | TopFn fd -> Buffer.add_string buf (gen_function fd) diff --git a/lib/borrow.ml b/lib/borrow.ml index 307d5e7d..d769a0e0 100644 --- a/lib/borrow.ml +++ b/lib/borrow.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Borrow checker for ownership verification. diff --git a/lib/c_codegen.ml b/lib/c_codegen.ml index f531ee57..bc713237 100644 --- a/lib/c_codegen.ml +++ b/lib/c_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** C Code Generator (MVP). @@ -575,7 +575,7 @@ let generate (program : program) (symbols : Symbol.t) : string = let ctx = create_ctx symbols in emit_line ctx "/* Generated by AffineScript compiler */"; - emit_line ctx "/* SPDX-License-Identifier: PMPL-1.0-or-later */"; + emit_line ctx "/* SPDX-License-Identifier: MPL-2.0 */"; emit ctx prelude; let types_buf = Buffer.create 512 in diff --git a/lib/cafe_face.ml b/lib/cafe_face.ml index ddd71cd3..bdcde1b2 100644 --- a/lib/cafe_face.ml +++ b/lib/cafe_face.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** CafeScripto-face: source-level transformer for CoffeeScript-style diff --git a/lib/codegen.ml b/lib/codegen.ml index ec414c43..35f6959d 100644 --- a/lib/codegen.ml +++ b/lib/codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** WebAssembly code generation from AffineScript AST. diff --git a/lib/codegen_deno.ml b/lib/codegen_deno.ml index 6e6e7384..edf240b1 100644 --- a/lib/codegen_deno.ml +++ b/lib/codegen_deno.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Deno-ESM Emit Mode (issue #122, Refs #35 #103). @@ -905,7 +905,7 @@ let generate (program : program) (symbols : Symbol.t) : string = | _ -> ()) program.prog_decls; emit_line ctx "// Generated by AffineScript compiler (Deno-ESM target, issue #122)"; - emit_line ctx "// SPDX-License-Identifier: PMPL-1.0-or-later"; + emit_line ctx "// SPDX-License-Identifier: MPL-2.0"; emit ctx prelude; (* Collect structs. AffineScript's grammar accepts neither inherent diff --git a/lib/codegen_gc.ml b/lib/codegen_gc.ml index f4f44aef..40f7c95a 100644 --- a/lib/codegen_gc.ml +++ b/lib/codegen_gc.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** WebAssembly GC code generation from AffineScript AST. diff --git a/lib/codegen_node.ml b/lib/codegen_node.ml index beafed91..7a3065f7 100644 --- a/lib/codegen_node.ml +++ b/lib/codegen_node.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Node-CJS Emit Mode (issue #35, Phase 1). diff --git a/lib/cuda_codegen.ml b/lib/cuda_codegen.ml index 8fbdff47..be9f4dbc 100644 --- a/lib/cuda_codegen.ml +++ b/lib/cuda_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** CUDA C++ kernel sublanguage emitter (MVP). @@ -98,7 +98,7 @@ let validate_kernel = validate_compute_kernel_shape let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler (CUDA C++)\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n\n"; Buffer.add_string buf "#include \n\n"; let fd = pick_kernel program in validate_kernel fd; diff --git a/lib/desugar_traits.ml b/lib/desugar_traits.ml index d27ab451..75babffa 100644 --- a/lib/desugar_traits.ml +++ b/lib/desugar_traits.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Trait method desugaring - transforms trait method calls into direct function calls. diff --git a/lib/effect.ml b/lib/effect.ml index e72b6522..3f28e24b 100644 --- a/lib/effect.ml +++ b/lib/effect.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Effect system operations *) diff --git a/lib/effect.mli b/lib/effect.mli index c99fdd85..362e9a3a 100644 --- a/lib/effect.mli +++ b/lib/effect.mli @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Effect system operations *) diff --git a/lib/effect_sites.ml b/lib/effect_sites.ml index 9caed938..c45ecdc9 100644 --- a/lib/effect_sites.ml +++ b/lib/effect_sites.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 hyperpolymath *) (** Shared call-site numbering for the effect-threaded async-boundary diff --git a/lib/error.ml b/lib/error.ml index 59d8ced0..283cd0ab 100644 --- a/lib/error.ml +++ b/lib/error.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Error handling and diagnostics for AffineScript *) diff --git a/lib/error_collector.ml b/lib/error_collector.ml index d77cf00f..70d27ae3 100644 --- a/lib/error_collector.ml +++ b/lib/error_collector.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Error collection for reporting multiple errors *) diff --git a/lib/error_formatter.ml b/lib/error_formatter.ml index 12f72ded..93e4eee4 100644 --- a/lib/error_formatter.ml +++ b/lib/error_formatter.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Error formatting with ANSI colors for terminal output *) diff --git a/lib/error_formatter.mli b/lib/error_formatter.mli index 72e5ecc6..c2474577 100644 --- a/lib/error_formatter.mli +++ b/lib/error_formatter.mli @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Error formatting with ANSI colors for terminal output *) diff --git a/lib/face.ml b/lib/face.ml index 5be23c75..e524c983 100644 --- a/lib/face.ml +++ b/lib/face.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** Face-aware error formatter (ADR-010). diff --git a/lib/face_pragma.ml b/lib/face_pragma.ml index 05ced6c9..1afa7ae1 100644 --- a/lib/face_pragma.ml +++ b/lib/face_pragma.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** Face pragma detector. diff --git a/lib/faust_codegen.ml b/lib/faust_codegen.ml index 157bd4d9..0bb03a43 100644 --- a/lib/faust_codegen.ml +++ b/lib/faust_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Faust DSP Sublanguage Emitter (MVP). @@ -211,7 +211,7 @@ let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler (Faust DSP sublanguage)\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n\n"; let entry = faust_pick_entry program in let entry_name = entry.fd_name.name in user_fns := List.filter_map (function diff --git a/lib/formatter.ml b/lib/formatter.ml index 9ae529d0..8d28dc09 100644 --- a/lib/formatter.ml +++ b/lib/formatter.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* AffineScript Source Code Formatter - Stub Implementation TODO: Implement code formatting. diff --git a/lib/formatter.mli.disabled b/lib/formatter.mli.disabled index b2e5fc56..3140fe6e 100644 --- a/lib/formatter.mli.disabled +++ b/lib/formatter.mli.disabled @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** AffineScript code formatter *) diff --git a/lib/gleam_codegen.ml b/lib/gleam_codegen.ml index 7fda29f6..3fa1932e 100644 --- a/lib/gleam_codegen.ml +++ b/lib/gleam_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Gleam emitter (BEAM target). @@ -177,7 +177,7 @@ pub fn println(s: String) -> Nil { io.println(s) } let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n\n"; Buffer.add_string buf prelude; List.iter (function | TopType td -> Buffer.add_string buf (gen_type_decl td) diff --git a/lib/interp.ml b/lib/interp.ml index e477a487..70c1f5f3 100644 --- a/lib/interp.ml +++ b/lib/interp.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Tree-walking interpreter for AffineScript. diff --git a/lib/js_codegen.ml b/lib/js_codegen.ml index 11ef758b..eea6e3ff 100644 --- a/lib/js_codegen.ml +++ b/lib/js_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** JavaScript Code Generator (MVP). @@ -483,7 +483,7 @@ let gen_top_level ctx (top : top_level) : unit = let generate (program : program) (symbols : Symbol.t) : string = let ctx = create_ctx symbols in emit_line ctx "// Generated by AffineScript compiler"; - emit_line ctx "// SPDX-License-Identifier: PMPL-1.0-or-later"; + emit_line ctx "// SPDX-License-Identifier: MPL-2.0"; emit ctx prelude; List.iter (gen_top_level ctx) program.prog_decls; (* If a `main` function exists, invoke it so `node foo.js` actually runs. *) diff --git a/lib/js_face.ml b/lib/js_face.ml index 1905f005..313e4c0c 100644 --- a/lib/js_face.ml +++ b/lib/js_face.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** JS-face: source-level transformer for JavaScript/TypeScript-style AffineScript. diff --git a/lib/json_output.ml b/lib/json_output.ml index e270f8cb..6fa770a2 100644 --- a/lib/json_output.ml +++ b/lib/json_output.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** JSON output for machine-readable compiler diagnostics. diff --git a/lib/julia_codegen.ml b/lib/julia_codegen.ml index 60db1d86..98d8adc7 100644 --- a/lib/julia_codegen.ml +++ b/lib/julia_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* BetLang Julia Code Generator Translates AffineScript AST to Julia source code. @@ -389,7 +389,7 @@ let generate (program : program) (symbols : Symbol.t) : string = (* Header comment *) emit_line ctx "# Generated by BetLang compiler (AffineScript)"; - emit_line ctx "# SPDX-License-Identifier: PMPL-1.0-or-later"; + emit_line ctx "# SPDX-License-Identifier: MPL-2.0"; emit ctx "\n"; (* Generate each top-level declaration *) diff --git a/lib/kernel_sublang.ml b/lib/kernel_sublang.ml index 155f37d1..adead758 100644 --- a/lib/kernel_sublang.ml +++ b/lib/kernel_sublang.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Shared infrastructure for kernel-sublanguage backends. diff --git a/lib/lean_codegen.ml b/lib/lean_codegen.ml index 02b545ca..1cb2c781 100644 --- a/lib/lean_codegen.ml +++ b/lib/lean_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Lean 4 emitter (MVP, dependent-type proof target). @@ -100,7 +100,7 @@ let gen_function (fd : fn_decl) : string = let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "-- Generated by AffineScript compiler (Lean 4)\n"; - Buffer.add_string buf "-- SPDX-License-Identifier: PMPL-1.0-or-later\n\n"; + Buffer.add_string buf "-- SPDX-License-Identifier: MPL-2.0\n\n"; List.iter (function | TopFn fd -> Buffer.add_string buf (gen_function fd) | _ -> () diff --git a/lib/lexer.ml b/lib/lexer.ml index 654aa8de..9a7dc2d1 100644 --- a/lib/lexer.ml +++ b/lib/lexer.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Lexer for AffineScript using sedlex *) diff --git a/lib/linter.ml b/lib/linter.ml index c86a4664..ba36a06c 100644 --- a/lib/linter.ml +++ b/lib/linter.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** AffineScript linter - static analysis for code quality *) diff --git a/lib/linter.mli.disabled b/lib/linter.mli.disabled index 66302b25..44165571 100644 --- a/lib/linter.mli.disabled +++ b/lib/linter.mli.disabled @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** AffineScript linter - static analysis for code quality *) diff --git a/lib/llvm_codegen.ml b/lib/llvm_codegen.ml index fcf19c8d..4b647cb5 100644 --- a/lib/llvm_codegen.ml +++ b/lib/llvm_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** LLVM IR text emitter (MVP). @@ -657,7 +657,7 @@ let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 2048 in Buffer.add_string buf "; Generated by AffineScript compiler\n"; - Buffer.add_string buf "; SPDX-License-Identifier: PMPL-1.0-or-later\n"; + Buffer.add_string buf "; SPDX-License-Identifier: MPL-2.0\n"; Buffer.add_string buf "target triple = \"x86_64-unknown-linux-gnu\"\n"; (* String-literal globals. Sort by id so output is stable. *) let strings = Hashtbl.fold (fun s id acc -> (id, s) :: acc) string_table [] in diff --git a/lib/lsp_server.ml b/lib/lsp_server.ml index f681023a..5777954a 100644 --- a/lib/lsp_server.ml +++ b/lib/lsp_server.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** JSON-RPC LSP server for AffineScript (LSP 3.17 subset). diff --git a/lib/lua_codegen.ml b/lib/lua_codegen.ml index 8b577edd..3533c59e 100644 --- a/lib/lua_codegen.ml +++ b/lib/lua_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Lua 5.x Emitter (MVP). @@ -211,7 +211,7 @@ let gen_type_decl (td : type_decl) : string = let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "-- Generated by AffineScript compiler\n"; - Buffer.add_string buf "-- SPDX-License-Identifier: PMPL-1.0-or-later\n"; + Buffer.add_string buf "-- SPDX-License-Identifier: MPL-2.0\n"; Buffer.add_string buf prelude; List.iter (function | TopType td -> Buffer.add_string buf (gen_type_decl td) diff --git a/lib/lucid_face.ml b/lib/lucid_face.ml index f954e394..aa4e9514 100644 --- a/lib/lucid_face.ml +++ b/lib/lucid_face.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** LucidScript-face: source-level transformer for PureScript-style AffineScript. diff --git a/lib/metal_codegen.ml b/lib/metal_codegen.ml index 3d4546a2..4c24e749 100644 --- a/lib/metal_codegen.ml +++ b/lib/metal_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Metal Shading Language emitter (MVP). @@ -94,7 +94,7 @@ let pick_kernel = pick_entry let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler (Metal MSL)\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n\n"; Buffer.add_string buf "#include \nusing namespace metal;\n\n"; let fd = pick_kernel program in let idx = match fd.fd_params with first :: _ -> first.p_name.name | _ -> "i" in diff --git a/lib/mlir_codegen.ml b/lib/mlir_codegen.ml index 6db4ade9..f32a6869 100644 --- a/lib/mlir_codegen.ml +++ b/lib/mlir_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** MLIR text emitter (MVP, [func]/[arith] dialects). @@ -174,7 +174,7 @@ let gen_function (buf : Buffer.t) (fd : fn_decl) : unit = let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler (MLIR func/arith)\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n"; Buffer.add_string buf "module {\n"; List.iter (function | TopFn fd -> gen_function buf fd diff --git a/lib/module_loader.ml b/lib/module_loader.ml index 5f016247..2d786ab4 100644 --- a/lib/module_loader.ml +++ b/lib/module_loader.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2025 hyperpolymath *) (** Module loading and resolution. diff --git a/lib/nickel_codegen.ml b/lib/nickel_codegen.ml index 06735ec2..ede697f8 100644 --- a/lib/nickel_codegen.ml +++ b/lib/nickel_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Nickel emitter (config-language target). @@ -106,7 +106,7 @@ let gen_function (fd : fn_decl) : string = let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "# Generated by AffineScript compiler\n"; - Buffer.add_string buf "# SPDX-License-Identifier: PMPL-1.0-or-later\n"; + Buffer.add_string buf "# SPDX-License-Identifier: MPL-2.0\n"; Buffer.add_string buf "{\n"; List.iter (function | TopFn fd -> Buffer.add_string buf (gen_function fd) diff --git a/lib/ocaml_codegen.ml b/lib/ocaml_codegen.ml index b7176425..c48b0473 100644 --- a/lib/ocaml_codegen.ml +++ b/lib/ocaml_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** OCaml Self-Target Emitter (MVP). @@ -247,7 +247,7 @@ let read_line () = try Stdlib.read_line () with End_of_file -> "" let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "(* Generated by AffineScript compiler *)\n"; - Buffer.add_string buf "(* SPDX-License-Identifier: PMPL-1.0-or-later *)\n\n"; + Buffer.add_string buf "(* SPDX-License-Identifier: MPL-2.0 *)\n\n"; Buffer.add_string buf prelude; Buffer.add_char buf '\n'; (* Type decls precede functions so the typechecker sees the schema. *) diff --git a/lib/onnx_codegen.ml b/lib/onnx_codegen.ml index 8851bce9..636c415a 100644 --- a/lib/onnx_codegen.ml +++ b/lib/onnx_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** ONNX Backend (MVP — proof of wire format). diff --git a/lib/onnx_proto.ml b/lib/onnx_proto.ml index a653dec1..cee7bc25 100644 --- a/lib/onnx_proto.ml +++ b/lib/onnx_proto.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** ONNX schema subset, encoded directly to protobuf wire bytes. diff --git a/lib/opencl_codegen.ml b/lib/opencl_codegen.ml index fe5b4185..3b47ea6a 100644 --- a/lib/opencl_codegen.ml +++ b/lib/opencl_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** OpenCL C kernel emitter (MVP). Output validates with [clang -cc1 @@ -86,7 +86,7 @@ let pick_kernel = pick_entry let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler (OpenCL C)\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n\n"; let fd = pick_kernel program in let idx = match fd.fd_params with first :: _ -> first.p_name.name | _ -> "i" in let bufs = match fd.fd_params with _ :: rest -> rest | [] -> [] in diff --git a/lib/opt.ml b/lib/opt.ml index 4bb5d45b..bab046b8 100644 --- a/lib/opt.ml +++ b/lib/opt.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Optimization passes for AffineScript AST. diff --git a/lib/parse_driver.ml b/lib/parse_driver.ml index 7cad1247..966a8dc9 100644 --- a/lib/parse_driver.ml +++ b/lib/parse_driver.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Parser driver - bridges sedlex lexer with Menhir parser *) diff --git a/lib/parser_errors.ml b/lib/parser_errors.ml index 7987c26a..88fc4f74 100644 --- a/lib/parser_errors.ml +++ b/lib/parser_errors.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** Shared exceptions for parser semantic actions. diff --git a/lib/protobuf.ml b/lib/protobuf.ml index 690cef39..8cc73017 100644 --- a/lib/protobuf.ml +++ b/lib/protobuf.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Minimal Protocol Buffers wire-format encoder. diff --git a/lib/pseudocode_face.ml b/lib/pseudocode_face.ml index 7c13c50a..9dc09d37 100644 --- a/lib/pseudocode_face.ml +++ b/lib/pseudocode_face.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** Pseudocode-face: source-level transformer for natural-language-adjacent diff --git a/lib/python_face.ml b/lib/python_face.ml index 58eb495b..39e423a6 100644 --- a/lib/python_face.ml +++ b/lib/python_face.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** Python-face: source-level transformer for Python-style AffineScript syntax. diff --git a/lib/quantity.ml b/lib/quantity.ml index 0abe74a1..6ec83259 100644 --- a/lib/quantity.ml +++ b/lib/quantity.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** Quantity checking for Quantitative Type Theory (QTT). diff --git a/lib/repl.ml b/lib/repl.ml index 41fe8d71..7b6210e3 100644 --- a/lib/repl.ml +++ b/lib/repl.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Read-Eval-Print Loop for AffineScript. diff --git a/lib/rescript_codegen.ml b/lib/rescript_codegen.ml index 6dfe63a1..ab73fbe0 100644 --- a/lib/rescript_codegen.ml +++ b/lib/rescript_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** ReScript emitter (typed-JS path). @@ -205,7 +205,7 @@ let println = (s: string): unit => Js.Console.log(s) let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n\n"; Buffer.add_string buf prelude; List.iter (function | TopType td -> Buffer.add_string buf (gen_type_decl td) diff --git a/lib/resolve.ml b/lib/resolve.ml index d8be69b6..0711a861 100644 --- a/lib/resolve.ml +++ b/lib/resolve.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Name resolution pass. diff --git a/lib/rust_codegen.ml b/lib/rust_codegen.ml index db3b9073..0dae84d0 100644 --- a/lib/rust_codegen.ml +++ b/lib/rust_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Rust emitter (MVP). @@ -251,7 +251,7 @@ fn read_line() -> String { let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n"; Buffer.add_string buf "#![allow(unused, dead_code, non_snake_case, unused_parens, non_camel_case_types)]\n\n"; Buffer.add_string buf prelude; (* Type decls come first so functions can reference them. *) diff --git a/lib/sexpr_dump.ml b/lib/sexpr_dump.ml index ad3d17a3..76bc9cd0 100644 --- a/lib/sexpr_dump.ml +++ b/lib/sexpr_dump.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) *) (** S-expression AST dump for AffineScript. diff --git a/lib/span.ml b/lib/span.ml index 993a6b85..dbee8220 100644 --- a/lib/span.ml +++ b/lib/span.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Source location tracking for error messages *) diff --git a/lib/spirv_codegen.ml b/lib/spirv_codegen.ml index f57aea94..d1b93ca1 100644 --- a/lib/spirv_codegen.ml +++ b/lib/spirv_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** SPIR-V binary emitter (MVP, proof of wire format). diff --git a/lib/symbol.ml b/lib/symbol.ml index 3a696267..6bf7fc43 100644 --- a/lib/symbol.ml +++ b/lib/symbol.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Symbol table for name resolution. diff --git a/lib/tea_bridge.ml b/lib/tea_bridge.ml index ca979d42..8d55ef52 100644 --- a/lib/tea_bridge.ml +++ b/lib/tea_bridge.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** TEA Bridge Wasm Generator. diff --git a/lib/tea_cs_bridge.ml b/lib/tea_cs_bridge.ml index 27fc02f6..b90b0f1e 100644 --- a/lib/tea_cs_bridge.ml +++ b/lib/tea_cs_bridge.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** CharacterSelect TEA Bridge Wasm Generator. diff --git a/lib/tea_router.ml b/lib/tea_router.ml index a23dccf2..9c234901 100644 --- a/lib/tea_router.ml +++ b/lib/tea_router.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** TEA Router Wasm Generator. diff --git a/lib/token.ml b/lib/token.ml index a8b71f21..6ad1a863 100644 --- a/lib/token.ml +++ b/lib/token.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Token types for the AffineScript lexer *) diff --git a/lib/trait.ml b/lib/trait.ml index 51cb44d9..525aefa3 100644 --- a/lib/trait.ml +++ b/lib/trait.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Trait resolution and method dispatch. diff --git a/lib/tw_interface.ml b/lib/tw_interface.ml index fcbe7e12..258bc762 100644 --- a/lib/tw_interface.ml +++ b/lib/tw_interface.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** typed-wasm multi-module boundary verifier — Stage 10. diff --git a/lib/tw_verify.ml b/lib/tw_verify.ml index 87356381..8aec6893 100644 --- a/lib/tw_verify.ml +++ b/lib/tw_verify.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 hyperpolymath *) (** typed-wasm ownership verifier — Stage 7 (per-path analysis added Stage 9). diff --git a/lib/typecheck.ml b/lib/typecheck.ml index cfd8cb45..529b338c 100644 --- a/lib/typecheck.ml +++ b/lib/typecheck.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** Bidirectional type checker for AffineScript. diff --git a/lib/types.ml b/lib/types.ml index 31b8a111..ef21b41b 100644 --- a/lib/types.ml +++ b/lib/types.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Internal type representation for type checking. diff --git a/lib/unify.ml b/lib/unify.ml index cde2e53d..19d66ac6 100644 --- a/lib/unify.ml +++ b/lib/unify.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Type unification. diff --git a/lib/value.ml b/lib/value.ml index 182dbe80..2bf654e3 100644 --- a/lib/value.ml +++ b/lib/value.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Runtime values for the AffineScript interpreter. diff --git a/lib/verilog_codegen.ml b/lib/verilog_codegen.ml index deebe008..7c35cede 100644 --- a/lib/verilog_codegen.ml +++ b/lib/verilog_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Verilog emitter (combinational MVP). @@ -94,7 +94,7 @@ let gen_module (buf : Buffer.t) (fd : fn_decl) : unit = let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "// Generated by AffineScript compiler\n"; - Buffer.add_string buf "// SPDX-License-Identifier: PMPL-1.0-or-later\n\n"; + Buffer.add_string buf "// SPDX-License-Identifier: MPL-2.0\n\n"; List.iter (function | TopFn fd -> gen_module buf fd | _ -> () diff --git a/lib/wasi_runtime.ml b/lib/wasi_runtime.ml index 9def6113..3e189483 100644 --- a/lib/wasi_runtime.ml +++ b/lib/wasi_runtime.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** WASI runtime support - I/O bindings for WebAssembly System Interface. diff --git a/lib/wasm.ml b/lib/wasm.ml index 87e34dae..d15903c2 100644 --- a/lib/wasm.ml +++ b/lib/wasm.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** WebAssembly intermediate representation. diff --git a/lib/wasm_encode.ml b/lib/wasm_encode.ml index e4461e76..64dd0e52 100644 --- a/lib/wasm_encode.ml +++ b/lib/wasm_encode.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* Minimal WASM Binary Encoder *) open Wasm diff --git a/lib/wasm_gc.ml b/lib/wasm_gc.ml index 74e9469c..74d78e03 100644 --- a/lib/wasm_gc.ml +++ b/lib/wasm_gc.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** WebAssembly GC proposal intermediate representation. diff --git a/lib/wasm_gc_encode.ml b/lib/wasm_gc_encode.ml index fa23be7f..285e71e9 100644 --- a/lib/wasm_gc_encode.ml +++ b/lib/wasm_gc_encode.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) *) (** Binary encoder for WasmGC modules. diff --git a/lib/wgsl_codegen.ml b/lib/wgsl_codegen.ml index 9aa486e9..817d2324 100644 --- a/lib/wgsl_codegen.ml +++ b/lib/wgsl_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** WGSL Kernel Sublanguage Emitter (MVP). @@ -263,7 +263,7 @@ let emit_buffer_bindings ctx (params : param list) : ctx = let generate (program : program) (_symbols : Symbol.t) : string = let ctx = new_ctx () in emit_line ctx "// Generated by AffineScript compiler (WGSL kernel sublanguage)"; - emit_line ctx "// SPDX-License-Identifier: PMPL-1.0-or-later"; + emit_line ctx "// SPDX-License-Identifier: MPL-2.0"; emit ctx "\n"; let fd = pick_kernel program in validate_kernel fd; diff --git a/lib/why3_codegen.ml b/lib/why3_codegen.ml index 7b9e715b..d4acf673 100644 --- a/lib/why3_codegen.ml +++ b/lib/why3_codegen.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell *) (** Why3 / WhyML emitter (MVP, formal verification target). @@ -107,7 +107,7 @@ let gen_function (fd : fn_decl) : string = let generate (program : program) (_symbols : Symbol.t) : string = let buf = Buffer.create 1024 in Buffer.add_string buf "(* Generated by AffineScript compiler (Why3 / WhyML) *)\n"; - Buffer.add_string buf "(* SPDX-License-Identifier: PMPL-1.0-or-later *)\n\n"; + Buffer.add_string buf "(* SPDX-License-Identifier: MPL-2.0 *)\n\n"; Buffer.add_string buf "module Generated\n"; Buffer.add_string buf " use int.Int\n"; Buffer.add_string buf " use bool.Bool\n"; diff --git a/opsm.toml b/opsm.toml index bebc4952..97645b9a 100644 --- a/opsm.toml +++ b/opsm.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # affinescript package manifest — OPSM native. diff --git a/packages/affine-js/README.adoc b/packages/affine-js/README.adoc index f5c5c67a..63e24e2c 100644 --- a/packages/affine-js/README.adoc +++ b/packages/affine-js/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = affine-js :toc: :icons: font diff --git a/packages/affine-js/loader.js b/packages/affine-js/loader.js index 4a590b35..ade5b1ec 100644 --- a/packages/affine-js/loader.js +++ b/packages/affine-js/loader.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affine-js/loader: host-agnostic loader bridge (INT-02, issue #179). diff --git a/packages/affine-js/loader_test.js b/packages/affine-js/loader_test.js index 5ba61312..7f74cae5 100644 --- a/packages/affine-js/loader_test.js +++ b/packages/affine-js/loader_test.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affine-js/loader: host-agnostic loader bridge tests (INT-02, issue #179). diff --git a/packages/affine-js/marshal.js b/packages/affine-js/marshal.js index 44f6319f..490da995 100644 --- a/packages/affine-js/marshal.js +++ b/packages/affine-js/marshal.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affine-js: Value marshaling between JavaScript and AffineScript WASM diff --git a/packages/affine-js/mod.js b/packages/affine-js/mod.js index d885ea04..fa56194f 100644 --- a/packages/affine-js/mod.js +++ b/packages/affine-js/mod.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affine-js: JavaScript interop layer for AffineScript WASM modules diff --git a/packages/affine-js/runtime.js b/packages/affine-js/runtime.js index 6652989c..710274d6 100644 --- a/packages/affine-js/runtime.js +++ b/packages/affine-js/runtime.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affine-js: AffineScript WASM runtime support diff --git a/packages/affine-js/types.d.ts b/packages/affine-js/types.d.ts index ad9363cc..7d036818 100644 --- a/packages/affine-js/types.d.ts +++ b/packages/affine-js/types.d.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // affine-js: TypeScript declarations diff --git a/packages/affine-vscode/README.adoc b/packages/affine-vscode/README.adoc index 0d2b2008..e3c8ebf2 100644 --- a/packages/affine-vscode/README.adoc +++ b/packages/affine-vscode/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell = affine-vscode diff --git a/packages/affine-vscode/mod.js b/packages/affine-vscode/mod.js index b29cc5df..0f0e57e0 100644 --- a/packages/affine-vscode/mod.js +++ b/packages/affine-vscode/mod.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // affine-vscode: JS-side adapter for stdlib/Vscode.affine + stdlib/VscodeLanguageClient.affine. diff --git a/panic-attack.toml b/panic-attack.toml index b8366821..a19eda20 100644 --- a/panic-attack.toml +++ b/panic-attack.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # panic-attack.toml — AffineScript security scan configuration [project] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index ae0f01d7..a6cc4ad5 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2024-2025 hyperpolymath # Copyright 2024-2025 AffineScript Contributors diff --git a/runtime/src/alloc.rs b/runtime/src/alloc.rs index 6e727671..52c6a7e2 100644 --- a/runtime/src/alloc.rs +++ b/runtime/src/alloc.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2025 hyperpolymath //! Memory Allocator for AffineScript Runtime diff --git a/runtime/src/effects.rs b/runtime/src/effects.rs index cf8f6767..95c6357c 100644 --- a/runtime/src/effects.rs +++ b/runtime/src/effects.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2025 hyperpolymath //! Effect Handling Runtime for AffineScript diff --git a/runtime/src/ffi.rs b/runtime/src/ffi.rs index 7fda3edd..28cae994 100644 --- a/runtime/src/ffi.rs +++ b/runtime/src/ffi.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2025 hyperpolymath //! Foreign Function Interface for AffineScript Runtime diff --git a/runtime/src/gc.rs b/runtime/src/gc.rs index 879900cf..eccf571b 100644 --- a/runtime/src/gc.rs +++ b/runtime/src/gc.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2025 hyperpolymath //! Optional Garbage Collector for AffineScript Runtime diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 0fe2df16..f6241f48 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2025 hyperpolymath //! AffineScript Runtime Library diff --git a/runtime/src/panic.rs b/runtime/src/panic.rs index a3c58626..1606198a 100644 --- a/runtime/src/panic.rs +++ b/runtime/src/panic.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2025 hyperpolymath //! Panic Handling for AffineScript Runtime diff --git a/stdlib/Ajv.affine b/stdlib/Ajv.affine index 6e0f2518..e385e44a 100644 --- a/stdlib/Ajv.affine +++ b/stdlib/Ajv.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Ajv.affine — extern bindings for AJV v8 JSON Schema Validator. diff --git a/stdlib/Core.affine b/stdlib/Core.affine index a2ae5bbd..e7694c44 100644 --- a/stdlib/Core.affine +++ b/stdlib/Core.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Core - Basic utilities and operations diff --git a/stdlib/Crypto.affine b/stdlib/Crypto.affine index 36713d4b..cc1d8308 100644 --- a/stdlib/Crypto.affine +++ b/stdlib/Crypto.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Crypto.affine — extern bindings for crypto primitives and wall-clock time. diff --git a/stdlib/Deno.affine b/stdlib/Deno.affine index c6f2a82d..470fd3a0 100644 --- a/stdlib/Deno.affine +++ b/stdlib/Deno.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Deno.affine — issue #122 host bindings for the Deno-ESM backend. diff --git a/stdlib/Grammy.affine b/stdlib/Grammy.affine index ae7baca5..0f51fe57 100644 --- a/stdlib/Grammy.affine +++ b/stdlib/Grammy.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Grammy.affine — extern bindings for the Grammy Telegram Bot framework. diff --git a/stdlib/Http.affine b/stdlib/Http.affine index 437f98f0..5be7389e 100644 --- a/stdlib/Http.affine +++ b/stdlib/Http.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // Http.affine — portable HTTP requests (issue #160). diff --git a/stdlib/Network.affine b/stdlib/Network.affine index b32c5519..65071847 100644 --- a/stdlib/Network.affine +++ b/stdlib/Network.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Network.affine — extern bindings for synchronous HTTP requests. diff --git a/stdlib/Sqlite.affine b/stdlib/Sqlite.affine index d3170743..980dac88 100644 --- a/stdlib/Sqlite.affine +++ b/stdlib/Sqlite.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Sqlite.affine — extern bindings for an SQLite backend. diff --git a/stdlib/Vscode.affine b/stdlib/Vscode.affine index 49dd6290..c366dd01 100644 --- a/stdlib/Vscode.affine +++ b/stdlib/Vscode.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Vscode.affine — issue #35 Phase 2 bindings for the VS Code extension API. diff --git a/stdlib/VscodeLanguageClient.affine b/stdlib/VscodeLanguageClient.affine index a0cdac1d..c6953fb8 100644 --- a/stdlib/VscodeLanguageClient.affine +++ b/stdlib/VscodeLanguageClient.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // VscodeLanguageClient.affine — issue #35 Phase 2 bindings for the diff --git a/stdlib/collections.affine b/stdlib/collections.affine index 573c7442..48bb3ef7 100644 --- a/stdlib/collections.affine +++ b/stdlib/collections.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Collections - Advanced list, array, and data structure operations diff --git a/stdlib/dict.affine b/stdlib/dict.affine index da28a1f9..f011c72b 100644 --- a/stdlib/dict.affine +++ b/stdlib/dict.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Dict - String-keyed associative map (echidna#64) diff --git a/stdlib/effects.affine b/stdlib/effects.affine index 98cec9b5..8f9bb323 100644 --- a/stdlib/effects.affine +++ b/stdlib/effects.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // AffineScript Standard Library - Effect Declarations // Core IO effect - file and console operations diff --git a/stdlib/io.affine b/stdlib/io.affine index 49c12f9b..2747b233 100644 --- a/stdlib/io.affine +++ b/stdlib/io.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // AffineScript Standard Library - Input/Output diff --git a/stdlib/json.affine b/stdlib/json.affine index 508b15a9..a0fb101b 100644 --- a/stdlib/json.affine +++ b/stdlib/json.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Json - JSON value type, decoders, encoders, and serialisation (echidna#63) diff --git a/stdlib/math.affine b/stdlib/math.affine index 440b7ca8..8da276ce 100644 --- a/stdlib/math.affine +++ b/stdlib/math.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // AffineScript Standard Library - Mathematics diff --git a/stdlib/option.affine b/stdlib/option.affine index 57b4bf2b..fc5db84f 100644 --- a/stdlib/option.affine +++ b/stdlib/option.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Option - Utilities for Option type diff --git a/stdlib/prelude.affine b/stdlib/prelude.affine index 5962c625..ae4ad764 100644 --- a/stdlib/prelude.affine +++ b/stdlib/prelude.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // AffineScript Standard Library - Prelude // Common functions and utilities automatically available diff --git a/stdlib/result.affine b/stdlib/result.affine index 0945ed04..3ca89cd3 100644 --- a/stdlib/result.affine +++ b/stdlib/result.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Result - Error handling with Result type diff --git a/stdlib/string.affine b/stdlib/string.affine index 9e00937e..8e6996dc 100644 --- a/stdlib/string.affine +++ b/stdlib/string.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // AffineScript Standard Library - String utilities diff --git a/stdlib/testing.affine b/stdlib/testing.affine index 4621cb97..b9fb5ec3 100644 --- a/stdlib/testing.affine +++ b/stdlib/testing.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // AffineScript Standard Library - Testing diff --git a/stdlib/traits.affine b/stdlib/traits.affine index 2990218e..18dc5217 100644 --- a/stdlib/traits.affine +++ b/stdlib/traits.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2025 hyperpolymath // Core traits for AffineScript standard library diff --git a/test/e2e/fixtures/CrossCallee.affine b/test/e2e/fixtures/CrossCallee.affine index 1dd979df..1bc9a0e7 100644 --- a/test/e2e/fixtures/CrossCallee.affine +++ b/test/e2e/fixtures/CrossCallee.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Cross-module callee fixture for typed-wasm Level 10 boundary verification. diff --git a/test/e2e/fixtures/PortNames.affine b/test/e2e/fixtures/PortNames.affine index 0444f475..5bc1701f 100644 --- a/test/e2e/fixtures/PortNames.affine +++ b/test/e2e/fixtures/PortNames.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Cross-module const-export fixture. Regression coverage for diff --git a/test/e2e/fixtures/affine_basic.affine b/test/e2e/fixtures/affine_basic.affine index 94c04e42..900cd1c8 100644 --- a/test/e2e/fixtures/affine_basic.affine +++ b/test/e2e/fixtures/affine_basic.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: basic functions for quantity checking // Tests: functions that can be quantity-checked after parsing // Note: quantity annotations (0/1/omega) are not yet in the lexer, diff --git a/test/e2e/fixtures/affine_let_valid.affine b/test/e2e/fixtures/affine_let_valid.affine index e18506a2..25d99088 100644 --- a/test/e2e/fixtures/affine_let_valid.affine +++ b/test/e2e/fixtures/affine_let_valid.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // ADR-002 / ADR-007 valid case (Option C primary form). // // `r` is @linear (must be used exactly once). It is bound under a diff --git a/test/e2e/fixtures/affine_let_valid_sugar.affine b/test/e2e/fixtures/affine_let_valid_sugar.affine index f4165d65..1870a4d9 100644 --- a/test/e2e/fixtures/affine_let_valid_sugar.affine +++ b/test/e2e/fixtures/affine_let_valid_sugar.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // ADR-002 / ADR-007 valid case — Option B sugar form. // Identical semantics to affine_let_valid.affine, written with :1 // numeric quantity sugar in place of @linear. diff --git a/test/e2e/fixtures/affine_violation.affine b/test/e2e/fixtures/affine_violation.affine index 3da41907..b9167bfc 100644 --- a/test/e2e/fixtures/affine_violation.affine +++ b/test/e2e/fixtures/affine_violation.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: function with double variable use // The quantity checker should flag this for linear-annotated vars. // Since quantity annotations aren't in the lexer, we test the quantity diff --git a/test/e2e/fixtures/arithmetic.affine b/test/e2e/fixtures/arithmetic.affine index 2e790f73..4c5fbd76 100644 --- a/test/e2e/fixtures/arithmetic.affine +++ b/test/e2e/fixtures/arithmetic.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: arithmetic expressions // Tests: parsing, constant folding, WASM codegen, Julia codegen diff --git a/test/e2e/fixtures/bitwise.affine b/test/e2e/fixtures/bitwise.affine index f0bbe4bb..1bf44362 100644 --- a/test/e2e/fixtures/bitwise.affine +++ b/test/e2e/fixtures/bitwise.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: bitwise operations // Tests: parsing, constant folding, WASM codegen, Julia codegen diff --git a/test/e2e/fixtures/borrow_call_arg_then_use.affine b/test/e2e/fixtures/borrow_call_arg_then_use.affine index 44ece03a..c12297e0 100644 --- a/test/e2e/fixtures/borrow_call_arg_then_use.affine +++ b/test/e2e/fixtures/borrow_call_arg_then_use.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // CORE-01 / #177 regression — NEGATIVE / anti-over-rejection guard. diff --git a/test/e2e/fixtures/borrow_mutref_conflict.affine b/test/e2e/fixtures/borrow_mutref_conflict.affine index 62d75084..57ce1f8e 100644 --- a/test/e2e/fixtures/borrow_mutref_conflict.affine +++ b/test/e2e/fixtures/borrow_mutref_conflict.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // CORE-01 pt2 parser surface / #177: `&mut e` is now expressible. Two diff --git a/test/e2e/fixtures/borrow_mutref_shared_ok.affine b/test/e2e/fixtures/borrow_mutref_shared_ok.affine index d986f85d..1072d3af 100644 --- a/test/e2e/fixtures/borrow_mutref_shared_ok.affine +++ b/test/e2e/fixtures/borrow_mutref_shared_ok.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // CORE-01 pt2 parser surface / #177 non-regression guard: adding `&mut e` diff --git a/test/e2e/fixtures/borrow_mutref_use_while.affine b/test/e2e/fixtures/borrow_mutref_use_while.affine index aeffa4c1..ddd1d32e 100644 --- a/test/e2e/fixtures/borrow_mutref_use_while.affine +++ b/test/e2e/fixtures/borrow_mutref_use_while.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // CORE-01 pt2 parser surface / #177: an exclusive `&mut` borrow held diff --git a/test/e2e/fixtures/borrow_outlives_owner.affine b/test/e2e/fixtures/borrow_outlives_owner.affine index d93d5a19..438b08a1 100644 --- a/test/e2e/fixtures/borrow_outlives_owner.affine +++ b/test/e2e/fixtures/borrow_outlives_owner.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // CORE-01 / #177 regression — borrow-graph validation. diff --git a/test/e2e/fixtures/borrow_return_escape_local.affine b/test/e2e/fixtures/borrow_return_escape_local.affine index ab9945dc..6f5476c3 100644 --- a/test/e2e/fixtures/borrow_return_escape_local.affine +++ b/test/e2e/fixtures/borrow_return_escape_local.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // CORE-01 pt2 / #177 return-escape: returning a reference rooted at a diff --git a/test/e2e/fixtures/borrow_return_escape_param.affine b/test/e2e/fixtures/borrow_return_escape_param.affine index 08f7421f..69f0156f 100644 --- a/test/e2e/fixtures/borrow_return_escape_param.affine +++ b/test/e2e/fixtures/borrow_return_escape_param.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // CORE-01 pt2 / #177 return-escape: returning a reference rooted at a diff --git a/test/e2e/fixtures/borrow_return_refparam_ok.affine b/test/e2e/fixtures/borrow_return_refparam_ok.affine index 05e72426..bb2283e7 100644 --- a/test/e2e/fixtures/borrow_return_refparam_ok.affine +++ b/test/e2e/fixtures/borrow_return_refparam_ok.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // CORE-01 pt2 / #177 non-over-rejection guard: returning a borrow of a diff --git a/test/e2e/fixtures/borrow_use_while_excl.affine b/test/e2e/fixtures/borrow_use_while_excl.affine index 47b731fb..add57a92 100644 --- a/test/e2e/fixtures/borrow_use_while_excl.affine +++ b/test/e2e/fixtures/borrow_use_while_excl.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // CORE-01 / #177 regression — shared-XOR-exclusive enforced at USE sites. diff --git a/test/e2e/fixtures/bug_001_omega_let_smuggles_linear.affine b/test/e2e/fixtures/bug_001_omega_let_smuggles_linear.affine index 0c46dfcb..3740402d 100644 --- a/test/e2e/fixtures/bug_001_omega_let_smuggles_linear.affine +++ b/test/e2e/fixtures/bug_001_omega_let_smuggles_linear.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // BUG-001 regression: ω-let must NOT smuggle a linear value through. // // `consume` declares its parameter as @linear, so within consume's body diff --git a/test/e2e/fixtures/bug_001_sugar_form.affine b/test/e2e/fixtures/bug_001_sugar_form.affine index bdfa11cc..9a744d3c 100644 --- a/test/e2e/fixtures/bug_001_sugar_form.affine +++ b/test/e2e/fixtures/bug_001_sugar_form.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // BUG-001 regression — Option B sugar form. Same program as // bug_001_omega_let_smuggles_linear.affine but written with the // :1 / :ω numeric quantity sugar instead of @linear / @unrestricted. diff --git a/test/e2e/fixtures/cmd_dropped.affine b/test/e2e/fixtures/cmd_dropped.affine index b658e872..a3ab549b 100644 --- a/test/e2e/fixtures/cmd_dropped.affine +++ b/test/e2e/fixtures/cmd_dropped.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell (hyperpolymath) // // Stage 11 — Cmd linearity: violation (Cmd dropped). diff --git a/test/e2e/fixtures/cmd_linear.affine b/test/e2e/fixtures/cmd_linear.affine index d82401c8..de74927a 100644 --- a/test/e2e/fixtures/cmd_linear.affine +++ b/test/e2e/fixtures/cmd_linear.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell (hyperpolymath) // // Stage 11 — Cmd linearity: correct usage. diff --git a/test/e2e/fixtures/counter.affine b/test/e2e/fixtures/counter.affine index 26a3160f..bf841a85 100644 --- a/test/e2e/fixtures/counter.affine +++ b/test/e2e/fixtures/counter.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025-2026 hyperpolymath // // AffineScript TEA counter — Stage 3c dogfood diff --git a/test/e2e/fixtures/cross_caller_drop.affine b/test/e2e/fixtures/cross_caller_drop.affine index 1a395650..87ad9f84 100644 --- a/test/e2e/fixtures/cross_caller_drop.affine +++ b/test/e2e/fixtures/cross_caller_drop.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Caller that calls the Linear-param import on one branch only — silently diff --git a/test/e2e/fixtures/cross_caller_dup.affine b/test/e2e/fixtures/cross_caller_dup.affine index 71af0d7e..738b7efc 100644 --- a/test/e2e/fixtures/cross_caller_dup.affine +++ b/test/e2e/fixtures/cross_caller_dup.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Caller that calls the Linear-param import twice on the same path — diff --git a/test/e2e/fixtures/cross_caller_ok.affine b/test/e2e/fixtures/cross_caller_ok.affine index a0667292..24db4c90 100644 --- a/test/e2e/fixtures/cross_caller_ok.affine +++ b/test/e2e/fixtures/cross_caller_ok.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Caller that consumes the imported Linear param exactly once. Verify-boundary diff --git a/test/e2e/fixtures/cross_caller_qualified.affine b/test/e2e/fixtures/cross_caller_qualified.affine index 900c3615..225b5eaf 100644 --- a/test/e2e/fixtures/cross_caller_qualified.affine +++ b/test/e2e/fixtures/cross_caller_qualified.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // #178 INT-01: `use Mod;` + qualified *value* call `Mod.fn(x)`. Before the diff --git a/test/e2e/fixtures/cross_caller_qualified_alias.affine b/test/e2e/fixtures/cross_caller_qualified_alias.affine index a681a81c..e034c0f1 100644 --- a/test/e2e/fixtures/cross_caller_qualified_alias.affine +++ b/test/e2e/fixtures/cross_caller_qualified_alias.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // #178 INT-01: aliased qualifier — `use CrossCallee as CC;` + `CC.consume(x)`. diff --git a/test/e2e/fixtures/cross_const_caller.affine b/test/e2e/fixtures/cross_const_caller.affine index b2ec6147..4e4b9e84 100644 --- a/test/e2e/fixtures/cross_const_caller.affine +++ b/test/e2e/fixtures/cross_const_caller.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // Caller that imports both a public const and a public fn from another diff --git a/test/e2e/fixtures/dependent_types.affine b/test/e2e/fixtures/dependent_types.affine index ebabb7fd..c7a0bfb9 100644 --- a/test/e2e/fixtures/dependent_types.affine +++ b/test/e2e/fixtures/dependent_types.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: dependent-type surface syntax (parse-only) // Tests: type aliases and generic functions with where-clause constraints // Note: refinement predicates are parsed but not yet reduced/checked. diff --git a/test/e2e/fixtures/effects.affine b/test/e2e/fixtures/effects.affine index 27690a25..120d6b04 100644 --- a/test/e2e/fixtures/effects.affine +++ b/test/e2e/fixtures/effects.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: effect system // Tests: effect declarations, effect annotations diff --git a/test/e2e/fixtures/erased_violation.affine b/test/e2e/fixtures/erased_violation.affine index 215434bb..715687ee 100644 --- a/test/e2e/fixtures/erased_violation.affine +++ b/test/e2e/fixtures/erased_violation.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: function using variable (for erased check) // Quantity checker should flag this if variable is erased (QZero). // Since quantity annotations aren't in the lexer, we test the quantity diff --git a/test/e2e/fixtures/full_pipeline.affine b/test/e2e/fixtures/full_pipeline.affine index 592772ab..f007fca5 100644 --- a/test/e2e/fixtures/full_pipeline.affine +++ b/test/e2e/fixtures/full_pipeline.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: full pipeline integration // Tests: a non-trivial program through all compiler stages diff --git a/test/e2e/fixtures/interp_simple.affine b/test/e2e/fixtures/interp_simple.affine index 8c476a07..02e10a31 100644 --- a/test/e2e/fixtures/interp_simple.affine +++ b/test/e2e/fixtures/interp_simple.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: interpreter evaluation // Tests: simple expressions that the tree-walking interpreter can evaluate diff --git a/test/e2e/fixtures/julia_simple.affine b/test/e2e/fixtures/julia_simple.affine index 77976f35..46a98ef8 100644 --- a/test/e2e/fixtures/julia_simple.affine +++ b/test/e2e/fixtures/julia_simple.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: Julia backend codegen // Tests: simple functions that should fully compile to Julia diff --git a/test/e2e/fixtures/lambda.affine b/test/e2e/fixtures/lambda.affine index 10ca8147..5253c5f2 100644 --- a/test/e2e/fixtures/lambda.affine +++ b/test/e2e/fixtures/lambda.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: lambda expressions and higher-order functions // Tests: closures, lambda syntax, function application diff --git a/test/e2e/fixtures/linear_arrow.affine b/test/e2e/fixtures/linear_arrow.affine index e3ce829e..ed39dfe9 100644 --- a/test/e2e/fixtures/linear_arrow.affine +++ b/test/e2e/fixtures/linear_arrow.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: linear arrow quantity enforcement in lambda expressions // Tests: // - Lambda with @linear param produces T -[1]-> U type (not T -[ω]-> U) diff --git a/test/e2e/fixtures/linear_arrow_violation.affine b/test/e2e/fixtures/linear_arrow_violation.affine index 822ed8ad..6954a856 100644 --- a/test/e2e/fixtures/linear_arrow_violation.affine +++ b/test/e2e/fixtures/linear_arrow_violation.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Regression: @linear param in a lambda must not be used twice inside the body. // The quantity checker must reject this program because `x` is used // two times inside the lambda body, violating the @linear (must use once) diff --git a/test/e2e/fixtures/ownership.affine b/test/e2e/fixtures/ownership.affine index a7d5aa1e..74344609 100644 --- a/test/e2e/fixtures/ownership.affine +++ b/test/e2e/fixtures/ownership.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: ownership system // Tests: own/ref/mut modifiers, borrowing diff --git a/test/e2e/fixtures/ownership_codegen.affine b/test/e2e/fixtures/ownership_codegen.affine index 8911836f..594a8ab2 100644 --- a/test/e2e/fixtures/ownership_codegen.affine +++ b/test/e2e/fixtures/ownership_codegen.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Stage 2 round-trip test fixture. // Ownership annotations must survive from AffineScript source to the Wasm custom section. // Bodies return literals to avoid type unification between own/ref/mut and the plain return type. diff --git a/test/e2e/fixtures/pattern_match.affine b/test/e2e/fixtures/pattern_match.affine index 96c3283d..0ef0ec21 100644 --- a/test/e2e/fixtures/pattern_match.affine +++ b/test/e2e/fixtures/pattern_match.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: pattern matching // Tests: literal patterns, constructor patterns, tuple destructuring diff --git a/test/e2e/fixtures/python_face_basic.pyaff b/test/e2e/fixtures/python_face_basic.pyaff index e39814c1..acd9a500 100644 --- a/test/e2e/fixtures/python_face_basic.pyaff +++ b/test/e2e/fixtures/python_face_basic.pyaff @@ -1,5 +1,5 @@ # Python-face fixture: basic arithmetic and control flow. -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 def add(x: Int, y: Int) -> Int: let result = x + y diff --git a/test/e2e/fixtures/refinement_types.affine b/test/e2e/fixtures/refinement_types.affine index 327e61f3..51849bca 100644 --- a/test/e2e/fixtures/refinement_types.affine +++ b/test/e2e/fixtures/refinement_types.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: type constraints via where clauses // Tests: parsing of where-clause constraints on generic functions diff --git a/test/e2e/fixtures/row_polymorphism.affine b/test/e2e/fixtures/row_polymorphism.affine index c84209e6..8d907263 100644 --- a/test/e2e/fixtures/row_polymorphism.affine +++ b/test/e2e/fixtures/row_polymorphism.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: record types (row polymorphism building blocks) // Tests: record type syntax, struct declarations diff --git a/test/e2e/fixtures/titlescreen.affine b/test/e2e/fixtures/titlescreen.affine index 873a6e33..497f7b12 100644 --- a/test/e2e/fixtures/titlescreen.affine +++ b/test/e2e/fixtures/titlescreen.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025-2026 hyperpolymath // // AffineScript TEA TitleScreen — Stage 3d dogfood diff --git a/test/e2e/fixtures/trait_impl_missing_method.affine b/test/e2e/fixtures/trait_impl_missing_method.affine index e568b1d3..e187226c 100644 --- a/test/e2e/fixtures/trait_impl_missing_method.affine +++ b/test/e2e/fixtures/trait_impl_missing_method.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: trait impl with missing required method // Verifies that an impl block that fails to provide a non-default // trait method is rejected by the type checker. diff --git a/test/e2e/fixtures/trait_impl_valid.affine b/test/e2e/fixtures/trait_impl_valid.affine index 2122ad61..8c2a3f89 100644 --- a/test/e2e/fixtures/trait_impl_valid.affine +++ b/test/e2e/fixtures/trait_impl_valid.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: valid trait impl acceptance // Verifies that TopTrait and TopImpl declarations are registered and their // method bodies are type-checked without error. diff --git a/test/e2e/fixtures/traits.affine b/test/e2e/fixtures/traits.affine index cea8f425..32bc875c 100644 --- a/test/e2e/fixtures/traits.affine +++ b/test/e2e/fixtures/traits.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: trait system // Tests: trait declarations, supertraits, impl blocks, method signatures diff --git a/test/e2e/fixtures/try_body_only.affine b/test/e2e/fixtures/try_body_only.affine index 2616f20c..2e1c6012 100644 --- a/test/e2e/fixtures/try_body_only.affine +++ b/test/e2e/fixtures/try_body_only.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) // // E2E fixture: try block with body only (no catch, no finally). diff --git a/test/e2e/fixtures/try_catch_finally.affine b/test/e2e/fixtures/try_catch_finally.affine index 2c9baf93..01e8002c 100644 --- a/test/e2e/fixtures/try_catch_finally.affine +++ b/test/e2e/fixtures/try_catch_finally.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) // // E2E fixture: try/catch/finally — full three-clause form. diff --git a/test/e2e/fixtures/try_catch_var.affine b/test/e2e/fixtures/try_catch_var.affine index 85441ef0..1958b0ce 100644 --- a/test/e2e/fixtures/try_catch_var.affine +++ b/test/e2e/fixtures/try_catch_var.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) // // E2E fixture: try/catch with a named variable pattern. diff --git a/test/e2e/fixtures/try_catch_wildcard.affine b/test/e2e/fixtures/try_catch_wildcard.affine index d3c3b185..cc69aec0 100644 --- a/test/e2e/fixtures/try_catch_wildcard.affine +++ b/test/e2e/fixtures/try_catch_wildcard.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) // // E2E fixture: try/catch with a wildcard pattern. diff --git a/test/e2e/fixtures/try_finally.affine b/test/e2e/fixtures/try_finally.affine index 47c06666..f12701e7 100644 --- a/test/e2e/fixtures/try_finally.affine +++ b/test/e2e/fixtures/try_finally.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) // // E2E fixture: try/finally with no catch. diff --git a/test/e2e/fixtures/type_decls.affine b/test/e2e/fixtures/type_decls.affine index 6c8e1a9d..3970e6c4 100644 --- a/test/e2e/fixtures/type_decls.affine +++ b/test/e2e/fixtures/type_decls.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: type declarations // Tests: aliases, structs, enums, parameterised types diff --git a/test/e2e/fixtures/verify_ownership_clean.affine b/test/e2e/fixtures/verify_ownership_clean.affine index efff6afd..5e284e2e 100644 --- a/test/e2e/fixtures/verify_ownership_clean.affine +++ b/test/e2e/fixtures/verify_ownership_clean.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Stage 7 verify integration fixture — clean case. // // This fixture compiles cleanly and the verifier must report OK. diff --git a/test/e2e/fixtures/wasm_simple.affine b/test/e2e/fixtures/wasm_simple.affine index eebafef6..9cc8c2c6 100644 --- a/test/e2e/fixtures/wasm_simple.affine +++ b/test/e2e/fixtures/wasm_simple.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // End-to-end test: WASM backend codegen // Tests: simple functions that should fully compile to WASM binary diff --git a/test/test_e2e.ml b/test/test_e2e.ml index b5e43dba..7a4b4785 100644 --- a/test/test_e2e.ml +++ b/test/test_e2e.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* Copyright (c) 2026 Jonathan D.A. Jewell *) (** End-to-end integration tests for the AffineScript compiler pipeline. diff --git a/test/test_effect_sites.ml b/test/test_effect_sites.ml index 6d083fbe..9feb8f4a 100644 --- a/test/test_effect_sites.ml +++ b/test/test_effect_sites.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 hyperpolymath *) (* ADR-016 / #234 S2a: the shared call-site numbering must be total, diff --git a/test/test_effects.ml b/test/test_effects.ml index 0c333a5a..46e9f397 100644 --- a/test/test_effects.ml +++ b/test/test_effects.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* Copyright (c) 2026 Jonathan D.A. Jewell *) (** Effect-row v1 inference tests (issue #59). diff --git a/test/test_golden.ml b/test/test_golden.ml index c965773c..e7fdfcc3 100644 --- a/test/test_golden.ml +++ b/test/test_golden.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Golden tests for parser/AST output *) diff --git a/test/test_lexer.ml b/test/test_lexer.ml index 0f8bf754..4b9a3a1c 100644 --- a/test/test_lexer.ml +++ b/test/test_lexer.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2024-2025 hyperpolymath *) (** Lexer tests *) diff --git a/test/test_main.ml b/test/test_main.ml index 43c035f9..a6321eab 100644 --- a/test/test_main.ml +++ b/test/test_main.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* Copyright (c) 2024-2026 Jonathan D.A. Jewell *) (** Main test runner for AffineScript *) diff --git a/test/test_stdlib_aot.ml b/test/test_stdlib_aot.ml index 33fa5bd7..b853c66b 100644 --- a/test/test_stdlib_aot.ml +++ b/test/test_stdlib_aot.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2025 hyperpolymath *) (** STAGE-A closers (affinescript#128): diff --git a/test/test_tw_isolation.ml b/test/test_tw_isolation.ml index 7383b546..b86007c1 100644 --- a/test/test_tw_isolation.ml +++ b/test/test_tw_isolation.ml @@ -1,4 +1,4 @@ -(* SPDX-License-Identifier: PMPL-1.0-or-later *) +(* SPDX-License-Identifier: MPL-2.0 *) (* SPDX-FileCopyrightText: 2026 hyperpolymath *) (* #10 / typed-wasm contract widening: L13 module-isolation (negative diff --git a/tests/borrow/simple_own.affine b/tests/borrow/simple_own.affine index c07f6756..46abeba5 100644 --- a/tests/borrow/simple_own.affine +++ b/tests/borrow/simple_own.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Simple test of own parameter fn test(own x: Int) -> Int { diff --git a/tests/borrow/test_move.affine b/tests/borrow/test_move.affine index ffded4fd..8389aab1 100644 --- a/tests/borrow/test_move.affine +++ b/tests/borrow/test_move.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: arithmetic/add diff --git a/tests/borrow/use_after_move.affine b/tests/borrow/use_after_move.affine index af3e38e6..4f69e86c 100644 --- a/tests/borrow/use_after_move.affine +++ b/tests/borrow/use_after_move.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Borrow checker test: Use after move should fail diff --git a/tests/borrow/valid_move.affine b/tests/borrow/valid_move.affine index 1b479850..d44a8d6c 100644 --- a/tests/borrow/valid_move.affine +++ b/tests/borrow/valid_move.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Borrow checker test: Valid move should pass diff --git a/tests/codegen-deno/class_basic.affine b/tests/codegen-deno/class_basic.affine index a56e1651..78b4855b 100644 --- a/tests/codegen-deno/class_basic.affine +++ b/tests/codegen-deno/class_basic.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 Phase 1 regression: Deno-ESM backend. // // Exercises: struct + receiver-first free fns -> `export class` (the diff --git a/tests/codegen-deno/class_basic.harness.mjs b/tests/codegen-deno/class_basic.harness.mjs index aee0e5ae..447245e3 100644 --- a/tests/codegen-deno/class_basic.harness.mjs +++ b/tests/codegen-deno/class_basic.harness.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 Phase 1 — Node-ESM harness for the Deno-ESM backend. // Runnable with plain `node` (the generated module only touches the // `Deno` global lazily inside unused helpers; nothing here calls them). diff --git a/tests/codegen-deno/control_flow.affine b/tests/codegen-deno/control_flow.affine index c6acc62c..17c07319 100644 --- a/tests/codegen-deno/control_flow.affine +++ b/tests/codegen-deno/control_flow.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 v2.1 regression: statement-position `return` and control // flow must lower to real JS statements, not a discarded IIFE. // (Inherited js_codegen bug: `return e;` -> `(() => { return e; })();` diff --git a/tests/codegen-deno/control_flow.harness.mjs b/tests/codegen-deno/control_flow.harness.mjs index 4d5c45d7..b7ac940f 100644 --- a/tests/codegen-deno/control_flow.harness.mjs +++ b/tests/codegen-deno/control_flow.harness.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 v2.1 — statement-position return / control flow. import assert from "node:assert/strict"; import { sum_to, classify, first_even } from "./control_flow.deno.js"; diff --git a/tests/codegen-deno/http_fetch.affine b/tests/codegen-deno/http_fetch.affine index 7a12aee7..043557b1 100644 --- a/tests/codegen-deno/http_fetch.affine +++ b/tests/codegen-deno/http_fetch.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #160 — portable Http.fetch end-to-end on the Deno-ESM backend. // // Exercises the real stdlib/Http.affine (flattened in via `use`): the diff --git a/tests/codegen-deno/http_fetch.harness.mjs b/tests/codegen-deno/http_fetch.harness.mjs index 955e4261..98c17aa2 100644 --- a/tests/codegen-deno/http_fetch.harness.mjs +++ b/tests/codegen-deno/http_fetch.harness.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #160 — Node-ESM harness for portable Http.fetch (Deno-ESM backend). // // Stubs `globalThis.fetch` so nothing touches the network: the stub diff --git a/tests/codegen-deno/match_enum.affine b/tests/codegen-deno/match_enum.affine index bf7beab1..672a67d1 100644 --- a/tests/codegen-deno/match_enum.affine +++ b/tests/codegen-deno/match_enum.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 v2.4 regression: qualified `Type::Variant` patterns in // match arms (nullary + payload), as both `= match {..};` expression // bodies and recursive functions. Previously a parse error diff --git a/tests/codegen-deno/match_enum.harness.mjs b/tests/codegen-deno/match_enum.harness.mjs index b63f6fe4..25089b01 100644 --- a/tests/codegen-deno/match_enum.harness.mjs +++ b/tests/codegen-deno/match_enum.harness.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 v2.4 — qualified Type::Variant patterns + recursive ADTs. import assert from "node:assert/strict"; import { rank, Red, Blue, len, sum, demo_list } from "./match_enum.deno.js"; diff --git a/tests/codegen-deno/ref_fields.affine b/tests/codegen-deno/ref_fields.affine index 21c57e46..b131b22b 100644 --- a/tests/codegen-deno/ref_fields.affine +++ b/tests/codegen-deno/ref_fields.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 v2.3 regression: struct field access through ref/own/mut // receivers must typecheck (auto-deref before record projection). // Previously `fn(c: ref S) = c.field` failed: "Field 'field' not found diff --git a/tests/codegen-deno/ref_fields.harness.mjs b/tests/codegen-deno/ref_fields.harness.mjs index 14a72a4b..e4c0b1ac 100644 --- a/tests/codegen-deno/ref_fields.harness.mjs +++ b/tests/codegen-deno/ref_fields.harness.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 v2.3 — field access through ref/own/mut receivers. // mk_point returns Point (constructor); sum_ref/get_x_own/get_y_mut // take Point first (ref/own/mut) so they synthesise as Point methods — diff --git a/tests/codegen-deno/string_prims.affine b/tests/codegen-deno/string_prims.affine index 88d88e87..1578e90b 100644 --- a/tests/codegen-deno/string_prims.affine +++ b/tests/codegen-deno/string_prims.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 v2.5 regression: the honest string/number primitive layer // (len/string_sub/string_find/int_to_string + `++` shape dispatch) that // lets stdlib/string.affine — real AffineScript — run under Deno-ESM. diff --git a/tests/codegen-deno/string_prims.harness.mjs b/tests/codegen-deno/string_prims.harness.mjs index 9b2a3cd9..5a018c41 100644 --- a/tests/codegen-deno/string_prims.harness.mjs +++ b/tests/codegen-deno/string_prims.harness.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #122 v2.5 — honest string/number primitive lowering + `++` shape // dispatch (string concat vs array concat). import assert from "node:assert/strict"; diff --git a/tests/codegen/arg_count.affine b/tests/codegen/arg_count.affine index cce4e4dc..a3119bbe 100644 --- a/tests/codegen/arg_count.affine +++ b/tests/codegen/arg_count.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // ADR-015 S4b (#180): arg_count() smoke. Lowers to // `wasi_snapshot_preview1.args_sizes_get`. Same shape as env_count; // proves the multi-WASI-import-on-use indexing handles two optional diff --git a/tests/codegen/clock_now_ms.affine b/tests/codegen/clock_now_ms.affine index ce3b239b..f716cee2 100644 --- a/tests/codegen/clock_now_ms.affine +++ b/tests/codegen/clock_now_ms.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // ADR-015 S4a (#180) — wasm-path smoke for `clock_now_ms`, the first diff --git a/tests/codegen/closure_indirect_dispatch.affine b/tests/codegen/closure_indirect_dispatch.affine index 4fffe7af..c7556c40 100644 --- a/tests/codegen/closure_indirect_dispatch.affine +++ b/tests/codegen/closure_indirect_dispatch.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #235 — the #199 closure-pointer ABI exercised in a real wasm // engine INDEPENDENT of the async / CPS transform. // diff --git a/tests/codegen/effect_async_boundary.affine b/tests/codegen/effect_async_boundary.affine index 8ddabb34..24b66a48 100644 --- a/tests/codegen/effect_async_boundary.affine +++ b/tests/codegen/effect_async_boundary.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #234 S3 — the payoff: the WasmGC CPS async boundary is now // detected from the callee's *effect row* (the typecheck side-table, // ADR-016), not a hardcoded name set. `fetchThing` is a USER-defined diff --git a/tests/codegen/env_count.affine b/tests/codegen/env_count.affine index a652440e..83ca27e9 100644 --- a/tests/codegen/env_count.affine +++ b/tests/codegen/env_count.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // ADR-015 S4b (#180): env_count() smoke. Lowers to // `wasi_snapshot_preview1.environ_sizes_get`, returns the count // the host wrote into *count_ptr. Unit arg = zero-param-fn collapse diff --git a/tests/codegen/for_tuple.affine b/tests/codegen/for_tuple.affine index 2d784802..009ddfb8 100644 --- a/tests/codegen/for_tuple.affine +++ b/tests/codegen/for_tuple.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // #255 regression: `for` over a list of tuples with tuple-pattern diff --git a/tests/codegen/http_cps_base.affine b/tests/codegen/http_cps_base.affine index 77013ca3..cdc3e939 100644 --- a/tests/codegen/http_cps_base.affine +++ b/tests/codegen/http_cps_base.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR 2 — WasmGC CPS transform, base case (ADR-013). // // This is the FIRST end-to-end exercise of the transparent async diff --git a/tests/codegen/http_cps_capture.affine b/tests/codegen/http_cps_capture.affine index 65df8126..b406997a 100644 --- a/tests/codegen/http_cps_capture.affine +++ b/tests/codegen/http_cps_capture.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR 3a — WasmGC CPS transform, multi-var live-local capture. // // PR2 proved the zero-capture base case. PR3a lifts that: a `let` bound diff --git a/tests/codegen/http_cps_chain.affine b/tests/codegen/http_cps_chain.affine index 7c105453..4fd7d792 100644 --- a/tests/codegen/http_cps_chain.affine +++ b/tests/codegen/http_cps_chain.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR 3c — WasmGC CPS transform, Async->Async chaining. // // Two sequential async boundaries in one fn: the continuation of the diff --git a/tests/codegen/http_response_reader.affine b/tests/codegen/http_response_reader.affine index 297af9cc..a7d3d1a3 100644 --- a/tests/codegen/http_response_reader.affine +++ b/tests/codegen/http_response_reader.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR3d — wasm e2e: the typed `Response` reader primitives // (ADR-013 §Value-reconstruction) + http_fetch-parity on the WasmGC // path. diff --git a/tests/codegen/http_thenable_skeleton.affine b/tests/codegen/http_thenable_skeleton.affine index fa294b17..27f14057 100644 --- a/tests/codegen/http_thenable_skeleton.affine +++ b/tests/codegen/http_thenable_skeleton.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR 1 — typed-wasm Http skeleton. // // Proves the WasmGC Http boundary + the #205 Thenable convergence diff --git a/tests/codegen/list_concat.affine b/tests/codegen/list_concat.affine index 558c37c5..b7d14f11 100644 --- a/tests/codegen/list_concat.affine +++ b/tests/codegen/list_concat.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // Regression for the `++` list-concat codegen defect. `OpConcat` was a diff --git a/tests/codegen/simple_arithmetic.affine b/tests/codegen/simple_arithmetic.affine index 92e2764e..037087a2 100644 --- a/tests/codegen/simple_arithmetic.affine +++ b/tests/codegen/simple_arithmetic.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Simple arithmetic test for WASM code generation diff --git a/tests/codegen/test_arg_count.mjs b/tests/codegen/test_arg_count.mjs index 10624201..e91304c4 100644 --- a/tests/codegen/test_arg_count.mjs +++ b/tests/codegen/test_arg_count.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // ADR-015 S4b (#180) — arg_count via WASI preview1 args_sizes_get. import assert from 'node:assert/strict'; import { readFile } from 'node:fs/promises'; diff --git a/tests/codegen/test_clock_now_ms.mjs b/tests/codegen/test_clock_now_ms.mjs index b9e4e401..1edde7ac 100644 --- a/tests/codegen/test_clock_now_ms.mjs +++ b/tests/codegen/test_clock_now_ms.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // ADR-015 S4a (#180) — assert the `clock_now_ms` builtin wires its diff --git a/tests/codegen/test_closure_indirect_dispatch.mjs b/tests/codegen/test_closure_indirect_dispatch.mjs index 61084432..ee799351 100644 --- a/tests/codegen/test_closure_indirect_dispatch.mjs +++ b/tests/codegen/test_closure_indirect_dispatch.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #235 — proves the #199 [fnId@0,envPtr@4] closure ABI through // the exported __indirect_function_table in a real wasm engine, with // NO async/CPS transform involved (no thenableThen import). This is diff --git a/tests/codegen/test_effect_async_boundary.mjs b/tests/codegen/test_effect_async_boundary.mjs index bba3ee77..dfd0bf2f 100644 --- a/tests/codegen/test_effect_async_boundary.mjs +++ b/tests/codegen/test_effect_async_boundary.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #234 S3 — proves the effect-threaded async-boundary detection // end-to-end: the source uses `fetchThing` (a user-defined `/ {Async}` // extern, NOT `http_request_thenable`, NOT in codegen's hardcoded diff --git a/tests/codegen/test_env_count.mjs b/tests/codegen/test_env_count.mjs index b71ae83c..974f13bd 100644 --- a/tests/codegen/test_env_count.mjs +++ b/tests/codegen/test_env_count.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // ADR-015 S4b (#180) — env_count via WASI preview1 environ_sizes_get. // Host stubs the import with a known count + buf_size; asserts the // guest returns that count. diff --git a/tests/codegen/test_function_call.affine b/tests/codegen/test_function_call.affine index cd6119af..8dd2d493 100644 --- a/tests/codegen/test_function_call.affine +++ b/tests/codegen/test_function_call.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test basic function calls in WASM codegen diff --git a/tests/codegen/test_http_cps_base.mjs b/tests/codegen/test_http_cps_base.mjs index d9d28f3d..58309f0a 100644 --- a/tests/codegen/test_http_cps_base.mjs +++ b/tests/codegen/test_http_cps_base.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR 2 — wasm e2e for the CPS transform base case (ADR-013). // // Proves the transparent async transform end-to-end on the WasmGC diff --git a/tests/codegen/test_http_cps_capture.mjs b/tests/codegen/test_http_cps_capture.mjs index 419a0a05..afa552fb 100644 --- a/tests/codegen/test_http_cps_capture.mjs +++ b/tests/codegen/test_http_cps_capture.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR 3a — wasm e2e for multi-var live-local capture. // // Proves the continuation, when the host re-enters it after settlement, diff --git a/tests/codegen/test_http_cps_chain.mjs b/tests/codegen/test_http_cps_chain.mjs index 7c219538..38409138 100644 --- a/tests/codegen/test_http_cps_chain.mjs +++ b/tests/codegen/test_http_cps_chain.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR 3c — wasm e2e for Async->Async chaining. // // Two sequential async boundaries. Proves the recursive transform: diff --git a/tests/codegen/test_http_response_reader.mjs b/tests/codegen/test_http_response_reader.mjs index b868dc34..d29a4583 100644 --- a/tests/codegen/test_http_response_reader.mjs +++ b/tests/codegen/test_http_response_reader.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR3d — wasm e2e host for http_response_reader.affine. // // Same #205 Thenable + #199 closure scaffold as test_http_cps_base.mjs diff --git a/tests/codegen/test_http_thenable_skeleton.mjs b/tests/codegen/test_http_thenable_skeleton.mjs index 5c4b5d79..bc1007d2 100644 --- a/tests/codegen/test_http_thenable_skeleton.mjs +++ b/tests/codegen/test_http_thenable_skeleton.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // issue #225 PR 1 — wasm e2e for the typed-wasm Http skeleton. // // Inlines the generic Http host adapter (the reusable package is diff --git a/tests/codegen/test_multiple_calls.affine b/tests/codegen/test_multiple_calls.affine index a4d2b4e6..7129d2c6 100644 --- a/tests/codegen/test_multiple_calls.affine +++ b/tests/codegen/test_multiple_calls.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test multiple function calls and composition diff --git a/tests/codegen/test_recursive_call.affine b/tests/codegen/test_recursive_call.affine index 41598b4e..83bdaa47 100644 --- a/tests/codegen/test_recursive_call.affine +++ b/tests/codegen/test_recursive_call.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test recursive function calls diff --git a/tests/codegen/test_wasi_combo.mjs b/tests/codegen/test_wasi_combo.mjs index 87abbf09..673ee140 100644 --- a/tests/codegen/test_wasi_combo.mjs +++ b/tests/codegen/test_wasi_combo.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // ADR-015 S4b regression: all three optional WASI imports used in // one unit. Each lookup in ctx.wasi_func_indices must return THIS // import's idx (no collision, no off-by-one). Stubbed values are diff --git a/tests/codegen/wasi_combo.affine b/tests/codegen/wasi_combo.affine index 43995329..445d3341 100644 --- a/tests/codegen/wasi_combo.affine +++ b/tests/codegen/wasi_combo.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // ADR-015 S4b regression: a unit that uses ALL THREE optional WASI // imports (clock + env + args). Proves the multi-import-on-use // indexing assigns each its correct func index without collision — diff --git a/tests/codegen/while_loop.affine b/tests/codegen/while_loop.affine index 0213e6e4..26ed95cb 100644 --- a/tests/codegen/while_loop.affine +++ b/tests/codegen/while_loop.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2026 hyperpolymath // // #255 regression: `while` + a `for`-count length helper + array index. diff --git a/tests/componentize/smoke.sh b/tests/componentize/smoke.sh index 229f1fdd..7dcd178a 100755 --- a/tests/componentize/smoke.sh +++ b/tests/componentize/smoke.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # ADR-015 S3 gated smoke: compile a core module that carries the # `affinescript.ownership` section, run it through the componentize diff --git a/tests/conformance/README.md b/tests/conformance/README.md index 886840d7..2e3b2026 100644 --- a/tests/conformance/README.md +++ b/tests/conformance/README.md @@ -116,7 +116,7 @@ AffineScript's conformance tests respect affine type constraints: Example: ```affinescript -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Source: aggregate-library/specs/collection/map.md fn test_map_double() -> TestResult { diff --git a/tests/conformance/arithmetic/add.affine b/tests/conformance/arithmetic/add.affine index ffded4fd..8389aab1 100644 --- a/tests/conformance/arithmetic/add.affine +++ b/tests/conformance/arithmetic/add.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: arithmetic/add diff --git a/tests/conformance/arithmetic/divide.affine b/tests/conformance/arithmetic/divide.affine index 9711923c..5fbe76a9 100644 --- a/tests/conformance/arithmetic/divide.affine +++ b/tests/conformance/arithmetic/divide.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: arithmetic/divide diff --git a/tests/conformance/arithmetic/modulo.affine b/tests/conformance/arithmetic/modulo.affine index 01f2d0d5..ae94dfa8 100644 --- a/tests/conformance/arithmetic/modulo.affine +++ b/tests/conformance/arithmetic/modulo.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: arithmetic/modulo diff --git a/tests/conformance/arithmetic/multiply.affine b/tests/conformance/arithmetic/multiply.affine index 16dc01da..eabd6185 100644 --- a/tests/conformance/arithmetic/multiply.affine +++ b/tests/conformance/arithmetic/multiply.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: arithmetic/multiply diff --git a/tests/conformance/arithmetic/subtract.affine b/tests/conformance/arithmetic/subtract.affine index d01c1417..bdb8ae93 100644 --- a/tests/conformance/arithmetic/subtract.affine +++ b/tests/conformance/arithmetic/subtract.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: arithmetic/subtract diff --git a/tests/conformance/collection/contains.affine b/tests/conformance/collection/contains.affine index 61de789f..f23116b6 100644 --- a/tests/conformance/collection/contains.affine +++ b/tests/conformance/collection/contains.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: collection/contains diff --git a/tests/conformance/collection/filter.affine b/tests/conformance/collection/filter.affine index ffeb6d4f..4ecce629 100644 --- a/tests/conformance/collection/filter.affine +++ b/tests/conformance/collection/filter.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: collection/filter diff --git a/tests/conformance/collection/fold.affine b/tests/conformance/collection/fold.affine index 113826d0..d146da12 100644 --- a/tests/conformance/collection/fold.affine +++ b/tests/conformance/collection/fold.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: collection/fold diff --git a/tests/conformance/collection/map.affine b/tests/conformance/collection/map.affine index 96c26960..eb4b8280 100644 --- a/tests/conformance/collection/map.affine +++ b/tests/conformance/collection/map.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: collection/map diff --git a/tests/conformance/comparison/equal.affine b/tests/conformance/comparison/equal.affine index b4789e8d..75504824 100644 --- a/tests/conformance/comparison/equal.affine +++ b/tests/conformance/comparison/equal.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: comparison/equal diff --git a/tests/conformance/comparison/greater_equal.affine b/tests/conformance/comparison/greater_equal.affine index 53c1d853..10b34c5d 100644 --- a/tests/conformance/comparison/greater_equal.affine +++ b/tests/conformance/comparison/greater_equal.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: comparison/greater_equal diff --git a/tests/conformance/comparison/greater_than.affine b/tests/conformance/comparison/greater_than.affine index 8fe73766..f7ee72f9 100644 --- a/tests/conformance/comparison/greater_than.affine +++ b/tests/conformance/comparison/greater_than.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: comparison/greater_than diff --git a/tests/conformance/comparison/less_equal.affine b/tests/conformance/comparison/less_equal.affine index 5161e9ae..6e8650d4 100644 --- a/tests/conformance/comparison/less_equal.affine +++ b/tests/conformance/comparison/less_equal.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: comparison/less_equal diff --git a/tests/conformance/comparison/less_than.affine b/tests/conformance/comparison/less_than.affine index 0584bb69..d372fe0b 100644 --- a/tests/conformance/comparison/less_than.affine +++ b/tests/conformance/comparison/less_than.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: comparison/less_than diff --git a/tests/conformance/comparison/not_equal.affine b/tests/conformance/comparison/not_equal.affine index 198f7f9c..0ce843cb 100644 --- a/tests/conformance/comparison/not_equal.affine +++ b/tests/conformance/comparison/not_equal.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: comparison/not_equal diff --git a/tests/conformance/conditional/if_then_else.affine b/tests/conformance/conditional/if_then_else.affine index e2df5609..0c765fa7 100644 --- a/tests/conformance/conditional/if_then_else.affine +++ b/tests/conformance/conditional/if_then_else.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: conditional/if_then_else diff --git a/tests/conformance/logical/and.affine b/tests/conformance/logical/and.affine index 9f2c5813..2d598b18 100644 --- a/tests/conformance/logical/and.affine +++ b/tests/conformance/logical/and.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: logical/and diff --git a/tests/conformance/logical/not.affine b/tests/conformance/logical/not.affine index a65bd451..3dc4b5e4 100644 --- a/tests/conformance/logical/not.affine +++ b/tests/conformance/logical/not.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: logical/not diff --git a/tests/conformance/logical/or.affine b/tests/conformance/logical/or.affine index 584c5bf5..b5fa9cfa 100644 --- a/tests/conformance/logical/or.affine +++ b/tests/conformance/logical/or.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: logical/or diff --git a/tests/conformance/run_all.affine b/tests/conformance/run_all.affine index 157abb37..f8bb269a 100644 --- a/tests/conformance/run_all.affine +++ b/tests/conformance/run_all.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Master conformance test runner for aLib specs diff --git a/tests/conformance/string/concat.affine b/tests/conformance/string/concat.affine index 8bfaf4cd..4a0b3ef1 100644 --- a/tests/conformance/string/concat.affine +++ b/tests/conformance/string/concat.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: string/concat diff --git a/tests/conformance/string/length.affine b/tests/conformance/string/length.affine index 195dd7d2..a2523b3a 100644 --- a/tests/conformance/string/length.affine +++ b/tests/conformance/string/length.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: string/length diff --git a/tests/conformance/string/substring.affine b/tests/conformance/string/substring.affine index c3c8043c..a97c7003 100644 --- a/tests/conformance/string/substring.affine +++ b/tests/conformance/string/substring.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Conformance tests for aLib spec: string/substring diff --git a/tests/effects/basic_effect.affine b/tests/effects/basic_effect.affine index 24b706b5..13f271ee 100644 --- a/tests/effects/basic_effect.affine +++ b/tests/effects/basic_effect.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test basic effect handler diff --git a/tests/modules/loader-bridge/README.adoc b/tests/modules/loader-bridge/README.adoc index c4ddeabd..ef59c8bb 100644 --- a/tests/modules/loader-bridge/README.adoc +++ b/tests/modules/loader-bridge/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = INT-02 loader-bridge acceptance harness (#179) Proves the host-agnostic loader (`packages/affine-js/loader.js`) on diff --git a/tests/modules/loader-bridge/bridge.mjs b/tests/modules/loader-bridge/bridge.mjs index ac0c1341..acaf9ed1 100644 --- a/tests/modules/loader-bridge/bridge.mjs +++ b/tests/modules/loader-bridge/bridge.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // INT-02 / #179 — host-agnostic loader bridge, end-to-end acceptance. // // Proves the *actual* INT-02 loader API (packages/affine-js/loader.js) diff --git a/tests/modules/loader-bridge/run.sh b/tests/modules/loader-bridge/run.sh index bd9fb875..093d7ad1 100755 --- a/tests/modules/loader-bridge/run.sh +++ b/tests/modules/loader-bridge/run.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # INT-02 / #179 — compile the INT-01 cross-module fixtures and drive them # through the real packages/affine-js loader API. Reproducible acceptance. # diff --git a/tests/modules/test_import.affine b/tests/modules/test_import.affine index 81e004f8..26de09d0 100644 --- a/tests/modules/test_import.affine +++ b/tests/modules/test_import.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test module imports diff --git a/tests/modules/test_import_only.affine b/tests/modules/test_import_only.affine index 7f675614..92cfad2c 100644 --- a/tests/modules/test_import_only.affine +++ b/tests/modules/test_import_only.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test that import itself doesn't error diff --git a/tests/modules/test_math_functions.affine b/tests/modules/test_math_functions.affine index e20b8bb5..63beb540 100644 --- a/tests/modules/test_math_functions.affine +++ b/tests/modules/test_math_functions.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test importing and using Math functions diff --git a/tests/modules/test_no_import.affine b/tests/modules/test_no_import.affine index ca763668..5701ac62 100644 --- a/tests/modules/test_no_import.affine +++ b/tests/modules/test_no_import.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test without imports - just local functions diff --git a/tests/modules/test_simple_import.affine b/tests/modules/test_simple_import.affine index 75a0b1e6..0f46b654 100644 --- a/tests/modules/test_simple_import.affine +++ b/tests/modules/test_simple_import.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test simple import diff --git a/tests/modules/xmod-link/README.adoc b/tests/modules/xmod-link/README.adoc index 747b69a4..f8fa41d2 100644 --- a/tests/modules/xmod-link/README.adoc +++ b/tests/modules/xmod-link/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 = INT-01 / #178 — cross-module WASM link+execute acceptance Reproducible proof that *real multi-file AffineScript libraries are diff --git a/tests/modules/xmod-link/link.mjs b/tests/modules/xmod-link/link.mjs index d7070266..fc6c4ce5 100644 --- a/tests/modules/xmod-link/link.mjs +++ b/tests/modules/xmod-link/link.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // INT-01 / #178 — cross-module WASM link+execute acceptance harness. // // Proves that two SEPARATELY-compiled AffineScript modules link and run diff --git a/tests/modules/xmod-link/run.sh b/tests/modules/xmod-link/run.sh index 64b296f6..bbc2abc0 100755 --- a/tests/modules/xmod-link/run.sh +++ b/tests/modules/xmod-link/run.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # INT-01 / #178 — compile the two cross-module fixtures and prove they # link + execute across the wasm boundary. Reproducible acceptance run. # diff --git a/tests/parser/unsafe_all.affine b/tests/parser/unsafe_all.affine index bc50426f..ae4eb635 100644 --- a/tests/parser/unsafe_all.affine +++ b/tests/parser/unsafe_all.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Comprehensive unsafe operations parser test diff --git a/tests/parser/unsafe_ops.affine b/tests/parser/unsafe_ops.affine index 5b29d39b..f9209b50 100644 --- a/tests/parser/unsafe_ops.affine +++ b/tests/parser/unsafe_ops.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Parser test for unsafe operations diff --git a/tests/parser/unsafe_simple.affine b/tests/parser/unsafe_simple.affine index 949de0c9..04520e11 100644 --- a/tests/parser/unsafe_simple.affine +++ b/tests/parser/unsafe_simple.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Test simple unsafe block fn test() -> () { diff --git a/tests/types/test_effect_inference.affine b/tests/types/test_effect_inference.affine index 04d984fd..1b260072 100644 --- a/tests/types/test_effect_inference.affine +++ b/tests/types/test_effect_inference.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test effect inference and polymorphism diff --git a/tests/types/test_effect_lambda.affine b/tests/types/test_effect_lambda.affine index 7b8c276a..b7cc3ba6 100644 --- a/tests/types/test_effect_lambda.affine +++ b/tests/types/test_effect_lambda.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test effect inference with lambdas diff --git a/tests/types/test_effect_polymorphism.affine b/tests/types/test_effect_polymorphism.affine index 5cb50777..23eef96a 100644 --- a/tests/types/test_effect_polymorphism.affine +++ b/tests/types/test_effect_polymorphism.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test effect polymorphism with higher-order functions diff --git a/tests/types/test_parse_row_type.affine b/tests/types/test_parse_row_type.affine index 20a3c9d5..1c1f51ee 100644 --- a/tests/types/test_parse_row_type.affine +++ b/tests/types/test_parse_row_type.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Simple test to check if row type syntax parses diff --git a/tests/types/test_row_polymorphism.affine b/tests/types/test_row_polymorphism.affine index c903e746..5689ada1 100644 --- a/tests/types/test_row_polymorphism.affine +++ b/tests/types/test_row_polymorphism.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Test row polymorphism with extensible records diff --git a/tests/types/test_row_simple.affine b/tests/types/test_row_simple.affine index e42169cb..34192513 100644 --- a/tests/types/test_row_simple.affine +++ b/tests/types/test_row_simple.affine @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // Simplest possible row polymorphism test diff --git a/tools/affine-doc/Cargo.toml b/tools/affine-doc/Cargo.toml index 44b1eed2..a0fa940f 100644 --- a/tools/affine-doc/Cargo.toml +++ b/tools/affine-doc/Cargo.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024 AffineScript Contributors [package] diff --git a/tools/affine-pkg/Cargo.toml b/tools/affine-pkg/Cargo.toml index c4f0fb78..01020172 100644 --- a/tools/affine-pkg/Cargo.toml +++ b/tools/affine-pkg/Cargo.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024 AffineScript Contributors [package] diff --git a/tools/affinescript-dap/Cargo.toml b/tools/affinescript-dap/Cargo.toml index c1c6cad3..83bac55e 100644 --- a/tools/affinescript-dap/Cargo.toml +++ b/tools/affinescript-dap/Cargo.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 [package] name = "affinescript-dap" version.workspace = true diff --git a/tools/affinescript-dap/src/main.rs b/tools/affinescript-dap/src/main.rs index 4ac3318f..d33981eb 100644 --- a/tools/affinescript-dap/src/main.rs +++ b/tools/affinescript-dap/src/main.rs @@ -1,5 +1,5 @@ #![forbid(unsafe_code)] -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 //! Debug Adapter Protocol (DAP) implementation for Affinescript //! //! This is a minimal DAP adapter for Affinescript. diff --git a/tools/affinescript-lsp/Cargo.toml b/tools/affinescript-lsp/Cargo.toml index 93c7f786..7ff34aa8 100644 --- a/tools/affinescript-lsp/Cargo.toml +++ b/tools/affinescript-lsp/Cargo.toml @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024 AffineScript Contributors [package] diff --git a/tools/affinescript-lsp/src/capabilities.rs b/tools/affinescript-lsp/src/capabilities.rs index f7925057..e08d28e7 100644 --- a/tools/affinescript-lsp/src/capabilities.rs +++ b/tools/affinescript-lsp/src/capabilities.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! Server Capabilities diff --git a/tools/affinescript-lsp/src/compiler.rs b/tools/affinescript-lsp/src/compiler.rs index 8289a7e0..3bdc698c 100644 --- a/tools/affinescript-lsp/src/compiler.rs +++ b/tools/affinescript-lsp/src/compiler.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! Compiler resolution (INT-10 / #282 — ADR-019 S4). diff --git a/tools/affinescript-lsp/src/diagnostics.rs b/tools/affinescript-lsp/src/diagnostics.rs index 3e35d173..979e61a8 100644 --- a/tools/affinescript-lsp/src/diagnostics.rs +++ b/tools/affinescript-lsp/src/diagnostics.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! Diagnostics diff --git a/tools/affinescript-lsp/src/document.rs b/tools/affinescript-lsp/src/document.rs index 63dd7990..933a2c96 100644 --- a/tools/affinescript-lsp/src/document.rs +++ b/tools/affinescript-lsp/src/document.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! Document Management diff --git a/tools/affinescript-lsp/src/handlers.rs b/tools/affinescript-lsp/src/handlers.rs index 8b79a8c4..bd514173 100644 --- a/tools/affinescript-lsp/src/handlers.rs +++ b/tools/affinescript-lsp/src/handlers.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! Request Handlers diff --git a/tools/affinescript-lsp/src/main.rs b/tools/affinescript-lsp/src/main.rs index e6b41dcb..8198f32c 100644 --- a/tools/affinescript-lsp/src/main.rs +++ b/tools/affinescript-lsp/src/main.rs @@ -1,5 +1,5 @@ #![forbid(unsafe_code)] -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! AffineScript Language Server diff --git a/tools/affinescript-lsp/src/symbols.rs b/tools/affinescript-lsp/src/symbols.rs index 274e7f4a..eea9ac22 100644 --- a/tools/affinescript-lsp/src/symbols.rs +++ b/tools/affinescript-lsp/src/symbols.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! Phase B: Symbol Table and References diff --git a/tools/affinescript-lsp/src/text_index.rs b/tools/affinescript-lsp/src/text_index.rs index 59605fce..bc86f776 100644 --- a/tools/affinescript-lsp/src/text_index.rs +++ b/tools/affinescript-lsp/src/text_index.rs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2024-2026 Jonathan D.A. Jewell (hyperpolymath) //! Text-Based Symbol Index (Phase C) diff --git a/tools/alib_conformance_gen.jl b/tools/alib_conformance_gen.jl index cb0b01ff..11a0b65e 100644 --- a/tools/alib_conformance_gen.jl +++ b/tools/alib_conformance_gen.jl @@ -1,5 +1,5 @@ #!/usr/bin/env julia -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2025 hyperpolymath # # Generate AffineScript conformance tests from aLib specs @@ -94,7 +94,7 @@ function generate_conformance_test(spec_path::String, output_dir::String) # Generate test file test_code = """ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2025 hyperpolymath // // Auto-generated conformance tests for aLib spec: $(category)/$(op_name) diff --git a/tools/componentize.sh b/tools/componentize.sh index bbd70807..b88e502b 100755 --- a/tools/componentize.sh +++ b/tools/componentize.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # ADR-015 S3 — the componentize on-ramp. POST-codegen, codegen # UNCHANGED: the compiler still emits a core `wasi_snapshot_preview1` diff --git a/tools/estate-rs-audit/README.adoc b/tools/estate-rs-audit/README.adoc index 8e5dd663..9ca6dd7e 100644 --- a/tools/estate-rs-audit/README.adoc +++ b/tools/estate-rs-audit/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 hyperpolymath = Estate ReScript-surface elimination — campaign infrastructure :toc: macro diff --git a/tools/provision-component-toolchain.sh b/tools/provision-component-toolchain.sh index eec6de4e..39edcd5b 100755 --- a/tools/provision-component-toolchain.sh +++ b/tools/provision-component-toolchain.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # # INT-03 S2 / issue #251 (ADR-019 unblocker for ADR-015 S3+): provision # the WASM Component-Model toolchain the WASI-preview2 migration needs. diff --git a/tools/run_codegen_deno_tests.sh b/tools/run_codegen_deno_tests.sh index 5c172c68..2a06de8c 100755 --- a/tools/run_codegen_deno_tests.sh +++ b/tools/run_codegen_deno_tests.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # issue #122 — Deno-ESM backend regression runner. # # Mirrors tools/run_codegen_wasm_tests.sh: for every fixture in diff --git a/tools/run_face_transformer_tests.sh b/tools/run_face_transformer_tests.sh index 32373570..724a0fd9 100755 --- a/tools/run_face_transformer_tests.sh +++ b/tools/run_face_transformer_tests.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: PMPL-1.0-or-later +# SPDX-License-Identifier: MPL-2.0 # SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell # Face-transformer regression tests. diff --git a/wit/affinescript.wit b/wit/affinescript.wit index c4a3db99..a0f4dc7d 100644 --- a/wit/affinescript.wit +++ b/wit/affinescript.wit @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PMPL-1.0-or-later +// SPDX-License-Identifier: MPL-2.0 // SPDX-FileCopyrightText: 2024-2026 hyperpolymath // // AffineScript WASM Component-Model target world (ADR-015, INT-03 #180).