Skip to main content

Quality-Vector Specialists (2.0.0)

hatch3r 2.0.0 introduces a two-axis pillar framework. The governance axis (P1-P8) defines how the framework operates -- CLI UX, scientific quality, adapter currency, lean coverage, self-quality, security, speed, and clarification/fan-out discipline. The content-quality axis (CQ1-CQ10) defines what the framework produces in end-user code and its upstream spec artifacts. Each of the ten CQ pillars is owned by a specialist agent invoked at quality gates with measurable thresholds and a structured proof_trace contract; CQ10 (Product & Spec Quality, added 2026-07-09) gained its specialist, hatch3r-product-spec, in the Cycle-12 content-gap drain.

See the pillar framework overview for the pillar definitions.

Per-Pillar Specialist Table

PillarSpecialist agentMeasurable threshold
CQ1 UIhatch3r-uiWCAG 2.2 AA conformance, design-token adoption >=95%, four-state surface contract coverage, component-library reuse ratio
CQ2 UXhatch3r-uxFour-state coverage (loading + empty + error + partial), interaction-state matrix, error-recovery paths, copy-deck completeness
CQ3 Securityhatch3r-securityOWASP Agentic Top 10 controls, secrets-management posture, prompt-injection defense, tool-allowlist enforcement
CQ4 Reliabilityhatch3r-reliabilitySLO compliance, named resilience patterns (circuit breaker with declared threshold, retry with backoff), idempotency, replay safety
CQ5 Testabilityhatch3r-testabilityCoverage thresholds (stmt/branch/func/line per maturity tier), deterministic + isolated test design, contract tests for adapters and external surfaces
CQ6 Scalabilityhatch3r-scalabilityDocumented scale targets (N users, M repos, P concurrent agents), resource bounds, back-pressure design
CQ7 Performancehatch3r-performanceLatency budgets per critical path, bundle-size budgets, runtime profiling baseline, regression gates
CQ8 Maintainabilityhatch3r-maintainabilityLean thresholds, cross-file duplication <5%, module cohesion, dead-code budget
CQ9 Enhancabilityhatch3r-enhancabilityExtension-point contracts, customization escape hatches, migration paths, deprecation discipline
CQ10 Product & Spechatch3r-product-specAcceptance-criteria testability 100%, discovery claims evidence-cited 100%, spec-to-outcome traceability 100%

How Specialists Are Invoked

Each specialist agent declares a Phase-4 trigger in its frontmatter -- conditional file patterns that match changes touching its pillar's surface. When hatch3r-board-pickup (or the manual workflow) reaches the final-quality phase, the orchestrator dispatches the specialists whose triggers match the changed files, in parallel. One exception: hatch3r-product-spec (CQ10) dispatches from the shared CQ roster at spec review points while its trigger-table registration is pending.

Each specialist returns a structured proof_trace with the measurements it took, the thresholds it compared against, and an impact_horizon classifier (short / medium / long) attached to every audit finding.

Pillar Compliance Test

Every governance or content change in hatch3r answers six questions:

  1. Which pillar(s) does this change serve, on which axis (governance and/or content-quality)?
  2. What measurable improvement does it produce?
  3. Does it increase governance size? If yes, justify net value exceeding the size cost.
  4. Does it degrade end-user runtime efficiency? If yes, reject or document the offset.
  5. Impact horizon (short / medium / long)?
  6. P8 (clarification & fan-out) dominance over P7 (token efficiency) -- does this change under-fan-out for token-cost reasons? If yes, reject.

Reference