cyberneticlibrary

Implement feature with review loop

implement-and-reviewworkflowsetup L20
hiranp/polyflow
What it does

Implement And Review

Best for

Iterative code review → fix loops up to 3 rounds, hard-capped.

Requires
  • · agent-orchestration-engine
  • · schema-validation (zod or JSON-schema)
  • · phase-tracking-system
  • · logging-framework
Preconditions
  • · workflow must export meta={name, description, phases}
  • · iteration cap set to 3
  • · multi-phase execution context available
Failure modes
  • · agent output fails schema validation → workflow errors or graceful downgrade
  • · loop terminates at MAX_ROUNDS even if not converged → incomplete results
  • · exception in any agent call propagates up, killing workflow
Trust signals
  • · Structured schemas with required fields and enums
  • · Hard iteration cap prevents runaway loops