Skip to content

Improvement: runtime loader and upload controller to GPL-2.0-or-later (rides Octatrack base 0.8.6) - #2513

Merged
npp1993 merged 2 commits into
repeat98:base/octatrack-nextfrom
npp1993:claude/runtime-gpl2
Dec 2, 2026
Merged

npp1993 merged 2 commits into
repeat98:base/octatrack-nextfrom
npp1993:claude/runtime-gpl2

Conversation

@npp1993

@npp1993 npp1993 commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

What this does: it makes the shared runtime loader and upload controller (sdk/runtime/loader, sdk/runtime/upload) GPL-2.0-or-later, so the Analog Rytm MKII's release bases can carry the loader. A Rytm release set may hold GPL-2.0-only modules, so its base can't include GPL-3.0 code. With this, musicians can try, Keep and Undo modules over USB on the Rytm as they can on the Octatrack.

What changes for players: nothing on the Octatrack. The loader's behaviour is the same.

Why it's on the 0.8.6 draft: the Octatrack base is built from these files (src/engine/assets/octatrack-base-sources.json), so any edit here, even a licence line, makes the committed base stale and needs a new base version. 0.8.6 (#2473) is already a new base that hasn't been regenerated yet, so this rides along: no extra release. octatrack-base.test.ts and scripts/base-sources.mjs name these 13 files as stale until npm run octatrack:base -- --stock OS.bin --beta --write runs for 0.8.6.

Who must act: @repeat98, to merge this into base/octatrack-next, regenerate the 0.8.6 base with it, relink the base-bound packages and run it on a unit before shipping. It was not run on a unit: an Octatrack base is the owner's build. No Octatrack behaviour changes, but 0.8.6's own unit run covers it.

Agreements, rewrites and checks
  • Agreements: repeat98 (Jannik Aßfalg) for his loader, upload and diagnostics layout (relayed by Nathaniel Pavel, 1 December 2026); durchgemacht for the Rytm's modules.c on Improvement: Analog Rytm MKII cumulative base draft for 0.7.1 #1934.
  • Rewritten instead of relicensed: twwwy's engine price check (2eed068) is now engine_priced(), the same condition. ex1010's image check hook (00ecaf5) keeps its interface and behaviour; its comments and default are rewritten. The lock, validate and unlock calls can only be written one way.
  • Left as they were: the Python tools, the tests and startup/ under sdk/runtime stay GPL-3.0-or-later. Only the Octatrack's base compiles startup/.
  • Checks run:
    • The runtime Python suites: 93 of 95 pass. The other two, test_published_module_packages_rebuild_byte_for_byte and test_registry_guards_are_the_ones_modules_name, also fail without this change on this machine: they need upstream checkouts.
    • The upload host tests pass.
    • scripts/licenses.mjs verifies.
    • An independent review found the rewrite equivalent and no file a base compiles left on GPL-3.0.
  • Same change before: 0eb7a85e9, which Improvement: Analog Rytm MKII cumulative base draft for 0.7.1 #1934 left out (d3fc3a6a4) so as not to force an Octatrack release.
  • What the guides lacked: nothing new; scripts/base-sources.mjs (Workflow: npm run check names a base not built from this tree's sources in its first stage #2510) named the stale base at once.

The Rytm half follows on base/analog-rytm-mkii-next and waits for this to reach main.

🤖 Generated with Claude Code

…rack base 0.8.6)

repeat98 (Jannik Aßfalg) agreed for his loader, upload and diagnostics layout (relayed by Nathaniel Pavel,
1 December 2026). The two short loader changes by other authors, twwwy's engine price check (2eed068) and
ex1010's image check hook (00ecaf5), are rewritten by Nathaniel Pavel with the same behaviour and interface:
engine_priced() is the old condition, and a nonzero refusal is still refused. The Python tools and the tests
under sdk/runtime keep GPL-3.0-or-later; nothing in a base compiles them.

The Octatrack base is built from these files (src/engine/assets/octatrack-base-sources.json), so this makes
the committed base stale: it is regenerated with the rest of base 0.8.6 (base/octatrack-next, repeat98#2473). This is
the same change as 0eb7a85e9, which repeat98#1934 left out so as not to force an Octatrack release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@npp1993
npp1993 marked this pull request as ready for review December 2, 2026 02:50
@npp1993

npp1993 commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator Author

Ready for review. npm run pr:ready -- --base-branch base/octatrack-next passes everything except octatrack-base.test.ts (the base is stale), which this branch already fails until 0.8.6's npm run octatrack:base -- --stock OS.bin --beta --write: this change adds 13 sdk/runtime files to that rebuild and nothing else. Merged base/octatrack-next in (66359ee).

🤖 Generated with Claude Code

@npp1993
npp1993 merged commit 58a121c into repeat98:base/octatrack-next Dec 2, 2026
2 checks passed
npp1993 added a commit that referenced this pull request Dec 3, 2026
Improvement: Rytm release bases carry the runtime loader again (after #2513)
npp1993 added a commit that referenced this pull request Dec 3, 2026
… is on main

#2514 carries #2513's sdk/runtime relicense, which changes sources of the
Octatrack and Model:Cycles bases committed on main; those rebuilds ship with
Octatrack 0.8.6 (#2473). Reverted so the cumulative promotion #2554 can carry
the idle-voice fix, the FX lock words and Improved FX Routing 0.3.0 now.
Re-land by reverting this commit once 0.8.6 is on main.

This reverts commit d68b51e, reversing changes made to 988c534.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant