Repository navigation
Improvement: the owner can trust a module author to approve and publish their own updates - #2523
Merged
Merged
Conversation
…sh their own updates sdk/approvals/trusted-authors.json lists authors by numeric id with the owner's statement. A listed author signs their own Octatrack module's build approval with their own login, and the author workflow merges it together with the module's .mwrm package and its own rows in octatrack-module-packages.json and frame-costs.json. The address check, the owner notice and the 48-hour follower hold stay. First entry: AForceTrulyEvil (Grain). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…at a trusted author signed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…les:check now reads Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t the owner Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98
enabled auto-merge
December 2, 2026 10:42
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.
Works: the owner can now trust a module author to approve and publish their own updates. A trusted author signs their own module's approval record, and the release bot merges it with the module's package. AForceTrulyEvil (Grain) is the first entry. Who must act: the owner reviews and merges this, because it changes the release gate. On a unit: nothing here runs on a unit.
sdk/approvals/<id>-build-approval.jsonrecord signedrepeat98, and the author bot refused any change to it. Once a module had one of those records, every later version failedmodules:checkuntil the owner wrote a new one, which is where Grain 0.2.0 (Grain 0.2.0: EDGE, Flex recording fix, POS lock fix #2426) is stuck. The bot also refused every Octatrack package file (public/octatrack-modules/<id>/*.mwrm,octatrack-module-packages.json,frame-costs.json), so no Octatrack author update could merge automatically at all.sdk/approvals/trusted-authors.jsonlists the authors the owner trusts, by numeric GitHub id and with his statement. Only the owner can change it: it sits undersdk/approvals/, which the author bot refuses and a maintainer's merge doesn't count for. A listed author may sign their own Octatrack module's build approval with their own login, under the owner's rules: exact version and native source, never verified hardware, only the five waivable items. The bot then merges it together with the module's.mwrmand its own rows in the package list and frame costs, with other modules' rows unchanged. OnemayApproverule replaces the hard-codedapprovedBy === 'repeat98'inmodules:check, the release-cost waiver, the perf audit andmodule:doctor. A trusted author also skips the new-address check (owner's call, 2 December 2026), so a new hook or stock site doesn't need the owner either. The owner notice on every automatic release and the 48-hour follower hold stay on. The package files are open only to trusted authors, because CI doesn't rebuild a.mwrmfrom source.src/release/author-updates.test.ts,scripts/author-update-git.test.mjsandsrc/catalog/module-qualification.test.ts, then the affected suites andnpm run pr:ready(Ready on bf8194d). I replayed Grain 0.2.0: EDGE, Flex recording fix, POS lock fix #2426 on this branch with a Grain 0.2.0 record signed by AForceTrulyEvil. The scope check accepts every file it changes, andmodules:checkpasses with the 105.3 % release-cost waiver. The same replay as another registered author: "Another author owns grain". Before the address skip, Grain 0.2.0: EDGE, Flex recording fix, POS lock fix #2426 still went to owner review: it names0x40007960,0x400041cc,0x400041c4and0x460d174c, a new hook on the stock FLEX reader's PCM copy. With the skip, the unmodified scope check accepts it. A new test checks that a trusted author may reach a new address, but the same login under another account id may not.docs/MODULE_AUTHOR_UPDATES.mdsaid every release exception needs owner review. It now has a "Trusted authors" section, and the two lines that said so point to it.🤖 Generated with Claude Code