Paths: File paths (
references/,../ln-*) are relative to this skill directory.
Type: L2 Coordinator Category: 6XX Audit
Pattern Evolution Auditor
Mandatory Read
MANDATORY READ: Load references/evaluation_coordinator_runtime_contract.md, references/evaluation_summary_contract.md, references/evaluation_research_contract.md
MANDATORY READ: Load references/audit_final_report_contract.md
MANDATORY READ: Load references/architecture_audit_worker_boundaries.md
MANDATORY READ: Load references/research_tool_fallback.md
Conditional read: load references/epistemic_protocol.md only when source confidence or claim uncertainty affects issue validation.
Purpose
- audit architecture/design evolution: pattern fitness, layer ownership, service/API contracts, dependency topology, modernization, physical structure, and configuration boundaries
- coordinate exactly
ln-641throughln-647 - require research before pattern scoring
Runtime Contract
Runtime family:
evaluation-runtime
Identifier:
pattern-audit
Phase order:
PHASE_0_CONFIGPHASE_1_DISCOVERYPHASE_2_RESEARCHPHASE_3_BOUNDARY_AUDITSPHASE_4_PATTERN_ANALYSISPHASE_5_AGGREGATEPHASE_6_REPORTPHASE_7_SELF_CHECK
Worker Set
ln-641-pattern-fitness-auditorln-642-layer-ownership-boundary-auditorln-643-api-contract-auditorln-644-dependency-topology-auditorln-645-architecture-modernization-auditorln-646-project-structure-auditorln-647-configuration-boundary-auditor
Worker Invocation (MANDATORY)
Host Skill Invocation: Skill(skill: "...", args: "...") is mandatory delegation.
- Claude: call the Skill tool exactly as shown.
- Codex: if no Skill tool exists, locate the named skill in available skills, read its
SKILL.md, treatargsas$ARGUMENTS, execute that skill workflow, then return here with its result/artifact. - Do not inline worker logic or mark the worker complete without executing the target skill.
Use the Skill tool for delegated workers. Do not inline worker logic inside the coordinator.
TodoWrite format (mandatory):
Resolve audit scope and build manifestLoad architecture patterns and layersRun best-practice researchRun boundary and contract auditsAnalyze pattern compliance and gapsAggregate worker findingsGenerate final audit report and remediation planVerify cleanup and self-check
Representative invocations:
Skill(skill: "ln-641-pattern-fitness-auditor", args: "{scope}")
Skill(skill: "ln-642-layer-ownership-boundary-auditor", args: "{scope}")
Skill(skill: "ln-643-api-contract-auditor", args: "{scope}")
Skill(skill: "ln-644-dependency-topology-auditor", args: "{scope}")
Skill(skill: "ln-645-architecture-modernization-auditor", args: "{scope}")
Skill(skill: "ln-646-project-structure-auditor", args: "{scope}")
Skill(skill: "ln-647-configuration-boundary-auditor", args: "{scope}")
Workflow
- Start
evaluation-runtime. - Discover candidate patterns and applicability.
- Run mandatory research first:
- official docs or standards
- MCP Ref
- Context7 when library/framework patterns are involved
- current web best-practice research
- Run boundary audits before pattern scoring.
- Run pattern analysis only after boundary results and research exist.
- Aggregate scores and worker findings by reading every worker
report_path, normalizing actions fromreferences/architecture_audit_worker_boundaries.md, deduplicating issues, resolving worker conflicts, and validating actionable problems againstreferences/evaluation_research_contract.md. - Write
.hex-skills/runtime-artifacts/runs/{run_id}/audit-report/ln-640--final-report.mdwith remediation plan perreferences/audit_final_report_contract.md. - Remove temporary worker markdown reports and record cleanup evidence.
- Write the
evaluation-coordinatorsummary withreport_pathset to the final report.
Definition of Done
- [ ] Evaluation runtime started
- [ ] Pattern applicability resolved
- [ ] Best-practice research completed
- [ ] Boundary audit summaries recorded
- [ ] Pattern analysis summaries recorded
- [ ] Worker set remained exactly
ln-641throughln-647 - [ ] Worker conflicts resolved with
architecture_audit_worker_boundaries.md - [ ] Final report and remediation plan written
- [ ] Temporary worker markdown reports removed
- [ ]
evaluation-coordinatorsummary written - [ ] Runtime completed
Meta-Analysis
Optional reference: load references/meta_analysis_protocol.md only when the user asks for post-run meta-analysis or protocol-formatted run reflection.
When requested after the coordinator run, analyze the session per protocol section 7 and include the protocol-formatted output with the final pattern audit result.
References
- Workers:
../ln-641-pattern-fitness-auditor/SKILL.md,../ln-642-layer-ownership-boundary-auditor/SKILL.md,../ln-643-api-contract-auditor/SKILL.md,../ln-644-dependency-topology-auditor/SKILL.md,../ln-645-architecture-modernization-auditor/SKILL.md,../ln-646-project-structure-auditor/SKILL.md,../ln-647-configuration-boundary-auditor/SKILL.md - Shared pattern refs:
references/layer_rules.md; pattern and scoring manuals are local to../ln-641-pattern-fitness-auditor/references/
Version: 2.0.0 Last Updated: 2026-02-08