Commit f172409
fix: use String keys for task→goal mapping to support non-UUID A2A task IDs
Third contract review found that task_to_federated_goal used Uuid keys,
silently dropping the mapping when a child swarm returns a non-UUID task
ID (valid per A2A spec). This would deadlock SwarmDag execution since
FederatedGoalConverged events would never emit for the affected node.
Changed HashMap<Uuid, Uuid> to HashMap<String, Uuid> so any A2A task ID
format is tracked correctly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 74ad560 commit f172409
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
940 | | - | |
| 940 | + | |
941 | 941 | | |
942 | | - | |
| 942 | + | |
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
| |||
1244 | 1244 | | |
1245 | 1245 | | |
1246 | 1246 | | |
1247 | | - | |
| 1247 | + | |
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
| |||
0 commit comments