{
  "id": "phi-os-licensing-envelope",
  "title": "PHI|OS Licensing Envelope",
  "purpose": "Keep the PHI|OS system authentic and forkable while preserving reciprocity, provenance, and asset-specific obligations across code, interface, data, models, and hardware.",
  "policy": {
    "goal": "Preserve commons reciprocity and authenticity without flattening the distinctions between operational code, interface assets, datasets, model weights, and hardware schematics.",
    "stack": [
      {
        "surface": "servers and orchestration",
        "license": "AGPL-3.0-only",
        "reason": "Networked changes should return to the commons."
      },
      {
        "surface": "composer interface and client-facing UI",
        "license": "MPL-2.0",
        "reason": "File-level reciprocity fits mixed stacks and card surfaces."
      },
      {
        "surface": "shared SDKs and utilities",
        "license": "Apache-2.0",
        "reason": "Patent clarity and low-friction reuse."
      },
      {
        "surface": "datasets and telemetry schema",
        "license": "ODbL-1.0 / CC BY-4.0 / CC0",
        "reason": "Database reciprocity or lighter attribution depending on the asset."
      },
      {
        "surface": "model weights",
        "license": "OpenRAIL-M or upstream source-specific terms",
        "reason": "Weights may need ethical-use restrictions even when code stays OSI-open."
      },
      {
        "surface": "hardware and schematic artifacts",
        "license": "CERN-OHL-W-2.0",
        "reason": "Weak reciprocity fits collaborative hardware evolution."
      }
    ],
    "authenticityRules": [
      "Every exported bundle should declare its license envelope explicitly.",
      "Generated composer cards must preserve asset provenance.",
      "Model wrappers cannot erase upstream model terms or card-level disclosures."
    ]
  },
  "references": [
    "/rhiz/PHI|OS/LAB/delta/Spectra_Licensing_Playbook.md",
    "/rhiz/PHI|OS/LAB/delta/Auth/Spectra_Licensing_Playbook.md",
    "/rhiz/PHI|OS/LAB/delta/exosysteme_bundle/LICENSES/NOTICE.md"
  ]
}
