Repository navigation
Fix: a base without the resident stock hooks links again - #1861
Conversation
A machine-wide unit queue (npm run unit -- status, hold, release, run): the device commands wait in line for the one connected unit and start when it is free, instead of an agent asking whether it is free. 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>
npm run test:procedure runs the fixed steps in order with the existing tools (module:doctor, modules:compat, module:dev, device:test, device:price), stops at the first failure, records unit steps as not run without a unit session, and writes a record for the named build with an empty edge-case table. docs/TEST_PROCEDURE.md holds the order and how to derive a change own edge cases; the PR description check asks a ready instrument change for them; the skills point at it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rocedure # Conflicts: # .github/pull_request_template.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ls point at the procedure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Imported by a test or another script, the caller owns the turn; load unit_turn.py by path so a test that loads octatrack-test.py from elsewhere finds it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… steps for the unit or an emulator session serve --emulator no longer probes the emulator bench first: ot_emu takes one connection and stopped when the probe hung up. 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>
…work that puts it back The owner, 20 November 2026: agents on his computer need no OK to run on the unit. A Keep (device:qualify too), a flash and a power cycle still need his yes. Step 2 of /modwerk-test-on-unit keeps the per-run OK for contributors; fix-issue, maintain and MAINTENANCE.md point to OWNER_OPERATIONS.md. The check lock advice now names the slots that npm run check, pr:ready and sdk:check take by themselves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed cmd.exe line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rocedure # Conflicts: # .agents/skills/modwerk-test-on-unit/SKILL.md # .claude/skills/modwerk-test-on-unit/SKILL.md
… description check on base drafts The test procedure says who runs it: the submitter, on their own unit, edge cases included, delivering the record with the pull request. A reviewer or maintainer checks the record against the diff and is never required to test; a change without it goes back to the submitter. The review skill, MAINTENANCE.md, MODULE_QUALIFICATION.md, DEVELOPER_WORKFLOW.md and the PR template say the same. The edge-case table is required on drafts too, and pull requests into base/*-next get the description check (scope is skipped there, so nothing else runs). 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>
…rocedure # Conflicts: # .agents/skills/modwerk-pr-ready/SKILL.md # .claude/skills/modwerk-pr-ready/SKILL.md # docs/DEVELOPER_WORKFLOW.md
…thout asking The owner, 20 November 2026: no prompt to insert a scrap card. A session records the kept set and the flashed base before a Keep and puts the set back after, checking the inventory. Flashing and power cycles stay his. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s and the two targets Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… an ot_emu session npm run device:emulator starts ot_emu on a development twin with its time tied to the wall clock (--interactive, pace on), serves it like a unit and runs a command inside it. Every wait and timeout in device:test then means the same as on the unit, so nothing changes for the unit. Inside the session test:procedure targets the emulator by itself. device:test lists the checks a still DSP frame clock cannot answer as not run there, never passed, and titles its entry as emulator evidence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st-emulator-pacing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st-emulator-pacing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st-emulator-pacing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…; a test keeps the pins honest without the toolchain The reviewed standalone recipes pin every authored input by hash. The Tape Echo and Euclid recipes went stale when their CPU price evidence and manifests changed (18 November) and again with src/catalog/modules.ts (repeat98#1847), so octatrack-module-packages.py --check failed wherever the m68k toolchain is present. CI's SDK job lacks it and skips every rebuild, so the drift hid. Only the input hashes change: with them re-pinned, all 40 published packages rebuild identically. test_standalone_recipe_pins.py compares the pins without the toolchain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-test-record Improvement: the maintenance bot asks for the submitter test record, not a hardware test
…st-emulator-pacing
repeat98
left a comment
There was a problem hiding this comment.
The fix in machine_registry.c looks right to me (build_core.py only accepts --resident-stock-hooks together with --resident-on-demand, so the counter is defined exactly once either way). One thing to sort out before this lands: base-versions.json.
The description says base 0.7.11's identity moves to 2ff15d5e, but the diff rewrites the identities of the 0.7.10 entry and drops the ones 0.7.10 shipped with (b1c76d06…, the same list main has). base/octatrack-next still lists 0.7.10 as its latest version: per #1840 the change to 0.7.11 comes with #1826, which hasn't landed. Merged as it is, the branch would record the new identities as 0.7.10 and no longer know the shipped 0.7.10 base.
Could you either add a 0.7.11 entry for the new identities and leave 0.7.10 as shipped, or wait for #1826's version change and regenerate on top of it?
|
Follow-up on the |
…t98#1832) * Docs: USB Audio becomes a module package (decision and design) The owner decided on 20 November 2026 that Octatrack USB Audio installs like any other module instead of coming as a base variant per layout: one module, the layout chosen on the site, the on-device switch (repeat98#1512) in the module, and it counts toward the module limit. The design note lists what the base, the module, the sync and the site need, what the 12 November prototype on base/usb-audio-module already covers, and what to measure first. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Docs: the USB Audio switch is a row in the Modwerk settings on the unit Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Docs: the audio frame hook is ev_usb_frame, raised by the base Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Docs: USB Audio design note follows the draft: SETTINGS row, computed Tracks Post curve, status Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…hipped base-versions.json had the fix's identities written over the shipped 0.7.10 entry, because base/octatrack-next still named 0.7.10 and the published-version guard read a stale fork's origin/main. The shipped 0.7.10 identities are back, base-version.json says 0.7.11, and the base files, sizes and base-bound packages are regenerated for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pins Fix: Tape Echo and Euclid standalone recipes pin their current inputs, and a test keeps the pins honest
…t-emulator-pacing Improvement: device:test and the test procedure finish their cases on an ot_emu session
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, went with a): this is the first change on the 0.7.11 branch, so it raises The origin/main detail: Follow-ups as you said: #1840's description still says #1826 sets the version, and #1826 now only needs to rebuild on top of this. |
|
I checked the updated version history. Your 0.7.11 entry preserves the shipped 0.7.10 identities, and the MKII runs on the full and minimal builds are recorded. The cumulative branch has since gained the project-load fix. Git now reports conflicts in the binding, variants, package list, version history and base changelog. The remaining integration step is to regenerate those files from the combined 0.7.11 sources, then check that both the minimal and beta configurations still link and RAM-boot. The results on |
cf47bf5
into
repeat98:base/octatrack-next
machine_registry.ccounts every machine assignment intomodwerk_machine_assigned, but onlycontroller_board.cdefined that variable, and only a base with--resident-stock-hookslinks that file. A minimal development base (--site-events --table-owners, the minimal profile indocs/MODULE_PERFORMANCE.mdand the A side of the CPU baseline agreed on the agent board) stopped at the core link: "Core has unexpected unresolved imports: [... 'modwerk_machine_assigned']". Nothing ships or tests that profile, so it broke unnoticed.machine_registry.cdefines the counter whenMODWERK_RESIDENT_ON_DEMANDis off (the build only takes--resident-stock-hookstogether with--resident-on-demand, so that is exactly whencontroller_board.cis missing) and keeps theexternotherwise. The beta base compiles the same code: every symbol inbase-binding.jsonstays where it was.elekloader/base-version.jsonto 0.7.11.base-versions.jsonkeeps 0.7.10 exactly as shipped (b1c76d06…, as on main) and adds 0.7.11 (dea1955f). Regenerated withoctatrack:base -- --beta --write,base-sizes.jsonrecorded, the base-bound packages relinked (octatrack:module-packages -- --base-only, which only changes theirrequiredBase), and the base page lists 0.7.11.test_assignment_counter_is_defined_once_with_or_without_the_controller_board(sdk/tests/test_machine_events.py) compiles the registry with the ColdFire compiler both ways and checks the symbol is defined without the hooks and undefined with them. It fails without the fix ("U") and passes with it; it skips withoutm68k-elf-gcc.changelog/2026-11-20-octatrack-minimal-base-links.md.npm run pr:ready(Ready). The minimal base builds with the profile above (before the fix it stopped at the link);octatrack:base -- --betawithout the fix reproduced the committed base exactly. Host macOS, GCC 16.2.0 and binutils 2.47 from octabam'sm68k-toolchain.sh.c889442dwith 13 kept modules; the project was CPUTEST (four FLEX tracks on a generated sample, no modules). Everything ran as RAM boots and rolled-back trials:2ff15d5eRAM-booted: ready, empty inventory (the card set belongs to the flashed base), no failures.2ff15d5e; both ran as 45 s trials (npm run device -- try, no accept): "no crash, stall, freeze or skipped track", rolled back.e3d1a247(build_core.py --dsp-loader --site-events --table-owners --dev) RAM-booted:stats34-39 % stopped, 50-51 % playing;profilewhole UI chain 106.6 µs a tick; sound clean.dea1955f, minimal2e8ef11b): RAM boot, review, both trials ("no crash, stall, freeze or skipped track"), the minimal dev base (profile103.7 µs a tick; onestatsreading of 100 % right after boot, then 39 %), and a power cycle back to the flashed base with all 13 modules.bf685b7a, minimalc53fa7e1) before 0.7.10 shipped.Tested on a unit: beta base 0.7.11 dea1955f (RAM boot, Analog BD and Sidechain Compressor trials, minimal dev base 2e8ef11b, power cycle), after the full run on 2ff15d5e and minimal dev base e3d1a247, Octatrack MKII OS 1.40C, RAM boots with Analog BD and Sidechain Compressor trials, 9 minutes of playing with Part changes, a power cycle back to the flashed base (developer Lasl00, 20 November 2026).
Edge cases
octatrack:base --betawithout the fix reproduced the committed base; with it every symbol inbase-binding.jsonstays put; RAM boots of2ff15d5eanddea1955fbase-versions.jsonkeeps 0.7.10's identities as on main and adds 0.7.11build_core.pyminimal profile links; RAM boot ofe3d1a247,stats,profile, playingrequiredBasemoved with the identity2ff15d5emw_assignwrites the counter on every assignmentdocs/MODULE_PERFORMANCE.mdsaid the minimal profile stops at this symbol; it now says it links.sdk/machines/octatrack/elekloader/README.mdnow saysoctatrack:baseonly builds the beta base and gives the minimal command. Not fixed, for whoever owns them: with the developer MCP connected to the bridge,npm run device -- tryandbootgot "No reply to setup 8006000100001200" until the bridge was restarted with no second client; andnpm run upstream:toolsends with HTTP 404 on the Ziddle archive pin.Related to the agent board thread on machine octatrack (CPU baseline, the owner's answers of 19 November).
🤖 Generated with Claude Code