Repository navigation
Octatrack base 0.7.11: a Part Edit menu row may leave itself or PART out - #1870
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…out, and one row opens as stock's popup A record of the new version (MODWERK_PART_MENU_ABI_ASK) carries an optional question the base asks when the window opens. A module leaves PART or its own row out only while it holds its pages (owner, board 88e3564e). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The current cumulative 0.7.11 branch now has its own base and package identities from the project-load fix. Git reports conflicts in the generated base binding, variants, package list and size/version records. Please merge the cumulative branch before the MKII run and regenerate those files, so the run qualifies the build we can actually integrate. On that build, please include opening Part Edit with all contributed rows hidden, a single visible Kits row, and removing or undoing Kits while the menu is open. Please record whether the stock PART actions remain reachable afterward. |
…rt Edit menu's ask rebuilt: a36fff5d Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 0.7.11 rebuilt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…/part-menu-hide-part
|
I reproduced one more Part Edit case on the host at Please restore PART as soon as the last contributor asking to hide it disappears, even when another contributor stays, and cover that case in the host test. Both 0.7.11 and 0.7.12 have shipped since the earlier review. Please save the MKII run for the refreshed cumulative build with this fix. |
pm_clamp only restored PART when no row was left, so removing Kits beside Locks with the window open kept PART hidden. Remember which records left PART out and restore it as soon as none of them is in the table; the host test covers Kits removed beside Locks and two records leaving PART out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…se 0.7.13 Generated base files regenerated on main's side. USB Audio's reviewed recipe takes the new modwerk_events.h hash; its image and spans are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Show zero direct DSP cycles for verified ColdFire modules * Publish Octatrack hardware measurements and kilobyte gauges
…/part-menu-hide-part # Conflicts: # sdk/machines/octatrack/base-binding.json # sdk/machines/octatrack/base-sizes.json # sdk/machines/octatrack/base-versions.json # sdk/machines/octatrack/module-adapters/controller-policies.json # sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json # src/components/BaseChangelog.tsx # src/engine/assets/octatrack-base-fills.json # src/engine/assets/octatrack-base-sources.json # src/engine/assets/octatrack-base-variants.json # src/engine/assets/octatrack-base.elemod # src/engine/assets/octatrack-module-packages.json
Generated base files and base-bound packages regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4b982aa
into
repeat98:base/octatrack-next
What changed
Joins the cumulative Octatrack base 0.7.13 (#1910), since 0.7.11 and 0.7.12 shipped without it. The shared Part Edit window (FUNC+PART, table
ot_part_menu) gets a second record version, with the owner's OK on the agent board (question 31ae5910, reply 88e3564e).struct modwerk_part_menu_ask(menu.abi = MODWERK_PART_MENU_ABI_ASK, 2) wraps the existing record and adds an optionalask(). The base asks it each time the window opens. ABI 1 records are unchanged, and the new field sits in a wrapper so existing positional initializers still build under-Wextra -Werror.ask()may answerMODWERK_PART_MENU_LEAVE_PART(PART's row is left out) orMODWERK_PART_MENU_LEAVE_ROW(the module's own row is left out). A module answers either one only while it holds its pages: an inactive module shows no row. PART comes back as soon as the last record that left it out is gone, even while other rows stay (the owner's host case: Kits removed beside Locks with the window open).1806a510ab7a85cff6d7c76bc2602787be2518c3d46acba60aa7571718a39788, rebuilt after merging the cumulative branch (Octatrack base 0.8: playback admission, saved effects, restore outcomes, stock OS fixes and screen capture, with FM Synth 0.1.5 and Tape Echo 0.1.9 #1910 at024c677c6, its own 0.7.13ae78c478) and currentmain(shipped 0.7.11 and 0.7.12, whose version records are kept): 814,060 of 851,712 container bytes, 37,652 free, +1,692 over 0.7.12. Packages re-bound; their bytes are unchanged. USB Audio's reviewed recipe takes the new hash ofmodwerk_events.h: a fresh capture has the same image hash and every reviewed span, so only that source hash changed. The base page's 0.7.13 row is Octatrack base 0.8: playback admission, saved effects, restore outcomes, stock OS fixes and screen capture, with FM Synth 0.1.5 and Tape Echo 0.1.9 #1910's; this change's note ischangelog/2026-11-19-octatrack-part-menu-hides-part.md.Its first user is Kits 0.1.1, which follows as its own pull request once this base lands and has run on a unit (PART hidden while a Kit is active, as Kits 0.1.0 and Octakit did; RELOAD KIT and RENAME KIT beside SAVE KIT).
How I checked it
python3 -B sdk/tests/test_machine_events.py: 18 tests pass, includingtest_part_menu.con the host with new cases: LEAVE_PART, Kits removed beside Locks with the window open (PART back, Locks kept, RELOAD running as stock's; this case fails on the previous code), two records leaving PART out (it stays out until both are gone),askreturning 0 bringing PART back, LEAVE_ROW keeping PART, every row left out (stock window), the one-row popup (three actions, box position and shadow, LEFT/RIGHT ignored, YES runs the action, reopening on the row chosen), a removed module bringing PART back, andaskcalled once per open.python3 -B sdk/machines/octatrack/events.py --check: generated files match.npm run pr:ready -- --author twwwyafter the merge:pr:readycannot say Ready on a branch built on the cumulative draft: it diffs againstmain, so it reports Octatrack base 0.8: playback admission, saved effects, restore outcomes, stock OS fixes and screen capture, with FM Synth 0.1.5 and Tape Echo 0.1.9 #1910's own hook 61 (ev_audio_frame_prepare, claimed by the owner) as this branch's. Against the PR's base,npm run board -- check --base upstream/base/octatrack-nextsays this branch adds nothing that needs a claim, andnpm run check -- --base upstream/base/octatrack-nextpassed (218 s). The remainingpr:readyline is that this is not an automatic author update, so it is the owner's review. Its agent replay (bold-guides) passed.ot_emu, a development twin of an earlier build of this base (a36fff5d, before the fix and the merge of 0.7.12),cb8bca03…), with a local Kits 0.1.1 test packagec1cb63e5…(abi 2ask; not part of this pull request). Emulator results, not hardware evidence: see the edge-case rows marked emulator.Not tested on a unit: the exact base
1806a510has not run on an MKII yet. As the owner asked, the MKII run waits for the refreshed cumulative candidate with this fix; its development twin then runs with the Kits test packagec1cb63e5…over the cases the owner listed. This stays a draft until then.Edge cases
askreturns 0 on the second openaskare gone while the window state remains41a56f1)askpoints into the module's codeaskanswers LEAVE_ROW, so the window must be stock'saskdisappear under an open windowPART 1 SAVED), inventory empty; with Kits active on a unit: not runGuides
Guides: nothing. The hook contract in
events.json(andHOOKS.md, generated from it) documents the new record version; the module-guides table row for the Part Edit window still describes it correctly.🤖 Generated with Claude Code