Run the architecture boundary review — procedure
Procedure for architecture classification, layering and boundary analysis, and minimal structural remediation from inspected materials.
Purpose
When to use this
Use this section to decide whether this workflow is the right fit before you configure prompts, policies, or reference material.
Workflow assets
Required workflow assets
Open the prompts, policies, and reference pages needed to run this workflow correctly.
Implementation procedure
Step-by-step implementation procedure
Follow the workflow in order. Each step gives one action and one verification check before continuing.
-
Runtime prompt layer
State the review target
Say what should be evaluated: architecture structure, boundary correctness, dependency direction, state ownership, interface boundaries, or another specific architecture concern.
- Action
- Provide the review goal, inspected materials, constraints, and optional intended boundary rules.
- Verify
- The target is architectural, not a general implementation, security, or performance review.
-
Instruction layer
Load the provided-material evidence boundary
Apply the facts-only artifacts-only system prompt so the review stays grounded in inspected materials by default.
- Verify
- The run does not use external or memory-based architecture claims unless explicitly allowed.
-
Instruction layer
Load the architecture review scope
Apply the architecture boundary review system prompt.
- Verify
- The review scope is limited to architecture structure, layering, boundaries, ownership, dependency direction, interfaces, state ownership, and coupling.
-
Runtime prompt layer
Load the runner
Apply the architecture boundary review user prompt and append the goal, materials, constraints, and optional boundary rules.
- Verify
- Goal, materials, and constraints are present before the run starts.
-
Runtime prompt layer
Add coverage controls only when needed
Use exhaustive scanning for repository snapshots, ZIPs, or many files. Use read-all handling when the input is smaller but must be inspected completely.
- Action
- Add only the input-coverage component that matches the material size.
- Verify
- The run declares what was inspected and does not imply complete coverage without a coverage control.
-
Verification layer
Run the review in the required output order
The output must include context snapshot, evidence-based architecture classification, boundary findings, change set plan, and confidence.
- Action
- Keep output sections separated and evidence-bound.
- Verify
- Architecture classification is marked NOT VERIFIED when supplied material is insufficient.
-
Verification layer
Check the boundary of the result
Confirm that the output uses only inspected materials for architecture evidence, does not invent hidden architecture, stays inside architecture scope, and proposes minimal changes.
- Action
- Revise or stop when the result exceeds the selected evidence boundary.
- Verify
- Findings are scoped, supported, and minimal.
Verification checklist
Use this checklist before accepting the output, publishing it, or using it as evidence for a downstream workflow.