Skip to main content

Laburen canvases Grok Bot fleet routines and posts pause or prompt changes to a webhook

GitHubGitHubluloxi2026-12-03

Multi-bot teamsLimitsSource read in fullRead first
GitHubGitHubluloxi2026-12-03

Open original

Overview

The owner of a Grok Bot fleet can view every routine on one canvas and request a pause, resume, or prompt edit, which a Worker posts to a Grok Bot webhook for the owner bot to apply; the documented live site is limited to a single account.

Workflow

  1. What it is: A canvas that shows the routines of a Grok Bot fleet, as part of the author's Genki site. The README opens with this line:

Meaning: The routines of the whole Grok Bot fleet on one canvas, part of Genki.

Las rutinas de toda la flota de Grok Bot en un lienzo, parte de Genki.

The README also gives a live URL, https://laburen.lulox.com.ar, and says it is only for the owner's account. It is a Cloudflare Worker plus a React + Vite UI, with a sync script that reads per-bot JSON exports.

  1. Grok Bot parts used: A webhook-triggered Grok Bot routine that receives change requests, plus the exported routine list (id, name, state, trigger, cron, lastRun, prompt) that the canvas displays. The README says Laburen does not touch Grok Bot directly: the UI asks for a change, and the Worker POSTs to that Grok Bot webhook (WEBHOOK_URL), whose owner bot applies it. There is no x.ai/bot/... template link, and the fetch listed no Grok Bot skill or profile files. Not part of Grok Bot: the Cloudflare Worker, the React UI, Google login or the Genki lulox_sso cookie, KV snapshots, and scripts/sync.py.
  2. You need: A Cloudflare Worker deployment, the secrets listed below, per-bot JSON exports, and a Grok Bot webhook routine whose owner bot will apply the requested changes. The README names secrets set with wrangler secret put: SESSION_SECRET, LULOX_SSO_SECRET (the Genki one), SYNC_TOKEN, WEBHOOK_URL, and WEBHOOK_KEY. Access on the documented live site is limited to lucianoolivabianco@gmail.com: no session returns 401, and another account returns 403. A reader who self-hosts would need to change that allowlist; the source does not spell out a multi-tenant setup. Sync uses only SYNC_TOKEN.
  3. Install: The README's development commands are the published path; the live site is already restricted to the owner's account. The path, kept as sub-steps:
    • Step 1: Install dependencies and run the tests and a local Worker with:

pnpm install pnpm test # lógica del Worker y lectura de crons pnpm build && pnpm exec wrangler dev

  • Step 2: Put the five secrets with wrangler secret put, as listed in the README: SESSION_SECRET, LULOX_SSO_SECRET, SYNC_TOKEN, WEBHOOK_URL, and WEBHOOK_KEY.
  • Step 3: Point the Grok Bot webhook at the owner bot that will apply pause, resume, or prompt-update requests. The documented POST body is:

{ "requestId": "uuid", "agentId": "…", "routineSlug": "…", "action": "pause|resume|update", "prompt": "solo en update", "requestedAt": "ISO-8601", "requestedBy": "email", "source": "laburen" }

Headers are Authorization: Bearer <WEBHOOK_KEY>, X-Automation-Key: <WEBHOOK_KEY>, and X-Laburen-Signature: t=<ms>,v1=<hex HMAC-SHA256(WEBHOOK_KEY, "<t>.<raw body>")>. The timeout is 8 seconds, one attempt.

  • Step 4: Sync exports from /workspace/laburen-data/<agentId>.json. The README says that path is the source of truth, one export per bot. automation.json is only a fallback for bots without an export, which are marked unsynced. Dry-run with:

python3 scripts/sync.py --dry-run

  • Step 5: UI POSTs carry X-Laburen: 1, and the Worker requires a same-site Origin (CSRF protection, plus SameSite=Lax). The README says Lax is enough for the Genki iframe because both live on lulox.com.ar.
  1. After install: The canvas shows one lane per bot, and each routine has a trigger, a state, a prompt, and runs.
    • The owner can ask to pause or resume a routine, or to edit its prompt. Laburen does not apply that change inside Grok Bot itself; it posts the request to the webhook and leaves it as requested until the next sync reflects it, or until it expires at 48 hours.
    • Each routine's id is the routineSlug used in those actions.
    • Reads go to /api/state and changes to /api/action, both behind a verified session (Google login or the Genki SSO cookie, HMAC-signed, with expiry).
    • The Worker also applies an IP rate limit and stores a snapshot in KV.
    • The documented live site remains limited to the single owner account named in the README.
  2. Did the author run it: The repository has no run records from the author. The README points to a live site for the owner's account only; that is a deployment statement, not a run log with results.

Key points and results

  • Maturity: At fetch time on 2026-12-03 the repo was created at 2026-12-02T20:41:27Z, last pushed at 2026-12-02T21:25:41Z, with 5 commits, 2 stars, 0 forks, 0 open issues or PRs, and no license recorded in the repo-facts block (the GitHub API license field was empty). The fetch listed no Grok Bot-related files to read; this case is written from the README and the repo-facts block. The README is in Spanish.
  • Permissions and boundaries: Laburen does not touch Grok Bot directly; change requests go to a webhook whose owner bot applies them. The documented live site allows only lucianoolivabianco@gmail.com. Sync uses SYNC_TOKEN only. UI POSTs are same-origin and HMAC-signed. A requested change stays pending until the next sync, or expires after 48 hours.
  • Known limits: The live deployment is owner-only, and the source does not describe a general multi-user install beyond changing that allowlist and setting secrets. The truth is local export files under /workspace/laburen-data/, not a live read of Grok Bot. No license is recorded in the facts block. The repository has no author run records.
  • Worth borrowing: Keep a fleet canvas read-only toward Grok Bot, and send pause, resume, or prompt edits through a signed webhook for the owner bot to apply. See the Cambios section of the README.
  • Worth borrowing: Treat a pending UI request as pending until a later sync confirms it, and expire it after a fixed window (here, 48 hours). See the same section of the README.
  • Worth borrowing: Use per-bot export files as the source of truth for routine state, with a fallback marked unsynced. See the Sync paragraph of the README.

Source

Platform
GitHub
Author
luloxi
Published
Categories
Multi-bot teams, Limits

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.