Skip to content

docs: Grok Build install support — verified on grok 1.0.5 - #95

Merged
SELAT-DEV merged 3 commits into
mainfrom
docs/grok-build-install
Aug 25, 2026
Merged

docs: Grok Build install support — verified on grok 1.0.5#95
SELAT-DEV merged 3 commits into
mainfrom
docs/grok-build-install

Conversation

@SELAT-DEV

Copy link
Copy Markdown
Contributor

Adds Grok Build as a documented install target, verified end-to-end on grok 1.0.5.

What's in here

  • install.md — new "Grok Build" section (between Codex and Gemini CLI). Grok reads this repo's .claude-plugin/ manifests natively, so install is the native plugin flow plus one explicit runner step:
    grok plugin marketplace add SELAT-AI/selat-plugins
    grok plugin install selat --trust
    npm install -g @selat-ai/selat-cli
  • Why the npm step exists — the verified plugin-hook gap. In grok 1.0.5, plugin-bundled SessionStart hooks do not execute, so the session-start hook that installs the reviewed, locked runner on other harnesses never fires under Grok: the selat-discovery skill loads, but selat itself would be missing without the explicit install. This was reproduced with a minimal probe plugin (headless and TUI, auto-trusted paths, manifest-declared hooks, config-enabled state); global ~/.grok/hooks/ hooks DO fire, which isolates the failure to the plugin hook layer specifically.
  • guides/grok-plugin-hook-gap.md — the full evidence file for the gap: probe setup, matrix of conditions tested, and observed behavior. It doubles as a ready-to-file upstream bug report for xAI.
  • README.md — Grok Build added to the "Install per harness" table with the same three commands and a parenthetical noting the floating-npm-runner caveat, linking the evidence file.

Deliberate omission

Grok is intentionally not added to the locked-runner harness list (Claude Code / Cursor / OpenClaw / Hermes). Until Grok executes plugin hooks, it gets the floating npm install -g runner rather than the reviewed pin + lock (npm ci --ignore-scripts); the docs say so plainly instead of implying parity.

🤖 Generated with Claude Code

Verified live: grok plugin marketplace add SELAT-AI/selat-plugins +
grok plugin install selat --trust work as-is — Grok reads the
.claude-plugin/ manifests natively, the selat plugin and selat-discovery
skill load (grok inspect confirms), and the marketplace may auto-import
from Claude Code's config on shared machines.

Found and documented a real limitation: in grok 1.0.5, plugin-bundled
SessionStart hooks do not execute (verified with a minimal probe plugin
across headless and TUI, auto-trusted paths, manifest-declared hooks, and
config-enabled state; only global ~/.grok/hooks fire). So the hook that
installs the locked runner elsewhere does not run under Grok — the section
adds an explicit npm install -g @selat-ai/selat-cli runner step and states
plainly that Grok gets the floating npm runner, not the reviewed pin+lock,
until Grok runs plugin hooks. Grok is deliberately NOT added to the
locked-runner harness list in the Gemini caveat.
Full evidence file behind install.md's Grok npm-install caveat: environment,
expected-vs-actual, minimal probe-plugin repro, the control experiment
(global ~/.grok/hooks fire, plugin hooks never load — hook_count excludes
them), the ruled-out variable matrix (trust, folder trust, plugin location,
enablement, manifest-declared hooks, headless vs TUI), key debug-log
excerpts, impact on hook-provisioned runtimes, workaround, and upstream
asks. Written to double as a ready-to-file xAI report.
Grok Build (1.0.5) installs via the native plugin flow but needs an
explicit npm install -g @selat-ai/selat-cli runner step — plugin
SessionStart hooks don't execute yet, so Grok gets the floating npm
runner, not the reviewed pin + lock.
@SELAT-DEV
SELAT-DEV merged commit 30e7946 into main Aug 25, 2026
1 check passed
@SELAT-DEV
SELAT-DEV deleted the docs/grok-build-install branch August 25, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant