Files
flying-jib/agent/ADRs/0012-apache-2-no-agpl-hard-deps.md
T
2026-07-30 23:02:00 -04:00

960 B

ADR-0012: Apache-2.0 license; no AGPL hard dependencies

  • Status: Accepted
  • Date: 2026-07-30

Context

Holesail (ideal TCP tunnel) is AGPL-3.0. PearDock aligns AGPL with Holesail. Flying Jib targets Holepunch-friendly Apache-2.0 distribution and contribution.

Decision

  1. Project license: Apache-2.0.
  2. Do not add AGPL packages (including holesail) as runtime hard dependencies.
  3. Reimplement needed tunnel behavior with HyperDHT under Apache-2.0 (ADR-0006).
  4. Any future AGPL exception requires a superseding ADR and explicit owner approval.

Consequences

Positive

  • Clear contribution and redistribution story
  • Aligns with most Holepunch modules

Negative / tradeoffs

  • Cannot drop in holesail; must maintain thin tunnel code
  • Must watch transitive licenses (Prismarine is generally permissive — verify on install)

Follow-ups

  • Phase 5 optional license CI check
  • SBOM note when packaging