Repository navigation
Open
Description
Context
This is the FastLED adoption/rollout follow-up to #4046. It must not switch FastLED until the public FastLED/license repository has a legally reviewed, immutable release containing the reciprocal license, AI-agent instructions, policy schema, and tested header tool.
The rollout target is every FastLED-owned release source file under src/** with the relevant C/C++ extensions, including at minimum *.h, *.hpp (therefore *.cpp.hpp), *.cpp, and any owned *.c/assembly source discovered by inventory. The Animartrix implementation is deliberately excluded from relicensing/header migration because it carries separate MIT/provenance treatment.
Proposal
- Pin the reviewed
FastLED/licenserelease by tag, commit, and SHA-256 manifest. - Vendor the reviewed license documents,
LICENSE-AI-AGENT-INSTRUCTIONS.md, policy, anduv run-able header tool into FastLED so source archives are self-contained. - Build and review a complete ownership inventory for
src/**:- FastLED-owned source is in scope.
src/fl/fx/2d/animartrix.hpp,src/fl/fx/2d/animartrix_detail.h, and the entiresrc/fl/fx/2d/animartrix_detail/**tree are explicitly excluded with their existing MIT/provenance treatment preserved.- Vendored/separately licensed source such as
src/third_party/**, vendored Three.js, Teensy SdFat/PJRC-derived code, and any other mixed-origin files must receive explicit reasoned exclusions rather than new FastLED headers.
- Run the reviewed updater over all in-scope
src/**files and review the generated migration diff. - Hook the read-only compliance command into
bash lint, required PR CI, and release/archive CI. - Use the feat(license): publish reciprocal license and header-compliance toolchain #4046 zccache integration so unchanged successful checks skip ripgrep/header processing, while any source, policy, template, tool, or pinned-license change invalidates the check.
- Update root licensing/contributor/package metadata and document the exact transition commit, tag, and release.
Acceptance criteria
Preconditions and pinning
- feat(license): publish reciprocal license and header-compliance toolchain #4046 has produced a public, legally reviewed, tagged
FastLED/licenserelease. - FastLED pins the exact license tag, commit, and artifact hashes; no build/release step follows mutable legal text.
- The legacy MIT license/transition notice remains available and old MIT releases are not described as retroactively relicensed.
Complete source migration
- A machine-generated inventory enumerates every tracked source file under
src/**, classified as in-scope FastLED-owned, Animartrix, third-party/separately licensed, or generated. - Every FastLED-owned
src/**/*.h,src/**/*.hpp(including everysrc/**/*.cpp.hpp),src/**/*.cpp, and other owned compiled source carries the exact current managed header. - No FastLED-owned source is omitted merely because it is platform-specific or deeply nested.
- The complete Animartrix source boundary (
src/fl/fx/2d/animartrix.hpp,src/fl/fx/2d/animartrix_detail.h, andsrc/fl/fx/2d/animartrix_detail/**) remains byte-for-byte unchanged by the migration and is covered by an explicit policy exclusion. - All other excluded files have a reviewed provenance/license reason; adding a new unclassified
src/**source file fails CI. - A second updater run is byte-for-byte idempotent.
RED -> GREEN and CI enforcement
- Before migration, the focused compliance check fails on representative missing/stale FastLED-owned headers.
- The same check turns green after the migration, without changing Animartrix or third-party files.
-
bash lintinvokes the read-only compliance check. - Required PR CI fails for a missing header, stale header version, unclassified source, changed pinned legal artifact, or provenance hash mismatch.
- Release CI runs the same check against an exported source archive without
.gitand blocks a noncompliant release. - zccache tests prove an unchanged successful run does not invoke ripgrep; relevant changes rescan; failed checks are never cached as success.
Regression verification
-
bash lintpasses. -
bash test --cpppasses. - Representative FastLED example/release builds pass after the comment-only header migration.
-
git diff --exit-codeafter a second updater run proves the checked-in tree is canonical.
Decisions
- Dependency: this rollout is blocked on the reviewed immutable output of feat(license): publish reciprocal license and header-compliance toolchain #4046; tooling/legal design stays in the parent issue and repository adoption stays here.
- Scope: enforce the whole FastLED-owned
src/**release surface, not only a hand-maintained subset of common headers. - Animartrix: preserve and explicitly exclude the complete Animartrix implementation from the reciprocal-header rewrite.
- Third-party code: ownership, not location alone, controls scope; separately licensed source is preserved and reasoned in policy.
- Enforcement: wire one canonical read-only command into local lint, PR CI, and release-archive CI so the three paths cannot drift.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsTriage
Activity
zackees commentedon Aug 25, 2026
Dependency update from #4046: adoption must enforce zero-day publication on or before first sale. Either a public fork or a public bug report containing the exact base SHA and complete reproducible unified diff is an accepted publication path.
zackees commentedon Aug 25, 2026
The full adoption implementation is now in draft PR #4049: #4049
It vendors the canonical release candidate from FastLED/license#1, migrates 2,083 FastLED-owned source files, hash-locks 253 explicit exclusions (including the complete Animartrix boundary), and enforces clean-checkout plus source-archive compliance on Linux, macOS, and Windows. Local lint, 368 C++ tests, representative UNO build, idempotence, and exclusion-integrity checks pass.
Merge remains gated on documented licensing-attorney approval and the immutable canonical
v1.0.0release. The only currently completed red FastLED CI check is the unrelated master-wide Teensy failure tracked in #3992.