CFN Loop workflow orchestration - three-loop structure management with gate checks and consensus...
The ONLY supported entry is:
$HOME/.claude/skills/cfn-loop-orchestration-v2/cli/orchestrate.sh
It routes to cli/resolve-provider-model.cjs via Node. Nothing else in this skill directory is a supported entry point.
In Task Mode (/cfn-loop-task) do NOT use Redis, helpers/, or dist/cli; agents return output directly. CLI/Redis sections apply only to /cfn-loop-cli mode.
The following entry points that earlier versions of this document referenced do NOT exist on disk and must not be invoked or cited:
dist/cli/orchestrator-cli.js (missing)helpers/*.sh (gate-check, consensus, iteration-manager, deliverable-verifier, timeout-calculator: directory missing).claude/skills/redis-coordination/ (skill removed; Redis helpers now live in .claude/skills/cfn-memory-persistence/lib/redis/)Renamed, not missing: the old .claude/skills/cfn-loop-orchestration/test-cfn-orchestration.sh is now test-cfn-orchestration.sh in this directory.
For the mechanical test gate, use the verified script:
$HOME/.claude/skills/cfn-loop-orchestration-v2/cli/gate-check.sh \
--out <test-output-file> --threshold <decimal>
# exit 0 = pass, 1 = fail, 2 = no tests detected (0/0 never passes)
Orchestrates the Complete Fail Never (CFN) Loop workflow, managing the three-loop structure:
1. Spawn Loop 3 Agents
|
2. Collect Loop 3 results (Task Mode: direct output; CLI mode: provider runtime)
|
3. Gate Check (cli/gate-check.sh on coordinator's test output)
|- PASS -> Start Loop 2
|- FAIL -> Iterate Loop 3 with feedback (goto step 1)
|
4. Loop 2 Validates Loop 3 Work
|
5. Collect Loop 2 consensus
|
6. Product Owner Decision
|- PROCEED -> Exit success
|- ITERATE -> Iterate (goto step 1)
|- ABORT -> Exit failure
Single source of truth: .claude/skills/cfn-loop-orchestration-v2/THRESHOLDS.md. Do not restate values here; read that file. Summary of column meanings:
test_pass_rate_gate: passing/total from the coordinator's authoritative test run (decimal). The only gate metric in Task Mode.confidence_gate: agent self-reported confidence, CLI mode only, computed by the mechanical rubric in lib/validation/SKILL.md.consensus: validators voting PASS / validators spawned.max_iter: iteration cap per mode.This skill is considered successful when:
/cfn-loop-task, /cfn-loop-cli) work without modificationcli/gate-check.sh output, never by inline parsing