/hypr:build-chunk

Implement and review a chunk in one go. Orchestrates the full implement → review → fix cycle until the chunk is approved.

Usage

/hypr:build-chunk features/feature-001-auth.md chunk 1 /hypr:build-chunk feature-002 chunk 3 /hypr:build-chunk "Create login API endpoint"

Aliases: /hypr:bc, /hypr:build

Description

Combines /hypr:implement and /hypr:review into a single loop. Runs implementation, then review, and iterates on fixes until the chunk is approved or the cycle limit is reached.

Cycle

  1. Implement — follow the per-file loop in the appropriate executor agent.
  2. Review — check pattern compliance, acceptance criteria, and test coverage.
  3. Evaluate outcome — APPROVED exits the cycle, CHANGES REQUESTED triggers fixes and another review, BLOCKED stops and escalates to the user.

Cycle Limits

Maximum of 3 review cycles. After 3 failed reviews, the build pauses and asks whether to keep trying, mark as implemented anyway, or revisit the plan.

Success Criteria

  • All files implemented following project patterns
  • All acceptance criteria met
  • Tests exist and pass (if applicable)
  • Review status is APPROVED
  • Feature document updated with final status

Related Commands