Repository navigation
Octatrack base 0.7.11 (cumulative) — project loads with restored modules - #1840
Merged
Merged
Conversation
The loader asks the machine whether a module it judges (a contributor to ot_machines without its own ev_in_use) is in use. The registry answers from the machine map scan of every Part of the project, working and saved: a machine nobody plays rests after two idle scans, its handlers leave the resting hooks and its detours marked rests hold stock bytes. A pick wakes it before it commits and is judged with its hooks back on top; a track that names a resting machine renders silence until the next UI tick wakes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ecord) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dule-cost Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…completes On an MKII with six modules restored from the card, the first load of FLEX07 from TARGET stopped the DSP frames before PLAY (#1826, verification record of 19 November 2026). The residency observer (manager.c dl_residency_tick, via build_core.py TRANSITION_EDITS) now plans automatic residency only once fxmap.c says the project load is over: requests already in flight still advance and unbound slots stay dry meanwhile. Rebuilt on shipped 0.7.10 as base 0.7.11 (default layout bd1ed432, tracks-post 239d55a4): npm run octatrack:base -- --beta --write, then octatrack:module-packages -- --base-only and base-size --write. No lease entry moved, so the base-bound packages and Analog BD recipe are unchanged. The base page lists 0.7.11. sdk/tests/test_project_load_residency.py builds the generated observer on the host: all three modes fail without the gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tatrack-project-load-residency
… source Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… off USB The verification record names the 0.7.11 identities, the host regression and the 20 November unit run: the flashed base kept set matched byte for byte by its whole-set identity, the six modules kept on candidate twin a328967d, and the restoring RAM boot that never enumerated. The driving guide says which card file a twin Keep replaces and how to find a kept set exact packages; the hardware traps add the second time a RAM boot came back without USB. 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>
…AM boot stays in the verification record 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>
…oject-load gate Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oes only to a base that judges machines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
…kage can mark them rests machine_ports.declaration passes rests from the runtime.json and the port, build.py flags them on a machine package and accepts them for a judged contributor. The reviewed recipes re-pin the two builder files; POLY8, VECTOR, FM Synth and Scale Quantizer rebuild byte for byte. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s them before it is written The loader asks the machine about a module with DSP code and no ev_in_use. The registry answers from fxmap.c (every bank Part) and the live slots; modwerk_status_effect_busy judges a pick with the wake margin and wakes the module before stock writes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….json with rests), since the base judges effects Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and edge cases On the MKII with six modules restored from the card, candidate a328967d loaded FLEX07 from TARGET 2 of 2 with the frames running and no extra loader work; shipped 0.7.10 (700f8e4f) did not stall either, 2 of 2, but made the residency changes the stall trace recorded (32/66 to 85/113 packets, 3 to 9 commits). The 84-87 % range held, the procedure's unit steps ran by hand, and the unit and card were put back and verified. The driving guide notes the slow restoring boot and booting into a kept twin from another image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…unused-module-cost Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # docs/README.md
… base-bound packages re-bound, size recorded Tracks layout e0812f23 (tracks-post da0f6c51). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s at rest Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
…-unused-module-cost
…-unused-module-cost
…-unused-module-cost
…-unused-module-cost
…-unused-module-cost
…-unused-module-cost
…-unused-module-cost
…odule-cost Improvement: Octatrack base rests machine modules no track uses
repeat98
marked this pull request as ready for review
November 20, 2026 20:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Octatrack base 0.7.11 ships the project-load DSP fix, lets unused machine and effect modules rest, and fixes VECTOR Undo. The default release identity is
a08a1557c5bd7d04b6b0615361f059ac99ba2bc40f8a7e3b86842db2ccbbb5bd. Tracks Post is17fb39b79eac7152cac21ba91234f876c77bf44799ecd9bfffbacd1760f90016.Tested on a unit: Octatrack MKII, OS 1.40C, exact default release build a08a1557c5bd7d04b6b0615361f059ac99ba2bc40f8a7e3b86842db2ccbbb5bd. Undo after a 30-second stopped VECTOR 0.3.2 trial restored the starting set digest and inventory.
The controller-enabled development build
be86323a387211a5completed a 24-package MIDI soak at one operation per second for 121.7 seconds, with 120 operations and 16 observed pattern changes. A01, A02, all working and saved Parts, and the original ten-module setup matched at exit. All 36 portable packages in the measured catalogue were tried individually, including ten additional assigned-effect readings. The measured Direct Jump package was 0.1.2. Main subsequently released Direct Jump 0.2.0. MKII Undo, soak and individual measurementsOn the matched development builds, the 24 published packages added 6.2 percentage points of average frame time on the control and 5.0 on the candidate. All 18 wake checks passed. The 24-package set with the private resting POLY8 build added 3.1 points. A/B comparison and hardware evidence
What changed
The branch starts from shipped 0.7.10 (#1757).
FLEX07fromTARGETstopped the DSP frames before PLAY, 2 of 2 tries, on a 0.7.9 development base (the same modules in a USB trial passed 4 of 4). At the stall, a Spring Reverb bind was in flight on core 1 for an effect both projects already use. The residency observer (manager.cdl_residency_tick, edited bybuild_core.pyTRANSITION_EDITS) now waits whilefxmap.creports a project load (modwerk_fxmap_loading()). A request already in flight still advances, unbound slots stay dry, and one automatic plan follows for the completed project. Nothing is planned if its effects are already resident. The lower-level reason the last frame stopped is still open. This change sets the version to 0.7.11, and the base page lists it.How I checked it
The following project-load checks were recorded on the earlier 0.7.11 build
bd1ed432and Tracks Post239d55a4, before #1849. The exact release and later development builds are identified above.npm run octatrack:base -- --beta --writerebuilt all seven layouts on shipped 0.7.10. Native and browser builds matched byte for byte and the bootloader recovery checks passed. No lease entry moved, sooctatrack:module-packages -- --base-onlyleft every base-bound package's bytes as they were.base-size --write: 808,352 of 851,712 container bytes in the largest layout (Tracks Post), 4 fewer than 0.7.10. 0.7.10's seven identities inbase-versions.jsonare unchanged; 0.7.11 is appended.sdk/tests/test_project_load_residency.pybuildsdl_residency_tickas the base build generates it (build_core.py's seams and the resident transforms, in its order) beside stubs, with the live FX array and the bank's Parts as the test's. Across a load that keeps the effects, one that changes them, and one that ends with a transaction open, it counts the automatic plans. With the gate it passes; on main'sbuild_core.pyall three modes fail. The board fixture (test_resident_engines_board.py) is built without the observer, so it could not catch this.npm run pr:readyonef61384d0(current main, Fix: Tape Echo and Euclid standalone recipes pin their current inputs, and a test keeps the pins honest #1862 included): Ready.sdk:checkran 714 cases with the m68k toolchain, 27 skips.npm run test:procedure -- --base --no-unitonef61384d0, all passed. Steps 6 to 10 were run by hand with the runner's commands, on the unit through the queue, because the runner had stopped at step 1 on the stale Tape Echo and Euclid recipe pins that Fix: Tape Echo and Euclid standalone recipes pin their current inputs, and a test keeps the pins honest #1862 fixed (unrelated to this change). Step 7 as the runner names it cannot pass: its 36 packages (439,244 bytes) do not fit the module pool and the base refuses the set whole. The runner's first 24 packages (308,444 bytes) passed a 30 s whole-set trial and rolled back. The soak passed 2,400 operations (19.7 a second, 295 pattern changes);device:pricepriced all 36 at rest. The full record and edge cases are in the verification record.Earlier project-load verification on 20 November 2026 used an Octatrack MKII on OS 1.40C and the 0.7.11 Tracks Post development twin
a328967d(the source of239d55a4, plus--dev), against shipped 0.7.10's twin700f8e4f, SetMWREPROon the unit's card. Six modules (Tape Echo, Euclid, LOFI2, Sidechain Compressor, POLY8, Slow LFO) were kept and restored from the card on each RAM boot, then the firstTARGETtoFLEX07load:a328967d700f8e4fThe stall itself did not reproduce on shipped 0.7.10 here. 0.7.10 still made the residency changes the stall trace recorded (85/112 packets and seven commits at the stall); 0.7.11 made none. In the 84-87 % range (two Tape Echos while playing, then USB read pressure: median 84.8 %, max 85.8 %) the frames advanced on every read, picks judged at 86 % were refused CPU FULL, and no track was skipped. Stall and crash records stayed at 48 and 12 throughout. The unit was left on the flashed 0.7.9 base's own image with its kept set exactly as before (whole-set identity
100ed1fc…, ten modules), inMWREPRO/FLEX07, bank A pattern 1, with all four Parts byte-identical to the start. A twin's restoring RAM boot into itself lost USB once and needed the owner's power cycle; afterwards every boot went through another image.Edge cases
TARGETtoFLEX07)a328967d, two restoring RAM boots,healthevery 200 ms700f8e4f, two restoring RAM bootstest_project_load_residency.pymode 1; the tries aboveFLEX07playing, PROJECT > CHANGEFLEX07toFLEX07Guides
Guides: the driving guide now says which card file a Keep on a twin replaces (
/MODWERK1.SETfirst), how to find a kept set's exact packages by its whole-set identity before overwriting it, that a restoring RAM boot can take 72 s to answer (pastboot's 60 s wait), and to boot into a kept twin from another image. Found for the test procedure runner: step 7's "every USB package" overflows the module pool, and step 9's SC Ringmod in-use pick fails ("No SC Ringmod in the FX2 chooser"). The verification record has the 0.7.11 identities, the hardware results and the procedure record.