Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ Open an issue or pull request describing the behavior and a reproducible example

Use Node.js 22.5+ and run `npm ci`, `npm run typecheck`, `npm test`, `npm run build` and `npm run audit:boundary`. Changes to safety or planning should include a regression test using a synthetic repository. Preserve full-run fallback on insufficient evidence; distinguish advisory selection from executable commands.

Contributions to this repository are made under AGPL-3.0-only. Submit only work you are entitled to contribute and preserve third-party notices. This policy does not grant DiffCI permission to relicense other contributors' work under proprietary terms; any additional licensing agreement must be handled separately.
Contributions to this repository are made under the MIT License. Submit only work you are entitled to contribute and preserve third-party notices.

Sign off every commit to certify the [Developer Certificate of Origin](https://developercertificate.org/), using `git commit -s`. This adds a `Signed-off-by: Your Name <you@example.com>` line stating that you wrote the change or otherwise have the right to submit it under the MIT License.
682 changes: 21 additions & 661 deletions LICENSE

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions LICENSE-HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# License history

DiffCI Core was first published under AGPL-3.0-only. It is now licensed under
the MIT License.

All prior releases of DiffCI Core and the `@diffci.com/diffci` CLI are also
available under the MIT License, in addition to AGPL-3.0-only, except for the
contribution from #16 described below. Files inside already-published release
archives still contain the AGPL text; this statement grants the additional MIT
license for them.

Outside contributors to the AGPL-licensed versions were asked to agree to this
relicensing for all past and future versions in
[#43](https://github.com/DiffCI/core/issues/43):

| Contributor | Pull requests | Status |
| --- | --- | --- |
| @FredApps | #32, #33, #34, #35, #36 | [consented](https://github.com/DiffCI/core/issues/43#issuecomment-6414291007) |
| @varshith84 | #16 | not relicensed; removed and replaced |

The only contribution from #16, a Vue transitive-selection regression test in
`tests/repo/language-adapters.test.ts`, was removed before the MIT switch. It was
replaced with new tests written by the DiffCI maintainers from the acceptance
criteria in [#6](https://github.com/DiffCI/core/issues/6). Copies of the #16
test in earlier versions of this repository remain under AGPL-3.0-only.
4 changes: 2 additions & 2 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ DiffCI Core
Copyright (c) 2026 DiffCI contributors.

DiffCI's original source and contributions in this repository are licensed under
the GNU Affero General Public License, version 3 only (AGPL-3.0-only).
See LICENSE for the complete terms. No trademark rights are granted.
the MIT License. See LICENSE for the complete terms and LICENSE-HISTORY.md for
the earlier AGPL-3.0-only releases. No trademark rights are granted.

This initial public repository was extracted from DiffCI's private development
repository as a new history containing only the selected engine and portable
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![DiffCI MCP server](https://mcprush.com/badge/diffci-mcp/card.svg)](https://mcprush.com/to/diffci-mcp?ref=badge)

**Open-source test-impact analysis for faster CI.** For developers and maintainers evaluating which tests a change affects, with conservative full-run fallbacks. Licensed under AGPL-3.0-only.
**Open-source test-impact analysis for faster CI.** For developers and maintainers evaluating which tests a change affects, with conservative full-run fallbacks. Licensed under the MIT License.

## Coding-agent plugins

Expand Down Expand Up @@ -147,15 +147,15 @@ Sponsors' bug reports are labelled [`sponsor`](https://github.com/DiffCI/core/la

| Component | Availability | License |
| --- | --- | --- |
| This Core repository | Public source | AGPL-3.0-only |
| This Core repository | Public source | MIT |
| DiffCI Cloud: hosting, billing, organization management, dashboard, managed services | Private source | Proprietary; not included here |
| Optional enterprise modules | Not released here | A separate source-available license would apply if offered |

Only the explicitly extracted Core files and standalone tooling are in this repository. There is no private monorepo history, customer data, deployment configuration or Cloud implementation here. Core is usable independently; it is not a promise that the private product has already migrated to consume this package.

## License and contributions

See [LICENSE](LICENSE), [NOTICE](NOTICE) and [CONTRIBUTING.md](CONTRIBUTING.md). AGPL permits commercial use; it is not a non-commercial license. Its obligations, including those applicable to modified versions used over a network, are defined by the license. Grant eligibility depends on the particular grant agreement. No eligibility or legal separation is guaranteed by this repository layout.
See [LICENSE](LICENSE), [NOTICE](NOTICE) and [CONTRIBUTING.md](CONTRIBUTING.md). Releases before the MIT switch were published under AGPL-3.0-only and are now also available under MIT; see [LICENSE-HISTORY.md](LICENSE-HISTORY.md). Grant eligibility depends on the particular grant agreement. No eligibility or legal separation is guaranteed by this repository layout.

See [the release boundary](docs/release-boundary.md) for scope and current limitations.

Expand Down
2 changes: 1 addition & 1 deletion docs/release-boundary.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The initial extraction includes these engine directories:

Standalone additions are `src/analyze.ts`, `src/cli.ts`, `src/index.ts`, `src/measurement.ts`, the synthetic benchmark, release documentation and boundary checks. Tests use synthetic inputs and temporary repositories. Cloud-dependent integration tests and the original product-specific task-registry fixture are excluded.

The following are outside this release: authentication, billing, organizations, dashboard, databases, Shadow enrollment/reconciliation/storage, hosted runners, deployment configurations, operational scripts, website, research datasets and proprietary enterprise code. No Git history from the private repository is copied. The AGPL license applies to the files in this public repository, not to every file in the original private repository.
The following are outside this release: authentication, billing, organizations, dashboard, databases, Shadow enrollment/reconciliation/storage, hosted runners, deployment configurations, operational scripts, website, research datasets and proprietary enterprise code. No Git history from the private repository is copied. The MIT license applies to the files in this public repository, not to every file in the original private repository.

## Limitations

Expand Down
4 changes: 2 additions & 2 deletions funding.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"role": "owner",
"name": "DiffCI",
"email": "aditya@diffci.com",
"description": "DiffCI develops open-source infrastructure for understanding software changes and reducing unnecessary CI work. DiffCI Core is an AGPL-3.0-only engine that analyzes repository changes, dependency impact and CI structure to produce conservative CI execution plans with full-run fallbacks when evidence is insufficient.",
"description": "DiffCI develops open-source infrastructure for understanding software changes and reducing unnecessary CI work. DiffCI Core is an MIT-licensed engine that analyzes repository changes, dependency impact and CI structure to produce conservative CI execution plans with full-run fallbacks when evidence is insufficient.",
"webpageUrl": {
"url": "https://github.com/DiffCI"
}
Expand All @@ -23,7 +23,7 @@
"url": "https://github.com/DiffCI/core"
},
"licenses": [
"spdx:AGPL-3.0-only"
"spdx:MIT"
],
"tags": [
"developer-tools",
Expand Down
2 changes: 1 addition & 1 deletion integrations/agent-plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"homepage": "https://diffci.com/",
"repository": "https://github.com/DiffCI/core",
"license": "AGPL-3.0-only",
"license": "MIT",
"keywords": [
"ci",
"test-selection",
Expand Down
2 changes: 1 addition & 1 deletion integrations/agent-plugin/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"homepage": "https://diffci.com/mcp-server",
"repository": "https://github.com/DiffCI/core",
"license": "AGPL-3.0-only",
"license": "MIT",
"keywords": [
"ci",
"test-selection",
Expand Down
2 changes: 1 addition & 1 deletion integrations/agent-plugin/.cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"homepage": "https://diffci.com/mcp-server",
"repository": "https://github.com/DiffCI/core",
"license": "AGPL-3.0-only",
"license": "MIT",
"logo": "assets/diffci-mark.svg",
"keywords": [
"ci",
Expand Down
2 changes: 1 addition & 1 deletion integrations/agent-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"homepage": "https://diffci.com/mcp-server",
"repository": "https://github.com/DiffCI/core",
"license": "AGPL-3.0-only",
"license": "MIT",
"keywords": [
"ci",
"test-selection",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@diffci.com/core",
"version": "0.1.1",
"description": "Local dependency analysis, conservative CI planning and compute measurement",
"license": "AGPL-3.0-only",
"license": "MIT",
"private": true,
"type": "module",
"engines": {
Expand Down
Loading