Skip to content

docs: add GROK_BOT.md Grok Bot system prompt - #2590

Merged
kunchenguid merged 4 commits into
mainfrom
fm/fm-grok-bot-md-r1
Aug 18, 2026
Merged

kunchenguid merged 4 commits into
mainfrom
fm/fm-grok-bot-md-r1

Conversation

@kunchenguid

Copy link
Copy Markdown
Owner

Summary

  • Content-drop of GROK_BOT.md at the repo root: the Firstmate system prompt for the Grok Bot product.
  • Copied verbatim from the captain-approved spec; wording and line breaks are intentional and were not reformatted.

Notes

  • Direct-PR by captain request. This is a content-drop only (no code, no AGENTS.md changes).
  • The required "PR must be raised via no-mistakes" check is expected to be red on this path; the captain chose direct-PR for this drop and owns the merge.

Test plan

  • Confirm GROK_BOT.md matches the approved spec byte-for-byte
  • Confirm no other files changed

@kunchenguid
kunchenguid merged commit 862c532 into main Aug 18, 2026
22 of 24 checks passed
@kunchenguid
kunchenguid deleted the fm/fm-grok-bot-md-r1 branch August 18, 2026 18:36
kunchenguid added a commit that referenced this pull request Aug 18, 2026
* fix(bin): guarantee inactive-reconcile scan progress under second quantization

The inactive-outcome scan computed its aggregate deadline in whole seconds,
so a 1-second budget's effective value lands anywhere in (0,1]; a scan
starting just before a wall-clock second boundary rounded its whole budget
away mid-scan and exited having visited no child, while the durable cursor
had already advanced past the never-examined child. This is the CI flake
behind tests/fm-inactive-reconcile.test.sh's 'next bounded scan did not
resume with the following child' (watcher-wake-lock family, portable
serial 2, seen on the PR #2590 run).

Every scan now visits at least its first due child with the per-child
state-read bound floored at one second, so no invocation can be a zero-work
no-op. The outer process-group kill moves to budget+1s: the scan's own
deadline enforces the budget, and the kill is a backstop for a scan wedged
in an unbounded wait instead of a racer that routinely preempts the clean
bounded exit. The wake-lock-wait test bound tracks the backstop (3s -> 4s);
the previously flaky assertion is unchanged.

* no-mistakes(document): Document inactive-reconcile deadline backstop
kaan-sirin pushed a commit to kaan-sirin/firstmate that referenced this pull request Aug 18, 2026