Human Approval Loop
Runs the task, then pauses and sends you approve / revise / skip before anything ships — human review as a first-class queue where the stop condition is your approval.
Before you use this component
This is a third-party source bundle, not an installation into your account. UI Discovery has checked the available redistribution license evidence; runtime behavior has not been tested. Review all files, use a disposable project first, and do not enable scripts or hooks until you understand their permissions.
Some integrations require separately installed software, API keys or paid services. Credentials and subscriptions are not included. These are Claude Code resources; other clients may require adaptation.
Extract the ZIP into a temporary folder, inspect its entry file and supporting resources, then follow the original instructions. Do not overwrite an existing project configuration blindly. Keep the bundled license and attribution notices.
- Source publisher
- Claude Code Templates
- Creator supplied by source
- Not listed in source
- Pinned source version
- a344359459263d73d8948651c789244093c02e4e
- License evidence
- LICENSE
Source preview
cli-tool/components/loops/evaluation/human-approval-loop.md
--- name: human-approval-loop description: Runs the task, then pauses and sends you approve / revise / skip before anything ships — human review as a first-class queue where the stop condition is your approval. category: evaluation interval: on-demand stop-condition: You approve the result (it ships) or skip/redirect it — nothing ships without explicit human approval. components: [hook:quality-gates/plan-gate, hook:automation/telegram-notifications, command:git-workflow/create-pr] tags: [human-in-the-loop, approval, safety, loop] --- # Human-in-the-Loop Approval Loop > **Loop Engineering** — same loop shape as the autonomous ones, but the stop condition is *your approval* instead of a passing test. The agent does the work, then waits at a gate: approve, revise, or skip. ## 🎯 Goal Run the task, then **pause** and route the result to you for a decision before anything ships — treating human review as its own queue with clear actions. ## ⏱️ Schedule Trigger: `on-demand` (each item pauses for your call before shipping). ## ▶️ Run it ``` /loop run the next task, then pause and send me approve / revise / skip before anything ships. On approve, continue and ship. On revise, take my note and redo. On skip, move to the next item. Never ship without my approval. ``` ## 🔁 Iteration steps 1. **Act** — complete the task up to the point of shipping. 2. **Gate** — the `plan-gate` hook halts before any irreversible/ship step. 3. **Ask** — send approve / revise / skip via `telegram-notifications`. 4. **Branch** — approve → ship (e.g. `/create-pr`); revise → apply note and redo; skip → next item. 5. **Observe** — record the decision; nothing ships unattended. ## 🛑 Stopping condition You approve (ship) or skip/redirect — the loop never ships without an explicit human decision. ## 💰 Budget & guardrails The gate is the safety: irreversible actions wait for a human. Add a reminder/deadline so pending items don't pile up silently, and a budget for the work done before each gate. ## 🧩 Referenced components - `hook:quality-gates/plan-gate` — halts before irreversible/ship steps. - `hook:automation/telegram-notifications` — sends the approve/revise/skip prompt. - `command:git-workflow/create-pr` — the ship action on approval. ## 💡 Example The agent drafts a refund-policy change, pauses, and pings you on Telegram. You hit "revise" with a note; it redoes the draft and pings again — and only ships after you approve.
Preview capped at 60,000 characters. Download the bundle for every original file and notice.
Read the redistribution license
MIT License Copyright (c) 2025 Daniel (San) Ávila Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Bundle SHA-256: ae29335afd5332ab67863de9982ac7f34eaf988537ed715f8222fc08d3735c92. Files are served as downloads and are never executed by this page.