Repository navigation
Model:Cycles: build the base on the machine page and send it over USB - #2125
Conversation
The 2e5243e6 base as machine:base builds it, at the path the catalogue record will pin by commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page builds Modwerk's Model:Cycles base from the owner's OS 1.13 file as a local build preview (CORE_BUILD_PREVIEWS); downloads stay off until review. The catalogue record pins 2e5243e6, the builder selects it by identity, and the kit builds f8b652a0, byte for byte the patcher's image. Builds count per machine (migration 0104, as 0083). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
usb-upgrade.ts sends a build with the stock OS upgrade (os-upgrade.ts) to the USB MIDI port that names a Model:Cycles; ElektronSendDialog shows it in the shared base dialog frame. The unit asks UPGRADE OS NOW? and only YES writes the flash. The button waits for the same approval as downloads. The sender, run from Node, installed the base alone on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # docs/MACHINE_RECIPE.md # sdk/machines/model-cycles/README.md
The 4d4d91d2 base (the link, the loader, the load and the log in every base) as machine:base builds it, at the path the catalogue record pins by commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The catalogue record pins 4d4d91d2, the base with the link, the loader, the load and the log, in place of 2e5243e6. The kit builds ec928894 from the stock 1.13 file, byte for byte the patcher's image that ran flashed on the unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, pinning The page itself still needs a run in a browser. You don't need a signed-in member for that: every dev build gets the beta pages (
Everything else can wait for the base draft (#2077), which this sits on. |
…either order 0102 (Digitone II, this draft) and 0104 (Model:Cycles, #2125) each rebuilt usage_device_daily with a closed machine list that left out the other machine. Deploy applies the later-numbered file even after the earlier one, so whichever landed second would fail on the other machine's rows or drop it from the list. 0102 now lists both, and a test checks that the latest rebuild of the table accepts every machine in USAGE_DEVICES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
One more thing I found after my comment this morning, about migration 0104. The Digitone II base draft (#1767) has migration 0102, which rebuilds I've fixed my side: 0102 now lists |
# Conflicts: # docs/MACHINE_RECIPE.md # sdk/machines/model-cycles/README.md
0102 on the Digitone II base draft (repeat98#1767) rebuilds usage_device_daily the same way. With both machines in both lists the two rebuilds apply in either order without dropping or refusing the other machine's rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page's worker refused a Model:Cycles OS 1.13 file ("Invalid local
firmware request.") because its machine list left model-cycles out. Found
on the first run of the page in a browser.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Ran the page in Chrome against my Model:Cycles (
One note for the guide: the build stopped with "HTTP 502" until the local Worker ran ( Rows are in the description. |
|
Thanks for running the page and the dialog in Chrome, and for catching the firmware worker's missing machine on the way. Reading the code, I found one thing I got wrong in my last comment: the page isn't beta-only.
It still waits for the base draft (#2077). |
- The core build preview, the #model-cycles/configuration route and the hero's "Open local build preview" button follow hasBetaUi (coreBuildPreviewOpen): a visitor without beta access sees the machine page only, and the configuration route sends them there. A test renders the page as a released build (USB_LINK off) for a visitor and a beta tester. - RECOVERY_FAQ['model-cycles'] points to a new answer, cycles-recovery: the startup menu over MIDI IN on the 3.5 mm TRS jack, not the Digitakt/Digitone's DIN ports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # sdk/machines/model-cycles/machine.json # src/devices/machines.generated.json
The redirect away from #model-cycles/configuration ran while the session was still loading, when betaUi is false for everyone on the live site, so a beta tester who opened or reloaded the route landed on the machine page. It now waits for !sessionLoading. A test renders App as a released build: loading, then a beta tester, then a visitor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release base of this round (base-binding.json on base/model-cycles-next), replacing 4d4d91d2. The record that pins it follows in the next commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The catalogue record pins modwerk-base-model-cycles-646706ff.elemod at a6b03de, where it was added, by its SHA-256 (base-binding.json's identity). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nt (#2181) The contract, suite and Windows path checks took the event's base.sha, which can be an older main than the one GitHub merged the pull request onto. Main's later changes then counted as the pull request's own: on 25 November main's migration 0105 failed the board check of PRs that never touched it (#2077, #2125, #2126), and the checks behind it never ran. The scope step already used HEAD^1 for this reason; these steps now resolve the same parent to a commit. The workflow test pins it. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
npm run elekloader:update --overlay with the record pinned in 0e2cb43: the vendored catalogue now holds the base package 646706ff in place of 4d4d91d2. The kit builds 89edf78e from the stock 1.13 file, byte for byte the patcher's image of this base. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The verification record's new section: the kit builds 89edf78e for base 646706ff, byte for byte; in Chrome the page built it and its send dialog installed it over stock 1.13 (identity 0x7c774e99), 25 November. The rows from 24 and 25 November for 4d4d91d2 (ec928894 from the page, NO and YES, Transfer open on macOS) come over from the description; Windows was not run. The beta gate is checked by the two tests that render a released build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The recipe row, the machine README and machine.json take both: the site's build and send (repeat98#2125) and the MCP's device tools (this pull request). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The recipe row, the machine README and machine.json take both: the site's build and send (repeat98#2125) and the MCP's device tools (this pull request). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model:Cycles (#2077, #2125, #2126) landed on main beside the Digitone II: both machines kept in every device list; the core build preview uses main beta-only gate (coreBuildPreviewOpen) for both; MACHINE_RECIPE keeps this branch Digitone II row with main Model:Cycles and Analog Keys rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Model:Cycles machine page builds Modwerk's Model:Cycles base from the owner's own OS 1.13 file in the browser, as a local build preview, and can send a build to the unit over USB as a stock OS update. Downloads and sending stay off until review. Stacked on the base draft #2077: merge that first.
planBuild('model-cycles', '1.13', [])picks the pinned base646706ff(the release base of Model:Cycles base: core-mc 0.3 and a key-LED hook #2077 after its review fixes), not core-mc 0.3. The vendored kit builds89edf78e…from stock44fe5862…, byte for byte the image Elekloader's patcher built from the same files. The preview, its configuration route and its button are beta-only (hasBetaUi), and the route waits for the session before it sends anyone away. The Model:Cycles has its own recovery answer in the FAQ (cycles-recovery: the startup menu over MIDI IN, its 3.5 mm TRS jack).usb-upgrade.tssends the build with the stock OS upgrade (os-upgrade.ts) to the port that names a Model:Cycles;ElektronSendDialogshows it in the shared base dialog frame. The unit then asks UPGRADE OS NOW?, and only YES writes the flash. The button sits behind the same approval as downloads.98e824608.89edf78e(base646706ff) from my stock 1.13, byte for byte the image that ran flashed in Model:Cycles base: core-mc 0.3 and a key-LED hook #2077, and its send dialog installed it over stock 1.13 (ident0x7c774e99). Before, with4d4d91d2: the page builtec928894, NO kept the running OS, YES installed it, also with Transfer open.Tested on a unit: release base 646706ff, Model:Cycles OS 1.13, image 89edf78e built by the page in Chrome and installed from its send dialog. Before: base 4d4d91d2, image ec928894 built by the page: NO keeps the OS, YES installs it, also with Transfer open; base 2e5243e6, the page's image f8b652a0 sent from the site's sender.
Edge cases
buildin Node on stock44fe5862…with the pinned package89edf78e(base646706ff), byte for byte the patcher's image that ran flashed; before,ec928894for4d4d91d2andf8b652a0for2e5243e6npm run devwithnpm run dev:community, Chrome,#model-cycles, my stock 1.13 (44fe5862…), Build, download98e824608); then pass: the download isec928894aba21a17…, byte for byte; with646706ffon 25 November89edf78ed5ba1c73…, byte for bytenodeMidiAccess),f8b652a0to my Model:Cycles, Transfer closed'model-cycles': trueinDIGI_DOWNLOADS_ENABLEDlocally (not committed), Transfer closed, the site's MIDI permission resetec928894to a unit on stock 1.13, NOmc_link.py ident; later the same after stock 1.13 was flashed over it; on 25 November89edf78eover stock 1.130x15eddb5a, 38,052 bytes, both times; then0x7c774e99, 38,272 bytescore-build-preview-gate.test.tsandApp.model-cycles-preview.test.tsrender a released build (USB_LINKoff): a visitor, a beta tester, a session still loadingRecoveryNotice.test.ts(each machine's link opens an answer on its FAQ)#faq/cycles-recovery, MIDI IN on the 3.5 mm TRS jackusage-machine-migration.test.tsandservice.test.tswith 0104model-cyclescounted; 0104 listsdigitone-iitoo, so it and your 0102 (#1767) apply in either orderGuides:
APP_DEVELOPMENT.mdsays local configuration works without the API; on this page the build stopped with "HTTP 502" untilnpm run dev:communityran (with.dev.varsfrom the example andnpm run db:local). I did not check whether other machines' pages need it too, so I did not change the guide.What the branch adds and how it was checked
sdk/imports/packages/modwerk-base-model-cycles/holds the package646706ff(it replaced4d4d91d2, which replaced2e5243e6), pinned bysdk/imports/elekloader-modwerk-base-model-cycles-2026-11-24.jsonat its commit and vendored with--overlay.machine-build.tsselects it by identity (digi-build.test.ts);CORE_BUILD_PREVIEWSlists the Model:Cycles, downloadsfalse.migrations/0104_usage_model_cycles.sqlwidens the usage table's machine check as 0083 did, since the tests require every local builder there; it listsdigitone-iias well, as your 0102 listsmodel-cycles.src/engine/elektron/usb-upgrade.ts(USB_UPGRADE_PORTS,sendOverUsb) andsrc/components/ElektronSendDialog.tsx, with tests against a simulated unit;DigiBuildPaneloffers it when downloads are on.machine.json: stackflashstarted; guide, recipe row, changelog, verification record.🤖 Generated with Claude Code