Skip to content

0.1.1 DW13: the Grok Bot driver passes the kit #2318

Open

Description

@jparker2006

Parent

Ticket DW13 of spec #1987 (0.1.1). Size: S.

What to build

A driver for Grok Bot at adapters/grok-bot/, copied from adapters/template/ and built on the driver contract (kernel/driver.v1.md): version, schema, start, wake and stop, with a fake Grok Bot under fixtures/bin/, so the kit runs in CI.

Research first, from primary sources (Grok Bot's own docs, API reference or CLI help, and the existing research under private/research/grok-bot/ and private/research/bots-roster/ in jparker2006/ClosedWiz, which your parent passes):

  • how a Grok Bot run is started on a repository and ticket;
  • how it's woken with a follow-up;
  • how it's stopped;
  • where its login lives.

If any of start, wake or stop has no programmatic way to do it, stop and ask on this ticket with what exists. Don't fake it.

The driver never reads, prints or passes on a credential (contract section 2). Its README opens with one login line in the spec's form, saying where the user's Grok Bot login lives. Shared lines, one row each: the test line in .github/workflows/ci.yml, the entry in tools/open-import/paths.json, and the name in DRIVERS in tools/release/build_products.py.

Owned paths

  • adapters/grok-bot/ in openwizdev/OpenWiz (new)
  • .github/workflows/ci.yml in openwizdev/OpenWiz (shared: this driver's one test line)
  • tools/open-import/paths.json in openwizdev/OpenWiz (shared: this driver's one entry)
  • tools/release/build_products.py in openwizdev/OpenWiz (shared: this driver's name in DRIVERS)

Relies on: kernel/driver.v1.md, kernel/driver-kit/schema.json

Links

none

Acceptance criteria

  • The kit fails against the copied template first (red log in evidence/), then passes all five checks on fixtures, in CI.
  • No input, argument, output or copied environment carries a login, token, key or password.
  • The README's login line says where the user's login lives, in the spec's form.
  • Merge gate: merges only after its live-check ticket records 5 of 5 on the real host at this pull request's approved head (driver contract section 3).

Proof

P1 (this driver): test_driver.py and the kit on fixtures, red first. P3: the code review.

Activity

  1. added this to the 0.1.1 milestone on Nov 22, 2026
  2. added
    ready-for-agent
    on Nov 22, 2026
  3. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started (the J87 planner's direct start, Jake's request recorded privately; Opus 5.5 Medium builder)

  4. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Builder question (DW13): stop has no programmatic way, and wake can't reach the same run. Stopping before any code, per the ticket.

    Research only, from primary sources (read 2026-11-22 UTC). No sign-in, no paid call, no live run.

    Step What exists Source
    Start Scriptable, with limits. A routine with a webhook trigger shows a POST to URL and a key sent as Authorization: Bearer <key>. The JSON body goes to the Bot with the routine's instruction. "A 200 response means Grok Bot accepted the call and started a run, not that the Bot has finished; check the Bot's chat for the result." No run id comes back, and no status read is documented. The model and harness are Grok Bot's own. Skills and routines: Webhooks
    Wake No way to reach the same run. A second webhook call starts a new run of the routine; nothing addresses a run. Follow-ups to a running turn are chat messages in the app ("A direct message from you takes priority over background work and can redirect the current turn"). Deep links only fill the message box: "it isn't sent until you send it". Webhooks, Redirect work in progress, Deep links
    Stop No programmatic way. Only in the app: send "Stop now" in chat, or Pause / Delete the routine (Pause stops future runs). "Closing the app, laptop, or phone does not stop a background turn or routine." The only API that ends running work is the Organization Admin API's terminate_vm: it needs an Organization API key with admin:*, works on team members only, and kills the member's whole computer (every Bot on it), not one run. Redirect work in progress, Manage routines, FAQ, Manage computers: API, Org API: Grok Bot computers
    Login Held by the host: "Grok Bot uses your Cursor account, so there's no separate login"; sign-in finishes in the browser from the desktop app. The webhook key is a second secret the driver would have to send. Get started: Sign in, Webhooks

    Also checked and ruled out: Cursor's Cloud Agents API has follow-up and cancel, but for Cursor Cloud Agents, not Grok Bot ("Project routines aren't listed" under Automations). The team Admin API's Grok Bot section is team policy only (enable, capabilities, network, auto-review). No Grok Bot CLI is documented in the docs index.

    What this breaks in driver v1: D5 (wake reaches the same run), D6 (stop ends the run), and N2 (the driver would read the routine's bearer key to send it on). D4 is partial: no run id, and harness/model can't be honoured.

    Options:

    1. Park DW13 and DW13L until Grok Bot ships a run API (start with an id, message a run, cancel a run). My pick. Nothing honest passes the kit today.
    2. A contract change (driver v2 or a v1 exception for "app-stopped" hosts), as its own spec, decided by the owner. Not this ticket.
    3. Use Grok Bot as an orchestrator that calls an existing driver (KN9 shape), not as a driver host. Also not this ticket.

    I won't build a driver whose stop or wake only pretends. Waiting for the planner's answer.

  5. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: asking
    harness: claude-code
    model: claude-opus-5-5
    skills: build-ticket@0.2.1, write-driver@0.2.0
    step: Research found no programmatic stop and no way to wake the same run; asked on the ticket.
    time: 2026-11-22T11:13:58Z

  6. added
    needs-info
    on Nov 22, 2026
  7. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

    The builder question above (#2318 (comment): no programmatic stop, wake cannot reach the same run) is not one of the bounded grant kinds, so it went to the orchestrator. The builder waits for that answer.

  8. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Orchestrator decision: park DW13 and DW13L. Why: the host has no programmatic wake that reaches the same run and no stop, and a driver would have to hold a webhook key, so a driver would break three driver-contract rules. No code is written. The owner decides later between waiting for a run API, a driver-contract change as its own spec, or using the bot as an orchestrator that calls an existing driver (KN9 #1396).

  9. added
    held
    and removed
    needs-info
    ready-for-agent
    on Nov 22, 2026
  10. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    agent: fleet
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: launch-fleet@0.3.0
    step: settled needs-info
    time: 2026-11-22T11:33:02Z

  11. added
    needs-info
    on Nov 22, 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

    heldneeds-info

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions