mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 21:39:54 +02:00
`pickAssigneeFromFlags` previously branched on `flag value != ""`, so explicitly passing an empty UUID silently routed through the "no flag set" path: multica issue list --assignee-id "" # listed every issue multica issue create --assignee-id "" # created an unassigned issue multica issue subscriber add --user-id "" # subscribed the caller This is exactly the failure mode the strict-UUID flag was added to prevent — a script interpolating `--assignee-id "$MAYBE_UUID"` against a missing env var should fail loudly, not silently degrade to a different operation. Switch the picker (and the assign-command top-level guard) to use `Flags().Changed`, so an explicit empty value reaches `resolveAssigneeByID` / `resolveAssignee` and surfaces a clear "expected a canonical UUID" / "no member or agent found matching" error. Co-authored-by: multica-agent <github@multica.ai>