Pattern: Plan verification loop

Before any execution, run the generated plan through an automated checker across multiple quality dimensions, revising until it passes — a gate that prevents flawed plans from reaching code. In GSD, gsd-plan-checker verifies plans across eight dimensions with up to three revision cycles inside gsd-plan-phase.

GSD:

Spec Kit:

BMAD:

  • bmad-check-implementation-readiness — cross-document completeness gate over the whole planning set (PRD + UX + architecture + epics), returning PASS / CONCERNS / FAIL before any story is built.

A third framework promotes this to a three-framework pattern. The gates differ in what they check: GSD scores a single plan on eight quality dimensions, Spec Kit checks consistency and coverage across multiple artifacts (spec ↔ plan ↔ tasks) plus constitutional compliance, and BMAD checks completeness across the full planning document set before implementation.

Compound Engineering:

  • ce-doc-review — gates the requirements/plan with a reviewer-persona fan-out before execution.
  • ce-spec-flow-analyzer — surfaces missing flows / ambiguous requirements / edge cases before implementation.

gstack:

In Fowler’s harness engineering terms this is an inferential sensor run at the earliest useful point — a feedback control on the plan before any code exists (topic-harness-engineering).

See Also