[01] LOOP
TestingmanualHardened

Staging Smoke Until Green

Deploy to staging, run browser smoke tests on critical paths, fix failures, and repeat until every path is green.

by Trooper

Kickoff prompt
Start the "Staging Smoke Until Green" loop.

Goal: staging deploy passes all critical-path smoke checks
Max iterations: 8
Between iterations run: npm run smoke:staging || echo smoke-failed
Exit when: all critical paths pass in browser on staging

Step 1: Deploy staging, smoke critical paths in the browser, fix failures, and repeat.

Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.

Paste the kickoff prompt into Cursor, Claude Code, or Codex. Deeplinks do not install hook files.

Steps

1. Deploy staging

Trigger or verify the latest staging deploy is live.

2. Smoke critical paths

Walk login, checkout, settings, and other must-not-break flows in the browser.

3. Fix and redeploy

Patch the smallest root cause, redeploy staging, and re-run smoke.

Flow diagram

Guardrails

Rules the agent must follow so it cannot cheat the exit condition.

  • Do not skip critical paths to force green
  • Do not deploy to production from this loop
  • Capture screenshots on failure for triage

More Testing loops