Skip to content

Octatrack base 0.7.11 (cumulative) — project loads with restored modules - #1840

Merged
repeat98 merged 43 commits into
mainfrom
base/octatrack-next
Nov 20, 2026
Merged

repeat98 merged 43 commits into
mainfrom
base/octatrack-next

Conversation

@repeat98

@repeat98 repeat98 commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

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 is 17fb39b79eac7152cac21ba91234f876c77bf44799ecd9bfffbacd1760f90016.

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 be86323a387211a5 completed 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 measurements

On 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).

  • A project load no longer plans DSP residency from half-loaded Parts (rebuilt from Fix: defer Octatrack DSP residency until project load completes #1826). On an MKII with six modules restored from the card, the first load of FLEX07 from TARGET stopped 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.c dl_residency_tick, edited by build_core.py TRANSITION_EDITS) now waits while fxmap.c reports 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.
  • Improvement: Octatrack base rests machine modules no track uses #1849 lets the base rest eligible hooks and detours while a machine or effect is unused. Waking a machine on a pick carries a provisional three-point CPU allowance. The VECTOR fix restores its outgoing stock menu entries during Undo and continues to check cached callbacks and working and saved Parts.

How I checked it

The following project-load checks were recorded on the earlier 0.7.11 build bd1ed432 and Tracks Post 239d55a4, before #1849. The exact release and later development builds are identified above.

  • npm run octatrack:base -- --beta --write rebuilt 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, so octatrack:module-packages -- --base-only left 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 in base-versions.json are unchanged; 0.7.11 is appended.
  • New host regression sdk/tests/test_project_load_residency.py builds dl_residency_tick as 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's build_core.py all 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:ready on ef61384d0 (current main, Fix: Tape Echo and Euclid standalone recipes pin their current inputs, and a test keeps the pins honest #1862 included): Ready. sdk:check ran 714 cases with the m68k toolchain, 27 skips.
  • Test procedure: steps 1 to 4 by npm run test:procedure -- --base --no-unit on ef61384d0, 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:price priced 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 of 239d55a4, plus --dev), against shipped 0.7.10's twin 700f8e4f, Set MWREPRO on 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 first TARGET to FLEX07 load:

Build Tries Stalls Loader during the load Playback CPU
0.7.11 a328967d 2 0 no packet, no commit (32/66, 3 before and after) mean 69.1 % and 68.9 %
0.7.10 700f8e4f 2 0 32/66 → 85/113 packets, 3 → 9 commits, each time mean 69.2 % and 69.0 %

The 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), in MWREPRO/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

Case Why this change makes it a risk How run Result
First load after six modules were restored from the card (TARGET to FLEX07) the case that stalled; the gate holds new plans for the whole load 0.7.11 twin a328967d, two restoring RAM boots, health every 200 ms pass 2 of 2: frames ran, no extra loader packet or commit
The same load on shipped 0.7.10 shows what the gate removes 0.7.10 twin 700f8e4f, two restoring RAM boots pass 2 of 2 (no stall), with the loader's packets going 32/66 → 85/113 and 6 more commits each time
A load to a project with the same effects the gate must leave the resident effects bound and ask the DSP for nothing host, test_project_load_residency.py mode 1; the tries above pass
A load to a project whose effect map differs one plan must follow, for the completed map, never an intermediate Part host, mode 2; unit, 0.7.9 plus the gate: T5 FX1 to Filter and a reload (19 November) pass on the host and on 0.7.9 plus the gate; not run on 0.7.11
A load while a residency transaction is in flight a second plan must not start, and the open one must still finish host, mode 3 pass on the host; not run on a unit
A load during playback stock rewrites the slots while frames and trigs run 0.7.11, FLEX07 playing, PROJECT > CHANGE not reachable: stock asks "PLAYBACK WILL BE STOPPED. CONTINUE?" and stops first; the load after it passed
A reload of the same project with modules installed the observer sees the same map before and after 0.7.11, FLEX07 to FLEX07 pass: frames ran, Parts unchanged
The 84-87 % CPU range after the load the handoff asks for the range where the guard engages 0.7.11: two Tape Echos, then USB read pressure pass: median 84.8 %, frames advanced, picks at 86 % refused
Undo or a trial's rollback during a load a rollback asks for residency while the observer waits not run: a trial's end cannot be timed into the 2 s load by hand
No modules installed the gate sits in the stock-effect path too and must not change a plain load not run on 0.7.11

Guides

Guides: the driving guide now says which card file a Keep on a twin replaces (/MODWERK1.SET first), 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 (past boot'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.

repeat98 and others added 19 commits November 20, 2026 10:06
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>
… 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>
repeat98 and others added 3 commits November 20, 2026 13:38
…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>
… 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>
@repeat98 repeat98 changed the title Octatrack base 0.7.11 (cumulative) Octatrack base 0.7.11 (cumulative) — project loads with restored modules Nov 20, 2026
repeat98 and others added 3 commits November 20, 2026 14:26
…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>
@repeat98
repeat98 marked this pull request as ready for review November 20, 2026 20:20
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