Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- Staff-only precedent and interpretation notes must never leak to residents.
- Out-of-jurisdiction, low-confidence, and determination requests must escalate to planner review.
- CivicZone depends on CivicCore and CivicCode; CivicCore must never depend on CivicZone.
- Code is Apache 2.0. Docs are CC BY 4.0.
- Code is AGPL-3.0-only, with the TownLight Public Institution Exception for qualifying deployments. Docs are CC BY 4.0.

## Placeholder Package Warning

Expand Down
664 changes: 660 additions & 4 deletions LICENSE

Large diffs are not rendered by default.

15 changes: 6 additions & 9 deletions LICENSE-CODE
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
Apache License
Version 2.0, January 2004
https://www.apache.org/licenses/
The source code in this repository is licensed under the GNU Affero General Public License, version 3 only
(AGPL-3.0-only), with the TownLight Public Institution Exception 1.0 for qualifying deployments.

Copyright 2026 CivicSuite contributors
Full license text: LICENSE
Exception: LICENSE-EXCEPTION.md
Documentation: CC BY 4.0, see LICENSE-DOCS

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Releases published before this change remain available under the license they were published with.
397 changes: 393 additions & 4 deletions LICENSE-DOCS

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions LICENSE-EXCEPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# TownLight Public Institution Exception 1.0

This is an additional permission under section 7 of the GNU Affero General Public License, version 3 (AGPL-3.0-only), for TownLight code whose copyright holders have expressly granted this exception (the **Covered Code**).

## 1. Eligible public institution

An **Eligible Institution** is (a) a government, governmental department, public authority, or special district; (b) a public school, public college or university, or public library; or (c) a nonprofit organization recognized under U.S. Internal Revenue Code section 501(c)(3), or an equivalent public-benefit charitable organization under the law of its home country, acting for its own charitable or public-benefit purposes.

## 2. Additional permission for its own deployment

An Eligible Institution may modify and operate Covered Code for its own governmental, educational, or charitable services, including websites accessible to the public, **without complying with section 13's requirement to offer the Corresponding Source of that modified version to remote users**.

An institution may use a contractor to run its deployment under this permission **only if** the contractor acts on the institution's behalf and under its direction and control, and a written agreement entitles the institution to obtain, use, modify, and have a replacement provider operate the Corresponding Source of modifications made by that contractor for the deployment. This permission does not cover the contractor's independently operated, general-purpose or multi-customer commercial software service. Such a service may still be offered under the ordinary AGPL.

## 3. No change to other AGPL obligations

This exception relaxes **only section 13** and only for Covered Code within a qualifying deployment. It does not change AGPL requirements for distributing copies, grant trademark rights, or override any third-party component's license. It does not limit anyone's rights under the AGPL, including commercial rights.

Under section 7 of the AGPL, a person conveying a copy may remove this additional permission from that copy. The AGPL's warranty and liability provisions remain applicable.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ Staff workflow endpoints require trusted municipal access headers from a configu

## License

Code is Apache 2.0. Documentation is CC BY 4.0.
Code: AGPL-3.0-only, with the TownLight Public Institution Exception for qualifying deployments. See [LICENSE](LICENSE) and [LICENSE-EXCEPTION.md](LICENSE-EXCEPTION.md).
Documentation: CC BY 4.0 ([LICENSE-DOCS](LICENSE-DOCS)).

## Unreleased connected Zoning Z2

The local development branch adds parcel-scoped allowed/conditional/prohibited-use
Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ python -m pip install -e ".[dev]"
python -m pytest -q
bash scripts/verify-release.sh

Code license: Apache 2.0.
Code license: AGPL-3.0-only, with the TownLight Public Institution Exception for qualifying deployments. See LICENSE and LICENSE-EXCEPTION.md.
Documentation license: CC BY 4.0.
## Unreleased connected Zoning Z2

Expand Down
2 changes: 1 addition & 1 deletion docs/MILESTONES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Acceptance criteria:
- Professional repository docs exist.
- Apache 2.0 code and CC BY 4.0 docs licenses exist.
- AGPL-3.0-only code and CC BY 4.0 docs licenses exist.
- Unified spec section 10 requirements are captured.
- Documentation and CI gates exist.

Expand Down
2 changes: 1 addition & 1 deletion docs/RECONCILIATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Milestone 0 compares this new repository against the CivicSuite unified spec and
| missing | `docs/index.html` absent | Add honest landing page. | Professional product docs requirement |
| missing | `USER-MANUAL.md` absent | Add non-technical and IT/user manual. | Professional product docs requirement |
| missing | `.github/workflows/verify.yml` absent | Add CI gate for tests, docs, placeholder imports, and ruff. | Suite CI convention |
| missing | `LICENSE-CODE` absent | Add Apache 2.0 code license. | Suite licensing decision |
| missing | `LICENSE-CODE` absent | Add AGPL-3.0-only code license. | Suite licensing decision |
| missing | `LICENSE-DOCS` absent | Add CC BY 4.0 docs license. | Suite licensing decision |

## ADR Queue
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "0.2.2"
description = "CivicZone runtime foundation for parcel-aware zoning and land-use Q&A."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
license = { text = "AGPL-3.0-only" }
authors = [
{ name = "CivicSuite contributors" }
]
Expand Down
Loading