Skip to content

Module: CX OSC 0.1.0-experimental (catalog listing) - #2293

Draft
ilia-murzinov wants to merge 757 commits into
repeat98:base/octatrack-nextfrom
ilia-murzinov:module/cx-osc
Draft

ilia-murzinov wants to merge 757 commits into
repeat98:base/octatrack-nextfrom
ilia-murzinov:module/cx-osc

Conversation

@ilia-murzinov

@ilia-murzinov ilia-murzinov commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Module: CX OSC 0.1.0-experimental, listed on base/octatrack-next (Octatrack base 0.8.7, FM take hooks 69–90). Draft remains open pending first-release review and exact-build unit qualification.

Shared engine: modules:compat -- --with cx-osc reports 0 problems with empty relations[]. Configurator retains conflicts: ["synth"] until hardware proves coexistence. Note: this branch still contains stock-site detours in manifest.py; shared-hook migration is not complete despite the base hooks landing. Do not combine with FM Synth until CX OSC subscribes instead of detouring those sites and the combined build passes on-unit.

Cost evidence: 4 Dec, package 24712ac8509ece68048eff8ea503ea90e15b7643649d880e01a227c5ce701fce, MKII OS 1.40C, RAM twin 3dfbce8a, take-rest base (#2603): at rest +0 frame / +0.1 CPU; first instance on medium pattern 101.5% of frame; stopped after T6 at 115.1%, one skipped render. Owner waived release-cost only. Records: sdk/approvals/cx-osc-build-approval.json, sdk/octatrack/modules/cx-osc/evidence/frame-cost.json.

Earlier unit evidence: USB trial, stress and LCD captures are recorded in sdk/octatrack/modules/cx-osc/TESTING.md and evidence/. The required 4 Dec test procedure stopped at preflight: the unit was away. It tested no steps on the current package; see TESTING.md.

Still open: migrate shared detours to hooks 69–90; run beside FM Synth; listening; MIDI chromatic soak; Keep/power-cycle persistence; exact-build procedure and edge cases. Keep this PR draft until those checks pass on the unit.

Guides: TESTING.md records that the procedure correctly stopped before unit actions when the bench was away. No guide change needed.

Tip: 5d7399114

@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 port and for the careful provenance: Tim's licence, the NOTICE, the import pin and the dev-twin run are all in order, and checks are green. Three things before this can move past a draft:

  1. Remove the built package. sdk/drafts/cx-osc/cx-osc.mwrm is a built image, and built images never go into the repository (AGENTS.md, Setup and checks). Keep it on your computer; npm run module:dev -- cx-osc rebuilds it for anyone trying the branch.
  2. Remove pr-body-cx-osc.md from the repository root. The description belongs in the PR itself.
  3. The shared engine sites. CX OSC patches the same stock sites as FM Synth (the LFO depth site 0x40003ca4 and the others in runtime.json's rests), and your own limitations count 46 compat findings with it. A declared conflict hides the pair in the configurator, but modules:compat still refuses overlapping bytes once the module is listed, and a new group-owned entry is the last resort. The route is a shared hook or table on the Octatrack's cumulative base draft (#2246) that FM Synth and CX OSC both subscribe to (Propose a hook). Say in the PR which sites you need and what each does, and the owner can take it there.

Smaller: the machine-ports.json pins point at sdk/octabam/modules/cx-osc/, the generated copy, while the source lives in sdk/drafts/cx-osc/. Please check that is what the adapter expects. When the docs and listening pass are done, run npm run module:doctor -- --draft cx-osc and npm run pr:ready again.

@ilia-murzinov
ilia-murzinov force-pushed the module/cx-osc branch 3 times, most recently from f95d038 to b91d10f Compare November 27, 2026 13:47
@repeat98

Copy link
Copy Markdown
Owner

Thanks for the ship checklist, and for taking the built package out. It makes the plan easy to follow.

On the question it leaves for me: no, I won't add the group-owned FM Synth + CX OSC relation to compatibility.json for the 23 shared engine sites. The guide treats that kind of entry as a last resort, and here shared hooks are the better way. Two routes work:

  1. Base hooks. List the engine sites CX OSC needs (the frame builder, LFO depth and the rest) and what each one does, as a hook proposal on the Octatrack's cumulative base draft Octatrack base 0.8.3: CPU back from the Part read, USB Audio streams in the CPU limit, no USB DISK freeze, and four more #2246. FM Synth and CX OSC then both subscribe, and so can the next FM-style machine.
  2. One module. Both machines use Tim's engine, so CX OSC could ship as a machine inside FM Synth. That needs Tim's OK, since FM Synth is his.

With that settled, please take sdk/drafts/cx-osc/owner-compat-relation.json out, and the relation steps from CATALOG-SHIP.md (the checklist itself fits in the description). pr-body-cx-osc.md in the repository root is still there from the last review too. Then run npm run pr:ready and push. It's fine to keep it a draft while the hooks are worked out.

@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 taking out the compatibility relation and the stray description file. That settles the last review, and keeping this a draft while the shared engine hooks get worked out is fine.

Three small things before it moves on:

  1. The shared screenshot tool. This draft changes scripts/capture-module-ui.py, which every module uses. Please send that change as its own small Improvement: pull request with a changelog entry, so it can be reviewed apart from CX OSC (Fixes and improvements).
  2. CX OSC's own scripts. scripts/cx-osc-device-stress.py and scripts/cx-osc-ui-capture.py only serve this module. Please move them into sdk/drafts/cx-osc/scripts/, next to bake_standalone.py. A module brings no module-specific tooling into the shared folders.
  3. A local path. NEXT-SHIP.md names a folder on your own computer (/Users/…/modwerk-dev-twin-cxosc). Please swap it for a placeholder such as <twin build folder>.

The waiver request can wait until the hooks are settled. Then run npm run pr:ready and push.

@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

I’m taking route 1. The compatibility relation is removed, and CX OSC will stay draft until the shared engine sites move to the cumulative base draft #2246.

The detector reports 23 findings across 22 unique addresses. I’m writing the hook proposal against those exact sites now. Most are per-track take hooks. The global STOP path needs every installed engine notified, and the MIDI note gates need the base to combine the eligible track masks, so those need base dispatch behavior rather than a first-subscriber-wins take hook.

I’ll link the proposal here once it is on #2246. I won’t change Tim’s FM Synth source without his approval.

ilia-murzinov added a commit to ilia-murzinov/modwerk that referenced this pull request Nov 27, 2026
Records why compatibility.json cannot land on main before cx-osc is
catalogued, and points at owner-compat-relation.json on PR repeat98#2293.
ilia-murzinov added a commit to ilia-murzinov/modwerk that referenced this pull request Nov 27, 2026
Records why compatibility.json cannot land on main before cx-osc is
catalogued, and points at owner-compat-relation.json on PR repeat98#2293.

@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 pushing on with the hook proposal. The latest commits went a step too far, though, so here's where it stands:

  1. Not in the library yet. CX OSC now has a catalog entry and a public package, but it still patches the same 22 engine sites as FM Synth. A conflict entry doesn't make that overlap acceptable (Cross-compatibility). It can be listed once the shared hooks are in the base and both machines subscribe. Until then, please take out the catalog entry, public/octatrack-modules/cx-osc/, and the generated package and document changes that come with them, and keep it a draft under sdk/drafts/cx-osc/.
  2. Files from earlier reviews are back. pr-body-cx-osc.md at the root, owner-compat-relation.json, a built cx-osc.mwrm in the module folder (built images never go into the repository), and the two CX scripts in the top-level scripts/ folder. Please remove them again or keep them inside the module folder.
  3. The machine-chooser fix is base work. The change to machine_registry.c (the empty sixth row) is a fix for everyone. Send it as its own commit to the Octatrack's current cumulative base draft #2333 (that replaced #2246), with what you saw on the unit. The engine hooks go there too. Hook numbers are handed out there: 63 is being added on that branch first and 64–66 are already given to CLYPS, so your hooks will need the numbers after those.

Then npm run pr:ready and push. It's fine to stay a draft while the hooks land.

ilia-murzinov added a commit to ilia-murzinov/modwerk that referenced this pull request Nov 28, 2026
Owner review on repeat98#2293: move back to sdk/drafts/cx-osc, drop catalog entry,
public package, changelog, and committed mwrm; remove pr-body helper and
top-level capture scripts; drop machine_registry viewport fix from module
scope; cite draft paths in machine-ports.
@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

Addresses review #2293 (review) at tip 2a07b7f52:

  1. Draft only again: sdk/drafts/cx-osc/ (moved back from sdk/octatrack/modules/). Removed catalog row, module-documents / changelog / public/octatrack-modules/cx-osc/, committed .mwrm, and cx-osc from REQUESTED compiler scope. machine-ports.json cites draft paths only.

  2. Cleanup: dropped root pr-body-cx-osc.md, owner-compat-relation.json, top-level scripts/cx-osc-*.py (now under sdk/drafts/cx-osc/scripts/).

  3. Base out of module PR: reverted machine_registry.c / test_machine_registry.c viewport fix to match main (belongs on cumulative base Improvement: Octatrack base cumulative draft after 0.8.3 #2333 / hooks Base: FM engine take hooks for synth and cx-osc (69-90) #2352 with unit notes). Chooser fix not re-submitted on this branch yet.

Merged origin/main. module-source test green locally; CI pending. Stays draft until #2352 hooks land and both machines subscribe.

@repeat98

Copy link
Copy Markdown
Owner

Thanks, that settles the last review. Two more things:

  1. The change to scripts/build-module-packages.py (two machines sharing a unit label) helps every module, so please send it as its own small Fix: pull request with a changelog entry, and revert it here along with the module-build.json hash it brings.
  2. This branch keeps CX OSC under sdk/drafts/cx-osc/, but Base: FM engine take hooks for synth and cx-osc (69-90) #2352's port points at sdk/octatrack/modules/cx-osc/. I'm asking on Base: FM engine take hooks for synth and cx-osc (69-90) #2352 to point at the draft paths until CX OSC is listed.

chevyone and others added 12 commits December 1, 2026 22:09
The browser builder's pin moves to sdk/imports/elekloader-rave-stab-2026-12-01.json
(commit 9f2555d), the vendored copy to 0.2.0. Verification note added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hich stays in development bases while sdk/runtime is GPL-3.0-or-later

Relicensing the shared loader would rebuild the Octatrack base as 0.8.6 (new identity, its base-bound packages
relinked) and the Model:Cycles base, so sdk/runtime stays as it is. Release bases keep the link's identity, load
and diagnostics log (link.c, load.c, diag.c, GPL-2.0-or-later; diag.h, which copies the Octatrack's log layout,
now GPL-2.0-or-later with Jannik Aßfalg's agreement as relayed by Nathaniel Pavel). runtime.c, modules.c (now
GPL-2.0-or-later with durchgemacht's agreement on repeat98#1934) and sdk/runtime move to base.json's dev with
MODWERK_RUNTIME; without it link.c answers UP_PART, UP_RUN and MODS 'bad request'. Release identities plain
1d8190fa, voices b83aed26, send-bus 6230ee6a, packages GPL-2.0-or-later; tests, docs and changelog follow; the
Status page drops 'A newer one does' for a release base.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ent build named

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… code, stale loader lines in LINK.md, README, MCP docs and changelog, RL01 on the unit

RL01 (voices b83aed26 with PR11's 15 modules) booted from RAM: the set identity as linked, load 44.1 %, MODS
'bad request', the screen refused, log START.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….7.0: test procedure records (software checks; unit cases by hand, as recorded)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…vidence.

LFO/TRCK noise scrape (FX2 0x21) from octabam PR 1324; CPU price 0, frame curve first 4.6/each 0.9 on medium A01, USB captures and qualification record. Keep/power-cycle left for Stage 2.
…next

Improvement: Analog Rytm MKII cumulative base draft for 0.7.1
…es in its first stage

An edit to a file a base is built from (the shared sdk/runtime loader among them, a licence line included) is a new
Octatrack base version with its base-bound packages relinked, and a new identity for each elemod base that compiles
it. The Octatrack base test found it only late in the run, with no word on the version or who releases it, and
nothing checked the elemod packages' recorded sources. scripts/base-sources.mjs compares both records with the tree
beside the base size and base-bound checks, and the loader's README says it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npp1993 and others added 7 commits December 3, 2026 17:58
Improved FX Routing 0.4.1: SIDE HPF at 24 dB an octave (4-pole Butterworth on the side), renamed from LOW MONO
….4; package 091ab5ac unchanged)

device:price on the shipped package, picks on the empty A02 and readings on A05 (trigs on steps 1/5/9/13 of T1-T4,
T6, T7), five readings a state: at rest 0 (was 3.8, scatter), medium admitted at a longest frame of 84.7 %, nothing
dropped. Qualification rehashed (evidence only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	src/engine/assets/module-build.json
…ckage unchanged, 091ab5ac)

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>
…ds-entry

Docs: Rytm guide feeds the sends through ev_fx_sends
@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

Continuing from #2293 (comment) (points 2–3; point 1 already settled above):

  1. Authors' OK — settled in the earlier reply; no Tim/Sam ask.

  2. build-module-packages.py multi-label workdirs — split out as Fix: isolate requested ColdFire workdirs by module id and label #2599 (Fix: isolate requested ColdFire workdirs by module id and label, changelog 2026-12-04-requested-label-workdir.md). Reverted that builder change from this branch and refreshed module-build.json compilerSha256. This PR now only adds cx-osc to REQUESTED. Rebuilds that need synth+CX together wait on Fix: isolate requested ColdFire workdirs by module id and label #2599 (and its fold onto base/octatrack-next if this listing stays there).

  3. Import record — sdk/imports/cx-osc-256bcf4.json destPaths point at sdk/octatrack/modules/cx-osc/upstream/…, which matches the listed tree on this tip (no longer under sdk/drafts/). The draft-path ask applied while it was unlisted; listing keeps the modules paths.

Still draft on base/octatrack-next until frame-cost remasure on the unit, and until the cumulative base with hooks (#2473 / 0.8.7) lands on main before a main retarget.

@ilia-murzinov
ilia-murzinov changed the base branch from base/octatrack-next to main December 4, 2026 08:05
@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

Correction on the earlier update: I had wrongly rewritten this branch onto base/octatrack-next instead of merging as asked.

Restored the real tip, merged origin/main (resolved octatrack-module-packages.json), confirmed base/octatrack-next is already an ancestor, retargeted this PR back to main, and kept the multi-label builder out of this PR via #2599.

Tip is now 273cd597f. Hooks from #2352 are on the branch through the base-next merge. Frame-cost remasure on the unit beside FM Synth is still outstanding before undraft.

@repeat98

repeat98 commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Thanks @ilia-murzinov, restoring the tip and merging instead of rewriting is right, and so is keeping the builder change in #2599. CX OSC on hooks 69–90 and the import record matching the listed paths are what was needed. Since the branch carries base/octatrack-next, its diff against main will stay large until 0.8.6/0.8.7 land there; that's fine while it's a draft.

A few tidy-ups for your next push, so the listing is clean once the hook-build numbers are in:

  1. The limitation in octamod.module.json still says "hooks 63-84" and asks for an owner group-owned relation. Please update it, and let your run beside FM Synth on the hook build decide whether conflicts: ["synth"] stays; if it does, say why.
  2. Please remove the files the hook design made obsolete: owner-compat-relation.json, scripts/verify_compat_relation.py, evidence/waiver-request.md and the nested modules/cx-osc/verify.py. I'll answer the waiver question here once the hook-build numbers are in.
  3. The board shows seven more claims held by you on this PR's branch: octatrack/void, smart-reload and defrost, digitakt/boomkick, analog-rytm-mkii/improved-comp and hh-alloy, and analog-four-mkii/euclid-notes. If your agent took them by mistake, please release them (npm run board -- release <id>): a claim tied to this branch never lapses.

Who acts: you on 1–3, and me on #2599. Next step: the frame-cost run beside FM Synth on the hook build, as you said.

repeat98 and others added 5 commits December 4, 2026 09:13
Fuzzbox 0.1.0-experimental (Octatrack): a fuzz with SUST, VINT and CLIP
Merging main had replaced base-next's synth subscribe (42 hooks with
replaces) with main's 20-entry port, so modules:compat saw synth
detours on sites the hooked base owns. Take the base-next adapters
back and keep the listed cx-osc sources entry.
Resolve module-build.json for fuzzbox + cx-osc; keep output-matrix 0.2.0
and the FM machine-ports from base-next.
Merging main had left main's elekloader beside base-next's base package,
so base-sources failed. Take the elekloader and adapter files the
committed base was built from; keep main's shared runtime so the
model-cycles base still matches.
Update the synth limitation to the shipped FM take hooks, drop the
obsolete compat-relation and waiver stubs, and keep conflicts: synth
until a unit run beside FM Synth decides.
@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

Done on 1–3:

  1. Limitation text now names hooks 69–90. conflicts: ["synth"] stays for now: both subscribe to that surface, and the configurator should keep them apart until the unit run beside FM Synth on the hook build says otherwise.
  2. Removed owner-compat-relation.json, scripts/verify_compat_relation.py, evidence/waiver-request.md, and the nested modules/cx-osc/verify.py.
  3. Released the seven mistaken claims (void, smart-reload, defrost, boomkick, improved-comp, hh-alloy, euclid-notes). octatrack/cx-osc and the 0107/0108 migrations remain.

Next step here is the frame-cost run beside FM Synth on the hook build.

@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

@repeat98 asking for a release-cost waiver for CX OSC 0.1.0-experimental (#2293), same shape as Grain (105.3 %) and UNGEMACH (102.2 %).

Base rests land. Twin of #2603 tip 7c329fd6f (RAM identity 3dfbce8a…), package 24712ac8…, MKII OS 1.40C, bank A A01 medium / A02 empty. device:price --write --curve T1,T3,T6,T7:

  • at rest: frame +0, cpu +0.1 (was +20.4 before the take-rest base)
  • curve adds +20.2, +24.8, +33.8 → first 20.2, each 9
  • first instance on the medium pattern: 101.5 % of a frame → still past 100 %
  • stopped after T6 at 115.1 % (1 skip)

So unused install is clean; the first playing track is 1.5 points over the medium gate. I am not cutting the render path for this experimental listing. If you waive release-cost, I will add sdk/approvals/cx-osc-build-approval.json, book evidence/frame-cost.json from this run, and keep #2293 moving (still needs conflict + CI cleanup).

Logs: /tmp/cx-osc-price.log, summary /tmp/cx-osc-price-summary.json. Unit recovered; twin still on 3dfbce8a.

@repeat98

repeat98 commented Dec 4, 2026

Copy link
Copy Markdown
Owner

@ilia-murzinov Yes, I waive release-cost for CX OSC 0.1.0-experimental, on your run of 4 December: first instance at 101.5 % of a frame on the medium pattern, +0 at rest on the take-rest base. That's the same shape as Grain and UNGEMACH, and 1.5 points over is fine for an experimental listing.

Please add sdk/approvals/cx-osc-build-approval.json as UNGEMACH's (kind: owner-approved-update, approvedBy: repeat98, waived: ["release-cost"]). Quote this comment in ownerStatement, and set sourceSha256 from the final source once the conflict and CI cleanup are done. Book evidence/frame-cost.json from this run, as you said.

The waiver covers the cost gate only. The first-release review still follows, and the at-rest +0 depends on #2603, which I've just merged into base/octatrack-next. So CX OSC can only reach main with that base.

@ilia-murzinov
ilia-murzinov changed the base branch from main to base/octatrack-next December 4, 2026 20:35
Owner comment 7419779189 waives release-cost for 0.1.0-experimental
(first medium instance 101.5 %, at-rest +0 on take-rest base repeat98#2603).
Drop the premature qualification record so the approval can cover the
cost gate the same way UNGEMACH and Grain do.
Restore every non-CX path from origin/base/octatrack-next so repeat98#2293
only adds the CX OSC listing, Dec 4 frame-cost evidence, and the
owner release-cost waiver on top of take-rest base repeat98#2603.

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.