Skill / SKILL.md

Loop Pipeline Router

AnthonyAlcaraz/agentic-graph-rag-skills

The conditional-edge routing that turns a validate node into a bounded self-correcting loop (Ch5 Loop Pipeline + Error-handling strategies, Examples 5-6/5-9). Consumes a validation result, an error severity (correctable vs fundamental), and a retry budget, and returns exactly one of: proceed, refine (loop back with a remaining retry), fallback (alternative strategy once retries are exhausted), or terminate-with-partial (fundamental error). The finite retry budget is the explicit bound that prevents infinite loops. Use when first-attempt success is unrealistic and validation can identify correctable errors — plan refinement, documentation-gap re-requests, transient-failure recovery. NOT for strict sequential pipelines with no feedback (use a sequential pipeline), NOT for parallel branch reconciliation (that is a merge/tree concern), NOT as a substitute for the validator itself (this routes on the validator's output; it does not validate).
2 views 30 repository stars 0 commentsUpdated Nov 27, 2026
Overview

The conditional-edge routing that turns a validate node into a bounded self-correcting loop (Ch5 Loop Pipeline + Error-handling strategies, Examples 5-6/5-9). Consumes a validation result, an error severity (correctable vs fundamental), and a retry budget, and returns exactly one of: proceed, refine (loop back with a remaining retry), fallback (alternative strategy once retries are exhausted), or terminate-with-partial (fundamental error). The finite retry budget is the explicit bound that prevents infinite loops. Use when first-attempt success is unrealistic and validation can identify correctable errors — plan refinement, documentation-gap re-requests, transient-failure recovery. NOT for strict sequential pipelines with no feedback (use a sequential pipeline), NOT for parallel branch reconciliation (that is a merge/tree concern), NOT as a substitute for the validator itself (this routes on the validator's output; it does not validate).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/AnthonyAlcaraz/agentic-graph-rag-skills' skill-source

Use the complete skill-source/skills/reasoning-planning/loop-pipeline-router directory with your client’s skill installer.

  • skills/reasoning-planning/loop-pipeline-router

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/reasoning-planning/loop-pipeline-router

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c0310c511425df31bf2c352e82ac7f071e55e25f173bf98b3b2ce05a2d06c7c6
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills