Skip to content

Relicense from AGPL to MPL-2.0 (code) and CC-BY-SA-4.0 (prose), owner-authorised 2026-11-24 - #145

Open
hyperpolymath wants to merge 13 commits into
mainfrom
claude/relicense-mpl2
Open

hyperpolymath wants to merge 13 commits into
mainfrom
claude/relicense-mpl2

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

One-off relicense, authorised by the owner directly in this session (an exception to the rule that licence edits are manual and owner-only; not a standing grant). Code, configuration and scripts move from AGPL-3.0-or-later to MPL-2.0. Prose stays CC-BY-SA-4.0. Opened as a draft; the owner has since marked it ready. I have not merged it, requested reviewers or enabled auto-merge.

Changes

  • SPDX headers: 388 header lines moved to MPL-2.0 (376 files: 374 code/config/script files plus 2 hand-written AI manifests under src/interface/generated/); 3 prose files moved to CC-BY-SA-4.0 (docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt, docs/legal/SOURCE-NOTICE.txt, docs/practice/AI-CONVENTIONS.adoc).
  • Licence texts: root LICENSE is now the full MPL-2.0 text (SPDX canonical copy); LICENSES/MPL-2.0.txt added; LICENSES/AGPL-3.0-or-later.txt kept (see the exception below).
  • Fields: Cargo.toml, CITATION.cff, build/guix.scm, META.a2ml, stapeln manifests, Containerfile label, CRG-CRITERIA.a2ml, dep5 (the two prose .txt files are in its CC-BY-SA stanza), .well-known/*, AI rule files, README.adoc badge and licence section.
  • Gates: the lint-workflows rule in .github/workflows/workflow-linter.yml now requires MPL-2.0 on workflows (self-test fixtures flipped: valid = MPL-2.0, invalid = AGPL); contractiles (Mustfile, Trustfile, build/contractile.just) check the MPL text; deny.toml allows MPL-2.0; validate.just requires the MPL, CC-BY-SA and (while AGPL files remain) AGPL texts; init.just updated.
  • Doctrine text: CLAUDE.md, arrival-pack.ncl and AGENTS.md rewritten from "deliberately AGPL" to the new ruling, noting that licence edits otherwise stay manual and owner-only.
  • Record: docs/legal/RELICENSE-2026-11-24.adoc; CHANGELOG entry.

Authors checked (full history) and the HoTT-stuff account

My first author audit ran on a shallow clone (58 of 154 commits) and its counts were wrong; I re-ran it on the full history of the parent ef8eca1 (154 commits), and the record has the corrected numbers. The conclusion held: authors are Jonathan D.A. Jewell 134, dependabot[bot] 17, arena-ai-coding-agent[bot] 2, pre-commit-ci[bot] 1; committers are GitHub 120 and Jonathan D.A. Jewell 34; no non-owner human author, and no "Joshua" in authors, committers, trailers or files. The trailer set includes Claude (38), Claude Opus 5 (21), Claude Fable 5 (15), dependabot[bot] (15), Mistral Vibe (14), Claude Opus 4.8 (8), coderabbitai[bot] (8), Claude Opus 5.5 (5), arena-agent (3), Jonathan D.A. Jewell (3), hyperpolymath (2), codacy-production[bot] (2), CLAUDE <HoTT-stuff@users.noreply.github.com> (2, #138 and #139), pre-commit-ci[bot] (1). (Found by Codex's review of this PR.)

HoTT-stuff: the owner confirmed on 2026-11-24 (answer relayed by the coordinator session) that the account HoTT-stuff (id 355856132; co-author trailer on #138 and #139; 55 lines from those two commits survive in the tree) is theirs or an AI identity they control, so those lines are relicensed with the rest. The account's public profile could not be read from the sandbox, so this PR could not confirm that itself.

CLAUDE.md was hand-edited; please run just claude-md before merging

The CLAUDE.md estate-policy text and arrival-pack.ncl were edited by hand, because nickel could not be installed in the environment that prepared this PR, so just claude-md and just validate-claude-md were not run locally. What is known: CI's estate-rules check (it runs arrival-pack/verify.sh with nickel 1.10.0) first failed on two provenance-hash lines; commit 4c1c2bf replaced those two lines with the values CI printed, and estate-rules passed on 4c1c2bf and on later heads. That is a CI result, not a local regeneration, so the owner should still run just claude-md (or just validate-claude-md) before merging.

Exception: 11 files stay AGPL-3.0-or-later on purpose

The generated ABI pipeline: abi.ipkg, src/interface/Abi/{Layout,Accelerator,Generate}.idr, and src/interface/generated/abi/enaction_accelerator.{h,jl,rs,zig}, SYMBOLS, SOURCE.sha256. Generate.idr emits the header text and SOURCE.sha256 pins the sources' hashes, so these cannot be edited by hand. They are regenerated in a separate, stacked follow-up PR (branch claude/abi-regenerate-mpl2), not in this PR; see that PR for whether the regeneration could run. Until it lands, LICENSES/AGPL-3.0-or-later.txt and a dep5 stanza cover them.

Also left unchanged as historical or standard text: docs/decisions/ (ADR 0001, 0026), docs/proposals/ (2 files), docs/RSR_OUTLINE.adoc, docs/governance/CRG-AUDIT-TEMPLATE.adoc, .machine_readable/ai/PLACEHOLDERS.adoc, rhodibot.yml policy text, debt.a2ml, and the AGPL entries in deny.toml. ADR 0026's reasoning (AGPL vs MPL) no longer holds; the owner may want a superseding ADR. No third-party or vendored files were found beyond the pipeline above.

RSR Quality Checklist

Required

  • Tests pass: cargo test (default members) all ok
  • Formatted and linter clean: cargo fmt --check ok, cargo clippy --all-targets -- -D warnings ok
  • No banned languages; no secrets
  • SPDX headers present

As Applicable

  • CHANGELOG updated
  • Documentation updated

Testing

Run locally, all passing: check-source-spdx.sh, check-root-shape.sh, check-no-placeholders.sh, check-no-md-in-docs.sh, check-identity.sh, check-lock-sync.sh, check-uuid-v8-canon.sh; the lint-workflows SPDX steps extracted and run (rc=0); all 10 tests/workflows/*_test.sh; just trust-verify, must-license-present, validate-state, validate-rsr; reuse lint: Missing licenses went from MPL-2.0 to 0, and the repo remains non-compliant for other reasons (14 invalid expressions, same count as before).

On GitHub: lint-workflows and estate-rules pass. Creusot (reusable gate) / Creusot verdict fails, but proof-gates.yml is also red on main at 47e7c13, and on this PR its prove job was cancelled by a concurrency group. SonarCloud queue attestation was already red on earlier PRs. CodeRabbit skipped this PR (too many files).

Not run: just validate-claude-md and just validate-coapt locally (no nickel), check-state-profile.sh, check-variant-drift.sh, tests/deed_lane_test.sh (need external checkouts), cargo-deny, the Zig accelerator crate build, generate-accelerator-abi.sh --check (needs Idris2 and Zig), and actionlint.

🤖 Generated with Claude Code

https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ

…-authorised 2026-11-24

One-off, owner-authorised change (confirmed by the owner directly). Code,
configuration and scripts move from AGPL-3.0-or-later to MPL-2.0; prose stays
CC-BY-SA-4.0. LICENSE and LICENSES/ carry the MPL-2.0 text, the Cargo.toml and
CITATION.cff licence fields and the licence-doctrine text in CLAUDE.md and
AGENTS.md are updated, and lint-workflows now requires MPL-2.0 on workflows.

The generated ABI pipeline (abi.ipkg, src/interface/Abi/{Layout,Accelerator,
Generate}.idr, src/interface/generated/abi outputs) stays AGPL-3.0-or-later
until regenerated; see docs/legal/RELICENSE-2026-11-24.adoc.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ
@gitnotebooks

gitnotebooks Bot commented Nov 24, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 404 files, which is 304 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ec324bb6-5d33-44d6-a6eb-96c99d61a091
Commits

Reviewing files that changed from the base of the PR and between ef8eca1 and f39b837.

Files ignored due to path filters: 2

  • src/interface/generated/0.3-AI-MANIFEST.a2ml is excluded by !**/generated/**
  • src/interface/generated/abi/0.4-AI-MANIFEST.a2ml is excluded by !**/generated/**
Files selected for processing: 404

  • .devcontainer/Containerfile
  • .devcontainer/devcontainer.json
  • .envrc
  • .gitattributes
  • .githooks/install.sh
  • .githooks/pre-push
  • .githooks/validate-a2ml.sh
  • .githooks/validate-k9.sh
  • .github/CODEOWNERS
  • .github/DISCUSSION_TEMPLATE/ideas.yml
  • .github/DISCUSSION_TEMPLATE/q-and-a.yml
  • .github/FUNDING.yml
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • .github/ISSUE_TEMPLATE/config.yml
  • .github/ISSUE_TEMPLATE/custom.yml
  • .github/ISSUE_TEMPLATE/documentation.yml
  • .github/ISSUE_TEMPLATE/feature_request.yml
  • .github/ISSUE_TEMPLATE/question.yml
  • .github/MAINTAINERS
  • .github/copilot-instructions.md
  • .github/dependabot.yml
  • .github/pull_request_template.md
  • .github/settings.yml
  • .github/workflows/boj-build.yml
  • .github/workflows/codeql.yml
  • .github/workflows/container-build.yml
  • .github/workflows/dependabot-automerge.yml
  • .github/workflows/dogfood-gate.yml
  • .github/workflows/e2e.yml
  • .github/workflows/estate-rules.yml
  • .github/workflows/governance.yml
  • .github/workflows/guix-policy.yml
  • .github/workflows/hypatia-scan.yml
  • .github/workflows/label-triage.yml
  • .github/workflows/labels.yml
  • .github/workflows/lock-sync-gate.yml
  • .github/workflows/mirror.yml
  • .github/workflows/oikosbot.yml
  • .github/workflows/openssf-compliance.yml
  • .github/workflows/pages.yml
  • .github/workflows/proof-gates.yml
  • .github/workflows/proven-tests-gate.yml
  • .github/workflows/quality.yml
  • .github/workflows/release.yml
  • .github/workflows/rhodibot.yml
  • .github/workflows/runtime-policy.yml
  • .github/workflows/rust-ci.yml
  • .github/workflows/scorecard.yml
  • .github/workflows/secret-scanner.yml
  • .github/workflows/security-policy.yml
  • .github/workflows/sonarcloud-queue-gate.yml
  • .github/workflows/static-analysis-gate.yml
  • .github/workflows/wellknown-enforcement.yml
  • .github/workflows/workflow-linter.yml
  • .gitignore
  • .gitlab-ci.yml
  • .gitleaks.toml
  • .gitleaksignore
  • .hypatia-ignore
  • .machine_readable/0.1-AI-MANIFEST.a2ml
  • .machine_readable/ENSAID_CONFIG.a2ml
  • .machine_readable/a2ml-legacy-allow.txt
  • .machine_readable/ai/.clinerules
  • .machine_readable/ai/.cursorrules
  • .machine_readable/ai/.windsurfrules
  • .machine_readable/ai/0.2-AI-MANIFEST.a2ml
  • .machine_readable/arrival-pack/arrival-pack.ncl
  • .machine_readable/arrival-pack/claude-md.k9.ncl
  • .machine_readable/arrival-pack/extract.sh
  • .machine_readable/arrival-pack/generate.sh
  • .machine_readable/arrival-pack/verify.sh
  • .machine_readable/bot_directives/coverage.a2ml
  • .machine_readable/bot_directives/debt.a2ml
  • .machine_readable/bot_directives/methodology.a2ml
  • .machine_readable/coaptation/coapt.k9.ncl
  • .machine_readable/coaptation/coapt.ncl
  • .machine_readable/coaptation/coapt.sh
  • .machine_readable/coaptation/core/Coaptation.idr
  • .machine_readable/coaptation/extract-clauses.sh
  • .machine_readable/coaptation/extract-facts.sh
  • .machine_readable/coaptation/grades.ncl
  • .machine_readable/coaptation/receipts/latest.a2ml
  • .machine_readable/coaptation/verify.sh
  • .machine_readable/coaptation/witness-map.ncl
  • .machine_readable/compliance/reuse/dep5
  • .machine_readable/compliance/rust/deny.toml
  • .machine_readable/configs/0.2-AI-MANIFEST.a2ml
  • .machine_readable/configs/eclexiaiser.toml
  • .machine_readable/configs/git-cliff/cliff.toml
  • .machine_readable/configs/stapeln.toml
  • .machine_readable/contractiles/INDEX.a2ml
  • .machine_readable/contractiles/Justfile
  • .machine_readable/contractiles/_base.ncl
  • .machine_readable/contractiles/adjust/Adjustfile.a2ml
  • .machine_readable/contractiles/adjust/adjust.k9.ncl
  • .machine_readable/contractiles/adjust/adjust.manifest.a2ml
  • .machine_readable/contractiles/adjust/adjust.ncl
  • .machine_readable/contractiles/bust/Bustfile.a2ml
  • .machine_readable/contractiles/bust/bust.k9.ncl
  • .machine_readable/contractiles/bust/bust.manifest.a2ml
  • .machine_readable/contractiles/bust/bust.ncl
  • .machine_readable/contractiles/dust/Dustfile.a2ml
  • .machine_readable/contractiles/dust/dust.k9.ncl
  • .machine_readable/contractiles/dust/dust.manifest.a2ml
  • .machine_readable/contractiles/dust/dust.ncl
  • .machine_readable/contractiles/intend/Intentfile.a2ml
  • .machine_readable/contractiles/intend/intend.k9.ncl
  • .machine_readable/contractiles/intend/intend.manifest.a2ml
  • .machine_readable/contractiles/intend/intend.ncl
  • .machine_readable/contractiles/must/Mustfile.a2ml
  • .machine_readable/contractiles/must/must.k9.ncl
  • .machine_readable/contractiles/must/must.manifest.a2ml
  • .machine_readable/contractiles/must/must.ncl
  • .machine_readable/contractiles/trust/Trustfile.a2ml
  • .machine_readable/contractiles/trust/trust.k9.ncl
  • .machine_readable/contractiles/trust/trust.manifest.a2ml
  • .machine_readable/contractiles/trust/trust.ncl
  • .machine_readable/descriptiles/AGENTIC.a2ml
  • .machine_readable/descriptiles/CLADE.a2ml
  • .machine_readable/descriptiles/ECOSYSTEM.a2ml
  • .machine_readable/descriptiles/META.a2ml
  • .machine_readable/descriptiles/NEUROSYM.a2ml
  • .machine_readable/descriptiles/PLAYBOOK.a2ml
  • .machine_readable/descriptiles/STATE.a2ml
  • .machine_readable/descriptiles/STATE.deed
  • .machine_readable/descriptiles/VARIANT.a2ml
  • .machine_readable/descriptiles/anchors/ANCHOR.a2ml
  • .machine_readable/integrations/feedback-o-tron.a2ml
  • .machine_readable/integrations/groove.a2ml
  • .machine_readable/integrations/proven.a2ml
  • .machine_readable/integrations/verisimdb.a2ml
  • .machine_readable/integrations/vexometer.a2ml
  • .machine_readable/policies/0.2-AI-MANIFEST.a2ml
  • .machine_readable/policies/MAINTENANCE-AXES.a2ml
  • .machine_readable/policies/MAINTENANCE-CHECKLIST.a2ml
  • .machine_readable/policies/SOFTWARE-DEVELOPMENT-APPROACH.a2ml
  • .machine_readable/root-allow.txt
  • .machine_readable/rsr-profile.a2ml
  • .machine_readable/scripts/0.2-AI-MANIFEST.a2ml
  • .machine_readable/scripts/forge/0.3-AI-MANIFEST.a2ml
  • .machine_readable/scripts/forge/forge-sync.sh
  • .machine_readable/scripts/forge/git-cleanup.sh
  • .machine_readable/scripts/lifecycle/0.3-AI-MANIFEST.a2ml
  • .machine_readable/scripts/lifecycle/install-tools.sh
  • .machine_readable/scripts/maintenance/maint-assault.sh
  • .machine_readable/scripts/verification/0.3-AI-MANIFEST.a2ml
  • .machine_readable/self-validating/examples/ci-config.k9.ncl
  • .machine_readable/self-validating/examples/project-metadata.k9.ncl
  • .machine_readable/self-validating/examples/setup-repo.k9.ncl
  • .machine_readable/self-validating/methodology-guard.k9.ncl
  • .machine_readable/self-validating/template-hunt.k9.ncl
  • .machine_readable/self-validating/template-kennel.k9.ncl
  • .machine_readable/self-validating/template-yard.k9.ncl
  • .oikos.yml
  • .pre-commit-config.yaml
  • .well-known/ai.txt
  • .well-known/humans.txt
  • .well-known/security.txt
  • 0-AI-MANIFEST.a2ml
  • AGENTS.md
  • CHANGELOG.md
  • CITATION.cff
  • CLAUDE.md
  • Cargo.toml
  • Justfile
  • LICENSE
  • LICENSES/MPL-2.0.txt
  • README.adoc
  • abi.ipkg
  • benches/template_bench.sh
  • build/.guix-channel
  • build/channels.scm
  • build/contractile.just
  • build/guix.scm
  • build/just/assess.just
  • build/just/container.just
  • build/just/groove.just
  • build/just/init.just
  • build/just/proofs.just
  • build/just/validate.just
  • build/manifest.scm
  • build/setup.sh
  • container/.containerignore
  • container/0.1-AI-MANIFEST.a2ml
  • container/Containerfile
  • container/compose.example.yaml
  • container/compose.yaml
  • container/entrypoint.sh
  • container/stapeln/.gatekeeper.yaml
  • container/stapeln/compose.example.toml
  • container/stapeln/compose.toml
  • container/stapeln/ct-build.sh
  • container/stapeln/deploy.k9.ncl
  • container/stapeln/manifest.toml
  • container/stapeln/rokur.toml
  • container/stapeln/vordr.toml
  • coordination.k9
  • crates/enaction-accelerator-native/Cargo.toml
  • crates/enaction-accelerator-native/build.rs
  • crates/enaction-accelerator-native/examples/m1_matmul_native.rs
  • crates/enaction-accelerator-native/src/lib.rs
  • crates/enaction-accelerator-native/tests/conformance.rs
  • crates/enaction-accelerator/Cargo.toml
  • crates/enaction-accelerator/examples/m1_matmul.rs
  • crates/enaction-accelerator/src/lib.rs
  • crates/enaction-accelerator/src/version.rs
  • crates/enaction-accelerator/tests/conformance.rs
  • crates/enaction-contracts/Cargo.toml
  • crates/enaction-contracts/src/belief.rs
  • crates/enaction-contracts/src/bin/enaction-validate.rs
  • crates/enaction-contracts/src/canonical.rs
  • crates/enaction-contracts/src/envelope.rs
  • crates/enaction-contracts/src/lib.rs
  • crates/enaction-contracts/src/mind.rs
  • crates/enaction-contracts/src/package.rs
  • crates/enaction-contracts/src/reduce.rs
  • crates/enaction-contracts/src/tom.rs
  • crates/enaction-contracts/src/version.rs
  • crates/enaction-contracts/tests/canonical_bytes.rs
  • crates/enaction-contracts/tests/frozen_v1.rs
  • crates/enaction-contracts/tests/mind_trace.rs
  • crates/enaction-contracts/tests/package_fault_coverage.rs
  • crates/enaction-contracts/tests/stage_a_draft.rs
  • crates/enaction-contracts/tests/tom.rs
  • crates/enaction-contracts/tests/validate_cli.rs
  • crates/enaction-time/Cargo.toml
  • crates/enaction-time/src/blend.rs
  • crates/enaction-time/src/lib.rs
  • crates/enaction-time/src/step.rs
  • crates/enaction-time/tests/blend.rs
  • crates/enaction-time/tests/idaptik_parity.rs
  • crates/enaction-time/tests/step.rs
  • crates/enaction-trace/Cargo.toml
  • crates/enaction-trace/src/belief.rs
  • crates/enaction-trace/src/lib.rs
  • crates/enaction-trace/src/mass.rs
  • crates/enaction-trace/src/store.rs
  • crates/enaction-trace/tests/observer.rs
  • crates/enaction-version/Cargo.toml
  • crates/enaction-version/src/lib.rs
  • docs/0.1-AI-MANIFEST.a2ml
  • docs/architecture/0.2-AI-MANIFEST.a2ml
  • docs/attribution/0.2-AI-MANIFEST.a2ml
  • docs/attribution/CITATIONS.adoc
  • docs/decisions/0.2-AI-MANIFEST.a2ml
  • docs/decisions/0026-evil-weevil-is-the-first-host.adoc
  • docs/developer/0.2-AI-MANIFEST.a2ml
  • docs/governance/0.1-AI-MANIFEST.a2ml
  • docs/governance/CRG-CRITERIA.a2ml
  • docs/governance/TSDM.a2ml
  • docs/governance/audit/0.2-AI-MANIFEST.a2ml
  • docs/governance/audit/compliance/0.3-AI-MANIFEST.a2ml
  • docs/governance/audit/effects/0.3-AI-MANIFEST.a2ml
  • docs/governance/audit/systems/0.3-AI-MANIFEST.a2ml
  • docs/governance/maintenance/0.2-AI-MANIFEST.a2ml
  • docs/governance/maintenance/adaptive/0.3-AI-MANIFEST.a2ml
  • docs/governance/maintenance/corrective/0.3-AI-MANIFEST.a2ml
  • docs/governance/maintenance/perfective/0.3-AI-MANIFEST.a2ml
  • docs/governance/planning/0.2-AI-MANIFEST.a2ml
  • docs/governance/planning/could/0.3-AI-MANIFEST.a2ml
  • docs/governance/planning/must/0.3-AI-MANIFEST.a2ml
  • docs/governance/planning/should/0.3-AI-MANIFEST.a2ml
  • docs/legal/0.2-AI-MANIFEST.a2ml
  • docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt
  • docs/legal/RELICENSE-2026-11-24.adoc
  • docs/legal/SOURCE-NOTICE.txt
  • docs/onboarding/QUICKSTART-MAINTAINER.adoc
  • docs/onboarding/llm-warmup-dev.adoc
  • docs/onboarding/llm-warmup-user.adoc
  • docs/practice/0.2-AI-MANIFEST.a2ml
  • docs/practice/AI-CONVENTIONS.adoc
  • docs/proposals/WEEVIL-HOST-ROUTE.adoc
  • docs/reports/0.2-AI-MANIFEST.a2ml
  • docs/reports/compliance/0.3-AI-MANIFEST.a2ml
  • docs/reports/maintenance/0.3-AI-MANIFEST.a2ml
  • docs/reports/performance/0.3-AI-MANIFEST.a2ml
  • docs/reports/quality/0.3-AI-MANIFEST.a2ml
  • docs/reports/security/0.3-AI-MANIFEST.a2ml
  • docs/standards/0.2-AI-MANIFEST.a2ml
  • docs/theory/0.2-AI-MANIFEST.a2ml
  • docs/theory/computing/0.3-AI-MANIFEST.a2ml
  • docs/theory/formalisms/0.3-AI-MANIFEST.a2ml
  • docs/theory/mathematics/0.3-AI-MANIFEST.a2ml
  • docs/theory/ontologies/0.3-AI-MANIFEST.a2ml
  • docs/theory/other/0.3-AI-MANIFEST.a2ml
  • docs/theory/socio-technical/0.3-AI-MANIFEST.a2ml
  • docs/whitepapers/0.2-AI-MANIFEST.a2ml
  • docs/whitepapers/academic/0.3-AI-MANIFEST.a2ml
  • docs/whitepapers/industry/0.3-AI-MANIFEST.a2ml
  • docs/whitepapers/outreach/0.3-AI-MANIFEST.a2ml
  • docs/wikis/0.2-AI-MANIFEST.a2ml
  • enaction-engine-launcher.sh
  • enaction-engine.launcher.a2ml
  • enaction-engine_chora.deed
  • features/0.1-AI-MANIFEST.a2ml
  • features/boj-server/0.2-AI-MANIFEST.a2ml
  • features/panic-attacker/0.2-AI-MANIFEST.a2ml
  • features/ssg/0.2-AI-MANIFEST.a2ml
  • features/ssg/ssg-bootstrap.sh
  • scripts/bench-accelerator-m1.sh
  • scripts/build-static-analysis-tools.sh
  • scripts/cargo-test-exact.sh
  • scripts/check-accelerator-target-boundary.sh
  • scripts/check-contract-released.sh
  • scripts/check-coq-assumptions.sh
  • scripts/check-creusot.sh
  • scripts/check-identity.sh
  • scripts/check-idris-abi-no-unsound.sh
  • scripts/check-no-md-in-docs.sh
  • scripts/check-no-placeholders.sh
  • scripts/check-observer-mutant.sh
  • scripts/check-proofs.sh
  • scripts/check-root-shape.sh
  • scripts/check-source-spdx.sh
  • scripts/check-state-profile.sh
  • scripts/check-uuid-v8-canon.sh
  • scripts/check-variant-drift.sh
  • scripts/fetch-a2ml-base.sh
  • scripts/generate-accelerator-abi.sh
  • scripts/install-zig.sh
  • scripts/invariant-path.sh
  • scripts/run-proven-tests.sh
  • scripts/scan-dangerous.sh
  • scripts/static-analysis-report.sh
  • scripts/validate-template.sh
  • session/custom-checks.k9
  • session/dispatch.sh
  • session/local-hooks.sh
  • sonar-project.properties
  • src/0.1-AI-MANIFEST.a2ml
  • src/aspects/0.2-AI-MANIFEST.a2ml
  • src/aspects/integrity/0.3-AI-MANIFEST.a2ml
  • src/aspects/observability/0.3-AI-MANIFEST.a2ml
  • src/aspects/security/0.3-AI-MANIFEST.a2ml
  • src/bridges/0.2-AI-MANIFEST.a2ml
  • src/contracts/0.2-AI-MANIFEST.a2ml
  • src/core/0.2-AI-MANIFEST.a2ml
  • src/definitions/0.2-AI-MANIFEST.a2ml
  • src/errors/0.2-AI-MANIFEST.a2ml
  • src/interface/0.2-AI-MANIFEST.a2ml
  • src/interface/Abi/0.3-AI-MANIFEST.a2ml
  • src/interface/Abi/Accelerator.idr
  • src/interface/Abi/Foreign.idr
  • src/interface/Abi/Generate.idr
  • src/interface/Abi/Layout.idr
  • src/interface/Abi/Types.idr
  • src/interface/ffi/0.3-AI-MANIFEST.a2ml
  • src/interface/ffi/build.zig
  • src/interface/ffi/src/0.4-AI-MANIFEST.a2ml
  • src/interface/ffi/src/accelerator.zig
  • src/interface/ffi/src/axiom_pointwise.zig
  • tests/accelerator_native_build_inputs_test.sh
  • tests/arrival_pack_drift_test.sh
  • tests/aspect_tests.sh
  • tests/bench_accelerator_m1_orchestration_test.sh
  • tests/bench_accelerator_m1_test.sh
  • tests/check-cargo-test-exact.sh
  • tests/check-proofs-vacuous.sh
  • tests/check_coq_assumptions_test.sh
  • tests/check_proofs_gate_test.sh
  • tests/contractile_safety_test.sh
  • tests/deed_lane_test.sh
  • tests/e2e.sh
  • tests/mutants/omniscience.patch
  • tests/readiness_status_test.sh
  • tests/readme_badges_test.sh
  • tests/readme_openssf_badge_test.sh
  • tests/workflows/build_static_analysis_tools_test.sh
  • tests/workflows/check_lock_sync_test.sh
  • tests/workflows/foundation_ci_config_test.sh
  • tests/workflows/lock_sync_gate_test.sh
  • tests/workflows/proven_tests_config_test.sh
  • tests/workflows/run_proven_tests_test.sh
  • tests/workflows/sonarcloud_gate_test.sh
  • tests/workflows/static_analysis_gate_test.sh
  • tests/workflows/static_analysis_report_test.sh
  • tests/workflows/validate_workflows_test.sh
  • verification/0.1-AI-MANIFEST.a2ml
  • verification/benchmarks/0.2-AI-MANIFEST.a2ml
  • verification/benchmarks/m1/experiment.rs
  • verification/coverage/0.2-AI-MANIFEST.a2ml
  • verification/fuzzing/0.2-AI-MANIFEST.a2ml
  • verification/proofs/0.2-AI-MANIFEST.a2ml
  • verification/proofs/agda/KeyChain.agda
  • verification/proofs/agda/Properties.agda
  • verification/proofs/agda/TomSpec.agda
  • verification/proofs/coq/KeyChain.v
  • verification/proofs/coq/OBLIGATIONS
  • verification/proofs/coq/TomSpec.v
  • verification/proofs/coq/TypeSafety.v
  • verification/proofs/idris2/ABI/Compliance.idr
  • verification/proofs/idris2/ABI/Foreign.idr
  • verification/proofs/idris2/ABI/Layout.idr
  • verification/proofs/idris2/ABI/Platform.idr
  • verification/proofs/idris2/ABI/Pointers.idr
  • verification/proofs/idris2/Types.idr
  • verification/proofs/lean4/ApiTypes.lean
  • verification/proofs/tlaplus/StateMachine.tla
  • verification/safety_case/0.2-AI-MANIFEST.a2ml
  • verification/simulations/0.2-AI-MANIFEST.a2ml
  • verification/tests/EnactionEngineTests/AbiTests.idr
  • verification/tests/EnactionEngineTests/Main.idr
  • verification/tests/enaction-engine-tests.ipkg
  • verification/traceability/0.2-AI-MANIFEST.a2ml

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

…es after the relicense

The relicense changed the a2ml sources, so the provenance hashes on the BEGIN and END
lines of the generated region changed. The two values are the ones verify.sh printed
in CI for the previous head; the region body already matched the generator.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ
…ipeline with pinned Idris2 and Zig

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 24, 2026 11:30
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T12:48:26.667063Z f39b837 New commits
🔒 Security Review ✅ Completed 2026-11-24T12:47:38.952231Z f39b837 New commits
ℹ️ 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.

Copy link
Copy Markdown
Contributor Author

CI status for the head before the latest push (4c1c2bf), for reference:

  • estate-rules now passes (the generated CLAUDE.md provenance hashes were refreshed in 4c1c2bf), and lint-workflows passes with the new MPL-2.0 rule.
  • Creusot (reusable gate) / Creusot verdict fails, and it is not caused by this PR: proof-gates.yml is also red on main at 47e7c13 (push run 45278725637, the Creusot proofs and Creusot verdict jobs). On this PR the prove job was cancelled, probably by the workflow's concurrency group when I pushed a docs commit right after, and the verdict job then reports "PreflightFailed: no proof verdict is available". This PR changes only SPDX header lines in Rust and proof files. I have not re-run the job, and I have not read the full prove log.
  • SonarCloud queue attestation was already red on earlier PRs (docs(cac-kernel): make the belief model in section 3 match the crate #139, ci: add the CI/gate caller (placeholder suite pin) #140).
  • Coq, Agda, Idris2 and CodeQL showed cancelled on that head for the same concurrency reason; the checks on the current head 7cfd68b were still running when I looked.

No change made for any of these.


Generated by Claude Code

…account is their own

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7cfd68bd11

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -1,46 +1,31 @@
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: CC-BY-SA-4.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Cover prose .txt files in the CC licence stanza

The two narrative legal .txt files are now explicitly marked CC-BY-SA-4.0, but the DEP-5 prose override at .machine_readable/compliance/reuse/dep5:67 still matches only *.adoc and *.md; therefore SOURCE-NOTICE.txt and EXHIBIT-B-QUANTUM-SAFE.txt remain covered by the new default MPL-2.0 stanza as well. Consumers of this machine-readable metadata will consequently classify these documents as MPL or dual-licensed despite their headers and the stated code/prose split, so add these .txt paths to the CC stanza.

AGENTS.md reference: AGENTS.md:L46-L48

Useful? React with 👍 / 👎.

Comment thread build/just/validate.just Outdated
[ -f "$f" ] || MISSING="$MISSING $f"
done
for f in docs/legal/SOURCE-NOTICE.txt docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt LICENSES/AGPL-3.0-or-later.txt; do
for f in docs/legal/SOURCE-NOTICE.txt docs/legal/EXHIBIT-B-QUANTUM-SAFE.txt LICENSES/MPL-2.0.txt LICENSES/CC-BY-SA-4.0.txt; do

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep validating the retained AGPL licence text

While the generated ABI pipeline intentionally remains AGPL-3.0-or-later, this update removes LICENSES/AGPL-3.0-or-later.txt from validate-rsr's required files. If that retained text is later deleted or omitted from a distribution, just validate will now pass even though the repository still ships AGPL-covered generator sources and outputs; keep the AGPL text in this list alongside the new MPL and CC texts until the documented regeneration removes the last AGPL files.

AGENTS.md reference: AGENTS.md:L43-L45

Useful? React with 👍 / 👎.

Comment thread docs/legal/RELICENSE-2026-11-24.adoc Outdated
Comment on lines +15 to +19
`git log` on `main` at the time of the change: 58 commits.

* Jonathan D.A. Jewell: 48 commits.
* Bots: dependabot[bot] (7), arena-ai-coding-agent[bot] (2),
pre-commit-ci[bot] (1).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Audit the actual parent history before recording consent

This provenance record does not describe the history being relicensed: at this commit's parent (ef8eca1), git rev-list --count reports 154 commits and git shortlog reports 134 owner commits plus 17 Dependabot commits, not 58 total with 48 and 7 respectively. The trailer inventory also omits several substantial groups present in that history, so the document cannot support its conclusion that the complete contributor set was checked; rerun the audit against the exact parent and record those results.

AGENTS.md reference: AGENTS.md:L37-L40

Useful? React with 👍 / 👎.

…xt in dep5; keep requiring the AGPL text

The first author audit ran on a shallow clone (58 of 154 commits). Re-run on the full
history of the parent ef8eca1: same author set, no non-owner human, no Joshua; counts
and trailer list in docs/legal/RELICENSE-2026-11-24.adoc corrected. Also add the two
prose .txt files to the CC-BY-SA stanza in dep5 and keep LICENSES/AGPL-3.0-or-later.txt
in the validate.just required list while AGPL files remain.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 133127543a

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Cargo.toml
version = "0.1.0"
edition = "2024"
license = "AGPL-3.0-or-later"
license = "MPL-2.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve AGPL in the native crate metadata

When the native adapter is built or its Cargo metadata is scanned, this workspace-wide value labels enaction-accelerator-native as MPL-only because its manifest inherits license.workspace = true, but the crate textually includes the still-AGPL src/interface/generated/abi/enaction_accelerator.rs and its build script compiles the still-AGPL enaction_accelerator.zig. Until those generated files are regenerated, Cargo metadata and derived SBOMs therefore omit a license actually present in the package and binary; give this crate an AGPL-inclusive license override for the interim.

AGENTS.md reference: AGENTS.md:L43-L46

Useful? React with 👍 / 👎.

…T-stuff co-author account

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ
…lerator crate until the ABI outputs are regenerated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ
… sentence

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ

Copy link
Copy Markdown
Contributor Author

Codex's P1 on Cargo.toml was right, and it is fixed in 92c1e03 (record text moved in 021eaae): crates/enaction-accelerator-native includes the still-AGPL generated enaction_accelerator.rs and compiles enaction_accelerator.zig, so its manifest now declares license = "MPL-2.0 AND AGPL-3.0-or-later" instead of inheriting the workspace value. cargo metadata shows the two values; cargo fmt --check and cargo check (default members) pass. The license.workspace = true line should return when the generated files are regenerated (#146 stacks that follow-up; its regeneration has not run yet). The accelerator crate itself was not built (needs Zig).


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 021eaae59e

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/legal/RELICENSE-2026-11-24.adoc Outdated
Comment on lines +78 to +79
* `.github/workflows/rhodibot.yml` and `.machine_readable/bot_directives/debt.a2ml`:
bot policy text about AGPL header forms.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Retarget rhodibot's live SPDX check to MPL

When rhodibot runs after one of the scanned dotfiles acquires an obsolete AGPL header, .github/workflows/rhodibot.yml:68-77 still treats AGPL-3.0-or-later as compliant and tells users with another AGPL form to change to that old licence. This is executable workflow logic rather than merely retained policy text, and these dotfiles are not covered by the workflow-only SPDX linter described below, so the canary can silently accept or recommend the wrong licence instead of MPL-2.0. Retarget the check and message while preserving manual, owner-only remediation.

AGENTS.md reference: AGENTS.md:L27-L27

Useful? React with 👍 / 👎.

Comment thread build/setup.sh Outdated
REPORT_FILE="INSTALL-SECURITY-REPORT.adoc"
{
printf "// SPDX-License-Identifier: AGPL-3.0-or-later\n"
printf "// SPDX-License-Identifier: MPL-2.0\n"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge License the generated AsciiDoc report as prose

Whenever build/setup.sh runs, it now emits INSTALL-SECURITY-REPORT.adoc with an MPL-2.0 header even though the repository's declared split assigns prose documentation to CC-BY-SA-4.0. Because this generated file may be copied outside the repository where the DEP-5 override cannot correct its metadata, emit the prose licence directly in the report header.

AGENTS.md reference: AGENTS.md:L27-L27

Useful? React with 👍 / 👎.

Comment thread docs/legal/RELICENSE-2026-11-24.adoc Outdated
Comment on lines +70 to +73
* `docs/decisions/` (ADR 0001, ADR 0026) and `docs/proposals/` (the Evil Weevil
route and the ultracode plan): their reasoning refers to AGPL versus MPL.
Their premise changed with this relicense, so the owner may want a new ADR
that supersedes ADR 0026.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the current host plan after relicensing

The referenced ADR and route are not merely historical: both remain Proposed, and docs/decisions/0026-evil-weevil-is-the-first-host.adoc:34-49 plus docs/proposals/WEEVIL-HOST-ROUTE.adoc:102-114 still impose a process-only boundary because Enaction is allegedly AGPL and source can never move into the MPL kernel. After this relicense that premise is false, so anyone following the current structural guidance will preserve an unnecessary source/link restriction; update or explicitly supersede those live documents as part of this change rather than only noting that the owner may do so later.

AGENTS.md reference: AGENTS.md:L22-L23

Useful? React with 👍 / 👎.

Comment thread build/guix.scm Outdated
Comment on lines +17 to +18
(license ((@@ (guix licenses) license) "MPL-2.0"
"https://www.mozilla.org/en-US/MPL/2.0/")))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the retained AGPL licence in Guix metadata

Until the ABI regeneration lands, querying this package through Guix reports only MPL-2.0 even though the enaction-engine workspace still distributes the AGPL generator sources and generated outputs, and the native crate consumes those outputs under an MPL-2.0 AND AGPL-3.0-or-later declaration. Guix permits a package's license field to contain multiple licence values, so represent the retained AGPL licence here as well; otherwise Guix-derived package inventories and SBOMs omit a licence that remains in use.

AGENTS.md reference: AGENTS.md:L43-L45

Useful? React with 👍 / 👎.

…report as prose, flag the AGPL-based Weevil documents

Three Codex findings: rhodibot.yml now reports a leftover AGPL-3.0 dotfile header
(still report-only); build/setup.sh emits CC-BY-SA-4.0 on the generated .adoc report;
ADR 0026 and WEEVIL-HOST-ROUTE.adoc get a notice that their AGPL premise is out of date
(the decisions are unchanged).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ

Copy link
Copy Markdown
Contributor Author

All three of Codex's P2 findings on 021eaae were valid; fixed in 2688aa8:

  • rhodibot dotfile canary: .github/workflows/rhodibot.yml now reports any leftover AGPL-3.0 header in .gitignore, .gitattributes and .editorconfig and says the repository is MPL-2.0 since 2026-11-24. It stays report-only (owner-only manual fix). Workflow YAML parses; validate_workflows_test.sh passes. The workflow itself was not run.
  • Generated report licence: build/setup.sh now writes CC-BY-SA-4.0 in the header of INSTALL-SECURITY-REPORT.adoc (prose). bash -n passes; the script was not run.
  • ADR 0026 and the Weevil route (both Proposed): each now opens with a note that its AGPL premise is out of date after this relicense. I did not rewrite the decision or the plan; that is the owner's call, and the record doc says so. Say if you want a superseding ADR drafted instead.

The record doc's "Mentions left unchanged" section is updated to match. This head is merged into #146 (claude/abi-regenerate-mpl2).


Generated by Claude Code

…s are regenerated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ

Copy link
Copy Markdown
Contributor Author

Codex's P2 on build/guix.scm was right: while the generated ABI outputs stay AGPL, the Guix package metadata should not say MPL-2.0 only. license in build/guix.scm is now a list of both MPL-2.0 and AGPL-3.0-or-later, with a comment to drop the second entry when the regeneration lands, and the record doc says so. I checked that the parentheses balance (20 open, 20 close); I have not evaluated the file with guix (not installed where it was edited). Also merged into #146.


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 71e7984632

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

{
echo "<!--"
echo "SPDX-License-Identifier: AGPL-3.0-or-later"
echo "SPDX-License-Identifier: MPL-2.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Generate CLAUDE.md with the prose licence

When CLAUDE.md is absent and this script takes its fresh-file path, it creates the Markdown document with an MPL-2.0 header even though the repository classifies prose as CC-BY-SA-4.0 and the checked-in CLAUDE.md uses that licence. This leaves newly generated copies with incorrect standalone metadata, so emit CC-BY-SA-4.0 here just as the existing-file path preserves it.

AGENTS.md reference: AGENTS.md:L25-L27

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Codex's P2 on .machine_readable/arrival-pack/generate.sh was right: its fresh-file path writes a Markdown CLAUDE.md, which is prose, but my blanket header swap had made it emit MPL-2.0 while the checked-in CLAUDE.md uses CC-BY-SA-4.0. It now emits CC-BY-SA-4.0, and the record doc lists it. The header sits outside the generated markers, so this does not change the drift check. bash -n passes; I did not run the generator (it needs nickel). The other scripts that emit SPDX lines write .a2ml files, which are code/config and stay MPL-2.0. Merged into #146 as well.


Generated by Claude Code

claude and others added 2 commits November 24, 2026 12:09
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCxdCTuoBuuFQDZ
…eneration NOT RUN (#146)

## Summary

Follow-up to #145, stacked on its branch (`claude/relicense-mpl2`),
under the same one-off owner authorisation of 2026-11-24 and scoped to
the ABI pipeline only. It changes the generator sources and the header
text the generator emits to `MPL-2.0`.

## **REGENERATION NOT RUN: `guix: command not found`**

The generated outputs
(`src/interface/generated/abi/enaction_accelerator.{h,jl,rs,zig}`,
`SYMBOLS`, `SOURCE.sha256`) are **untouched and not hand-edited**. So
until the owner regenerates them, `scripts/generate-accelerator-abi.sh
--check` is **expected to fail** (the sources and the emitted header
text changed; the outputs and `SOURCE.sha256` did not). `guix` is not
installed in the sandbox that prepared this PR (Nix is present but off
limits for this estate), and Idris2 and Zig are not installed either.

Exact commands for the owner, from the repo root:

```
guix time-machine -C build/channels.scm -- shell -m build/manifest.scm -- ./scripts/generate-accelerator-abi.sh
guix time-machine -C build/channels.scm -- shell -m build/manifest.scm -- ./scripts/generate-accelerator-abi.sh --check
```

**But `build/manifest.scm` is incomplete:** it lists Zig but not Idris2
(see below). Add an Idris2 0.7.x package first, or the first command
will lack `idris2`. After a passing `--check`, commit the regenerated
files, then remove `LICENSES/AGPL-3.0-or-later.txt`, the AGPL stanza in
`dep5`, and the AGPL entry in `build/just/validate.just`.

## Changes

- `abi.ipkg`, `src/interface/Abi/{Layout,Accelerator,Generate}.idr`:
SPDX header line to `MPL-2.0`.
- `src/interface/Abi/Generate.idr`: the four header strings it emits
(`/* … */` for C, `//` for Zig and Rust, `#` for Julia) now say
`MPL-2.0`. Single string-literal edits; **not compiled** (no Idris2).
- `build/channels.scm`: one pinned Guix channel,
`https://codeberg.org/guix/guix.git`, commit
`37d0e8124fe388929d66022669d568d95ecf945b` (head of `master` on
2026-11-24, read with `git ls-remote`; the Savannah URL was refused by
the sandbox proxy). The channel introduction is the one in the Guix
manual; I confirmed its commit `9edb3f66…` exists in that repository,
but **did not verify the signing fingerprint, and the file has not been
run through `guix`**.
- `build/manifest.scm`: `zig@0.16`, `bash`, `coreutils`, `git`.
- `dep5`: the four generator sources leave the AGPL stanza (the
generated outputs stay); `docs/legal/RELICENSE-2026-11-24.adoc` and
`CHANGELOG.md` updated; `build/` comment in `root-allow.txt` lists the
two new files.

## What Guix has at that commit (read from `gnu/packages/zig.scm`, not
guessed)

- **Zig:** package `zig` 0.16.0 exists (variable `zig-0.16`, version
`0.16.0`). It matches the pin in `mise.toml` / `.tool-versions`. The
default `zig` there is 0.13.
- **Idris2:** NOT confirmed. No `gnu/packages/idris*.scm` exists at that
commit, and my text search of `gnu/packages` timed out, so I do not know
whether Guix has any Idris2 package. `.tool-versions` lists Idris2 0.7.0
(commented out) and `Generate.idr` says it targets Idris2 0.7. I did not
invent a package or a version.

## Testing

Run locally: `check-root-shape.sh` and `check-source-spdx.sh` pass;
`check-no-md-in-docs.sh` passes; `reuse lint` still reports 0 missing
licences and 14 invalid expressions (unchanged).

**Not run:** the regeneration and `generate-accelerator-abi.sh --check`
(no `guix`, `idris2`, `zig`), any Idris2 build of the edited sources,
`guix time-machine` / `guix describe` against `build/channels.scm`,
`just claude-md`, the Zig accelerator crate build, and GitHub CI on this
branch.

Do not merge before #145; the owner merges both.

---
_Generated by [Claude Code](https://claude.ai/code)_

---------

Co-authored-by: Claude <noreply@anthropic.com>

Copy link
Copy Markdown
Contributor Author

Accelerator (Zig-linked) is red on f39b837, and it is expected, not a new defect.

f39b837 includes the merged #146, which changed the SPDX header lines in abi.ipkg and src/interface/Abi/{Layout,Accelerator,Generate}.idr. scripts/bench-accelerator-m1.sh compare runs sha256sum -c against src/interface/generated/abi/SOURCE.sha256, and the job log ends with sha256sum: WARNING: 4 computed checksums did NOT match. Those four are exactly the edited sources.

I did not hand-edit the generated outputs or SOURCE.sha256. Regeneration NOT RUN (no guix, idris2 or zig in the sandbox that prepared #146).

Owner action, from the repo root:

guix time-machine -C build/channels.scm -- shell -m build/manifest.scm -- ./scripts/generate-accelerator-abi.sh
guix time-machine -C build/channels.scm -- shell -m build/manifest.scm -- ./scripts/generate-accelerator-abi.sh --check

build/manifest.scm still lacks a confirmed Idris2 package, so add an Idris2 0.7.x package first. After --check passes, commit the regenerated files, then remove LICENSES/AGPL-3.0-or-later.txt, the AGPL stanza in dep5, and the AGPL entry in build/just/validate.just. Also run just claude-md before merging.

I have not merged, requested reviewers or enabled auto-merge.


Generated by Claude Code

This branch has not been deployed

No deployments
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.

3 participants