interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

GitHub aien-dev/interplane-mv#15 (code only)

closed derived e723dc7f103893b2 #15

Imported from GitHub aien-dev/interplane-mv#15 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 678c06cde6e300363efba9dd586be580cb6323f0 · Head c8822270b5cac2a23905f2777f82d4afe9509a8f

greptile-apps[bot] reviewed (COMMENTED) on 2026-10-04 23:26 UTC

aien-dev has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

Fetch it

A git bundle of the pull request's head, 6523 bytes.

curl -fsSL https://interplane.io/drakestapleton/interplane-mv/patches/e723dc7f103893b2.bundle -o e723dc7f103893b2.bundle
git fetch e723dc7f103893b2.bundle refs/pull/15/head

Raw bundle · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/interplane-mv
15
c8822270b5cac2a23905f2777f82d4afe9509a8f
{"kind":"github-import","owner":"aien-dev","repo":"interplane-mv","number":15,"url":"https://github.com/aien-dev/interplane-mv/pull/15","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:58Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/docs/external/nightdriver/fastled-3105/PR-TEXT.md b/docs/external/nightdriver/fastled-3105/PR-TEXT.md
new file mode 100644
index 0000000..d081aff
--- /dev/null
+++ b/docs/external/nightdriver/fastled-3105/PR-TEXT.md
@@ -0,0 +1,33 @@
+# Upstream PR text (NOT submitted; Drake's button)
+
+Branch: aien-dev/NightDriverStrip `fix/pin-fastled-3103` (one commit `a837953e` on top of upstream main `4d79c290`). Target: `main`.
+
+## Title
+Pin FastLED to 3.10.3: 3.10.5 breaks the build
+
+## Description
+`platformio.ini` asks for `fastled/FastLED @ ^3.10.1`. A fresh library resolve now picks FastLED 3.10.5, and every environment I tried fails to compile:
+
+    include/hashing.h:44:8: error: using typedef-name 'using CRGB = struct fl::CRGB' after 'struct'
+
+Cause: since FastLED 3.10.4, `CRGB` is `using CRGB = fl::CRGB;` at global scope (`src/crgb.h` in 3.10.4/3.10.5; in 3.10.3 it is still `struct CRGB`). `hashing.h` forward-declares `struct CRGB;`, which is no longer legal.
+
+I tried the obvious source fix first (delete the two forward declarations, since `globals.h` already includes `FastLED.h`). That clears the first error, but the build then fails in about ten more places, because `CRGB` now lives in namespace `fl` and argument-dependent lookup also finds FastLED's own `fl::memset`, `fl::memcpy`, `fl::memmove` and `fl::swap` templates: `call of overloaded 'memset(CRGB*&, int, unsigned int)' is ambiguous` (`gfxbase.cpp`, `gfxbase_transforms.cpp`, `ledbuffer.cpp`, `network.cpp`, `ws281xgfx.cpp`) and `call of overloaded 'swap(fl::CRGB&, fl::CRGB&)' is ambiguous` (inside `std::rotate` in `fan_geometry.h`). That is a larger change than a build fix should be, so this PR only pins the library to 3.10.3, the newest release on the PlatformIO registry that builds (3.10.4 is not on the registry). Adapting to `fl::CRGB` can be a separate change when you want it.
+
+Builds (`pio run -e <env>`, PlatformIO 6.2.0, espressif32 55.3.37, xtensa gcc 14.2.0), fresh library install:
+
+| env | main, FastLED 3.10.1 | main, FastLED 3.10.5 (what `^3.10.1` resolves to today) | this PR (3.10.3) |
+|---|---|---|---|
+| m5demo | pass | FAIL (hashing.h:44) | pass |
+| mesmerizer | pass | FAIL (hashing.h:44) | pass |
+| mesmerizer_devkit_s3 | pass | FAIL (hashing.h:44) | pass |
+
+CI note: `.github/workflows/CI.yml` installs PlatformIO fresh and runs `pio run -e <env>` for every environment, so CI will hit this on any run without a warm package cache (PR #907 proposes caching PlatformIO packages, which would hide it until the cache is refreshed). Only 3 of about 60 environments were built here; nothing was flashed or run.
+
+AI assistance: this change and the investigation were done with the help of an AI coding assistant (Claude); I reviewed it and take responsibility for it.
+
+## Contributing requirements
+* [ ] I read the contribution guidelines in CONTRIBUTING.md.
+* [ ] I understand the BlinkenPerBit metric, and maximized it in this PR. (one line of config, nothing added to the firmware)
+* [ ] I selected `main` as the target branch.
+* [ ] All code herein is subjected to the license terms in COPYING.txt.
diff --git a/docs/external/nightdriver/fastled-3105/REPORT.md b/docs/external/nightdriver/fastled-3105/REPORT.md
new file mode 100644
index 0000000..39342d3
--- /dev/null
+++ b/docs/external/nightdriver/fastled-3105/REPORT.md
@@ -0,0 +1,44 @@
+# NightDriverStrip: a fresh FastLED resolve breaks the build (lane D3)
+
+External proving-ground lane D3. Upstream: PlummersSoftwareLLC/NightDriverStrip, main `4d79c290`.
+Nothing here was sent upstream. Fork branch: aien-dev/NightDriverStrip `fix/pin-fastled-3103` (`a837953e`). PR text: `PR-TEXT.md`.
+
+**Outcome:** the originally suspected one-file source fix is not enough. Fix shipped on the fork is a one-line library pin to FastLED 3.10.3. Evidence tags: observed, reproduced, fixed, tested.
+
+## Observed
+- [observed] `platformio.ini:56` has `fastled/FastLED @ ^3.10.1`. A fresh resolve gives 3.10.5 (PlatformIO registry lists 3.10.1, 3.10.2, 3.10.3, 3.10.5; there is no 3.10.4; GitHub also has 3.10.6, released 2026-10-04, not on the registry).
+- [observed] On unmodified main with 3.10.5, `m5demo`, `mesmerizer` and `mesmerizer_devkit_s3` all fail: `include/hashing.h:44:8: error: using typedef-name 'using CRGB = struct fl::CRGB' after 'struct'`.
+- [observed] Upstream check at lane start: no commits on main after `4d79c290`; no open issue or PR mentioning FastLED 3.10, CRGB or hashing.h (searched issues and PRs for FastLED, CRGB, hashing.h, 3.10). Only open PR is #907 "Cache PlatformIO packages in CI", which is relevant (see Scope).
+
+## Reproduction
+    # worktree at 4d79c290, secrets.h as in CI, PlatformIO 6.2.0 (~/.local/share/pio-venv)
+    nice -n 19 pio run -j4 -e m5demo        # resolves FastLED 3.10.5, fails
+Raw rows: `results-matrix1.tsv`, `results-matrix2.tsv` (version actually installed is read from the installed `library.json`).
+
+## Root Cause
+- [observed] FastLED 3.10.3 `src/crgb.h:86` is `struct CRGB {`. FastLED 3.10.4, 3.10.5 and 3.10.6 have `struct CRGB` in `src/fl/gfx/crgb.h:38` (namespace `fl`) and `src/crgb.h:25` has `using CRGB = fl::CRGB;` with the comment "Backward compatibility: bring fl::CRGB into global namespace". So `struct CRGB;` in `include/hashing.h:44` (a forward declaration meant to avoid heavy headers) is now ill-formed.
+- [observed] The forward declarations are redundant: `hashing.h` includes `globals.h`, whose line 107 includes `<FastLED.h>`.
+- [observed] Removing them is not sufficient. With 3.10.5 the build then fails at 11 more sites (m5demo, `scons -k`): `call of overloaded 'memset|memcpy|memmove(CRGB*...)' is ambiguous` in `gfxbase.cpp` (203, 631, 661), `gfxbase_transforms.cpp` (71, 73, 117, 119), `ledbuffer.cpp:132`, `network.cpp:1130`, `ws281xgfx.cpp:233`, and `swap(fl::CRGB&, fl::CRGB&) is ambiguous` inside `std::rotate` from `include/effects/strip/fan_geometry.h:31,36`. [hypothesized, consistent with the messages] Because `CRGB` is now in `fl`, argument-dependent lookup also finds FastLED's `fl::swap` (`fl/stl/type_traits.h:877`) and `fl::memset` family. Other environments may have more sites; only m5demo was enumerated.
+
+## Fix
+- [fixed] Fork branch pins `fastled/FastLED @ 3.10.3` with a two-line comment. 3.10.3 is the newest registry release that predates the alias change. Rejected alternative: a source fix working with both 3.10.1 and 3.10.5. It would touch about 8 files (qualify as `::memset`, replace `std::rotate` with a hand loop), cannot be fully enumerated without building all ~60 envs, and goes beyond "smallest change". It can be a follow-up.
+
+## Regression (build matrix)
+`pio run -e <env>`, espressif32 55.3.37, xtensa gcc 14.2.0, libdeps removed before each version change.
+
+| env | main + FastLED 3.10.1 | main + 3.10.5 | main + 3.10.1 after rm forward decls* | fork pin 3.10.3 |
+|---|---|---|---|---|
+| m5demo | pass | FAIL hashing.h:44 | n/a | pass |
+| mesmerizer | pass | FAIL hashing.h:44 | n/a | pass |
+| mesmerizer_devkit_s3 (ESP32-S3) | pass | FAIL hashing.h:44 | n/a | pass |
+
+*The forward-declaration removal was tested with 3.10.1 and 3.10.5 (first matrix, all 3 envs): 3.10.1 passes, 3.10.5 fails at the swap/memset sites above (`results-matrix1.tsv`, rows "nd-fl-fix"). That commit was discarded and is not on the fork.
+Also tried: pin 3.10.4: not on the registry (`UnknownPackageError`). 3.10.2 and 3.10.6 were not built.
+
+## Scope
+- Compile only, 3 of about 60 envs that CI builds (CI excludes none at this commit). Nothing flashed or run.
+- CI (`.github/workflows/CI.yml`) installs PlatformIO fresh and resolves libraries fresh, so it will fail on any uncached run. PR #907 (package caching) would mask the break until the cache is refreshed.
+- The pin hides, not fixes, the incompatibility with FastLED 3.10.4+. Upstream will need the source adaptation eventually.
+
+## INTERPLANE Lesson
+Dependency version ranges must be qualified, not assumed. `^3.10.1` was a claim about every future 3.x release; a minor release changed a core type to an alias and broke an untouched project. Qualify the range by building against its newest member, and keep a lockfile or exact pin where the build matters.
diff --git a/docs/external/nightdriver/fastled-3105/results-matrix1.tsv b/docs/external/nightdriver/fastled-3105/results-matrix1.tsv
new file mode 100644
index 0000000..8b81fe4
--- /dev/null
+++ b/docs/external/nightdriver/fastled-3105/results-matrix1.tsv
@@ -0,0 +1,13 @@
+3.10.1	nd-fl-base	m5demo	"version":"3.10.1"	rc=0	
+3.10.1	nd-fl-base	mesmerizer	"version":"3.10.1"	rc=0	
+3.10.1	nd-fl-base	mesmerizer_devkit_s3	"version":"3.10.1"	rc=0	
+3.10.1	nd-fl-fix	m5demo	"version":"3.10.1"	rc=0	
+3.10.1	nd-fl-fix	mesmerizer	"version":"3.10.1"	rc=0	
+3.10.1	nd-fl-fix	mesmerizer_devkit_s3	"version":"3.10.1"	rc=0	
+3.10.5	nd-fl-base	m5demo	"version":"3.10.5"	rc=1	include/hashing.h:44:8: error: using typedef-name 'using CRGB = struct fl::CRGB' after 'struct'
+3.10.5	nd-fl-base	mesmerizer	"version":"3.10.5"	rc=1	include/hashing.h:44:8: error: using typedef-name 'using CRGB = struct fl::CRGB' after 'struct'
+3.10.5	nd-fl-base	mesmerizer_devkit_s3	"version":"3.10.5"	rc=1	include/hashing.h:44:8: error: using typedef-name 'using CRGB = struct fl::CRGB' after 'struct'
+3.10.5	nd-fl-fix	m5demo	"version":"3.10.5"	rc=1	/home/drakestapleton/.platformio/packages/toolchain-xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/stl_algobase.h:185:11: error: call of overloaded 'swap(fl::CRGB&, fl::CRGB&)' is ambiguous
+3.10.5	nd-fl-fix	mesmerizer	"version":"3.10.5"	rc=1	/home/drakestapleton/.platformio/packages/toolchain-xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/stl_algobase.h:185:11: error: call of overloaded 'swap(fl::CRGB&, fl::CRGB&)' is ambiguous
+3.10.5	nd-fl-fix	mesmerizer_devkit_s3	"version":"3.10.5"	rc=1	/home/drakestapleton/.platformio/packages/toolchain-xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/stl_algobase.h:185:11: error: call of overloaded 'swap(fl::CRGB&, fl::CRGB&)' is ambiguous
+DONE
diff --git a/docs/external/nightdriver/fastled-3105/results-matrix2.tsv b/docs/external/nightdriver/fastled-3105/results-matrix2.tsv
new file mode 100644
index 0000000..7f35231
--- /dev/null
+++ b/docs/external/nightdriver/fastled-3105/results-matrix2.tsv
@@ -0,0 +1,5 @@
+fix-pin3.10.3	m5demo	"version":"3.10.3"	rc=0	
+fix-pin3.10.3	mesmerizer	"version":"3.10.3"	rc=0	
+fix-pin3.10.3	mesmerizer_devkit_s3	"version":"3.10.3"	rc=0	
+base-3.10.4	m5demo		rc=1	
+DONE