Run an evidence-grounded software architecture audit workflow that builds a repo brief, selects single-auditor or specialist-panel mode, inspects boundary, layering, dependency, composition, cohesion, and testability risks, writes required finding blocks, and sequences incremental refactors. Use when asked for an architecture audit, architecture review, repo-structure review, software architecture report, audit_report.md, structural issue findings, or specialist-panel synthesis across multi-module systems.
100
100%
Does it follow best practices?
Impact
100%
1.85xAverage score across 3 eval scenarios
Passed
No known issues
This reference covers the architecture audit sequence: build a factual repo brief, choose audit mode, gather direct evidence, and synthesize findings.
Read the strongest available sources of truth first:
README*Assemble a repo brief that states:
Audit mode: single-auditor or Audit mode: specialist-panelUse single-auditor mode when the target is narrow enough to reason about in one pass.
Use specialist-panel mode when the repo is full-project scope or spans multiple independently meaningful modules or layers.
State the selected mode explicitly in the final report's ## Repo Brief. Do not leave mode selection implicit in the analysis prose.
Specialist roles:
In specialist-panel mode, give every specialist the same factual repo brief. Run the specialist passes in parallel when the available tools support parallel execution; otherwise run them sequentially. Synthesize the specialist outputs into one final report by deduplicating overlapping symptoms, keeping the root causes, resolving conflicts in favor of direct evidence, and collapsing the results into the required section order.
Inspect the codebase for direct evidence of:
Prefer direct evidence over architectural intent. Read the most likely source files before making a claim.
Prioritize issues by leverage, not by abstract purity. Distinguish root boundary failures from dependency direction and composition problems, change-friction smells, and missing test seams that block safe restructuring.
Every full finding must be grounded in specific evidence and assigned to exactly one primary category section in the final report. Deduplicate symptoms that share a root cause. Move ambiguous evidence to ## Open Evidence Gaps.
This phase is done when: