Skip to content

Fix: module:new scaffolds Octatrack drafts at 0.1.0-experimental, the version they are listed under - #2560

Merged
repeat98 merged 1 commit into
repeat98:mainfrom
jrs1717:fix/scaffold-experimental-version
Dec 3, 2026
Merged

repeat98 merged 1 commit into
repeat98:mainfrom
jrs1717:fix/scaffold-experimental-version

Conversation

@jrs1717

@jrs1717 jrs1717 commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

What works now: npm run module:new scaffolds an Octatrack draft at version 0.1.0-experimental, the version a first release is listed under. A test procedure run on the draft then binds to the version that ships, so it never has to run again because of the rename. Nothing changes for musicians. Who acts: a maintainer reviews and merges. Ran on a unit: not needed (host tooling only).

  • What was wrong or hard: the scaffold copied public/module-repository.example.json, whose version is 0.1.0. Listed Octatrack modules use -experimental, and module:qualify refuses a procedure record made under another version ("The procedure tested loopbox 0.1.0, not loopbox 0.1.0-experimental"). Loopbox (Loopbox 0.1.1-experimental: an automatic micro-loop effect for FX2 (LAYER, DUB, SLIDE) #2555) had to run its 10-minute procedure on the unit again for that reason alone, although the package bytes were identical.
  • What this changes: scripts/scaffold-module.mjs sets document.version = '0.1.0-experimental' for Octatrack drafts. The public example file is left as it is, since it documents the repository format. The existing fresh-draft test asserts the version.
  • How I checked it:
    • npx vitest run scripts/module-doctor.test.mjs -t "fresh module:new": passed, with the new assertion.
    • npm run pr:ready: passed.
  • Tested on a unit: Not tested on a unit: host tooling only, it changes no built package or base.
  • Edge cases: none, because it changes no built package or base.
  • What the guides lacked or got wrong, and where I fixed it: nothing: the scaffold now does the right thing.

🤖 Generated with Claude Code

… version they are listed under

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98
repeat98 merged commit 6925f10 into repeat98:main Dec 3, 2026
12 checks passed
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.

2 participants