Skip to content

Add the grok Harness (Grok Build) #437

Closed

Description

@JacobStephens2

Parent

#432

What to build

harness grok runs a Command's sessions on Grok Build (Grok 4.7 and the other Models it offers), wherever the other Harnesses can be chosen, including [harness.grok] and Setup. No repository needs a one-time grok --trust.

Facts: the harness candidates research note, §2. Flags and environment: ADR 0013.

Acceptance criteria

  • Each session runs grok -p. It passes --always-approve explicitly, even when the user's Grok config already approves, and uses the Claude-shaped streaming-messages-json output. Stdin is null, and the environment has GROK_DISABLE_AUTOUPDATER=1 and GROK_FOLDER_TRUST=0. The same applies to every Resume and to the check.
  • The Factory skills are linked into .agents/skills/, and the prompt loads its skill with the /thirdshift-<skill> first line.
  • The Model and Effort are checked against grok models before any work. A bad Model or Effort fails, naming the valid ones.
  • The stream parser gives the session id, progress lines, final message, errors and usage. It reuses the Claude parser where the shapes match.
  • A Resume runs -r <id>.
  • Interrupting a Run stops the shell command Grok started in its own process group. The tree-stop scenario test passes on Grok.
  • A fake grok in the test harness, and a sessions scenario test like agy's.
  • Setup offers Grok when it is installed.
  • The docs list Grok, including that it reads both AGENTS.md and CLAUDE.md when both exist, and that it reads ~/.claude/CLAUDE.md and ~/.claude/rules.

Blocked by

Activity

  1. added
    ready-for-agent
    on Oct 6, 2026
  2. JacobStephens2 commented on Oct 6, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #446, merged into issue-432 by a thirdshift Merge run.

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions