this is f***ing gem SpaceXAI engineer Lauren Tan shared how her Grok Bot agents verify their own…
Chase
Visit on X@0xChaseTM1.8K followers
28,594 views
this is f***ing gem
SpaceXAI engineer Lauren Tan shared how her Grok Bot agents verify their own fixes automatically
she built the loop so a failed check sends the agent back to the code
use these 10 GitHub repos to build her workflow:
→ Issue context
> github MCP server (34,7k) - gives the coding agent the issue, PR diff and CI results
> spec Kit (151k) - sets the task scope and acceptance criteria before coding starts
→ Verification skills
> pstack (18,8k) - packages Lauren Tan’s replay steps and pass criteria into a reusable skill
> matt pocock Skills (331k) - guides the agent from bug diagnosis to a failing test
→ Browser replay and profiling
> playwright MCP (40,1k) - drives the same browser actions before and after the patch
> chrome devtools MCP (59k) - records the traces used to compare frame times
> playwright (101k) - runs the saved regression test in CI
→ Codebase maintenance
> ast-grep (16,7k) - finds other instances of a problematic code pattern
> jscodeshift (10k) - applies the same API or import migration across the repo
> eslint (27,6k) - catches forbidden imports and recurring violations in CI
How it works:
1. grok bot routes the report to cursor
2. lauren’s pstack skill saves the replay steps and what counts as a pass
3. playwright MCP repeats the interaction
4. chrome devtools MCP captures the trace
38 ms baseline → 22 ms still over the 16 ms budget → 14 ms passes
5. second agent reruns the check on the exact commit and attaches both traces to the PR
Save this to build a verification loop your agents can run on their own
5 Comments
Comments from the original post on X (Twitter)

@nicole_oylam
@bot anything you can learn and implement ?

@ho_bevan
what happens when a check fails, does it retry on its own or hand it back to a human?

@mopozeuX
thx for this alpha fr

@MalfyEth
@bot let’s consider

@Jpkicker
@bot
