# Label taxonomy for mcp-hangar
# Applied by: .github/workflows/labels-sync.yml on every change to this file,
# weekly as a drift catcher, and on demand. scripts/sync-labels.sh is what it
# runs; the script still works by hand.

- name: type/bug
  color: d73a4a
  description: Confirmed defect in shipped behavior

- name: type/chore
  color: cfd3d7
  description: Tooling, deps, repo hygiene; no user-facing change

- name: type/docs
  color: "0075ca"
  description: Documentation only

- name: type/feature
  color: a2eeef
  description: New user-facing capability

- name: type/refactor
  color: bfd4f2
  description: Internal restructuring; no behavior change

- name: scope/core
  color: ededed
  description: src/mcp_hangar/ core package

- name: scope/ci
  color: ededed
  description: GitHub Actions, pre-commit, automation

- name: scope/deps
  color: ededed
  description: Dependency upgrades

- name: scope/docs
  color: ededed
  description: docs/, READMEs, published documentation

- name: scope/infra
  color: ededed
  description: Repo settings, Discussions, Projects, infrastructure

- name: scope/release
  color: ededed
  description: Release process, versioning, hotfix

- name: scope/security
  color: ededed
  description: Security-sensitive paths or fixes

- name: priority/p0-critical
  color: b60205
  description: Production down or active CVE; drop everything

- name: priority/p1-high
  color: d93f0b
  description: Should ship next release

- name: priority/p2-normal
  color: fbca04
  description: Default priority

- name: priority/p3-low
  color: c2c2c2
  description: Nice to have; no deadline

- name: agent-friendly
  color: 0e8a16
  description: Suitable for AI agent (Copilot/Claude) -- well-scoped, <=400 LOC, no sensitive paths

- name: human-required
  color: d93f0b
  description: Must be authored by a human; agent may comment but not open PR

- name: status/blocked
  color: b60205
  description: Cannot progress until external dependency resolves

- name: status/triage
  color: fef2c0
  description: Issue needs initial review; priority and scope not yet assigned

- name: skip-changelog
  color: ededed
  description: PR is exempt from the changelog.d/ fragment requirement (chore/deps, ci, style, test, pure docs)

- name: trivial
  color: cfd3d7
  description: Small/obvious change exempt from PR body structure requirements (typo, comment, version bump)

- name: pinned
  color: "000000"
  description: Long-lived issue; exempt from stale bot
