MCP.so
Sign In
Testingevent

Post-Merge Regression Guard

Hook that runs smoke tests after git merge or rebase to catch integration regressions immediately.

Kickoff prompt

Install and run the "Post-Merge Regression Guard" loop.

Goal: smoke tests pass immediately after every merge or rebase.
Between iterations run: npm run test:smoke
Exit when: smoke suite exits 0.

Step 1: After a merge, run smoke tests. Fix regressions before continuing other work.

Basic information

Category

Testing

Goal

smoke tests pass immediately after every merge or rebase.

Check command

npm run test:smoke

Exit when

smoke suite exits 0.

Supported agents

Cursor

Steps

  1. 1

    Detect merge

    Confirm a merge or rebase just completed. Identify affected areas from the diff stat.

  2. 2

    Run smoke suite

    Run the fast smoke test suite. Fix any failures before starting new feature work.

    npm run test:smoke

More Testing loops