Repository navigation
chore(license): scope Apache-2.0 software and CC-BY-4.0 docs - #3487
Conversation
Relates to #3486. Preserve historical MIT and third-party notices, align first-party metadata and documentation, and include legal files in standalone distributions. Draft proposal pending rights review before merge. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
APM Spec Guardian: editorial-only
No substantive normative spec change detected: only the introductory license sentence changes. Panel fan-out was skipped; the mechanical linter ran. This assessment does not establish licensing authority. Checks 1-5, 7, 9 and 10 passed. Check 8 is not applicable: the specification contains no Mermaid blocks. Linter notes
This review is advisory. Re-apply the |
Align both hash ledgers with the five first-party Apache-2.0 manifest copies and extend source/hash parity coverage to all affected skills. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the public maintainer roster, contributor credit and Apache licensing notices together. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
Stale local-package content_hash values cause apm install --frozen to reject the changed packages despite updated deployment hashes.
1 open issue
What changed in this PR
This draft implements the Apache-2.0 licensing proposal from #3486 across APM-owned content and distribution metadata. It preserves historical MIT and third-party notices; rights review remains a prerequisite to merge.
Changes:
- Align first-party manifests, Python metadata, documentation and OpenAPM’s license statement.
- Retain historical notices and include
LICENSEandNOTICEin standalone builds. - Add licensing checks and extend installed-skill consistency coverage.
| File | Description |
|---|---|
tests/unit/test_triage_advisory.py |
Extends installed-skill file and hash checks. |
tests/unit/test_project_licensing.py |
Adds metadata, notice-retention and bundle checks. |
scripts/notice-metadata.yaml |
Updates the generated NOTICE preamble. |
pyproject.toml |
Changes the Python license classifier. |
packages/pr-description-skill/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-pr-triage-worker/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-pr-triage-scheduler/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-pr-review-worker/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-pr-review-scheduler/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-pr-merge-worker/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-maintainer-canvas/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-issue-triage-worker/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-issue-triage-scheduler/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-issue-delivery-worker/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-issue-delivery-scheduler/apm.yml |
Declares Apache-2.0. |
packages/autopilot/autopilot-comment/apm.yml |
Declares Apache-2.0. |
packages/apm-guide/apm.yml |
Declares Apache-2.0. |
packages/apm-contributor-dashboard/apm.yml |
Declares Apache-2.0. |
NOTICE |
Updates first-party terms and retains historical MIT text. |
LICENSE |
Replaces MIT with standard Apache-2.0 text. |
docs/src/content/docs/specs/openapm-v0.1.md |
Changes only the specification’s license statement. |
docs/src/content/docs/index.mdx |
Updates the homepage license claim. |
docs/src/content/docs/enterprise/security.md |
Explains licensing scope and notice retention. |
docs/src/content/docs/enterprise/making-the-case.md |
Updates the adoption proposal’s license claim. |
CONTRIBUTING.md |
Clarifies contribution licensing and historical terms. |
CHANGELOG.md |
Records the transition and redistribution guidance. |
build/apm.spec |
Bundles LICENSE and NOTICE. |
apm.yml |
Declares Apache-2.0 for the root package. |
apm.lock.yaml |
Updates deployed manifest hashes. |
.agents/skills/pr-description-skill/apm.yml |
Aligns the installed skill’s license. |
.agents/skills/autopilot-pr-review-worker/apm.yml |
Aligns the installed skill’s license. |
.agents/skills/autopilot-pr-merge-worker/apm.yml |
Aligns the installed skill’s license. |
.agents/skills/autopilot-issue-triage-worker/apm.yml |
Aligns the installed skill’s license. |
.agents/skills/autopilot-comment/apm.yml |
Aligns the installed skill’s license. |
Review effort: Balanced
| deployed_file_hashes: | ||
| .agents/skills/autopilot-pr-merge-worker/SKILL.md: sha256:bff587a94c928a8d3e0104edde83cf4323939a737f5ee17fed4918f00810f981 | ||
| .agents/skills/autopilot-pr-merge-worker/apm.yml: sha256:efae1514c8d1ca5469e2c38c361e3953c3f38e659c7a3f4f49cf1298c272ab67 | ||
| .agents/skills/autopilot-pr-merge-worker/apm.yml: sha256:e421410ed6fe9e77256036f998036bdad5b8706e1d185d8a0414d285f9f9cfa9 |
Refresh all eleven local package hashes through the canonical source snapshot owner and cover them with a frozen-install regression contract. Preserve dependency-license and deployed-file records. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Materialize package fixtures with LF bytes so raw integrity hashes are checked against the Git payload, not host checkout line endings. Include the regression in the Windows compatibility gate. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Licensing CI and main integrationUpdated head:
All eight current CI lint steps and 119 focused tests passed locally on this exact head. NOTICE generation and deployment-drift checks passed; the unchanged documentation passed its build and 1,111-link check. Hosted checks are now complete: 24 successful, 2 neutral, 1 skipped; none pending or failing, including the required gate. GitHub reports MERGEABLE / BLOCKED: source conflicts are cleared, but CODEOWNER/last-push approval and the merge queue remain platform gates. No human approval is claimed. No merge, reviewer request or auto-merge was performed. This is source/CI readiness, not a CNCF dependency-license clearance or authority to relicense third-party material. The separate dependency audit and the proposal's existing review boundaries still apply. Generated by autopilot-pr-merge-worker. This comment is AI-generated and may contain errors. |
Keep software, agent primitives, examples and OpenAPM under Apache-2.0; scope general documentation to CC-BY-4.0. Distribute both licenses and the scope, correct filelock attribution, and state NOTICE coverage accurately. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the complete historical Microsoft MIT notice and document the separate upstream payload license and coordinated future transition. Leave the MIT v0.35.0 formula, template, release automation and README unchanged. Relates to #54 and microsoft/apm#3487. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* chore(license): propose Apache-2.0 for APM-owned content Relates to #72 and microsoft/apm#3487. Preserve historical MIT and third-party notices; rights review remains required before merge. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * docs(changelog): record Apache-2.0 proposal #73 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Description
TL;DR
Propose Apache-2.0 for APM-owned software, executable agent primitives, code/configuration examples and software-facing OpenAPM, with CC-BY-4.0 for general documentation. Publish the exact scope and distribute both licenses with the historical MIT and third-party notices. Correct the confirmed filelock attribution and the misleading claim that setuptools is universally build-only.
Important
Ready for review, not legal clearance or permission to merge. The maintainer approved the scoped amendment on November 9. Rights review remains required; previously published MIT releases and third-party terms are unchanged. This PR does not certify complete dependency-license compliance or CNCF acceptance.
Problem (WHY)
Approach (WHAT)
LICENSE; add the unmodified official CC-BY-4.0 legal text inLICENSE-DOCS.LICENSING.mdthe explicit scope: documentation prose is CC-BY, while code, configuration examples, agent primitives and software-facing OpenAPM remain Apache.LICENSE,LICENSE-DOCS,LICENSING.mdandNOTICEin source, wheel and standalone distributions.Implementation (HOW)
LICENSE,LICENSE-DOCS,LICENSING.mdCONTRIBUTING.mdscripts/notice-metadata.yaml,scripts/generate-notice.py,NOTICEpyproject.toml,build/apm.specapm.yml, 14packages/**/apm.ymlfiles, five.agents/skills/*/apm.ymlcopiesapm.lock.yaml,tests/unit/test_triage_advisory.pydocs/src/content/docs/index.mdx,enterprise/security.md,enterprise/making-the-case.md,specs/openapm-v0.1.mddocs/astro.config.mjs,docs/src/components/Footer.astrotests/unit/test_project_licensing.py,CHANGELOG.mdDiagrams
Dashed nodes are the documentation license and scope map added by this amendment; all four legal files travel with each distribution.
flowchart LR S["Software, agent primitives, examples, OpenAPM"] --> A["LICENSE: Apache-2.0"] D["General documentation"] --> C["LICENSE-DOCS: CC-BY-4.0"] A --> P["Source, wheel and standalone"] C --> P L["LICENSING.md: scope and exclusions"] --> P N["NOTICE: historical MIT and third-party attribution"] --> P classDef new stroke-dasharray: 5 5; class C,L new;Trade-offs
>=3.12.LICENSE-DOCSretains the upstream final blank line; this is the onlygit diff --checkwarning. All other amended files pass the whitespace check.Benefits
Issue and approved scope
Issue: #3486
Human scope-approval comments:
This PR supplies the technical licensing proposal and packaging checks. The documentation boundary is now explicitly chosen and implemented; rights/legal review remains before merge. It does not complete the foundation-contribution process or authorize filing, release, signature or transfer.
Type of change
Testing
Validation
Local results for the amendment; the full suite was not rerun and hosted CI is not inferred from these results. Current
mainis an ancestor of this branch. Python validation used the existing frozen environment (UV_NO_SYNC=1); all 99 installed third-party distribution versions were matched against the committed lockfile. An unrelated localuv.lockrewrite is preserved and excluded from this PR.ARTbelow denotes the external session artifact directory used for build output, not a tracked project directory.uv run --frozen --extra dev pytest -q -p no:cacheprovider tests/unit/test_project_licensing.py tests/unit/test_build_spec.pyuv run --frozen python scripts/generate-notice.py --checkuv build --no-build-isolation --python .venv/bin/python --out-dir "$ART/license-split-distributions"uv run --frozen --no-sync --extra dev --extra build pyinstaller --noconfirm --distpath "$ART/license-split-binary" --workpath "$ART/license-split-pyinstaller-work" build/apm.spec--versionsucceeded.npm --prefix docs run builduv run --frozen python scripts/check_test_assertions.pyuv run --frozen python scripts/check_exact_test_duplicates.pymmdc -i "$ART/license-split-diagram.mmd" -o "$ART/license-split-diagram.svg" --quietCI-mirror lint commands and actual output
Commands executed with
UV_NO_SYNC=1:All exited 0:
The YAML I/O, 2,100-line and portable-relative-path guards also passed using the CI regexes/thresholds in a portable Python check. The architecture-boundary command exited 0 without output.
Scenario Evidence
test_documentation_scope_excludes_software_and_specification,test_documentation_license_is_discoverabletest_python_distribution_includes_licenses_scope_and_notice,test_standalone_build_includes_license_and_notice, actual archive/binary inspectiontest_notice_preserves_historical_mit_licensetest_filelock_notice_matches_reviewed_release,test_notice_discloses_direct_dependency_coverage_limittest_docs_footer_exposes_both_license_scopes, all-page generated-HTML inspectionHow to test
ARTto a disposable output directory and run the Python package and standalone build commands; inspect all four legal files and run the built CLI with--version.npm --prefix docs run build; inspect a guide and OpenAPM for the scope-aware footer.LICENSE-DOCSto the official CC-BY-4.0legalcode.txt, and review the scope exclusions and historical notices.Spec conformance (OpenAPM v0.1)
If this PR changes behaviour that an OpenAPM v0.1
req-XXXcovers,confirm the three-step ritual in the
development guide:
docs/src/content/docs/specs/openapm-v0.1.mdupdated(new/changed
<a id="req-XXX"></a>anchor + prose + Appendix Crow).
docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.ymlupdated.
@pytest.mark.req("req-XXX")test undertests/spec_conformance/added or extended.CONFORMANCE.{md,json}regenerated viauv run --extra dev python -m tests.spec_conformance.gen_statementand committed.
The specification change remains limited to its introductory license sentence. No requirement, schema or conformance artifact is changed by this amendment.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com