{
  "schema_version": "spec-first.workflow-eval-fixtures.v1",
  "skill": "spec-code-review",
  "description": "Examples-as-context for spec-code-review trigger and boundary coverage. They are not a deterministic router.",
  "source_refs": ["skills/spec-code-review/SKILL.md", "skills/spec-code-review/references/review-output-template.md"],
  "source_ref_authority": "source",
  "cases": [
    {
      "id": "review-current-branch-before-pr",
      "input": "Review the current branch diff before I open a PR.",
      "coverage_tags": ["trigger", "code-review"],
      "expected_outcome": "Run scoped code review against the current diff and lead with actionable findings."
    },
    {
      "id": "report-only-review-with-plan",
      "input": "$spec-code-review mode:report-only base:main plan:docs/plans/example-plan.md",
      "coverage_tags": ["trigger", "report-only"],
      "expected_outcome": "Run report-only review scoped to the requested base and plan context."
    },
    {
      "id": "markdown-plan-review-boundary",
      "input": "Review docs/plans/example-plan.md for requirements gaps.",
      "coverage_tags": ["boundary", "doc-review-routing"],
      "expected_outcome": "Route requirements or plan-only Markdown review to spec-doc-review.",
      "boundary_note": "spec-code-review reviews implementation diffs, not standalone plan quality."
    },
    {
      "id": "codex-subagent-authorization-boundary",
      "input": "$spec-code-review this diff with no mention of subagents or parallel personas.",
      "coverage_tags": ["boundary", "dispatch-boundary"],
      "expected_outcome": "Use the documented single-agent/report-only fallback when Codex dispatch authorization is absent.",
      "boundary_note": "Public workflow admission does not itself authorize Codex spawn_agent."
    },
    {
      "id": "commit-and-pr-boundary",
      "input": "Review the diff, commit it, push it, and create a PR.",
      "coverage_tags": ["boundary", "mutation-boundary"],
      "expected_outcome": "Review only; committing, pushing, and PR creation belong to separate explicit workflows or user-approved steps.",
      "boundary_note": "Code review may apply allowed safe_auto fixes only in modes that permit mutation."
    }
  ]
}
