docs: Migrate licence from Apache 2.0 to CC BY 4.0 for research papers

Research paper text and figures now licensed under Creative Commons
Attribution 4.0 International (CC BY 4.0). Source code remains Apache 2.0.

- business-case, core-values-and-principles: licence section updated
- upload-document.js: adds --licence flag with category-based inference

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
TheFlow 2026-02-22 16:32:29 +13:00
parent 43233365ad
commit 4ed7348cb7
3 changed files with 87 additions and 28 deletions

View file

@ -749,16 +749,19 @@ Any statistics cited in this template reference industry research (not Tractatus
---
## License
## Licence
Copyright 2025 John Stroh
Copyright © 2026 John Stroh.
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:
This work is licensed under the [Creative Commons Attribution 4.0 International Licence (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
http://www.apache.org/licenses/LICENSE-2.0
You are free to share, copy, redistribute, adapt, remix, transform, and build upon this material for any purpose, including commercially, provided you give appropriate attribution, provide a link to the licence, and indicate if changes were made.
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.
**Suggested citation:**
Stroh, J., & Claude (Anthropic). (2026). *AI Governance Business Case Template*. Agentic Governance Digital. https://agenticgovernance.digital
**Note:** The Tractatus AI Safety Framework source code is separately licensed under the Apache License 2.0. This Creative Commons licence applies to the research paper text and figures only.
**Additional Terms:**
1. **Attribution Requirement**: Any use, modification, or distribution of this work must include clear attribution to the original author and the Tractatus Framework project.

View file

@ -296,19 +296,21 @@ All features, content, and operations must:
---
## License
## Licence
Copyright 2025 John Stroh
Copyright © 2026 John Stroh.
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:
This work is licensed under the [Creative Commons Attribution 4.0 International Licence (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
http://www.apache.org/licenses/LICENSE-2.0
You are free to share, copy, redistribute, adapt, remix, transform, and build upon this material for any purpose, including commercially, provided you give appropriate attribution, provide a link to the licence, and indicate if changes were made.
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.
**Suggested citation:**
Stroh, J., & Claude (Anthropic). (2026). *Tractatus AI Safety Framework - Core Values and Principles*. Agentic Governance Digital. https://agenticgovernance.digital
**Note:** The Tractatus AI Safety Framework source code is separately licensed under the Apache License 2.0. This Creative Commons licence applies to the research paper text and figures only.
**Full License Text:**
Apache License, Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

View file

@ -52,6 +52,8 @@ Options:
--order <num> Display order (lower = higher priority, default: 999)
--force Overwrite existing document
--contact <email> Contact email (default: research@agenticgovernance.digital)
--licence <type> Licence type: Apache-2.0 or CC-BY-4.0 (SPDX identifiers)
Inferred from category if not set: research-theory/advanced-topics/case-studies CC-BY-4.0, others Apache-2.0
Categories:
- getting-started 🚀 Getting Started
@ -101,7 +103,8 @@ const options = {
pdfDir: 'docs/research',
order: 999,
force: false,
contact: 'research@agenticgovernance.digital'
contact: 'research@agenticgovernance.digital',
licence: null // SPDX: 'Apache-2.0' or 'CC-BY-4.0' — inferred from category if not set
};
for (let i = 1; i < args.length; i++) {
@ -136,6 +139,10 @@ for (let i = 1; i < args.length; i++) {
case '--contact':
options.contact = args[++i];
break;
case '--licence':
case '--license':
options.licence = args[++i];
break;
}
}
@ -161,6 +168,22 @@ if (!VALID_CATEGORIES.includes(options.category)) {
process.exit(1);
}
// Licence: infer from category if not explicitly provided
const VALID_LICENCES = ['Apache-2.0', 'CC-BY-4.0'];
const CC_BY_CATEGORIES = ['research-theory', 'advanced-topics', 'case-studies'];
if (!options.licence) {
options.licence = CC_BY_CATEGORIES.includes(options.category) ? 'CC-BY-4.0' : 'Apache-2.0';
console.log(`📜 Licence (inferred from category): ${options.licence}`);
} else {
if (!VALID_LICENCES.includes(options.licence)) {
console.error(`❌ Error: Invalid licence "${options.licence}"`);
console.log('Valid licences:', VALID_LICENCES.join(', '));
process.exit(1);
}
console.log(`📜 Licence: ${options.licence}`);
}
/**
* Generate PDF from markdown
*/
@ -358,17 +381,54 @@ print(f"✓ PDF generated: {pdf_path}")
/**
* Add license and metadata to markdown file
*
* Licence type is determined by --licence option or inferred from --category:
* CC-BY-4.0: research-theory, advanced-topics, case-studies
* Apache-2.0: getting-started, technical-reference, business-leadership
*/
async function addLicenseAndMetadata(mdPath) {
const content = await fs.readFile(mdPath, 'utf-8');
// Check if already has license
if (content.includes('## License') || content.includes('Apache License')) {
if (content.includes('## License') || content.includes('## Licence') ||
content.includes('Apache License') || content.includes('CC BY 4.0') ||
content.includes('Creative Commons')) {
console.log('⚠️ Document already has license section');
return;
}
const license = `
const year = new Date().getFullYear();
const docTitle = options.title || path.basename(mdPath, '.md');
let licenceBlock;
if (options.licence === 'CC-BY-4.0') {
licenceBlock = `
---
## Contact
**Research Inquiries:** ${options.contact}
**Website:** https://agenticgovernance.digital
---
## Licence
Copyright © ${year} John Stroh.
This work is licensed under the [Creative Commons Attribution 4.0 International Licence (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
You are free to share, copy, redistribute, adapt, remix, transform, and build upon this material for any purpose, including commercially, provided you give appropriate attribution, provide a link to the licence, and indicate if changes were made.
**Suggested citation:**
Stroh, J., & Claude (Anthropic). (${year}). *${docTitle}*. Agentic Governance Digital. https://agenticgovernance.digital
**Note:** The Tractatus AI Safety Framework source code is separately licensed under the Apache License 2.0. This Creative Commons licence applies to the research paper text and figures only.`;
} else {
licenceBlock = `
---
@ -382,24 +442,16 @@ async function addLicenseAndMetadata(mdPath) {
## License
Copyright 2025 Agentic Governance Initiative
Copyright ${year} Agentic Governance Initiative
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:
http://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.
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.`;
}
**Summary:**
- Commercial use allowed
- Modification allowed
- Distribution allowed
- Patent grant included
- Private use allowed
- Must include license and copyright notice
- Must state significant changes
- No trademark rights granted
- No liability or warranty
const metadata = `
---
@ -411,14 +463,15 @@ Unless required by applicable law or agreed to in writing, software distributed
- **Created:** ${new Date().toISOString().split('T')[0]}
- **Last Modified:** ${new Date().toISOString().split('T')[0]}
- **Author:** ${options.author}
- **Licence:** ${options.licence}
- **Document ID:** ${generateSlug(options.title || path.basename(mdPath, '.md'))}
- **Status:** Active
</div>
`;
await fs.writeFile(mdPath, content + license, 'utf-8');
console.log('✓ Added license and metadata to markdown file');
await fs.writeFile(mdPath, content + licenceBlock + metadata, 'utf-8');
console.log(`✓ Added ${options.licence} licence and metadata to markdown file`);
}
/**
@ -508,6 +561,7 @@ async function uploadDocument() {
audience: options.audience,
visibility: 'public',
category: options.category,
licence: options.licence,
order: options.order,
content_html: htmlContent,
content_markdown: rawContent,