Skip to content

Grok provider runs fail immediately after first assistant message #3

Closed

Description

@currentbits

Summary

Grok-provider threads started via the orchestrator (thread_fork / thread_send)
consistently flip to failed after emitting only 1–2 assistant messages, before
making any tool call or file edit. Claude and kimi providers are unaffected.

Repro (2026-08-13, ~21:00)

  1. Fork any thread with provider: grok and a concrete coding prompt
    (task: move RecapCard in src/components/AgentsPanel.tsx).
  2. Thread emits an opening message like "I'll start by loading project memory…"
  3. Within ~60s, thread_status reports failed. No diff in the working tree.

Three consecutive failures, same pattern:

  • 77109671-709d-4d66-857d-f5e77067bd4f — fork, failed; thread_send retry on the same thread also failed
  • c924cecb-bc16-48bc-9513-0f961246391e — fresh fork (prompt told it to skip memory preflight), got two messages in, then failed

Expected

The run either completes or surfaces the underlying provider error. failed
with no error detail in thread_status makes this undiagnosable from the
orchestrator side.

Notes / suspects

  • Failure point is right after the first response, which smells like the first
    tool-use round-trip dying (grok is the claude-stream provider kind), or CLI
    auth/session expiry — not the old agentmux directory-trust hang (no pane involved).
  • Ask: include a failure reason (exit code / stderr tail) on the thread record
    so thread_status can report why, not just that, a run failed.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions