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 @@ -4,7 +4,7 @@

- Upstream suite spec: `CivicSuite/civicsuite/docs/CivicSuiteUnifiedSpec.md`, especially the CivicComms catalog entry and suite-wide non-negotiables.
- CivicComms supports source-backed public explainers, meeting summaries, ordinance summaries, newsletters, FAQs, and audience-specific draft variants.
- Apache 2.0 for code, CC BY 4.0 for documentation.
- AGPL-3.0-only for code (with the TownLight Public Institution Exception for qualifying deployments), CC BY 4.0 for documentation.
- Every change must keep docs, tests, browser QA evidence, and version surfaces in sync.

## Hard Boundaries
Expand Down
660 changes: 656 additions & 4 deletions LICENSE

Large diffs are not rendered by default.

19 changes: 6 additions & 13 deletions LICENSE-CODE
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
Apache License
Version 2.0, January 2004
https://www.apache.org/licenses/

Copyright 2026 CivicSuite contributors

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.


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.

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

Releases published before this change remain available under the license they were published with.
393 changes: 389 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.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ bash scripts/verify-release.sh

## License

Code is Apache License 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 is CC BY 4.0.
2 changes: 1 addition & 1 deletion civiccomms/public_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def render_public_lookup_page() -> str:
<article class="card"><h2>Dependency</h2><p>Pinned to <code>civiccore==0.3.0</code>. CivicCore remains dependency-only; it never imports from CivicComms.</p></article>
</section>
</main>
<footer><p>Apache 2.0 code. CC BY 4.0 docs. Run locally by the city.</p></footer>
<footer><p>AGPL-3.0 code. CC BY 4.0 docs. Run locally by the city.</p></footer>
</body>
</html>"""
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ <h1>Explain city work without losing the source trail.</h1>
<article class="card"><h2>Dependency</h2><p>Pinned to <code>civiccore==0.3.0</code>. CivicCore remains dependency-only; it never imports from CivicComms.</p></article>
</section>
</main>
<footer><p>Apache 2.0 code. CC BY 4.0 docs. Run locally by the city.</p></footer>
<footer><p>AGPL-3.0 code. CC BY 4.0 docs. Run locally by the city.</p></footer>
</body>
</html>
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.1.1"
description = "CivicComms runtime foundation for source-backed public explainers, meeting summaries, newsletters, FAQs, and audience variants."
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