Engineering Quality Gate for Architecture and Code Review
Run an engineering quality gate covering architecture boundaries and standards-backed implementation review.
Purpose
This guide defines a focused engineering quality gate for architecture boundary review and standards-backed implementation review. It helps the user decide whether the task needs structure and boundary review, official-guidance implementation review, or both in sequence. It is not the full code-review hub and does not cover test coverage, regression risk, refactor planning, general code-quality review, or code generation.
When to use this
Use this section to decide whether this workflow is the right fit before you configure prompts, policies, or reference material.
-
Use caseThe review is limited to architecture and implementation correctnessUse this when the approval question is whether design boundaries are correct and whether implementation follows official guidance.
-
Use caseYou need to choose between two focused review pathsUse this when the task may require Architecture Boundary Review, Standards-Backed Implementation Review, or both in sequence.
-
Use caseYou need a focused gate before broader code-review workUse this before opening the full code-review hub when the first decision is whether the issue is structural or standards-backed implementation correctness.
Choose the focused engineering gate path
Use this page only for the architecture plus implementation quality gate. For testing, regression risk, refactor planning, general code quality, or code generation, use the full code review hub.
Run Standards-Backed Implementation Review
Step-by-step implementation procedure
Follow the workflow in order. Each step gives one action and one verification check before continuing.
-
Step 1 · Confirm this is the focused gate
Check whether the task is limited to architecture boundaries and standards-backed implementation correctness.Use the full code review hub instead if testing, regression risk, refactor planning, general code quality, or code generation is part of the task.Check: The review scope is architecture and/or implementation correctness only. -
Step 2 · Choose the dominant review path
Select Architecture Boundary Review when the problem is structure. Select Standards-Backed Implementation Review when the problem is correctness against official guidance.Choose one path first instead of merging both review contracts into one prompt.Check: The selected path matches the dominant engineering question. -
Step 3 · Provide the right evidence for the selected path
Architecture review needs structural evidence. Standards-backed implementation review needs code or configuration plus authoritative guidance or a clear source boundary.Attach the relevant code, configuration, architecture context, dependency information, official documentation, or supplied source material.Check: The supplied evidence is sufficient for the selected review path. -
Step 4 · Run the selected procedure
Open the selected procedure and run it with the prepared material.Use the architecture procedure for structure and boundaries. Use the standards procedure for implementation correctness against guidance.Check: The procedure output stays inside the selected review boundary. -
Step 5 · Run both only when both are needed
When both focused reviews are required, run Architecture Boundary Review first, then Standards-Backed Implementation Review.Do not combine both contracts into one unstructured review. Use two passes and keep findings separated.Check: Architecture findings and implementation findings are separated and supported by the relevant evidence.
Verification checklist
Use this checklist before accepting the output, publishing it, or using it as evidence for a downstream workflow.
-
ScopeThe gate stayed focusedThe review did not expand into test coverage, regression risk, refactor planning, general code-quality review, or code generation.
-
RoutingThe selected path matches the dominant issueArchitecture review is used for structure and boundaries. Standards-backed implementation review is used for implementation correctness against authoritative guidance.
-
EvidenceThe required material is availableArchitecture findings are supported by structural evidence, and implementation findings are supported by code/configuration plus authoritative guidance or supplied source material.
-
OrderDual review runs in the correct orderWhen both reviews are needed, architecture runs first, then implementation review.
-
SeparationFindings are not mixedArchitecture findings, implementation findings, missing evidence, and next actions are separated.