Repository navigation
Description
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/inopenwizdev/OpenWiz(new).github/workflows/ci.ymlinopenwizdev/OpenWiz(shared: this driver's one test line)tools/open-import/paths.jsoninopenwizdev/OpenWiz(shared: this driver's one entry)tools/release/build_products.pyinopenwizdev/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
jparker2006 commentedon Nov 22, 2026
launch-fleet: started (the J87 planner's direct start, Jake's request recorded privately; Opus 5.5 Medium builder)
jparker2006 commentedon Nov 22, 2026
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.
POST toURL and a key sent asAuthorization: Bearer <key>. The JSON body goes to the Bot with the routine's instruction. "A200response 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.terminate_vm: it needs an Organization API key withadmin:*, works on team members only, and kills the member's whole computer (every Bot on it), not one run.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/modelcan't be honoured.Options:
I won't build a driver whose
stoporwakeonly pretends. Waiting for the planner's answer.jparker2006 commentedon Nov 22, 2026
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
jparker2006 commentedon Nov 22, 2026
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.
jparker2006 commentedon Nov 22, 2026
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).
jparker2006 commentedon Nov 22, 2026
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