chore: add Apache 2.0 + CC-BY-SA 4.0 dual licensing#60
chore: add Apache 2.0 + CC-BY-SA 4.0 dual licensing#60brawlaphant wants to merge 2 commits intoregen-network:mainfrom
Conversation
Code (agents, scripts, schemas, reference implementations) is Apache 2.0. Documentation (specs, phase docs, design docs) is CC-BY-SA 4.0. LICENSE.md explains the dual-license boundary. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a comprehensive dual-licensing strategy for the repository, addressing a previously identified need for clear licensing terms. It systematically categorizes repository content into code-related assets, which are now covered by the Apache License 2.0, and documentation-related assets, which fall under the CC-BY-SA 4.0 license. This change provides explicit guidelines for intellectual property rights and contribution terms, enhancing legal clarity for all users and contributors. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a dual-licensing model for the repository, using Apache 2.0 for code and CC-BY-SA 4.0 for documentation. The LICENSE.md file outlines this model, specifying covered files and directories for each license. A review comment suggests clarifying the "When in doubt" rule in LICENSE.md to prevent mislicensing of non-Markdown documentation assets like diagrams, recommending a more explicit definition based on content purpose rather than just file extension.
LICENSE.md
Outdated
| When in doubt, the file extension determines the license: | ||
| - Markdown (`.md`) files are CC-BY-SA 4.0 | ||
| - All other files are Apache 2.0 |
There was a problem hiding this comment.
The "When in doubt" rule is a helpful simplification, but it could lead to incorrect licensing for documentation assets that are not in Markdown format. For example, diagrams (.svg, .png), design mockups, or other media included as part of the documentation would fall under "All other files" and be licensed as Apache 2.0. This contradicts the goal of licensing all documentation under CC-BY-SA 4.0.
To improve clarity and ensure all documentation assets are correctly licensed, I suggest expanding this rule to be more explicit about content types.
Here is a suggested replacement:
When in doubt, the file's purpose determines the license. As a general guideline:
- **Documentation and specifications** are licensed under **CC-BY-SA 4.0**. This includes but is not limited to Markdown files (`.md`), diagrams (`.svg`, `.png`, `.jpg`), and other media that are part of design documents.
- **Source code and configuration** are licensed under **Apache 2.0**. This covers the file types listed explicitly in the "Code" section above.Replace the file-extension-based "When in doubt" rule with a purpose-based rule so diagrams, images, and other non-Markdown documentation assets (e.g. .svg architecture diagrams) are correctly covered by CC-BY-SA 4.0 rather than defaulting to Apache 2.0. Addresses gemini-code-assist review feedback on PR regen-network#60. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
LICENSE) for all source code, scripts, schemas, and configuration filesLICENSE-CC-BY-SA) for all documentation, specifications, and design documentsLICENSE.mdexplaining the dual-license boundary with a clear directory/filetype mappingAddresses Gregory's "No license set" open item.
License coverage
agents/,agent-002-governance-analyst/,scripts/,schemas/,simulations/, reference implementations (*.js), schemas (*.json), configsdocs/,phase-1/throughphase-5/, mechanism specs (SPEC.md), all*.mddocumentationTest plan
🤖 Generated with Claude Code