Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

KiCad tile pins autonomous-circuit 0e0ea33: the Firmware phase waits for a built binary, the RP2040 toolchain ships with the tile

31803smith567de5158332
diff --git a/store/agents/kicad/README.md b/store/agents/kicad/README.md
index 15ad5dee1..0a385cd18 100644
--- a/store/agents/kicad/README.md
+++ b/store/agents/kicad/README.md
@@ -19,7 +19,7 @@ examples) into `upstream/`, then runs the KiCad package's own setup there
template; the doctor, workspace init and viewer are that package's own scripts, run against the copy.
- `harness.json` — name, category, engine, and paths into `upstream/harness/kicad/`.
-- `VERSIONS` — the repository, the pinned commit (on its `feat/v2-kicad-native` branch), the sparse patterns.
+- `VERSIONS` — the repository, the pinned commit (on its `main`), the sparse patterns.
- `toolchain/runtimes.sh` — the store's copy: a Node and a venv Python of the package's own.
- `toolchain/kicad.sh` — KiCad vendored at the pin (macOS: the official DMG, copied without 3D models
and help); `VERSIONS` carries its version, URL, checksum and size.
@@ -32,8 +32,11 @@ installed into its own folder and never onto the machine: a Node and a venv Pyth
**KiCad itself** (`toolchain/kicad.sh` — on macOS the official unified DMG at the version and checksum
`VERSIONS` pins, mounted and copied into `kicad/KiCad.app` without the 3D models and the offline help:
a 1.4 GB download, 1.3 GB on disk; the manifest points the pipeline at it with `KICADPY_CLI`,
-`KICADPY_PYTHON`, `CIRCUIT_KICAD_CLI` and `KICAD_HARNESS_SHARE`), Freerouting with its JRE, and the built
-viewer. git is optional: without it the pinned commit arrives as GitHub's tarball. On Linux there is
+`KICADPY_PYTHON`, `CIRCUIT_KICAD_CLI` and `KICAD_HARNESS_SHARE`), Freerouting with its JRE, **the RP2040
+firmware toolchain** (Arm GNU 14.2, pico-sdk 2.2.0, picotool, plus cmake and ninja from PyPI wheels —
+~1.1 GB more; the manifest exports `PICO_SDK_PATH`, `PICO_TOOLCHAIN_PATH`, `CMAKE_PREFIX_PATH`,
+`KICAD_HARNESS_CMAKE`, `KICAD_HARNESS_NINJA`, because since 2026-10-01 the Firmware phase is done only
+when the recipe's binary exists), and the built viewer. git is optional: without it the pinned commit arrives as GitHub's tarball. On Linux there is
no relocatable KiCad artifact, so KiCad stays a system install (apt/dnf/flatpak) named by
`KICADPY_CLI` / `KICADPY_PYTHON`, and the doctor says so.
diff --git a/store/agents/kicad/VERSIONS b/store/agents/kicad/VERSIONS
index e72ca9f06..bcc9b172f 100644
--- a/store/agents/kicad/VERSIONS
+++ b/store/agents/kicad/VERSIONS
@@ -1,10 +1,12 @@
# KiCad — Autonomous Circuit's KiCad-native pipeline, wrapped here as it is on its main branch.
# Since 2026-09-29 the v2 pipeline lives on `main` (PR #34 merged it; #39/#41 added the Firmware
-# tab, the firmware step and the Flash button); a newer KiCad tile is a bump of UPSTREAM_COMMIT to
-# a later commit on main. The fetch is by commit, so a branch commit would work too.
+# tab, the firmware step and the Flash button; #42/#43/#44 on 2026-10-01/02 made the Firmware phase
+# wait for a built binary, vendored the RP2040 toolchain with cmake + ninja, added the read / checker
+# / power-entry rules, the module cards and the Export Gerber button). A newer KiCad tile is a bump
+# of UPSTREAM_COMMIT to a later commit on main. The fetch is by commit, so a branch commit would work too.
UPSTREAM_NAME="autonomous-circuit"
UPSTREAM_REPO="https://github.com/autonomous-ai/autonomous-circuit.git"
-UPSTREAM_COMMIT="62869109ed889b717707f7c38f0b79782dfb285e"
+UPSTREAM_COMMIT="0e0ea33030658b10e724e19a6ef1d5b732f03284"
# Everything but its product library and examples (118 MB a board build never reads).
UPSTREAM_SPARSE_MODE="no-cone"
UPSTREAM_SPARSE="/* !/products/ !/examples/"
diff --git a/store/agents/kicad/harness.json b/store/agents/kicad/harness.json
index e629606bc..25ca0b1f8 100644
--- a/store/agents/kicad/harness.json
+++ b/store/agents/kicad/harness.json
@@ -25,6 +25,13 @@
"KICAD_HARNESS_ROOT": "${dsh}/upstream",
"KICAD_HARNESS_BLOCKS": "${dsh}/upstream/packages/golden-blocks/blocks",
"CIRCUIT_TOOLCHAIN": "${dsh}/upstream/toolchain",
+ "KICAD_HARNESS_PICO_SDK": "${dsh}/upstream/toolchain/pico/pico-sdk",
+ "KICAD_HARNESS_ARM_TOOLCHAIN": "${dsh}/upstream/toolchain/pico/arm-gnu-toolchain",
+ "PICO_SDK_PATH": "${dsh}/upstream/toolchain/pico/pico-sdk",
+ "PICO_TOOLCHAIN_PATH": "${dsh}/upstream/toolchain/pico/arm-gnu-toolchain",
+ "CMAKE_PREFIX_PATH": "${dsh}/upstream/toolchain/pico/picotool",
+ "KICAD_HARNESS_CMAKE": "${dsh}/upstream/toolchain/pico/tools/bin/cmake",
+ "KICAD_HARNESS_NINJA": "${dsh}/upstream/toolchain/pico/tools/bin/ninja",
"KICADPY_CLI": "${dsh}/kicad/KiCad.app/Contents/MacOS/kicad-cli",
"KICADPY_PYTHON": "${dsh}/kicad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3",
"CIRCUIT_KICAD_CLI": "${dsh}/kicad/KiCad.app/Contents/MacOS/kicad-cli",
diff --git a/store/agents/kicad/toolchain/setup.sh b/store/agents/kicad/toolchain/setup.sh
index 2ac501128..628daa8a7 100755
--- a/store/agents/kicad/toolchain/setup.sh
+++ b/store/agents/kicad/toolchain/setup.sh
@@ -13,6 +13,10 @@ harness_venv .venv 3.12 3.10 || exit 1
harness_kicad || exit 1
toolchain/fetch-upstream.sh
[ -x upstream/harness/kicad/toolchain/setup.sh ] || { echo "miss upstream/harness/kicad/toolchain/setup.sh"; exit 1; }
+# The package's setup also vendors the RP2040 firmware toolchain (Arm GNU + pico-sdk + picotool,
+# ~1.1 GB) and cmake + ninja as PyPI wheels — on this wrapper's venv Python, so a blank Mac needs
+# neither (the Firmware phase is done only when the binary is built).
HARNESS_DSH_DIR="$PWD/upstream/harness/kicad" CIRCUIT_PYTHON="$PWD/toolchain/python" \
+ PICO_TOOLS_PYTHON="$PWD/.venv/bin/python" \
KICADPY_CLI="$KICAD_CLI" KICADPY_PYTHON="$KICAD_PYTHON" CIRCUIT_KICAD_CLI="$KICAD_CLI" \
upstream/harness/kicad/toolchain/setup.sh
diff --git a/store/agents/kicad/toolchain/test_toolchain.py b/store/agents/kicad/toolchain/test_toolchain.py
index 0c8b82d8d..0078fc1fe 100644
--- a/store/agents/kicad/toolchain/test_toolchain.py
+++ b/store/agents/kicad/toolchain/test_toolchain.py
@@ -73,6 +73,17 @@ class ManifestTest(unittest.TestCase):
self.assertEqual(env["CIRCUIT_PYTHON"], "${dsh}/toolchain/python")
self.assertEqual(env["KICAD_HARNESS_ROOT"], "${dsh}/upstream")
self.assertEqual(env["CIRCUIT_TOOLCHAIN"], "${dsh}/upstream/toolchain")
+ # The RP2040 firmware toolchain the package vendors under upstream/toolchain/pico (2026-10-01/02):
+ # pico-sdk's CMake reads the first three; the agent is told to use the last two.
+ self.assertEqual(env["PICO_SDK_PATH"], "${dsh}/upstream/toolchain/pico/pico-sdk")
+ self.assertEqual(env["PICO_TOOLCHAIN_PATH"], "${dsh}/upstream/toolchain/pico/arm-gnu-toolchain")
+ self.assertEqual(env["CMAKE_PREFIX_PATH"], "${dsh}/upstream/toolchain/pico/picotool")
+ self.assertEqual(env["KICAD_HARNESS_PICO_SDK"], env["PICO_SDK_PATH"])
+ self.assertEqual(env["KICAD_HARNESS_ARM_TOOLCHAIN"], env["PICO_TOOLCHAIN_PATH"])
+ self.assertEqual(env["KICAD_HARNESS_CMAKE"], "${dsh}/upstream/toolchain/pico/tools/bin/cmake")
+ self.assertEqual(env["KICAD_HARNESS_NINJA"], "${dsh}/upstream/toolchain/pico/tools/bin/ninja")
+ # setup hands the package its venv Python for the cmake/ninja wheels
+ self.assertIn('PICO_TOOLS_PYTHON="$PWD/.venv/bin/python"', (PACKAGE / "toolchain" / "setup.sh").read_text())
expected = ".agents/skills" if manifest()["engine"] == "codex" else ".claude/skills"
self.assertTrue(env["CIRCUIT_SKILLS_DIR"].endswith(expected))