Architecture Review Loop
A prompt-driven loop that iteratively reviews and refines system architecture based on feedback until formal approval is granted. This loop helps ensure architectural decisions are validated and aligned with project goals through continuous review cycles.
Goal
Resolve architecture feedback
How to Run
Run this loop by executing the kickoff prompt in your coding environment, then iteratively apply feedback using the check command until approval is received.
- 01
Start the Loop
Execute the kickoff prompt to begin the architecture review process with your initial setup and context.
- 02
Run Check Command
After making changes, run the 'architecture review' check command to validate improvements against feedback.
- 03
Inspect Results
Examine the output of the check command to determine if further refinements are needed or if approval has been granted.
- 04
Iterate or Exit
Based on the check results, either make additional refinements and repeat the loop or exit if approval is confirmed.
Workflow Steps
- 01
Implement changes based on architecture feedback and current context
- 02
Run 'architecture review' command to validate changes against feedback
- 03
Analyze check results to identify remaining issues or approval confirmation
- 04
Continue loop if issues remain, exit if approval is granted
Kickoff Prompt
Start the "Architecture Review Loop" loop. Goal: Resolve architecture feedback Max iterations: 10 Between iterations run: architecture review Exit when: Approval granted I'd like to start an architecture review loop. Please analyze the current system architecture in this codebase and provide a comprehensive review focusing on [SPECIFIC_AREA] based on the following feedback: [FEEDBACK_POINTS]. Begin by documenting the key architectural components and identifying areas that need improvement based on the provided feedback. Self-pace this loop. After each iteration, run `architecture review` and evaluate the output, and only continue if the exit condition is not met (Approval granted). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.
Guardrails
hardcoded- ·Focus only on feedback provided in the architecture review check results
- ·Do not modify core system functionality beyond addressing architecture feedback
- ·Maintain consistency with existing architectural patterns unless explicitly directed otherwise
- ·Preserve context between iterations by referencing previous review points
- ·Avoid introducing new features or components not related to the current feedback
Flow Diagram
Related loops — Review
Review
Address Review Feedback
This loop systematically identifies, analyzes, and resolves unresolved code review comments to improve code quality and ensure all feedback is addressed before merging.
Review
PR Polish Loop
An automated workflow loop that iteratively reviews and improves pull request code quality to achieve merge readiness. This loop focuses on code standards, testing, documentation, and best practices through self-paced agent iterations.
Review
Self-Review Loop
A self-paced loop for coding agents to iteratively review and improve their pull request quality before submission. The agent acts on the codebase, runs automated checks, inspects results, and refines changes until all quality criteria are met.