# ADR-0008: Relicense to PolyForm Shield 1.0.0

# Context

ADR-0007 placed the repository under EUPL 1.2 with @transportial/contracts additionally under Apache 2.0, on the assumption that the project's audience was logistics-focused and largely public-sector. Two things changed that assumption:

  1. The framing of the project broadened. What started as a Dutch logistics reference (BDI) is, mechanically, a generic toolkit for chain-of-custody data exchange between independent parties — applicable to healthcare referrals, financial settlement networks, customs and regulatory pipelines, energy-grid coordination, and any other domain where multiple organisations share data along a chain. BDI is now positioned as the canonical conformance profile, not the whole product. The licence needs to fit all of those audiences, not just public agencies and EU logistics integrators.
  2. EUPL did not actually achieve what we wanted. The intent of ADR-0007 was "open for everyone, copyleft on the protocol-critical core". In practice that combination created two distinct problems:
    • EUPL's reciprocal obligation discouraged commercial embedding. Integrators in every domain — logistics, healthcare, finance, energy — wanted to embed the ASR/ORS/CON code inside larger products without inheriting EUPL on those products, which the licence does not permit. Several simply reimplemented from the contracts package, defeating the point of shipping a reference.
    • EUPL did not stop the one outcome we did want to prevent: a third party taking the codebase, hosting it, and offering it as a competing product. EUPL's copyleft fires on distribution, not on competing service offerings — so a hosted SaaS clone would have been entirely compliant.

The desired posture is closer to: all use is fine — internal, commercial, embedded, modified, across any domain — except using this codebase to build something that competes with it.

# Decision

PolyForm Shield is source-available, not OSI "open source". The README calls this out explicitly so adopters with OSI-only procurement policies can request a separate grant rather than discover the constraint after integration.

# Consequences

# Alternatives considered