`:
```tsx
updateClassification.mutate({
itemId: item.id,
classification: nextClassification(item.classification),
})}
/>
```
- Alternatively, the badge can go inside the card's badge row if preferred. Use discretion on exact placement -- it should be near the weight/price badges but distinct.
7. **Run all tests** to verify nothing broken.
bun test tests/routes/setups.test.ts && bun test tests/services/setup.service.test.ts
- PATCH /api/setups/:id/items/:itemId/classification endpoint works (200 for valid, 400 for invalid)
- ClassificationBadge renders on each item card in setup detail view with muted gray styling
- Clicking the badge cycles classification: base weight -> worn -> consumable -> base weight
- Badge click does NOT open the item edit panel (stopPropagation works)
- Classification change persists after page refresh
- GET /api/setups/:id returns classification field for each item
```bash
# All tests pass
bun test
# Classification service tests specifically
bun test tests/services/setup.service.test.ts -t "classification"
# Classification route tests specifically
bun test tests/routes/setups.test.ts -t "classification"
```
- Classification badge visible on every item card in setup detail view (not hidden for default)
- Click cycles through base weight -> worn -> consumable -> base weight
- Badge uses muted gray styling (bg-gray-100 text-gray-600) consistent with Phase 8 status badges
- Default classification is "base" for newly added items
- syncSetupItems preserves classifications when items are added/removed
- Same item in different setups can have different classifications
- All existing tests continue to pass