{
  "schema_version": "spec-first.workflow-eval-fixtures.v1",
  "skill": "spec-debug",
  "description": "Examples-as-context for spec-debug trigger and boundary coverage. They are not a deterministic router.",
  "source_refs": ["skills/spec-debug/SKILL.md"],
  "source_ref_authority": "source",
  "cases": [
    {
      "id": "failing-test-stack-trace",
      "input": "npx jest tests/unit/example.test.js fails with TypeError: cannot read property 'id' of undefined.",
      "coverage_tags": ["trigger", "failure"],
      "expected_outcome": "Reproduce or record why reproduction is not possible, trace the causal chain, fix one scoped cause, and rerun the feedback loop."
    },
    {
      "id": "repeated-failed-fix-attempts",
      "input": "I already tried two fixes and the same test still fails; debug why.",
      "coverage_tags": ["trigger", "failure", "hypothesis-ledger"],
      "expected_outcome": "Invalidate contradicted evidence, form a new hypothesis, and prove root cause before another fix."
    },
    {
      "id": "feature-planning-boundary",
      "input": "Design a new retry feature and plan how to implement it.",
      "coverage_tags": ["boundary", "planning-routing"],
      "expected_outcome": "Route feature planning to spec-plan or spec-work depending on plan readiness.",
      "boundary_note": "Spec-debug is for broken behavior and root-cause work, not new feature design."
    },
    {
      "id": "code-review-boundary",
      "input": "Review this completed diff for bugs before PR.",
      "coverage_tags": ["boundary", "review-routing"],
      "expected_outcome": "Route implementation-quality review to spec-code-review.",
      "boundary_note": "Reviewing a completed diff is not root-cause debugging unless a concrete failure is present."
    },
    {
      "id": "unreproducible-failure-honesty",
      "input": "A production-only bug happened once, but no logs, steps, or environment are available.",
      "coverage_tags": ["boundary", "failure"],
      "expected_outcome": "Record the missing reproduction condition and avoid claiming confirmed root cause.",
      "boundary_note": "Unreproducible bugs need honest degraded evidence, not fabricated causality."
    }
  ]
}
