Skip to content

Adopt AGPLv3 and package native license and source notices - #3

Merged
frahlg merged 2 commits into
mainfrom
licensing/agpl-home-use-20260912
Sep 12, 2026
Merged

frahlg merged 2 commits into
mainfrom
licensing/agpl-home-use-20260912

Conversation

@frahlg

@frahlg frahlg commented Sep 12, 2026

Copy link
Copy Markdown
Member

The native app now uses AGPLv3 with the narrow Energyplan permission, retaining prior Apache rights in NOTICE. Both native interfaces expose source and license information. Android assets and iOS resources include LICENSE, NOTICE and LICENSING.md.

Official clean builds pin source links with GITHUB_SHA or -PftwSourceRevision; local builds default to development links. Extracted source builds without Git. Fork distributors must supply links to their own matching source. The license guide explicitly leaves app-store terms and any required alternative rights for review before store distribution.

Validation: shared JVM tests, Android debug APK and unsigned iOS simulator builds passed. Both application packages contain all three license documents. No physical-phone or app-store distribution test was performed.

Contribution guidance welcomes external PRs and requires new contributions to carry AGPL-3.0-only with the Energyplan permission. DCO sign-off grants no copyright assignment or commercial relicensing rights. NOTICE preserves the Apache-licensed default-branch snapshot at 1eec607d646b75188d6063e282dca786d50e8881, including its exact prior license and any prior notice.

This is part of the FTW license transition: AGPL-3.0-only for the open code, with a narrow section 7 permission for the proprietary Energyplan workers. Energyplan Home Use terms apply only to new workers; AGPL commercial use remains permitted. Prior Apache, MIT and Energyplan grants remain available, and third-party terms remain intact.

Automated legal review checked license scope, retained notices, source offers, the Energyplan boundary, commercial installer use and source packaging. It is not a human legal opinion and does not establish copyright assignments or app-store compatibility. Commercial rights can be offered only for software and rights Sourceful controls.

Paired PRs:


Note

Medium Risk
License relicensing and distribution obligations affect all contributors and distributors; app UI and build wiring are low-risk but store compatibility is explicitly unresolved.

Overview
Replaces Apache-2.0 with AGPL-3.0-only for the native app, adds the Energyplan combination permission in LICENSE, and documents the transition in new NOTICE and LICENSING.md. CONTRIBUTING.md and README.md now state that new contributions are AGPL+permission with DCO sign-off.

In-app compliance: shared generates SourceLicense URLs from GITHUB_SHA or -PftwSourceRevision (dev builds use repo main links). Android copies the three license files into assets and shows a Source & licenses dialog; iOS bundles the same files and a bottom disclosure with links to source and license.

Reviewed by Cursor Bugbot for commit 6a3da3a. Bugbot is set up for automated code reviews on this repo. Configure here.

Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@frahlg
frahlg marked this pull request as ready for review September 12, 2026 13:38
@frahlg
frahlg merged commit da234d0 into main Sep 12, 2026
@cursor

cursor Bot commented Sep 12, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_867b5a0d-7f5a-4a4b-b664-9eb67ad61417)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-12T13:39:45.059504Z 6a3da3a Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant