Repository navigation
Conversation
… immediates, same output octabam's MINIVERB speed-ups from its DSP audit (Yves Rosius, sambanks/octabam, MIT, Copyright (c) 2026 Sam Banks) on Modwerk's 0.2.3 fork: 05971e11 and af7f4112 load each constant tap offset right after the access before it, so the AGU wait for n5 overlaps the work between taps; 0a85c45d short immediates for the #>$XX0000 gains (and Modwerk's own TONE constants in the same form); 9268e8ed 6-bit #$1. 10 of octabam's 16 hunks applied with patch -F0, the rest by hand. Widened identity gate against main's 0.2.3: IDENTICAL, 56/56, no instance-block difference; verify.py 76/76 (bit-identical to published 0.2.2). Cycle scan at the dearest setting 698.6 -> 600.4 cycles a sample (stalls 159 -> 71); static loop words 411 -> 402, now the declared modeled figure. 0.2.3's source kept in upstream/, its TESTING.md in evidence/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e agent's unit run device:test with a 120 s soak passed on an MKII (twin 13fed04b of main, private build cf610384); device:price in use on T1 FX2: DSP T1-4 +11.7 points against published 0.2.3's +13.6 in the same run. 0.2.3's testing record is in evidence/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mported Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cipes re-pinned to the new DSP package asset The package is byte-identical to the private build tested on the unit (cf610384). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…0.2.4 (pages unchanged); cycle-scan unit table regenerated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-octabam # Conflicts: # src/engine/assets/module-build.json
…price --write --curve) Owner's MKII, development twin 46c30886 of base 0.8.2 (main 48f4a9b), Dev17 C04 (trigs on steps 1/5/9/13 of T1-T4, T6, T7; stock alone 80.3 % longest frame), picks on C02: first 0, each 0, rest 0 (adds -1.6, -1.3, -1.3, -0.5: within the readings' scatter); admitted alone on the empty and the medium pattern, nothing dropped, no stall. Price 0 % of a frame, DSP +12.6 in use. Module pool 3,424 bytes at rest. The evidence moves the native source, so the owner's approval needs his re-sign. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Mini Verb 0.2.4: the instance curve is measured, so the only thing left is your re-sign of the approval. No player-facing change tonight. The new evidence changes the module's source hash, so the approval you gave no longer covers it.
The re-sign, ready to commit as sdk/approvals/miniverb-build-approval.json{
"kind": "owner-approved-update",
"id": "miniverb",
"version": "0.2.4-experimental",
"approvedBy": "repeat98",
"approvedOn": "<date of the owner's yes>",
"waived": [
"current-build-hardware",
"chip-worst-case-cycles",
"complete-memory-bounds",
"release-documentation"
],
"retainedUiVersion": "0.2.1-experimental",
"sourceSha256": "8316a4800cf3d222a103c049ba5e6b958903f4b80481fcc82698c0ac57ebc304",
"ownerStatement": "<the owner's words, e.g. \"I approve Mini Verb 0.2.4 with its measured curve, as in #2027\">",
"reason": "0.2.3 with octabam's four MINIVERB speed-ups (05971e11, af7f4112, 0a85c45d, 9268e8ed): bit-identical to 0.2.3 under the widened identity gate (56 of 56 settings, instance block included) and to published 0.2.2 in verify.py's 76 checks. OT pages and controls unchanged, so the 0.2.1 captures are retained. Current-build hardware, chip worst-case timing and complete memory bounds stay waived for this exact version only. On the owner's MKII (development twin 46c30886 of base 0.8.2, Dev17 C04 at 80.3 % with stock alone, 26 November 2026): instance curve first 0, each 0, rest 0 % of a frame, admitted alone on the empty and the medium pattern with nothing dropped; price 0 % of a frame, DSP +12.6 in use; module pool 3,424 bytes in rolled-back trials."
}🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…alogue and cycle-scan table regenerated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Mini Verb 0.2.4-experimental (repeat98's module; octabam credited). Same sound, less DSP time: octabam's MINIVERB speed-ups from its DSP audit (Yves Rosius, sambanks/octabam, MIT, Copyright (c) 2026 Sam Banks) on Modwerk's 0.2.3 fork.
What changed
05971e11,af7f4112: every constant delay-tap offset (move #>off,n5) loads right after the access before it, so the AGU's 3-cycle wait for a freshly writtenn5overlaps the work between taps. Straight-line code; nothing between the old and new place namesn5. AP 113's write at offset 0 ismove a,y:(r5).0a85c45d:#>$XX0000into a data register is the one-word short immediate (0.75, 0.625, the four 0.5 gains, 127/128 at MIX's and TONE's top, and TONE's 1/16, the last two Modwerk's own code in the same form).9268e8ed: the clear counter's and RATE's#>$1are 6-bit immediates.patch -F0; the input diffusers (Modwerk already keepsy1for 173 and 449), the clear counter, the 127/128 constants and the duplicate load of line 4's write offset by hand. 0.2.3's source is kept asupstream/miniverb-0.2.3.asm; 0.2.3's TESTING.md moved toevidence/testing-0.2.3.md.Same output (emulator)
verify.py(oracle: published 0.2.2, which 0.2.3 matched): 76 of 76 checks pass, including eight moving instances on both cores, all 16 trig splits, hot input at each TONE, the 15,870-word guard and its 0.2.2 control, dirty state and the 30 s guarded render.Cost
cycle_count.pystatic loop words = the declaredmodeledfigureThe DSP-admission figure. It is declared (
octatrack-module-packages.json,cycles/cyclesKind: modeled), and 0.2.3's 411 was exactlycycle_count.py's static loop span. The same measure on this source is 402, so the row now says 402: charged 7/4 = 704 chip cycles (was 720) against the 600 the scan models at the dearest setting. It should not go lower on these numbers: the speed-up saves cycles, not words, and only a chip-cycle (hardware) reading at the dearest setting on the unit could bring the charge down to what it really costs. Keep 411 if you prefer the old margin; nothing else depends on it.On the unit
Tested on a unit: private build cf610384ad37447fbd9dc5fb59d326edeeafb0fb993f3caf376f3d46f55c5f84 (this source,
module:dev --build-only) on a development twin of main's base 13fed04b, the owner's MKII, through the unit queue; the agent's run, not the owner's ears:device:test --soak 120(on Part 2: Part 1's working copy differed from its saved copy): passed. Self-test with the package installed; FX2 of T1 and T5 admitted in 118 ms; eight tracks at once, five placed and three refused by DSP admission, core peaks 683/678 per mille; 12 of 12 Part switches; 120 s soak, highest core peak 736 per mille; rolled back, inventory unchanged.device:price, in use on T1 FX2 at defaults, same twin and scene: DSP T1-4 +11.7 points (twice) against published 0.2.3's +13.6, about 86 cycles a sample less, in line with the scan's -98 at the dearest setting. At rest: frame +0.0 to +0.1 points (limit 0.2).sdk/octatrack/modules/miniverb/TESTING.md.Release steps (26 Nov 2026)
sdk/approvals/miniverb-build-approval.jsonnow covers 0.2.4-experimental, as proposed above: 0.2.3'swaivedlist andretainedUiVersion, approved by repeat98 on 2026-11-26 ("I approve Mini Verb 0.2.4 as proposed in Mini Verb 0.2.4-experimental: octabam's DSP speed-ups, same output, ~14 % fewer cycles #2027").sourceSha256recomputed withmoduleNativeSourceSha256after merging main: stillfd169df6…, so the source is the one the owner approved. The declared DSP cost stays 402 (cyclesKind: modeled).modules:generate(module documents).scripts/build-modules-isolated.sh) and imported (modules:import --development): only Mini Verb's rows moved (525 program words, was 538).octatrack:module-packageswrotepublic/octatrack-modules/miniverb/0.2.4-experimental.mwrm(2,718 bytes, SHA-256cf610384…, byte-identical to the private build the unit runs below); 0.2.3's file is removed as in earlier releases. The full builder ran once the import's one moved input was re-pinned: Tape Echo's and Euclid's standalone recipes now name the newsrc/engine/assets/dsp-packages.jsonhash (nothing else in them moved).module-build.test.tsname 0.2.4 (pages and captures unchanged), as 0.2.3's release did;node scripts/cycle-scan.mjs unit --writeregenerated the README's unit table (Mini Verb's row now says the unit reading is for 0.2.3).pr:ready -- --draft: everything else green (sdk:check passed); fails only on the two unit items below.Still open: two unit readings (the unit was not connected for this pass)
evidence/frame-cost.json; docs/MODULE_PERFORMANCE.md, "Every release of an effect or a machine measures its instance curve on a unit"). The approval cannot waive a missing curve. Somodules:check,module:doctor -- miniverb(its only ✗) andmodule-doctor.test.mjsfail. At the unit:npm run device:price -- --write --curve T1,T3,T6,T7 --base <id> --scene <text> miniverb, thennpm run modules:generate. The record goes inevidence/, which the approval's source hash covers (the packages are not affected), so after that the approval'ssourceSha256moves too.src/engine/elekloader/module-set-memory.test.ts("prices a package as the loader takes it, as the unit measured") needs at least 10 published packages with a unit reading indocs/verification/2026-11-21-octatrack-module-pool-allocation.json. 0.2.3's package (eea25e6c) was one of exactly 10, so the new package leaves 9. Fix: two rolled-back RAM trials ofcf610384on the unit, recorded in that file as 0.2.3's row was (loader extent expected 16-byte aligned from the 0.2.4 layout: 525 DSP words, was 538).None of octabam's speed-ups has a unit reading upstream (emulator only): the
device:pricepair above is, as far as I know, the first unit reading of one of them.Edge cases
device:testall-at-once pass, eight tracksdevice:test, 12 switchessplit/,f16/;verify.pyall 16 splitsB/(emulator); unit picks on T1 and T5verify.py's guarded renders and its 0.2.2 controldevice:testtrialGuides: (1) the release procedure does not say that an owner-approved module's update cannot be built or doctored until the owner re-signs its approval, so an agent learns it at
modules:generate. Not fixed here (a module release stays free of guide edits); worth a line indocs/MODULE_AUTHOR_UPDATES.mdor the update-module skill. (2)device:pricelabels a published package file (public/octatrack-modules/miniverb/0.2.3-experimental.mwrm) with the checkout's catalogue version: its 0.2.3 run is recorded as "0.2.4-experimental", though the SHA-256 (eea25e6c) is the published 0.2.3. (3)device:testanddevice:priceneedMODWERK_DEV_SOCKET/--socketfor a serve started with its own socket; the runner sets it, a hand run must. Not fixed here. (4) Nothing beforemodules:generatesays an effect release from 23 November needs a unit-measured instance curve even with the owner's approval (the approval cannot waive a missing curve, only a measured curve's problem): worth the same line indocs/MODULE_AUTHOR_UPDATES.md. Not fixed here.🤖 Generated with Claude Code