// SPDX-License-Identifier: CC-BY-SA-4.0
= Palimpsest Licence
Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
:toc:
:toc-placement: preamble

image:https://img.shields.io/badge/License-PMPL--1.0--or--later-blue.svg[PMPL-1.0-or-later,link="https://github.com/hyperpolymath/palimpsest-license"]
image:https://img.shields.io/badge/Legal_fallback-MPL--2.0-orange.svg[MPL-2.0 fallback,link="https://www.mozilla.org/en-US/MPL/2.0/"]

[IMPORTANT]
====
*This document describes the Palimpsest/PMPL framework as a general reference.
It does NOT state the licence of this `standards` repository.* Per the estate
licence policy (link:.claude/CLAUDE.md[.claude/CLAUDE.md]), the Palimpsest /
PMPL carve-out applies only to `palimpsest-license`, `palimpsest-plasma`, and
(prospectively) `consent-aware-web` (formerly `consent-aware-http`, extracted to `metadatastician/consent-aware-web` 2026-08-07). This repository is licensed *MPL-2.0*
(see link:LICENSE[LICENSE]). Licence/SPDX changes are owner-only and Manual-Only.
====

== Licence Summary

[cols="1,2"]
|===
| | Status

| *Stated SPDX licence* | `PMPL-1.0-or-later`
| *Legal operative fallback* | MPL-2.0 (automatic, until PMPL achieves formal legal recognition)
| *Exception — IDApTIK + Airborne Submarine Squadron* | AGPL-3.0 (co-developed projects, see below)
|===

== PMPL-1.0-or-later

The **Palimpsest-MPL License 1.0 (PMPL-1.0)** is the intended primary licence
for all hyperpolymath original code. It incorporates the Mozilla Public
License 2.0 by reference and adds:

* **Emotional Lineage** — preserve narrative intent and cultural context
* **Provenance Integrity** — retain attribution and lineage metadata
* **Ethical Use Constraints** — explicit consent for non-interpretive AI training
* **Quantum-Safe Provenance (optional)** — post-quantum signature support

SPDX identifier used in all source files: `PMPL-1.0-or-later`

== Legal Status and MPL-2.0 Fallback

PMPL does not yet have formal legal standing as a standalone licence.
Until it achieves that status:

* All code labelled `PMPL-1.0-or-later` is **legally operative under
  MPL-2.0** terms automatically — no additional declaration is required.
* If a legal dispute arose today, MPL-2.0 would be the enforced text.
* This is **not a dual-licence** — PMPL-1.0-or-later is the stated form;
  MPL-2.0 is the automatic fallback, not a separate grant.

When PMPL achieves formal recognition, the fallback becomes unnecessary and
all existing `PMPL-1.0-or-later` declarations take full legal effect without
any re-labelling.

== Platform Fallback (MPL-2.0 Explicit)

For distribution on registries that require an OSI-approved licence
(crates.io, Hackage, npm), use:

```
SPDX-License-Identifier: MPL-2.0
// (PMPL-1.0-or-later preferred; MPL-2.0 required for [platform])
```

This is distinct from the automatic legal fallback above — it is an explicit
declaration for platform compliance, not a signal that PMPL is not preferred.

== Exception: AGPL-3.0 Projects

**IDApTIK** and **Airborne Submarine Squadron** are co-developed with
Jonathan's son. These projects use AGPL-3.0, not PMPL-1.0-or-later.

This exception is permanent for those two projects. All other hyperpolymath
original code uses PMPL-1.0-or-later (falling back to MPL-2.0).

== SPDX Header Summary

[source]
----
# Hyperpolymath original code — standard:
# SPDX-License-Identifier: AGPL-3.0-or-later

# Platform-required fallback (crates.io, Hackage, etc.):
# SPDX-License-Identifier: MPL-2.0
# (PMPL-1.0-or-later preferred; MPL-2.0 required for [platform])

# Co-developed projects (IDApTIK, Airborne Submarine Squadron):
# SPDX-License-Identifier: AGPL-3.0-or-later

# Third-party code — preserve original:
# SPDX-License-Identifier: MIT  (or whatever the original is)
----

== Further Reading

* `LICENCE-POLICY.adoc` — canonical policy statement (this directory)
* `rhodium-standard-repositories/PALIMPSEST.adoc` — RSR integration
* link:https://github.com/hyperpolymath/palimpsest-license[palimpsest-license repo] — PMPL licence text
