Wink Pings

After an AI fixes a bug, it should leave a script behind—otherwise the next agent will have to stumble through it again

SpaceXAI engineer Lauren Tan's agent workflow has only one hard rule: every fix leaves behind a verification script. Eleven GitHub repositories break this rule into three stages—reproduce, codify, and isolate—paired with Chase's six-role team process, taking an issue all the way to a draft PR with test results. Includes the complete repository list and a demo video.

SpaceXAI engineer Lauren Tan shared an agent workflow on X, and the core is just one sentence: every bug that gets fixed must leave behind a verification script that the next agent can run directly.

That sounds like common sense. People who have actually run multi-agent collaboration know it is counterintuitive.

Getting one agent to write code and fix bugs today is not hard. The hard part is that when six agents work simultaneously on different branches, a problem that was fixed can come back in another form. On this branch, you tell the agent that the project bans useEffect, and in the next agent's fourth conversation turn, it imports it anyway. Nothing from that correction gets locked in, and the mistake gets passed down across sessions.

Lauren Tan locks corrections into three things:

  • /replay: save the startup command, fixture, and expected result; run both versions—the original should catch the bug, and the fixed version should pass
  • /rule: write banned imports as lint rules and broken behavior as regression tests
  • /check: one worktree per independent change, and rerun the relevant checks on the combined diff before merging

Around this idea, she used 11 GitHub repositories.

Reproduction layer

benny: when a bug report arrives in Slack, use pstack's feature map to reproduce it in the running app. This is the starting point for all verification—if a problem cannot be reproduced, no script can be left behind.

storybook: let the agent find and open the component's various states—loading, empty results, errors. UI problems often appear only in specific states, and the agent needs an entry point into those states.

puppeteer: replay the same actions in Chrome and capture a CPU profile or heap snapshot via CDP. This is what you rely on for locating performance and memory problems.

appium: mobile verification, running the affected user flows in the iOS Simulator through the XCUITest driver.

Codification layer

cypress: turn the reproduced bug into an E2E check, and have CI run it on every PR.

nx: use project tags to mark forbidden dependencies, for example, the renderer module is not allowed to reference main.

biome: flag specific named imports. If the project bans useEffect, make it report that.

grafana k6: if p95 response time exceeds the configured threshold, the load test fails immediately.

Evaluation and isolation layer

pretext: measure how text wraps at a given width; the virtual list uses it to calculate row height.

deepeval: use the same rubric to score two versions of a skill on the same batch of tasks.

worktrunk: one independent Git worktree per task; agents each work on different branches and meet again at merge time.

These 11 repositories are not an isolated tool list; they serve a more complete structure.

Chase (@0xChaseTM) wrote a seven-step tutorial that expands the same idea into a six-role team: architect, backend, frontend, test, reviewer, and release. A GitHub issue is broken into assignments with contracts: backend writes to the interface, frontend builds to the interface, test writes acceptance criteria from the requirements, and the release engineer handles merging. Each role has its own worktree, and submissions must include checks and blockers; review happens on the same SHA.

One sentence in this process is worth calling out separately: approval belongs to a commit.

Approval is for a specific commit. Once the code changes, the approval is void and must be verified again. This is the most fundamental difference from "letting the agent do whatever it wants."

A commenter under the tweet made a practical observation: writing code in parallel is not rare; what really saves effort is that tests still pass after merging.

Lauren Tan's workflow is essentially answering the same thing. The real cost of multi-agent collaboration is not writing code; it is verification. The coding time you save will come back in the form of review and debugging—unless you lock every manual correction into scripts, rules, and checks. So the next agent does not have to hear you repeat the same thing again.

What accumulates is rules, not code. Code goes stale; rules do not.

发布时间: 2026-11-28 00:29