Skip to content

Improvement: the vendored folder holds only the catalog - #2425

Merged
repeat98 merged 3 commits into
mainfrom
improvement/drop-kit-shim
Nov 29, 2026
Merged

repeat98 merged 3 commits into
mainfrom
improvement/drop-kit-shim

Conversation

@repeat98

Copy link
Copy Markdown
Owner

What works: vendor/elekloader now holds only the module catalog and its lock. The last two kit files (kit.json and the one-line codec re-export) and their lock pins are gone. Nothing has read them since base 0.8.4 (#2333) moved the Octatrack base tools onto sdk/firmware_builder. The builder fingerprint (firmware-builder.json) keeps only the catalog hash, and its kit version and commit are gone.
What is broken: nothing known.
Musically: no change. Builds, packages and bases are byte-identical.
Who must act: a reviewer. On a unit: Not tested on a unit (no device code changes).
Next step: merge. The .modwerk rename (#2417) is regenerated over main afterwards.

Details
  • scripts/elekloader-vendor.ts: removed KIT_FILES, KIT_REPLACEMENTS and replacementText. The check now refuses a kit/ folder and no longer expects kit pins in the lock.
  • scripts/elekloader-update.ts: the lock it writes holds only the catalog.
  • scripts/firmware-build-manifest.mjs (+ .d.mts, test): elekloader: { catalogSha256 }. firmware-download.mjs compares that block with the deployed one, so local downloads need the site deployed from this revision, which is true of any builder change.
  • scripts/change-scope.mjs: removed the kit.json trigger.
  • sdk/tests/test_own_builder_core.py: the random-set test loaded vendor/elekloader/kit/src/formats.ts, which has been gone since Improvement: Modwerk's own firmware builder #2346, so it skipped the Octatrack bases without saying so. It now loads src/engine/elektron/firmware-formats.ts, and locally all three bases fill again.
  • READMEs and the protocol.ts comment follow. The #replaced-kit-files heading stays, because a dated decision record links to it.
  • Not changed: sdk/octatrack/modules/pattern-sample-locks/*.mjs still load the removed kit paths through Vite (they have been broken since Improvement: Modwerk's own firmware builder #2346). They're module files, so a fix needs the author's OK. sdk/drafts/midi-cc-slots/build_card.py is a private draft.
Edge case How checked Result Where
Vendor check with no kit/ folder node scripts/elekloader-vendor.ts passes (26 cores, 74 mods) local
Lock without kit elekloader-update, author-update tests pass local
Builder fingerprint without kit fields firmware-download tests pass local
Octatrack bases in the random-set test _octatrack_bases() with OS 1.40C 3 filled (was 0) local
Full check npm run pr:ready + check --rerun-failed passed local

Guides: the vendor and Octatrack base READMEs still described the upstream checkout and kit pin as live. I fixed them in this PR.

🤖 Generated with Claude Code

repeat98 and others added 3 commits November 29, 2026 14:33
The two remaining kit files (kit.json and the codec re-export) and their
lock pins go; the builder fingerprint keeps only the catalog's hash, and
the random-set builder test loads the formats from src/engine/elektron.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 29, 2026
@repeat98
repeat98 merged commit 2cef7a3 into main Nov 29, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant