Skip to content

Kits 0.1.1-experimental: SAVE KIT, RELOAD KIT and RENAME KIT in the shared Part Edit menu - #2066

Open
twwwy wants to merge 27 commits into
repeat98:mainfrom
twwwy:module/kits-0.1.1-ask
Open

twwwy wants to merge 27 commits into
repeat98:mainfrom
twwwy:module/kits-0.1.1-ask

Conversation

@twwwy

@twwwy twwwy commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Kits 0.1.1-experimental: SAVE KIT, RELOAD KIT and RENAME KIT move into the base's shared Part Edit menu (ot_part_menu), so Kits and Pattern Sample Locks can be installed together.

Owner's OK: agent board question 975cec58, replies b3d46e77 and d1163f15 (repeat98, 17 November 2026): "send Kits 0.1.1 as its own follow-up pull request once the base … has landed". The credits to Sam Banks (octabam KITS) and the Octakit design are unchanged.

What changes for the musician

  • FUNC+PART opens Kits' own Part Edit window: SAVE KIT, RELOAD KIT and RENAME KIT, in PART's place. With Pattern Sample Locks installed, each module has its own row.
  • RENAME KIT renames the pattern's Kit; RELOAD KIT brings it back as saved (as FUNC+CUE).
  • FUNC+PASTE+PART still copies the pasted pattern's Kit to the next empty Kit (shown below).
  • The compatibility.conflicts entry with Pattern Sample Locks is gone.
  • Needs Modwerk base 0.8 or newer: the one-row popup draws its text and stock gets its keys back only since Octatrack base 0.7.13: Part Edit's one-row popup draws its names, and stock gets its keys back #1947.

Tested on a unit

Tested on a unit: base 95adb64b, MKII, the development twin of base 0.8 (main 29c22d7, beta flags plus --dev), package c1cb63e5, as 120 s trials without a Keep.

  • npm run device:test:

    • The self-test passed.
    • Meters: CPU 363, core 1 peak 339, core 0 peak 429.
    • Twelve Part switches while playing worked, and so did the bank switches.
    • It stops at the Part switch after the bank switches, because PART is LOAD KIT while Kits is active. 0.1.0 stops at the same step.
    • Verdict: no crash, stall, freeze or skipped track.
  • FUNC+PART with Kits alone draws SAVE KIT, RELOAD KIT and RENAME KIT.

  • FUNC+PASTE+PART:

    1. FUNC+REC on C02 (COPY PATTERN), then PATTERN+TRIG16.
    2. FUNC+STOP (PASTE PATTERN), then PART with FUNC and STOP still held.
    3. The screen shows KIT COPIED TO NEXT. C16 then plays 065 TWO, a copy of C02's 010 TWO, and the Part Edit window does not open.
  • Performance: C16 playing with crossfader sweeps, ten CPU readings per run.

    Run CPU Longest frame interrupt
    Stock 41.8 % 40.9 %
    Stock, six Part switches 41.8 % 49.3 %
    Kits, six LOAD KIT loads 41.9 % 49.0 %

    A Kit load costs what a stock Part switch does. evidence/performance.json is updated.

  • Developer's report (twwwy), 24 November 2026, same twin and package, Kits alone as a trial. Steps: load another Kit with PART while playing and listen at the switch, then FUNC+CUE; change a knob, SAVE KIT into an empty Kit, load another Kit and come back. Report: "they all work".

  • With Pattern Sample Locks 0.1.9 6fea272e kept on the same twin (developer's OK), then Kits as a trial beside it:

    • FUNC+PART draws PART EDIT with LOCKS (LOCK SAMPLES, CLEAR LOCKS) and KITS, and PART is left out.
    • Developer's report (twwwy), 24 November 2026. Steps: SAVE KIT from KITS; LOCK SAMPLES and CLEAR LOCKS from LOCKS; a Kit loaded while playing; FUNC+PASTE+PART. Report: "they all work".
    • Verdict: no crash, stall, freeze or skipped track.
  • Developer's report (twwwy), 21 November 2026, on a base 0.7.13 twin 5b9c4b1e with this same package beside kept Pattern Sample Locks 0.1.9: "they all works. the menu works too".

Not tested: the MKI (FUNC+PASTE+MIDI), a Keep of Kits, the flashed base 0.8, a power cycle.

Edge cases

Case Why this change makes it a risk How run Result
Kits alone: the one-row Part Edit popup Kits' row is the only one, so the base draws its actions in place of the two columns MKII, base 0.8 twin, FUNC+PART, screen read pass
Kits beside Pattern Sample Locks Both modules answer the same Part Edit window MKII, Locks kept, Kits as a trial; FUNC+PART screen and the developer's steps pass
FUNC+PASTE+PART after a pattern paste The opener now goes to the base's window unless PASTE is held MKII, FUNC+REC, PATTERN+TRIG16, FUNC+STOP, PART with STOP held pass
FUNC+PART with no paste before it It must open the window, not the paste copy MKII, FUNC+PART from the pattern screen pass
A Kit loaded while playing Kits swaps the Part under a playing pattern MKII, six LOAD KIT loads at C16 playing, frame guard and CPU readings; the developer listened pass
Kits rolled back or undone with the window open The base must hand the window back to stock Host test of #1947 and the MKII run there; not repeated on 0.8 not run: covered by #1947 on base 0.7.13
FUNC+PASTE+MIDI on the MKI The MKI path shares the paste copy No MKI here not run: no MKI
A Keep of Kits and a power cycle Kits' battery record and kits.work must survive Only trials of Kits on a RAM twin not run: RAM twin, no Keep asked for

For the owner

  • npm run check stops at owner-approved update does not cover this module version. The approval in sdk/approvals/kits-build-approval.json is for 0.1.0, and you said you would write the new one at review after a run of this exact package.
  • The performance record has the same waived cycles and stress fields as 0.1.0's.
  • The developer tested package c1cb63e5 on base 0.8 (above). The committed public/octatrack-modules/kits/0.1.1-experimental.mwrm is that build: npm run octatrack:module-packages rebuilds it byte for byte.
  • npm run modules:generate stops at the same approval, so src/catalog/module-documents.json still lists 0.1.0's captures. Run it once the approval is in.
  • The UI captures are new real captures of this build on the developer's MKII: the status line, LOAD KIT, and the Part Edit popup (media/ot-part-edit-kits.png, which replaces ot-save-kit.png).
  • npm run pr:ready -- --author twwwy: the assigned replay is done. It fails only on this approval, and because twwwy is not a registered author, so this needs your review.

What the guides lacked

docs/OCTATRACK_DRIVING.md doesn't say that keys sent while a trial runs wait for the trial to end unless they come from the same checkout (npm run unit -- hold there). I sent the first FUNC+PART from another worktree and it arrived after the rollback. Not fixed here: it's a docs change outside a module release.

🤖 Generated with Claude Code

twwwy and others added 17 commits November 19, 2026 14:13
…nu (ot_part_menu)

FUNC+PART opens the base 0.7.9 Part Edit window, where KITS > SAVE KIT is; FUNC+PASTE+PART keeps its Kit copy.
The conflict with Pattern Sample Locks is gone. Owner OK on the agent board (b3d46e77).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…is on, its row while off), RELOAD KIT and RENAME KIT

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>
…e performance 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>
…eloper's report

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>
@twwwy
twwwy marked this pull request as ready for review November 23, 2026 17:11

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the Kits update, and for the unit test record. The checks are red for one reason, and the fix is small.

The module check says: "kits: owner-approved update does not cover this module version". Kits 0.1.1 is treated as an owner-approved update, but there is no approval record for this version yet. Please do these two things:

  1. Run npm run pr:ready after merging current main. It shows exactly what the check wants. The release is either a normal update, which is then qualified in the usual way (see docs/ADD_A_MODULE.md), or it needs an approval record, which only the owner can write. If the owner has to write it, say so in the pull request and wait. Do not edit the check.
  2. Link the Kits author's OK (GitHub or Discord) in the description. The board answer you quote is the owner's OK for the plan. A module's author still has to agree to a change to their module (docs/DEVELOPER_WORKFLOW.md#ask-the-author-first), unless you are the author or a maintainer named in its manifest.

Once the check is green, a reviewer can take it from there.

repeat98 and others added 2 commits November 24, 2026 10:03
Adds the owner's approval record for Kits 0.1.1-experimental (source 6d9ce6eb,
waiving the static cycle bound and the hardware qualification of this build),
merges current main, removes the 0.1.0 package as a module update must, and
regenerates module-documents.json with modules:generate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98
repeat98 enabled auto-merge (squash) November 24, 2026 09:08
@repeat98
repeat98 disabled auto-merge November 24, 2026 09:25
@repeat98
repeat98 enabled auto-merge (squash) November 24, 2026 09:45

This branch has not been deployed

No deployments
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.

2 participants