[01] LOOP
ProductmanualHardened

Checkout Until Green

Test every payment path in the browser — card, wallet, trial, upgrade — fix blockers, and loop until checkout is green end-to-end.

by Trooper

Kickoff prompt
Start the "Checkout Until Green" loop.

Goal: all payment paths complete successfully in test mode
Max iterations: 10
Between iterations run: Run checkout test suite or walk each payment path in browser
Exit when: every configured payment path completes without error

Step 1: Test every payment path in browser, capture blockers, fix, and re-verify.

## Before you start

Connect plugins:
- Browser / Web access (required) — Open pages, inspect live state, collect evidence, and verify changes.
- Stripe (required) — Verify checkout, billing, payment, and subscription state.
- Figma (required) — Inspect designs, dimensions, assets, and handoff notes.

Attach skills:
- Loop runner (required) — Self-pace iterations, run the check between passes, and stop only on the exit condition.
- CI debugging (optional) — Read failing checks, logs, and the smallest actionable root cause.
- Test repair (optional) — Run tests, triage failures, and avoid weakening the suite.
- Browser QA (optional) — Exercise product flows, capture visual evidence, and verify fixes in-browser.
- Approval workflows (optional) — Keep outbound actions in draft or approval states when risk is non-trivial.
- Visual design QA (optional) — Compare implementation against visual expectations and capture regressions.

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. Test payment paths

Walk card, wallet, trial, upgrade, and cancel flows in test mode.

2. Capture blockers

Screenshot errors, log webhook failures, and note missing states.

3. Fix and re-verify

Patch blockers and re-run every path until all green.

Flow diagram

Guardrails

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

  • Use test mode and test cards only — never charge real cards
  • Do not disable fraud checks or webhooks to force green
  • Verify receipt, email, and subscription state after each path

More Product loops