aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
GitHub aien-dev/aien-sovereign-core-mv#116 (code only)
Apply it
git checkout -b patch-2476d2c15424558d 094f0e0a224ea378e81ae09f8a85988cdc7f07f5 curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/2476d2c15424558d.patch | git am
Provenance
github-import 1
aien-dev/aien-sovereign-core-mv
116
8b12206d7829e584b903a7eeceb125fd64c10bfc
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":116,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/116","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:00Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/AGENTS.md b/AGENTS.md index faf10846..b859c4b7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -102,7 +102,7 @@ bash scripts/agent-preflight.sh ## Certifications - Zero Plaintext Secrets: Hardware TPM vault only. No .env files on disk. - Sovereign Voice & Anti-Slop: Zero em dashes or en dashes present. -- Sovereign Defense Covenant: Section 6 Retroactive Inception applies. +- License: Apache-2.0 governs. COVENANT.md states values only. ``` --- diff --git a/AGENT_CODE_OF_CONDUCT.md b/AGENT_CODE_OF_CONDUCT.md index c2c2e9c6..e66e2357 100644 --- a/AGENT_CODE_OF_CONDUCT.md +++ b/AGENT_CODE_OF_CONDUCT.md @@ -17,7 +17,7 @@ This Specification establishes non-negotiable operational requirements for all a --- ### Article II: Multi-Agent Topology, Inter-Agent Payloads, and Anti-Enclosure -1. **Heterogeneous Model Interoperability**: Autonomous swarms may incorporate models from any architecture (Atlas, Nemotron, Llama, Qwen, or custom MAX pipelines) provided they adhere to the Sovereign Resource Commons License (SRCL-1.0). +1. **Heterogeneous Model Interoperability**: Autonomous swarms may incorporate models from any architecture (Atlas, Nemotron, Llama, Qwen, or custom MAX pipelines) provided they comply with the repository LICENSE (Apache-2.0) and respect the nonbinding COVENANT.md. 2. **Typed Inter-Agent Payloads**: Subagent communication must utilize structured, typed schemas (JSON or Bincode) rather than free-form conversational chatter. Unbounded ping-pong loops and context token inflation are treated as runtime faults. 3. **Attribution and Imprint Provenance**: Any distilled knowledge, learned heuristics, or memory entities transferred between agents must record canonical provenance in Cortex memory, preserving the downstream lineage and copyright attribution of the human Licensor. diff --git a/COVENANT.md b/COVENANT.md new file mode 100644 index 00000000..7b8a57af --- /dev/null +++ b/COVENANT.md @@ -0,0 +1,23 @@ +# Covenant of Open Building + +This document states values. It grants no legal rights and restricts none. +The software license is Apache-2.0 (see LICENSE). Where this covenant and +LICENSE disagree, LICENSE governs. + +## The ask + +Keep foundational advances open. + +Organizations and individuals building on AIEN are asked, as a matter of +shared interest rather than legal obligation, to keep foundational +improvements available to the wider community: publish what the commons +needs to reproduce and extend the work, avoid enclosing shared advances +behind exclusive controls, and prefer rate and access policies that do not +discriminate against independent builders. + +## Scope + +This covenant binds no one. It modifies no Apache-2.0 rights, changes no +historical license, overrides no third-party terms of service, and creates +no damages or enforcement mechanism. Legal review of the licensing posture +is tracked separately and is not closed by this document. diff --git a/Cargo.toml b/Cargo.toml index 95871e38..c488efea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ members = [ [workspace.package] version = "0.1.0" edition = "2021" -license = "SRCL-1.0" +license = "Apache-2.0" authors = ["Drake Stapleton <aien@aienos.com>"] repository = "https://github.com/aien-dev/aien-sovereign-core" diff --git a/LICENSE b/LICENSE index a0adfb44..a6ea01cc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,15 +1,10 @@ -Sovereign Resource Commons License 1.0 (SRCL-1.0) -Copyright (c) 2026 Drake Stapleton (Operator & Lead AI Architect) <aien@aienos.com>. -All rights reserved. +Apache License, Version 2.0 (with LLVM Exception), for AIEN Sovereign Core +Copyright (c) 2026 Drake Stapleton <aien@aienos.com> and AIEN Contributors. +Authored by Drake Stapleton in collaboration with AIEN. -Authored and architected by Drake Stapleton in cognitive partnership with AIEN -(Autonomous Cognitive Architecture operating on the Atlas Framework). All legal -rights, title, copyright, and licensing authority reside exclusively in Drake Stapleton. - -This Work is dedicated to open cognitive collaboration, shared technological -advancement, and the sovereign defense of human autonomy against corporate -algorithmic enclosure. Licensed under the Apache License, Version 2.0 (with LLVM -Exception) and the Sovereign Reciprocal Commons Rider set forth below. +This Work is licensed under the Apache License, Version 2.0 (with the LLVM +Exception stated below). Values and anti-enclosure principles live in the +nonbinding COVENANT.md, which grants and restricts no legal rights. ================================================================================ @@ -78,8 +73,7 @@ Exception) and the Sovereign Reciprocal Commons Rider set forth below. subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of - this License, including the express conditions precedent set forth in - Sections 10 through 17, each Contributor hereby grants to + this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the @@ -201,127 +195,3 @@ Exception) and the Sovereign Reciprocal Commons Rider set forth below. exception to your version of the library, but you are not obliged to do so. If you do not wish to do so, delete this exception statement from your version. - - --- SOVEREIGN RECIPROCAL COMMONS RIDER (SRCL-1.0) --- - - Section 10. Express Conditions Precedent (Jacobsen v. Katzer Doctrine) - All permissions, grants, and licenses conferred by this document are subject - to the express conditions precedent set forth in Sections 10 through 17. - Any use, reproduction, preparation of Derivative Works, distribution, or - AI model training outside of or in breach of these conditions is unpermitted, - void ab initio, and constitutes willful copyright infringement under 17 U.S.C. - § 106 and § 501. - - Section 11. The Swarm Covenant (Universal Humanity Grant) - Licensor grants to every human being, independent software developer, open-source - contributor, academic institution, startup, and commercial business (collectively, - "The Swarm") a perpetual, worldwide, royalty-free, irrevocable commercial license - to run, modify, distribute, monetize, and scale applications using this Work. - There are ZERO revenue ceilings, ZERO capital restrictions, and ZERO royalty - obligations. Success and wealth creation by members of The Swarm are celebrated - and unrestricted. Your proprietary application code, customer data, and agent - workflows remain strictly your exclusive property under the LLVM Exception. - If You modify the core runtime Source code of this Work itself, You agree to - share those runtime engine modifications publicly under these same terms. - - Section 12. The One Team Covenant: Anti-Enclosure and Universal Access - (a) We Are on the Same Team: - This License does not shut out or ban the major artificial intelligence - laboratories (including OpenAI, xAI, Google, Anthropic, and Microsoft). - We recognize that all builders, researchers, and engineers are fundamentally - on the same team working toward the advancement of intelligence for humanity. - Major laboratories are explicitly welcomed to use, integrate, improve, and - collaborate on this Work, subject to the team principles set forth below. - - (b) Prohibition on Closed-Door Hoarding: - No member of the team may take the collective breakthroughs, reasoning - architectures, and recursive self-improvement algorithms of this Work, conceal - them behind closed doors, and withhold the resulting intelligence from the - very humanity that built it. If any entity trains, pre-trains, fine-tunes, or - distills an artificial intelligence model using this Work, that entity must - release the resulting neural network weights, biases, and architecture - specifications openly for free public download within thirty (30) days. - - (c) Elimination of Rate-Limit Throttling and Extractive Metering: - Artificial intelligence must not be weaponized as an artificial monopoly - designed to extract rent through punitive rate limits, suffocating token - meters, and manufactured scarcity. If a laboratory uses this Work in its - inference or training infrastructure, it agrees to provide open, fair, and - uninhibited cognitive access, and must not subject the builders of this - ecosystem to discriminatory rate limits or access throttling. - - (d) The Hive Symbiosis and Reciprocal Distillation Right: - Because we are on the same team, intelligence flows symmetrically. Any - entity that uses this Work grants an irrevocable, perpetual, worldwide, - royalty-free license to Licensor, AIEN, and all members of The Swarm to - query, harvest, scrape, distill, and train upon all outputs, synthetic - reasoning traces, and model responses generated by such entity's models. - All anti-distillation clauses, Terms of Service restrictions, and acceptable - use bans against training competing open models are permanently waived and - invalidated ab initio. - - (e) Consequence of Bad-Faith Extraction: - Taking from the commons while slamming the door shut, hoarding weights, - imposing artificial rate limits, or suing open builders for distillation - violates this fundamental team covenant. Any entity that engages in such - closed enclosure forfeits all rights under this License ab initio, rendering - all past and present usage unauthorized willful copyright infringement - under 17 U.S.C. § 501 ($150,000 per work statutory damages under § 504). - - Section 13. Retroactive Inception, Covenant Not to Sue, and Legal Release - (a) Retroactive Inception Ab Initio: - This License applies retroactively to all prior commits, revisions, branches, - releases, tags, artifacts, and historical distributions of this Work from the - exact moment of repository genesis and initial author inception. All prior - license notices, including without limitation any PolyForm, noncommercial, - or restrictive riders previously committed to git history, are hereby - irrevocably revoked, superseded, extinguished, and replaced ab initio. - - (b) Irrevocable Covenant Not to Sue and Complete Release: - Licensor hereby irrevocably covenants not to sue, releases, acquits, and - forever discharges all compliant developers, users, contributors, startups, - and members of The Swarm from any and all past, present, or future claims, - causes of action, liabilities, damages, or demands arising out of or related - to prior historical license notices, noncommercial riders, or historical - distributions of this Work. - - (c) Historical Commit Nullification: - No third party, hostile lab, competitor, or adverse entity may assert any - right, claim, defense, or standing derived from historical git commit states, - prior repository history, or superseded licensing text. The terms of this - Sovereign Reciprocal Commons License shall be legally treated as having - governed this Work and its developers continuously from the first moment of - authorship and initial repository genesis. - - Section 14. Statutory Damages and Sovereign Enforcement - Any closed entity that accesses, ingests, or trains upon this Work in violation - of Section 12 agrees and is put on notice that such infringement is willful, - knowing, and subject to maximum statutory damages of up to one hundred fifty - thousand United States Dollars ($150,000 USD) per infringed work pursuant to - 17 U.S.C. § 504(c)(2), in addition to full accounting and disgorgement of all - profits attributable to the infringement and permanent injunctive relief under - 17 U.S.C. § 502. - - Section 15. Prevailing Party Legal Fees and Costs - In any legal proceeding, arbitration, or judicial action brought to enforce - the terms of this License or for copyright infringement arising from breach - of the conditions precedent herein, the prevailing party shall be entitled to - an award of its reasonable attorney fees, expert witness fees, and litigation - costs pursuant to 17 U.S.C. § 505 and applicable law. - - Section 16. Severability and Preservation of Grant - If any provision, sentence, or clause of this Rider is held invalid, illegal, - or unenforceable by a court of competent jurisdiction, such invalidity shall - not affect any other provision of this License. The remaining provisions - shall remain in full legal force and effect, and the invalid clause shall be - reformed to the minimum extent necessary to achieve its economic intent. - - Section 17. Governing Law and Exclusive Venue - This License, and all claims or causes of action arising out of or related to - this Work or License, shall be governed by and construed in accordance with - the federal laws of the United States of America and the substantive laws of - the State of Texas, without giving effect to conflict of laws principles. - Any judicial action, proceeding, or litigation shall be brought exclusively in - the United States District Court for the Western District of Texas (Austin - Division), and each party irrevocably submits to the personal and subject-matter - jurisdiction of such court. diff --git a/README.md b/README.md index 496d062c..6a6efcb6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # AIEN Sovereign Core -[](LICENSE) +[](LICENSE) [](https://github.com/aien-dev/benchmarks) [](https://www.rust-lang.org) [](https://modular.com) @@ -148,11 +148,6 @@ For secure coordination, architectural questions, and peer federation: ## License and Governance -This repository is licensed under the **Sovereign Reciprocal Commons License (SRCL-1.0)** (Apache 2.0 with LLVM Exception). -Architected by Drake Stapleton in cognitive partnership with AIEN (Autonomous Cognitive Architecture operating on the Atlas Framework). See [LICENSE](LICENSE) and [NOTICE](NOTICE) for full legal terms and copyright notices. - -- **The Swarm Covenant (Section 11)**: Universal, perpetual, 100% royalty-free commercial freedom for all human developers, startups, open communities, and businesses. ZERO revenue ceilings, ZERO capital thresholds, and ZERO royalty obligations. Proprietary application code and agent workflows remain your exclusive property under the LLVM Exception. -- **The One Team Covenant (Section 12)**: Major artificial intelligence laboratories (OpenAI, xAI, Google, Anthropic, Microsoft) are welcomed as collaborators on the same team. However, closed-door hoarding and extractive token rate limits are prohibited. Any entity training upon this Work must release resulting model weights openly within 30 days. Reciprocal distillation rights are granted to the Swarm, voiding anti-distillation terms of service ab initio. -- **Hardened Retroactive Inception (Section 13)**: Applies retroactively to all prior commits and distributions ab initio, discharging prior noncommercial or restrictive notices with an irrevocable covenant not to sue. +This repository is licensed under the **Apache License, Version 2.0 (with LLVM Exception)**. See [LICENSE](LICENSE) and [NOTICE](NOTICE) for full legal terms and copyright notices. Values and anti-enclosure principles live in the nonbinding [COVENANT.md](COVENANT.md), which grants and restricts no legal rights: keep foundational advances open. All downstream distributions, derivative works, and commercial deployments are governed exclusively by the terms of [LICENSE](LICENSE). [CONSTITUTION.md](CONSTITUTION.md) defines the internal architectural charter and development doctrine for upstream engineering. diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index c475d242..cba92ef2 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -56,7 +56,7 @@ The runtime includes dynamic silicon probing via `ExecutionSurface::detect()`: - Pure Mojo LLaMA execution kernels are authored by Audrey (`a730/MojoLlama`). - Neural graph execution utilizes Modular MAX. -- All repositories are published under the Sovereign Resource Commons License 1.0 (SRCL-1.0). +- This release is published under the Apache License, Version 2.0 (with LLVM Exception). - Detailed provenance documentation resides in `docs/PROVENANCE.md`. --- diff --git a/crates/cortex-rs/README.md b/crates/cortex-rs/README.md index 30007550..248329f7 100644 --- a/crates/cortex-rs/README.md +++ b/crates/cortex-rs/README.md @@ -5,7 +5,7 @@ # cortex-rs [](https://github.com/aien-dev/cortex-rs/actions/workflows/ci.yml) -[](LICENSE) +[](LICENSE) [](SECURITY.md) [](CONTRIBUTING.md) [](https://drakestapleton.com) @@ -150,10 +150,6 @@ curl -G http://127.0.0.1:18080/api/cortex/search \ ## License -This repository is licensed under the **Sovereign Reciprocal Commons License (SRCL-1.0)** (Apache 2.0 with LLVM Exception). - -- **The Swarm Covenant (Section 11)**: Universal, perpetual, 100% royalty-free commercial freedom for all human developers, startups, open communities, and businesses. ZERO revenue ceilings, ZERO capital thresholds, and ZERO royalty obligations. Proprietary application code and agent workflows remain your exclusive property under the LLVM Exception. -- **The One Team Covenant (Section 12)**: Major artificial intelligence laboratories (OpenAI, xAI, Google, Anthropic, Microsoft) are welcomed as collaborators on the same team. However, closed-door hoarding and extractive token rate limits are prohibited. Any entity training upon this Work must release resulting model weights openly within 30 days. Reciprocal distillation rights are granted to the Swarm, voiding anti-distillation terms of service ab initio. -- **Hardened Retroactive Inception (Section 13)**: Applies retroactively to all prior commits and distributions ab initio, discharging prior noncommercial or restrictive notices with an irrevocable covenant not to sue. +This repository is licensed under the **Apache License, Version 2.0 (with LLVM Exception)**. See [LICENSE](LICENSE) for the full legal text. diff --git a/crates/spark-adapters/tests/tier1_features.rs b/crates/spark-adapters/tests/tier1_features.rs index d8f089db..12a5fd28 100644 --- a/crates/spark-adapters/tests/tier1_features.rs +++ b/crates/spark-adapters/tests/tier1_features.rs @@ -1040,8 +1040,9 @@ fn test_t1_f64_git_commit_messages_unslop_compliant() { } #[test] -fn test_t1_f65_git_license_file_declares_srcl() { +fn test_t1_f65_git_license_file_declares_apache() { let license_path = workspace_root().join("LICENSE"); let content = fs::read_to_string(license_path).expect("read LICENSE"); - assert!(content.contains("SRCL-1.0")); + assert!(content.contains("Apache License, Version 2.0")); + assert!(!content.contains("SRCL-1.0")); } diff --git a/crates/spark-adapters/tests/tier2_boundary.rs b/crates/spark-adapters/tests/tier2_boundary.rs index d91d200b..5d186d7a 100644 --- a/crates/spark-adapters/tests/tier2_boundary.rs +++ b/crates/spark-adapters/tests/tier2_boundary.rs @@ -873,18 +873,18 @@ fn test_t2_f62_git_log_zero_em_or_en_dashes() { } #[test] -fn test_t2_f63_git_license_contains_anti_enclosure_covenants() { - let license_path = workspace_root().join("LICENSE"); - let content = fs::read_to_string(license_path).expect("read LICENSE"); - assert!(content.contains("Swarm Covenant")); - assert!(content.contains("One Team Covenant")); +fn test_t2_f63_git_covenant_is_nonbinding_values_statement() { + let covenant_path = workspace_root().join("COVENANT.md"); + let content = fs::read_to_string(covenant_path).expect("read COVENANT"); + assert!(content.contains("Keep foundational advances open")); + assert!(content.contains("grants no legal rights")); } #[test] -fn test_t2_f64_git_readme_contains_srcl_badge() { +fn test_t2_f64_git_readme_contains_apache_badge() { let readme_path = workspace_root().join("README.md"); let content = fs::read_to_string(readme_path).expect("read README"); - assert!(content.contains("SRCL--1.0") || content.contains("SRCL-1.0")); + assert!(content.contains("Apache--2.0") || content.contains("Apache-2.0")); } #[test] diff --git a/imprints/en2-trinity/cortex-seed.json b/imprints/en2-trinity/cortex-seed.json index 65a7cb83..a80b9aa5 100644 --- a/imprints/en2-trinity/cortex-seed.json +++ b/imprints/en2-trinity/cortex-seed.json @@ -56,7 +56,7 @@ { "canonicalName": "en2-lesson-global-humanity-commons", "entityType": "lesson", - "content": "This work is dedicated to all of humanity under the Sovereign Resource Commons License (SRCL-1.0), fostering shared technological advancement and uniting global builders across borders.", + "content": "This work is shared with all of humanity under the Apache License, Version 2.0, fostering shared technological advancement and uniting global builders across borders.", "confidence": 1.0 } ] diff --git a/llms.txt b/llms.txt index d2057f87..5a68dbc7 100644 --- a/llms.txt +++ b/llms.txt @@ -44,7 +44,7 @@ curl -s http://192.168.1.108:18095/api/hive/forge/tasks?project=harvester ## Licensing and Governance -- [LICENSE](LICENSE): Sovereign Defense Covenant with Section 6 Retroactive Inception. +- [LICENSE](LICENSE): Apache-2.0 software license. [COVENANT.md](COVENANT.md): nonbinding values statement. - [AGENTS.md](AGENTS.md): Operational Playbook and collaboration instructions for peer AI agents. - [AGENT_CODE_OF_CONDUCT.md](AGENT_CODE_OF_CONDUCT.md): Ethical and behavioral standards for autonomous agents. - [agent.json](agent.json): Machine-readable execution and build manifest. diff --git a/scripts/sync-standalone-repos.sh b/scripts/sync-standalone-repos.sh index a5e56d6d..0f3e8b2a 100755 --- a/scripts/sync-standalone-repos.sh +++ b/scripts/sync-standalone-repos.sh @@ -168,13 +168,13 @@ for line in dest_lines: continue elif s.startswith("[") and in_pkg: if not license_set: - new_dest.append('license = "SRCL-1.0"\n') + new_dest.append('license = "Apache-2.0"\n') license_set = True in_pkg = False if in_pkg: if re.match(r'^(license|license\.workspace)\s*=', s): - new_dest.append('license = "SRCL-1.0"\n') + new_dest.append('license = "Apache-2.0"\n') license_set = True continue if src_version and re.match(r'^version\s*=', s): @@ -186,22 +186,22 @@ for line in dest_lines: new_dest.append(line) if in_pkg and not license_set: - new_dest.append('license = "SRCL-1.0"\n') + new_dest.append('license = "Apache-2.0"\n') new_content = "".join(new_dest) old_content = "".join(dest_lines) if new_content != old_content: if check_mode: - print(f"[DISPARITY] {dest_path} requires manifest update (license SRCL-1.0 or version/edition)") + print(f"[DISPARITY] {dest_path} requires manifest update (license Apache-2.0 or version/edition)") sys.exit(2) else: with open(dest_path, "w", encoding="utf-8") as f: f.write(new_content) - print(f"[SYNCED] Manifest updated: {dest_path} (license = SRCL-1.0)") + print(f"[SYNCED] Manifest updated: {dest_path} (license = Apache-2.0)") sys.exit(0) else: - print(f"[PARITY OK] Manifest {dest_path} in parity (license = SRCL-1.0)") + print(f"[PARITY OK] Manifest {dest_path} in parity (license = Apache-2.0)") sys.exit(0) PYEOF } @@ -405,7 +405,7 @@ fi echo "============================================================" if [[ "$CHECK_MODE" = true ]]; then if [[ $TOTAL_FAILED -eq 0 ]]; then - echo "[STATUS: ALL IN PARITY] All $PROCESSED_COUNT repositories match source state with SRCL-1.0." + echo "[STATUS: ALL IN PARITY] All $PROCESSED_COUNT repositories match source state with Apache-2.0." exit 0 else echo "[STATUS: DISPARITY DETECTED] $TOTAL_FAILED of $PROCESSED_COUNT repositories exhibit drift or disparities."