Repository navigation
Rules and CI for the plugin registry - #1
Merged
Merged
Conversation
added 6 commits
November 1, 2026 19:44
One folder per plugin, reviewed through CODEOWNERS, MIT or Apache-2.0 only. Every pull request runs ci/registry.py over mudling plugin test and luau-analyze, and judges the line budget against a reference plugin in the same job. On main, the index is rebuilt, signed with Ed25519 and published to the index branch. docs/ has the checks, the index format and the key.
…ng was measured A test log could print its own cost through a Unicode line separator, and an empty report left a one-byte file that the post script took for a comment.
…ared log A file name can no longer forge output, crash the index or muddle the content hash, and symlinked plugin folders and stray files under plugins/ fail layout. Hooks that fail on the shared log now fail the plugin. The docs and the pin placeholder no longer mention internal planning.
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.
This makes the registry ready for its first plugin: the rules, the checks every pull request runs before anyone looks at it, and a signed index that MUDling will fetch. It adds no plugins.
What's in it
plugins/<id>/,CODEOWNERS, MIT or Apache-2.0 only, plain file names, no symbolic links, no.gitattributesinside a pluginindexbranchREADME.md,CONTRIBUTING.md,docs/ci.md,docs/index-format.md,docs/signing.mdEvidence
mudlingbuilt from Vyttle-LLC/mudling at 1282f8a. They cover a plugin that passes and one that fails for each reason, including forged cost lines and unsafe file names.mudling plugin newpasses at 0.15×..gitattributes, so the files MUDling downloads hash the same as the files CI checks.Before it can publish
docs/signing.md.mainisn't protected, soCheck pluginsand code-owner review only advise.docs/ci.mdlists the ruleset to add.docs/ci.mdnames the setting that fixes it.Risks
Follow-ups
sign()lets openssl failures escape as a traceback:ci/registry.py:363ci/registry.py:214--pluginsoption:ci/registry.py:407ci/registry.py:4ci/test_registry.py:103ci/publish-index.sh:1ci/registry.py:143--!nolintturns lint off:ci/registry.py:182.github/workflows/registry.yml:71Reviewed with Wiffletree: 2 full reviews and 2 re-checks, 6 rounds (Tests, Claude, Style)