id: no-status-chip-markup
language: tsx
severity: error
message: Status chips must use StatusChip instead of local status colors or pill markup
note: '{"severity":"high","category":"componentization","resolution":"Use StatusChip from @overdeck/deck-ui."}'
files:
  - 'apps/web/src/**'
  - 'packages/deck-ui/src/**'
  - '**/.slopgate/fixtures/**'
ignores:
  - '**/StatusChip.tsx'
  - '**/*.test.tsx'
rule:
  any:
    - all:
        - kind: string
        - regex: 'rounded-full[^\n]*border[^\n]*px-2'
    - all:
        - kind: identifier
        - regex: '^STATUS_(COLOR_)?CLASSES?$'
