Repository navigation
Fix: Octatrack base 0.7.10 binds Analog BD again after a rolled-back trial that removed it - #1774
Merged
repeat98 merged 26 commits intoNov 19, 2026
Conversation
Developers can send the owner the conversation of one coding-agent session (npm run session -- share), so the owner sees what got in the way and fixes it. pr:ready reminds the agent to ask once when the work is Ready; the developer can answer always or never once (npm run session -- prefer). Only prompts, replies and one line per tool call leave the computer. Tool output, thinking, injected context, long code blocks, hex dumps, data blobs, secrets, emails, IPs, home paths and user/host names are removed first, and a session that still looks like firmware or stock code is refused, by the client and again by the Worker (shared rules in src/community/agent-sessions.ts). Stored gzip in D1 (migration 0099), readable by the developer and administrators, deleted after 90 days, on suspension and with the account, listed in the account export. Privacy notice and the record of processing updated; docs/AGENT_SESSIONS.md describes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…not flag it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Saved tool outputs live under ~/.claude/projects/<home as a folder name>, so their paths carried the developer user name past the home-path rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base 0.7.10's log records the module pool when a restore refuses a package (fix/refused-set-pool, for the cumulative base draft). The invitation and the privacy page (German and English) now say the log carries it, and the diagnostics pull prints the memory used and the largest free block beside the refused module. Older bases leave both fields 0 and print as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gain (#1736) A trial that took a trusted controller out (Analog BD, Sidechain, Output Matrix) let the controller board release its slot one tick after the switch: roots_clear asked only the volatile journal, which is off, so a pending trial did not count. The rollback brought the module back with the same owner generation, which the board neither rebinds (slot_of matched the released slot, and a bind refuses an old generation) nor advances, so its engine was never placed again until a power cycle (a tester's MKII, 18 November 2026). The loader now answers modwerk_runtime_restorable(generation): an open transaction can still put that owner back (the trial's replaced module, a journal or set row's before). The board keeps such a slot RETIRING instead of releasing it, without wanting its engine, so the trial still gets the room; a rollback republishes it and the existing restore branch binds it again; a Keep releases it as before. Host test: test_resident_engines_board modes 67 (single-module trial) and 68 (the whole-set trial `device -- set` sends, in a build with the set backend). Both failed before the change with the slot released mid-trial. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Improvement: share agent sessions with the owner
Base 0.7.10's set record also carries the loader's check that refused the package (dsp1). The pull names it, and calls a module-memory refusal by the claims check what it is: the module's DSP claims meeting a delay buffer, not the module memory itself. The invitation and the privacy page (German and English) say the log carries the check as well as the memory in use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npm run octatrack:base -- --beta --write, then octatrack:module-packages -- --base-only. The fix moves the base's lease entries, so Analog BD's reviewed recipe was recaptured from the stock OS against the new base's symbols (finding 17: only imageSha256 changes), and the base-bound packages (Analog BD 0.1.7, Output Matrix 0.1.1, Sidechain 0.2.2) and trust rows are re-encoded for the new link. Base 0.7.10 is now a5f1dd2d95c126bb. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npm run session -- pull now signs in to the owner's Modwerk account, the one with the administrator role, as the site's sign-in does: email and password at a prompt (password hidden, stray Enters ignored) or from MODWERK_EMAIL and MODWERK_PASSWORD for that one command. The password is never stored and the pull signs out when done. The Worker no longer lets a board session on an administrator account read other developers' sessions: only the site's admin sign-ins do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…it out (#1736) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Improvement: device-scoped first release reviews and contribution roles
…after-rollback-1736
repeat98
marked this pull request as draft
November 19, 2026 10:47
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 40376663 | Triggered | Generic High Entropy Secret | 19be13a | src/community/agent-sessions.test.ts | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Fix: diagnostics name the check and the module memory behind a refused restore
Improvement: show selection tradeoffs while browsing
Improvement: the owner pulls shared sessions with their account sign-in
…after-rollback-1736
This was referenced Nov 19, 2026
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.
Related to #1736. For the cumulative base draft #1757 (base 0.7.10).
npm run device -- setthat adds Vibrato and removes Analog BD) and is rolled back left Analog BD listed and pickable but silent until a power cycle. The controller board released the removed controller's slot one tick after the trial's switch:roots_clearasked only the volatile journal, which is off, so an open trial did not count. The rollback brings the module back with the same owner generation, which the board neither binds again (slot_ofmatched the released slot, and a bind refuses an old generation) nor advances, so its engine was never placed again. Sidechain and Output Matrix take the same path.modwerk_runtime_restorable(generation): an open transaction can still put that owner back (the trial's replaced module, a journal or set row'sbefore). The board keeps such a slot RETIRING instead of releasing it and does not want its engine meanwhile, so the trial still gets the DSP room. A rollback republishes it and the existing restore branch binds it again; a Keep releases it as before. Second commit: the beta base regenerated (octatrack:base -- --beta --write,octatrack:module-packages -- --base-only); the fix moves the lease entries, so Analog BD's reviewed recipe was recaptured (finding 17, onlyimageSha256changes) and the three base-bound packages and trust rows are re-encoded. Base 0.7.10 is nowa5f1dd2d….test_resident_engines_board.pymodes 67 (single-module trial) and 68 (the whole-set trial, in a fixture build with-DMODWERK_RUNTIME_SETS); both fail without the board change (slot released mid-trial) and pass with it. All 68 modes pass, as do test_controller_board, test_controller_transport, test_controller_write_lease, test_resident_journal, test_runtime_journal, test_module_sets, test_analog_bd_ui and test_base_bound_trust. test_stock_hook_controllers has one error (KeyError: 'copies') that main has too.npm run pr:readyfollows in a comment.--devtwins with the beta base's flags, project MODWERK-TEST2 with T4 on Analog BD and a trig on step 1, Analog BD's whole package bound to each twin and kept, T4's USB channel recorded:0ad7efc5(main at 21e6918): T4 peaked −19.3 dBFS each bar; T4 to FLEX;device -- set vibrato/0.1.0,-analog-bassdrum --seconds 60, rolled back with no crash, stall or freeze; T4 back on Analog BD: −120 dBFS, silent (the report reproduced);f9f8cfb9(this branch's code): the same steps; after the rollback T4 peaked −19.3 dBFS each bar, as before the trial.Not tested: the flashed base (a twin, not a flash), Sidechain and Output Matrix on a unit, a power cycle afterwards.
Not tested on a unit: the release build itself (base 0.7.10
a5f1dd2d) did not run; its--devtwinf9f8cfb9, built from the same source with the beta base's flags plus--dev, did on the owner's MKII (above), because the release base refuses the remote key presses the test needs. Owner to decide; the cumulative base #1757 gets its own long unit run before it ships.rows/analog-bassdrum-work/analog-bassdrum.mwrmis the controller alone and its pick is refused silently; the whole package has to be built withbase_bound.buildagainst the twin's binding (itsrows/controller-policies.json). And the CPU box's "WAS BUSY PLAYING" figure needs four seconds of playing to refresh.🤖 Generated with Claude Code