Planner-generator-evaluator

active / passedfailed criterion
PlannerGeneratorEvaluatorsprint contractRunning appCriterion 1Criterion 2Criterion 3Criterion 4
  1. The planner expands a short prompt into a product spec.
  2. Generator and evaluator negotiate a sprint contract before any code.
  3. The generator builds; the evaluator drives the live app with Playwright.
  4. One failed criterion fails the sprint; bugs feed the next build.
Notes & references

Use when

Long builds where self-evaluation is too lenient to trust.

Avoid

Tasks inside the model’s solo capability: the overhead is large.

spec = planner(prompt)

for sprint in spec:
    contract = negotiate(generator, evaluator, sprint)
    while True:
        generator.build(contract)
        bugs = evaluator.run(contract, playwright)
        if not bugs: break      # every criterion clears its threshold
        generator.receive(bugs)