---
title: assigned_card_id for units stores card name instead of unique identifier
source: phase-20-uat
priority: medium
created: 2026-04-11
---

When assigning a unit to a card, the `assigned_card_id` field in the ww-unit issue body stores the card's display name (e.g., "tupper - VRChat") instead of a unique identifier (e.g., the card_id UUID). Card names are derived from recipient names and are not guaranteed unique.

## Impact

- Ambiguous assignment when multiple cards share the same recipient name
- Fragile link that breaks if the recipient name changes

## Likely Fix

The `card_id_str` passed through assignment callbacks should be the actual `card_id` (package_id) from SQLite, not the display name. Trace the value from the Slint callback source to verify what's being passed.
