{
  "id": "backend",
  "version": "1.1.0",
  "description": "Backend-focused rubric. Higher weight on architecture, security, and package health. Deterministic-validator rubric — approve threshold aligned to the single bar 9 from MORPH.md §0.",
  "categories": {
    "functionality": {
      "weight": 0.25,
      "validators": ["contract-compliance"],
      "description": "Core feature correctness and contract compliance"
    },
    "code_quality": {
      "weight": 0.25,
      "validators": ["architecture", "reuse"],
      "description": "Architecture patterns, dependency direction, code structure, and reuse of what the codebase already has"
    },
    "design_ui": {
      "weight": 0.05,
      "validators": ["design-system", "css", "contrast", "nextjs-component"],
      "description": "Design system compliance (minimal weight for backend projects)"
    },
    "security": {
      "weight": 0.15,
      "validators": [],
      "description": "Security posture (agent-evaluated, no automated validator)"
    },
    "packages": {
      "weight": 0.20,
      "validators": ["packages"],
      "description": "Dependency health, version compatibility, and deprecated packages"
    },
    "maf_compliance": {
      "weight": 0.10,
      "validators": [],
      "description": "MAF agent compliance (agent-evaluated, applies only when the feature touches AI agents): Microsoft.Agents.AI GA packages used; Model Registry alias referenced not hardcoded models; structured output for pipelined agents; prompts from DB not hardcoded; no Semantic Kernel; no hosted agent services."
    }
  },
  "thresholds": {
    "approve": 9.0,
    "retry": 6.0
  }
}
