# ADR 0005: Apache License 2.0 - **Status:** Accepted - **Date:** 2026-12-02 ## Context The project is to be open source. The main options were a copyleft licence (AGPL-3.0, which keeps hosted modifications open) and a permissive one (Apache-2.0, MIT). ## Decision License the project under the **Apache License 2.0**. ## Consequences - Anyone can use, modify and redistribute it, including in commercial or closed products, with attribution and notice of changes. - Includes an explicit patent grant, which MIT lacks. - Dependencies must be compatible: permissive licences (MIT, BSD, Apache) are fine; GPL/AGPL libraries cannot be bundled into the image. This rules out some PST tooling and is checked in CI with a licence scan. - Third-party modules in separate packages may choose their own licence. - Copyright holder: Crimson Pacific Networks (`NOTICE`, the About page). - The PostgreSQL driver, psycopg, is LGPL-3.0. That is compatible: it is used unmodified, as a separately installed library that can be replaced, and its source is public. Changing psycopg itself would oblige us to publish those changes.