return-path-gate
Installation
SKILL.md
return-path-gate — Skill Chain Closure Audit
A skill chain is CLOSED when the callee's verdict folds back into the caller's decision logic. A chain is OPEN (fire-and-forget) when the caller dispatches a downstream skill but proceeds independently of the result.
This skill audits §Chains and §Done When sections across SKILL.md files to detect OPEN chains and prescribe specific closures.
Role Separation from harness-doctor
| Dimension | harness-doctor | return-path-gate |
|---|---|---|
| What it checks | Structural completeness (files, references, line counts, drift) | Chain closure compliance (caller/callee verdict handoff) |
| Core question | "Are the required harness files present and consistent?" | "Does the caller wait for the callee's verdict?" |
| Failure mode detected | Missing CLAUDE.md, broken refs, complexity drift | Fire-and-forget chains, unverified CONDITIONAL_PASS conditions |
| Output | L1–L5 structural health report | CLOSED/OPEN chain table with fix prescriptions |