Skip to content

Copy grok-live-hook canary (#812) onto this worktree #831

Closed

Description

@currentbits

Copy electron/test/grok-live-hook.test.js from coder/fork-fork-fork-fork-fork-solenta-guardra-f47cc9.

  • Skip unless GROK_LIVE=1; also skip when CI=true
  • Do not enable GROK_LIVE in CI
  • Isolated GROK_HOME links auth.json only (never sessions/)
  • Assert inspect source.type=configToml on overlay config.toml [[hooks.PreToolUse]] matcher=""
  • No control_request path
  • Add to WIN32_FILES only if sibling did and the file skip-returns on win32/CI

Activity

  1. currentbits commented on Sep 2, 2026

    @currentbits
    OwnerAuthor

    Copied electron/test/grok-live-hook.test.js from coder/fork-fork-fork-fork-fork-solenta-guardra-f47cc9 (byte-identical).

    • Skip unless GROK_LIVE=1; also skip when CI=true (verified: default and CI=true GROK_LIVE=1 both # SKIP exit 0)
    • Isolated overlay links auth.json only — never sessions/ or hooks/
    • Asserts inspect source.type=configToml on overlay config.toml [[hooks.PreToolUse]] matcher=""
    • Transcript must not contain control_request
    • Added to scripts/test-electron.js WIN32_FILES (sibling did; file skip-returns)
    • .github/workflows/test.yml does not set GROK_LIVE

    This worktree still lacks the product materializeGrokHome PreToolUse inject (GROK_HOME_LINKS still has sessions + hooks). The canary writes its own overlay, so that is out of scope here.

  2. added
    plan:done
    and removed
    plan:doing
    on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions