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
{{ message }}
Repository navigation
Skip-unless-GROK_LIVE canary for #812 overlay PreToolUse deny #826
Encode the 2026-09-02 live grok 1.0.13 proof on #812 as a skip-unless-env electron canary. Default suite and CI stay on the fake grok. GROK_LIVE=1 (and not CI) spawns the real CLI.
Must
Isolated GROK_HOME: symlink auth.json only. Do not symlink hooks/ or sessions/ (stale-session GC deletes through a sessions link).
Overlay config.toml[[hooks.PreToolUse]] denies with {decision:deny} / exit 2 and writes a marker.
Spawn real grok --always-approve --output-format streaming-messages-json -p … so the model must call run_terminal_command to write a canary file.
Assert: hook marker exists, canary file does not, transcript contains Hook denied, transcript does not contain control_request.
Do not invent a control_request path. Do not enable this in CI.
Activity
currentbits commentedon Sep 2, 2026
Landed on this branch:
electron/test/grok-live-hook.test.jsplusscripts/test-electron.jsWIN32_FILES so Windows CI parses and skips it.Verified:
GROK_LIVE→ suite SKIPGROK_LIVE=1 CI=true→ SKIPGROK_LIVE=1against grok 1.0.13 → 2/2 pass (inspectconfigToml+ deny before canary, ~48s)