iteration-manager

Orchestrate container-based CFN Loop execution for docker-based agents.

14|2|Updated Sep 23, 2025
One-click install
npx skills add https://github.com/masharratt/claude-flow-novice --skill iteration-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iteration-manager
Source: https://github.com/masharratt/claude-flow-novice/tree/main/.claude/cfn-loop-orchestration-v2/lib/orchestrator/src/helpers/iteration-manager.ts
Command: npx skills add https://github.com/masharratt/claude-flow-novice --skill iteration-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Oversees iteration progression and wakes agents for the next iteration with feedback.

Core Features & Use Cases

  • prepareIteration: Compute nextIteration and capture feedback.
  • wakeAgents: Generate wake signals for agents for the next iteration.

Quick Start

Call prepareIteration({ currentIteration, feedback }) to prepare the next iteration.

Frequently Asked Questions about iteration-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage CFN Loop iterations across Docker-based agents?

Manage CFN Loop iterations by calling prepareIteration to compute the next iteration and capture feedback, then use wakeAgents to generate wake signals that trigger agents for the subsequent iteration. This orchestrates container-based execution, collects confidence scores, and applies gate checks across dockerized workflows.

What happens during each iteration in a Docker-based CFN Loop workflow?

Each iteration performs task analysis, stores context in Redis, spawns agents, monitors loop execution, applies gate checks, collects consensus scores, and executes GOAP-driven decision flows with configurable thresholds. The iteration manager coordinates these steps and prepares feedback for the next cycle.

Can I use iteration-manager with Loop 2 validators and Loop 3 implementers?

Yes, iteration-manager applies to both Loop 2 validators and Loop 3 implementers. It manages execution progression, collects confidence scores and consensus from both validator and implementer agents, and triggers Product Owner decisions based on configurable iteration limits and thresholds.

How do I prepare feedback for the next iteration in a CFN Loop?

Call prepareIteration with the current iteration number and feedback data as input. The function computes the nextIteration value and structures feedback to pass to wakeAgents, which then generates signals that notify agents to resume with updated context.

What data does iteration-manager store and where?

Iteration-manager stores agent context in Redis during loop execution. This includes task analysis results, agent state, confidence scores, and consensus data needed for gate checks and GOAP-driven decision flows across the iteration cycle.

When should I use configurable thresholds versus default iteration limits?

Use configurable thresholds when you need fine-grained control over consensus requirements or confidence score gates specific to your workflow. Use default iteration limits when standard progression is sufficient; both are adjustable to balance between agent convergence time and decision quality.