Skip to content

chore(license): transition license to GNU AGPL-3.0-or-later - #10

Merged
onimurasame merged 1 commit into
masterfrom
chore/license-agpl-3.0
Nov 25, 2026
Merged

onimurasame merged 1 commit into
masterfrom
chore/license-agpl-3.0

Conversation

@onimurasame

Copy link
Copy Markdown
Collaborator

Summary

Transitions Number One (n1) from the permissive MIT License to the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later) to ensure Number One stays permanently free and open source.

Why AGPL-3.0-or-later

  • OSI- & FSF-Approved FOSS: Remains genuinely Free and Open Source Software (unlike source-available licenses such as SSPL/BSL/Elastic).
  • Strong Copyleft + Network/SaaS Protection (Section 13): Prevents proprietary closed-source forks and closes the cloud/SaaS/hosted-MCP loophole—anyone running a modified version of Number One over a network (e.g., cloud AI coding platforms or hosted MCP services) must offer the complete corresponding source code under AGPL-3.0-or-later.
  • Patent & Anti-Tivoization Protections: Explicit patent grant and retaliation (Section 11) plus anti-Tivoization (Section 6).
  • Zero Impact on Curated User Workspaces: Explicitly clarified in NOTICE and README.md that using n1 on a repository does not relicense the user's own workspace or code.
  • Full Dependency Compatibility: Runtime dependency (zod, MIT) and documentation viewers (Archify, Apache-2.0) are 100% compatible with AGPL-3.0-or-later.

Key Changes

  • LICENSE: Replaced with the exact verbatim official text of GNU Affero General Public License v3.0 (19 November 2007) for canonical GitHub licensee detection.
  • NOTICE: Added copyright notice (AGPL-3.0-or-later), workspace scope clarification, historical MIT transition provenance (through b8e8d39), and third-party attributions.
  • package.json & package-lock.json: Updated license to AGPL-3.0-or-later and added NOTICE to files.
  • Dockerfile: Updated org.opencontainers.image.licenses to AGPL-3.0-or-later and copied LICENSE and NOTICE into /app in the runtime stage.
  • .github/workflows/dependency-review.yml & docs/GLOSSARY.md: Aligned license deny-list with AGPL-3.0-or-later (GPL-2.0-only, LGPL-2.0-only, SSPL-1.0, BUSL-1.1, Elastic-2.0).
  • README.md, CONTRIBUTING.md, CHANGELOG.md, docs/ONPREM.md, docs/site/index.html: Updated license badge, License section, inbound=outbound contribution terms, changelog, air-gapped offline bundle, and GitHub Pages footer.

Verification & Bridge Crew Gate

  • npm run typecheck passes with zero errors (src/ + tests/).
  • npm run build succeeds cleanly.
  • npm test passes 100% of unit, integration, adversarial, and E2E suites (9/9 test files, 28/28 tests).
  • npm audit --audit-level=high reports 0 vulnerabilities.
  • Bridge Crew self-audit (EngineeringOfficer, SecurityOfficer, BridgeOfficer) maintains 100/100 KPI scores without regressions (security_posture_score, runtime_readiness_score, continuous_delivery_score).
  • Hardened Docker build & runtime smoke check verified (org.opencontainers.image.licenses=AGPL-3.0-or-later, /app/LICENSE and /app/NOTICE present read-only).
  • npm pack --dry-run verified (LICENSE and NOTICE included in release tarball).
  • Documentation (README.md, CONTRIBUTING.md, CHANGELOG.md, docs/GLOSSARY.md, docs/ONPREM.md, docs/site/index.html) updated.

Replace MIT with the verbatim GNU Affero General Public License v3.0 text (AGPL-3.0-or-later) to keep Number One, derivative works, and modified network/cloud deployments permanently free and open source (OSI- and FSF-approved).

- Replace LICENSE with exact verbatim GNU AGPL v3.0 text
- Add NOTICE with AGPL-3.0-or-later copyright notice, workspace scope clarification, historical MIT provenance (through b8e8d39), and third-party attributions
- Update package.json (license + files), package-lock.json, and Dockerfile (OCI label + runtime LICENSE/NOTICE copy)
- Align .github/workflows/dependency-review.yml and docs/GLOSSARY.md to deny AGPL-3.0-incompatible and non-FOSS licenses (GPL-2.0-only, LGPL-2.0-only, SSPL-1.0, BUSL-1.1, Elastic-2.0)
- Update README.md, CONTRIBUTING.md, CHANGELOG.md, docs/ONPREM.md, and docs/site/index.html
@onimurasame
onimurasame merged commit 3bfb0ae into master Nov 25, 2026
4 checks passed
@onimurasame
onimurasame deleted the chore/license-agpl-3.0 branch November 25, 2026 18:07
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