AAWEA.ORG
AAWEA.ORG
AAWEA.ORG
DevOps Interval trigger πŸ‘‘ Official πŸ›‘ Hardened

Deploy Verification Loop

On an interval, hit health and smoke endpoints after a deploy until all checks return healthy responses.

πŸ‘ 1,175 views πŸ“₯ 1,896 installs πŸ‘€ by loops!
Download loop
Share Now
Manual start
↓
  1. 1
    Check health endpoints

    Curl configured health/smoke URLs. Record status codes and response bodies.

    > curl -fsS https://your-app.example/health
  2. 2
    Investigate failures

    If any endpoint fails, check recent deploy logs, env vars, and migrations. Apply the smallest fix.

  3. 3
    Re-verify

    Re-run health checks after fixes or rollback decision.

↓
βœ“
Exit condition: ci_green

All configured health endpoints return success

> curl -fsS https://your-app.example/health
πŸ“Š Flow Diagram
flowchart TD Start(["Interval start"]) Start --> S0 S0("Check health endpoints") S1("Investigate failures") S0 --> S1 S2("Re-verify") S1 --> S2 Exit{"All configured health endpoints return success"} S2 --> Exit Exit -- "No" --> S0 Exit -- "Yes" --> Done(["Success"]) style Exit fill:#fffbeb,stroke:#f59e0b,stroke-width:2px,color:#92400e style Done fill:#ecfdf5,stroke:#10b981,stroke-width:2px,color:#065f46
Run "Deploy Verification Loop" in your agent
Prompt only
Deeplinks and "Open in Cursor" only paste the kickoff prompt. They do not install hook files β€” your agent cannot tell whether files are on disk until you add them yourself.
Two separate pieces
  • Kickoff prompt β€” tells the agent the goal, check command, exit condition, and how to self-pace.
Kickoff prompt
/loop 15m Start the "Deploy Verification Loop".

Goal: all post-deploy health and smoke endpoints return success.
Max iterations: 8.
Between iterations run: curl -fsS <your-health-url>
Exit when: every configured endpoint succeeds.

Step 1: Hit health/smoke URLs. If any fail, inspect deploy logs and fix or escalate.
Anti-gaming rules
Rules the agent must follow so it cannot cheat the exit condition.
  • Do not modify the check command or exit criteria to force success
  • Do not skip, disable, or bypass checks to pass the exit condition
  • If stuck after several iterations, stop and report blockers instead of gaming metrics