960 B
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
- Project license: Apache-2.0.
- Do not add AGPL packages (including
holesail) as runtime hard dependencies. - Reimplement needed tunnel behavior with HyperDHT under Apache-2.0 (ADR-0006).
- 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