refactor(grok): install via subdirectory, drop the mirror fallback - #10
Merged
Conversation
…irely Live testing: grok plugin install supports GitHub shorthand with a #subdir suffix, so Grok users install last9 directly from plugins/last9 without any marketplace manifest or committed mirror. This removes the R5 fallback machinery wholesale: .grok-plugin/, plugins/last9/, the mirror-parity gate legs, the SKIP_MIRROR_PARITY env, and the master-push refresh bot (whose direct push was blocked by branch protection anyway). Gate now forbids ALL committed plugin skill copies unconditionally; release-please drops the removed package.
prathamesh-sonpatki
force-pushed
the
ci/grok-subdir-install
branch
from
August 24, 2026 17:56
29a6c6e to
10e8cfb
Compare
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.
Summary
Live testing against Grok Build v1.0.5 found a simpler path than the sanctioned mirror: its CLI installs plugins straight from a git repo subdirectory.
grok plugin install --trust "last9/ai-toolkit#plugins/last9"Verified end-to-end from GitHub (fresh install → all skills in the installed-plugins cache). That makes the R5 fallback machinery unnecessary: this PR deletes
.grok-plugin/marketplace.json,plugins/last9/, the mirror-parity gate legs,SKIP_MIRROR_PARITY, and the master-push refresh bot — whose direct push was blocked by branch protection anyway. The gate now forbids all committed plugin skill copies unconditionally, with a new selftest case pinning that invariant.Also fixes from the same review round: fail closed on missing consumer manifests, require ≥1 plugin entry, reject string-typed
skills(jq iterates strings as characters —"./"false-passed directory checks), require declared paths to contain SKILL.md, exact-set tarball comparison viatar -tzfboth directions, and recursive skill-file assembly with count assertion in the OpenCode prepack.Test plan
Related to FDE-311.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.