You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default (always-on, no GROK_LIVE) runner integration: fake grok is --always-approve, never emits control_request, consults overlay GROK_HOME/config.toml[[hooks.PreToolUse]], would execute curl | sh, and the test asserts marker executed: false plus a transcript Guardrail event.
Why
#812 / #827 inject writes the live 1.0.13 overlay shape. This worktree was missing that inject (source-thread hand-off only). The unit tests lock decideGrokGuardrail and the TOML shape; they do not prove the runner + fake grok path. Live canary stays electron/test/grok-live-hook.test.js skip-unless-GROK_LIVE=1 and skip when CI=true. Do not enable GROK_LIVE in CI. Do not invent a control_request path.
Must
Fake grok: --always-approve, no can_use_tool / control_request
Consults GROK_HOME/config.toml PreToolUse (not a invented CLI flag)
Marker: executed: false for curl | sh via run_terminal_command
Activity
currentbits commentedon Sep 2, 2026
Always-on fake-grok runner is in
electron/test/grok-guardrail-hook.test.jslast describe.--always-approve, never emitscontrol_request, consults overlayGROK_HOME/config.toml[[hooks.PreToolUse]].executed: falseforcurl | shviarun_terminal_command.Guardrail blocked run_terminal_command: shell.curlpipe: …fromgrokGuardrailNoticeon ingest (not acan_use_toolpath).materializeGrokHome+grok-guardrail-hook.js); hand-off assumed it was already here.control_requestsuite still green. CI does not setGROK_LIVE.