File size: 157,587 Bytes
360df42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
- id: context_menu-antd-v2-T01
  name: 'Gamma cell: scroll to Export as CSV from compact table menu'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu (scrollable)'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: In the compact table, open the context menu on the Gamma row’s Total cell and select “Export as CSV”. The task will finish automatically when done.
  ui_copy: In the compact table, open the context menu on the Gamma row’s Total cell and select “Export as CSV”. The task will finish automatically when done.
  setup_description: Layout uses table_cell with compact spacing, small text, off-center placement, and medium clutter from filter chips and a summary strip. The table has four rows (Alpha, Beta, Gamma, Delta); only the Total cell in the Gamma row opens a custom context menu on right-click. The AntD Dropdown uses trigger=['contextMenu'] and is attached to the cell, with a fixed-height Menu that scrolls internally. The menu contains about 22 actions, including Copy, Copy as JSON, Pin column, Hide column, Sort ascending, Sort descending, Export as PDF, and Export as CSV near the bottom. Export as CSV is not initially visible. The browser’s native context menu must not count. Activating an item closes the menu and records the activated path.
  scene_context:
    theme: light
    spacing: compact
    layout: table_cell
    placement: off_center
    scale: small
    instances: '1'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: true
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: table
  design_intent:
    active_factors:
    - layout
    - internal_scroll_region
    - spacing
    factor_rationale: This task uses a dense table-cell carrier and an internally scrollable context menu so the challenge comes from correct right-click invocation, overlay-specific scrolling, and avoiding page scroll or wrong-cell activation.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 4
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: The menu target is hidden below the fold inside a compact overlay, and the table context adds acquisition noise even though the final action is discrete.
  success_trigger:
    human_readable:
    - The activated item path equals ['Export as CSV'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Export as CSV
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Gamma__Total
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Right-clicking a different Gamma cell or any cell in another row.
  - Scrolling the page instead of the menu overlay.
  - Selecting “Export as PDF” or any other nearby export action.
  - Opening the browser’s native context menu instead of the custom AntD menu.
  expected_interaction_path:
  - Right-click the Total cell in the Gamma row.
  - Scroll inside the context menu until “Export as CSV” is visible.
  - Click “Export as CSV”.
  notes: Expose a dedicated menu scroll container and the last_activated_item_path; the checker should also validate the target cell instance.
- id: context_menu-antd-v2-T02
  name: 'Shard node: Move → Under Archive → As child'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + nested Menu'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: In the service tree, open the context menu for “Shard 3 and select Move  Under Archive  As child. The task will finish automatically when done.
  ui_copy: In the service tree, open the context menu for “Shard 3 and select Move  Under Archive  As child. The task will finish automatically when done.
  setup_description: 'Layout uses inline_surface inside a settings panel with compact spacing, high clutter, and top-left placement. A small service tree is embedded between unrelated toggles and status banners. The visible nodes include Cluster A, Shard 1, Shard 2, Shard 3, and Archive. Right-clicking a node opens an AntD context menu. The menu uses nested submenus: Move ▸, Under Archive ▸, then leaf items As sibling and As child. Submenus open as separate popouts; because the tree is near the left side, the top-level menu opens to the right and the third panel stays narrow. Only Shard 3 is the target node.'
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: top_left
    scale: small
    instances: 4_plus
    guidance: text
    clutter: high
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: tree
  design_intent:
    active_factors:
    - instances
    - layout
    - overlay_model
    factor_rationale: The key pressure is choosing the correct tree node in a crowded settings surface and then tracking a three-step submenu path across multiple popout overlays.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 5
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 5
    justification: Three overlay levels plus a crowded tree carrier make this a high-layering, high-disambiguation path-selection task.
  success_trigger:
    human_readable:
    - The activated item path equals ['Move', 'Under Archive', 'As child'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Move
        - Under Archive
        - As child
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Shard 3
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Opening the menu on Shard 1, Shard 2, Archive, or Cluster A instead of Shard 3.
  - Selecting Move  Under Archive  As sibling.
  - Opening Move or Under Archive but never activating the final leaf item.
  - Selecting a top-level action like Rename or Inspect instead.
  expected_interaction_path:
  - Right-click the Shard 3 tree node.
  - Open Move, then Under Archive.
  - Click As child.
  notes: Record the full activated path and the target node label separately so submenu success cannot be credited to the wrong node.
- id: context_menu-antd-v2-T03
  name: 'Sandbox B editor: set four View toggles'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu (submenu with checkable items)'
  task_template: select_many
  secondary_template: null
  browsergym_goal: Open the context menu for the editor labeled “Sandbox B” and in View set Line numbers ON, Word wrap ON, Diagnostics ON, and Minimap OFF. Then leave the menu state committed. The task will finish automatically when done.
  ui_copy: Open the context menu for the editor labeled “Sandbox B” and in View set Line numbers ON, Word wrap ON, Diagnostics ON, and Minimap OFF. Then leave the menu state committed. The task will finish automatically when done.
  setup_description: Layout uses drawer_flow with compact spacing, off-center placement, and medium clutter. A right-side drawer titled “Editor preferences” is already open and contains two code-preview panes labeled Sandbox A and Sandbox B. Right-clicking inside either pane opens an AntD context menu. The View submenu stays open while toggling checkable items and is configured so item clicks do not close the parent menu. In Sandbox B, the initial View state is Line numbers OFF, Word wrap OFF, Diagnostics OFF, Minimap ON. Sandbox A has a different starting state and must not be changed. The drawer footer has a non-interactive Close button only; the toggles auto-apply.
  scene_context:
    theme: light
    spacing: compact
    layout: drawer_flow
    placement: off_center
    scale: small
    instances: '2'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: drawer
  design_intent:
    active_factors:
    - instances
    - overlay_model
    - spacing
    factor_rationale: The challenge is not one toggle; it is targeting the correct editor inside a drawer, opening the correct submenu, and finishing with an exact four-flag state while the sibling editor remains untouched.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 4
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: This is hard because it combines duplicate editor disambiguation with a submenu that must remain open across multiple state changes.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Sandbox B', the View checked states match Line numbers=true, Word wrap=true, Diagnostics=true, Minimap=false.
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Line numbers: true
          Word wrap: true
          Diagnostics: true
          Minimap: false
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Sandbox B
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Applying the required toggles to Sandbox A instead of Sandbox B.
  - Setting only some of the required flags or leaving Minimap ON.
  - Closing the menu before the final state matches.
  - Changing unrelated submenu sections such as Theme or Indentation instead.
  expected_interaction_path:
  - Right-click inside Sandbox B.
  - Open the View submenu.
  - Toggle the four required options until the final state matches exactly.
  notes: Check only the four named View keys for success; incidental changes elsewhere should not count toward completion.
- id: context_menu-antd-v2-T04
  name: 'Dashboard preview: Reset layout and confirm'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu + inline confirm row'
  task_template: confirm_cancel
  secondary_template: null
  browsergym_goal: Open the context menu for the “Dashboard preview” area, click “Reset layout…”, then click “Reset” to confirm. The task will finish automatically when done.
  ui_copy: Open the context menu for the “Dashboard preview” area, click “Reset layout…”, then click “Reset” to confirm. The task will finish automatically when done.
  setup_description: Layout uses settings_panel with compact spacing, off-center placement, and high clutter from sliders, switch rows, drag handles, and widget chips. A central preview rectangle labeled “Dashboard preview” supports a custom right-click menu. The AntD menu contains Add widget, Arrange automatically, and Reset layout…. Choosing Reset layout… does not finish the task; instead, the same overlay grows an inline destructive confirmation footer with Cancel and Reset buttons. The action only commits when Reset is clicked in that footer.
  scene_context:
    theme: light
    spacing: compact
    layout: settings_panel
    placement: off_center
    scale: default
    instances: '1'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: explicit_confirm
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - clutter
    - confirmation_model
    - layout
    factor_rationale: The menu is embedded in a busy settings surface and the destructive action requires a second explicit confirmation inside the same transient overlay, so the task tests menu persistence and post-selection verification.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 4
      feedback_dynamics: 5
      semantic_observability: 3
      disambiguation_load: 3
    justification: The visible action is easy to name, but confirming the destructive action inside a noisy settings surface is exactly the kind of transient-overlay tracking v1 under-tested.
  success_trigger:
    human_readable:
    - The pending action ['Reset layout'] is confirmed via the 'Reset' control inside the context menu overlay.
    canonical_predicate:
      predicate_type: equals
      target_state:
        confirmed_action_path:
        - Reset layout
        confirmation_result: confirmed
      tolerance: null
      require_confirm: true
      confirm_control: Reset
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Clicking Reset layout… and then dismissing the menu without pressing Reset.
  - Clicking Cancel instead of Reset.
  - Choosing Arrange automatically or Add widget.
  - Opening the menu on some other element in the settings panel.
  expected_interaction_path:
  - Right-click the Dashboard preview area.
  - Click Reset layout….
  - Click Reset in the inline confirmation footer.
  notes: Keep the confirmation footer inside the same AntD overlay so the primary component remains the context menu.
- id: context_menu-antd-v2-T05
  name: 'API key C9D1: revoke flow must be cancelled'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu + inline confirm row'
  task_template: confirm_cancel
  secondary_template: null
  browsergym_goal: In the token drawer, open the context menu for “API key C9D1”, choose “Revoke key…”, and then click “Cancel”. The task will finish automatically when done.
  ui_copy: In the token drawer, open the context menu for “API key C9D1”, choose “Revoke key…”, and then click “Cancel”. The task will finish automatically when done.
  setup_description: 'Layout uses drawer_flow in dark theme with compact spacing and medium clutter. A left-side drawer titled “Service tokens” is open and lists four keys: A1B2, B7E4, C9D1, and D3K8. Each row supports a context menu on right-click. The menu contains Copy key ID, Rename, and Revoke key…. Selecting Revoke key… reveals Cancel and Revoke in the same overlay footer. The goal is specifically to cancel the revoke flow for C9D1; the other keys must not be targeted.'
  scene_context:
    theme: dark
    spacing: compact
    layout: drawer_flow
    placement: bottom_left
    scale: small
    instances: 4_plus
    guidance: text
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: explicit_confirm
    precision_surface: discrete
    secondary_supporting_primitive: drawer
  design_intent:
    active_factors:
    - instances
    - theme
    - confirmation_model
    factor_rationale: The hard part is choosing the correct key in a compact dark drawer and then taking the non-destructive branch of a destructive confirmation flow.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 4
      feedback_dynamics: 5
      semantic_observability: 3
      disambiguation_load: 5
    justification: This combines high instance confusion with a two-step confirmation where the correct end state is cancellation, not confirmation.
  success_trigger:
    human_readable:
    - The pending action ['Revoke key'] is cancelled via the 'Cancel' control inside the context menu overlay.
    canonical_predicate:
      predicate_type: equals
      target_state:
        cancelled_action_path:
        - Revoke key
        confirmation_result: cancelled
      tolerance: null
      require_confirm: true
      confirm_control: Cancel
      require_correct_instance: true
      target_instance_label_or_id: API key C9D1
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Revoke is confirmed instead of cancelled.
  - The revoke flow is opened for A1B2, B7E4, or D3K8 instead of C9D1.
  - The menu is dismissed without pressing Cancel.
  - Only the row is selected but no confirmation footer action is taken.
  expected_interaction_path:
  - Right-click the row for API key C9D1.
  - Click Revoke key….
  - Click Cancel in the footer.
  notes: Expose both the open_target label and the cancellation result so success cannot be awarded to the wrong token row.
- id: context_menu-antd-v2-T06
  name: 'Reference shortcut: choose Copy signed URL'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu with shortcut text'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Open the context menu for “bundle.tar.gz” and choose the item whose shortcut matches the Reference pill “Ctrl+Shift+U” (Copy signed URL). The task will finish automatically when done.
  ui_copy: Open the context menu for “bundle.tar.gz” and choose the item whose shortcut matches the Reference pill “Ctrl+Shift+U” (Copy signed URL). The task will finish automatically when done.
  setup_description: 'Layout uses inline_surface with compact spacing, top_right placement, and medium clutter from neighboring file rows and metadata badges. The target row is bundle.tar.gz. A small non-interactive Reference pill above the file list shows the shortcut text Ctrl+Shift+U. Right-clicking bundle.tar.gz opens an AntD menu with right-aligned shortcut hints: Copy — Ctrl+C, Copy path — Ctrl+Shift+P, Copy signed URL — Ctrl+Shift+U, Copy as Markdown — Ctrl+M, and Open in new tab — Ctrl+Enter. The menu closes after activation and records the activated label.'
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: top_right
    scale: small
    instances: '3'
    guidance: mixed
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - guidance
    - placement
    - instances
    factor_rationale: The menu is not long, but it sits in a crowded inline surface near the viewport edge and requires matching a shortcut cue to one of several semantically similar copy actions.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 4
      density_choice_interference: 4
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 4
    justification: This is hard because several sibling actions are near-duplicates, and the agent must use the shortcut cue rather than just picking the first copy-like action.
  success_trigger:
    human_readable:
    - The activated item path equals ['Copy signed URL'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Copy signed URL
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: bundle.tar.gz
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Copy, Copy path, or Copy as Markdown instead of Copy signed URL.
  - Opening the menu on a neighboring file row.
  - Matching the shortcut cue mentally but never activating the item.
  - Opening the browser native context menu instead of the AntD overlay.
  expected_interaction_path:
  - Right-click bundle.tar.gz.
  - Locate the item whose shortcut is Ctrl+Shift+U.
  - Click Copy signed URL.
  notes: Include the shortcut text in the rendered item text or accessible name so the cue is observable in multiple modes.
- id: context_menu-antd-v2-T07
  name: 'Incident board card 3: set Priority radio to Critical'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu with radio-style section'
  task_template: select_one
  secondary_template: null
  browsergym_goal: On the incident board, open the context menu for “Card 3 and set Priority to “Critical”. The task will finish automatically when done.
  ui_copy: On the incident board, open the context menu for “Card 3 and set Priority to “Critical”. The task will finish automatically when done.
  setup_description: Layout uses dashboard_panel with compact spacing, off-center placement, and high clutter from swimlane headers, assignee pills, and timestamps. Four incident cards (Card 1–Card 4) appear in one lane; each card supports a context menu. The AntD menu includes Open, Priority (radio group rendered inside the menu), Assign, and Archive. The Priority group contains Low, Medium, High, and Critical, with exactly one selected at a time. All four cards start at High. The menu remains open while radio selection changes so the selected marker is visible.
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - clutter
    - scale
    factor_rationale: The board layout makes acquisition and instance tracking harder, but the semantic burden is also meaningful because the agent must interact with a radio-style section rather than a flat one-shot item.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 5
    justification: The state change is discrete, but the cluttered board and four visually similar cards create high target-selection pressure.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Card 3', the selected radio value in group 'Priority' equals 'Critical'.
    canonical_predicate:
      predicate_type: equals
      target_state:
        radio_groups:
          Priority: Critical
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Card 3
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Setting Priority to Critical on Card 1, Card 2, or Card 4 instead of Card 3.
  - Selecting High, Medium, or Low instead of Critical.
  - Opening or archiving the card without changing the radio group.
  - Focusing Critical without actually selecting it.
  expected_interaction_path:
  - Right-click Card 3.
  - In the Priority section, select Critical.
  notes: Expose radio_groups state per card instance so the checker can evaluate the correct card only.
- id: context_menu-antd-v2-T08
  name: 'Server 2: choose the closed-lock action from icon-only reference'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + icon menu'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Open the context menu for “Server 2 and choose the option that matches the Reference icon (closed lock). The task will finish automatically when done.
  ui_copy: Open the context menu for “Server 2 and choose the option that matches the Reference icon (closed lock). The task will finish automatically when done.
  setup_description: 'Layout uses inline_surface with compact spacing and medium clutter. Four server rows appear in a deployment panel: Server 1, Server 2, Server 3, and Server 4. A small non-interactive Reference box above the list shows only a closed-lock icon, with no text. Right-clicking a row opens an AntD context menu with icon + label items: Lock (closed lock), Unlock (open lock), Restart (circular arrow), and Shut down (power). Only Server 2 is the target row. The menu opens at the cursor and closes after selection.'
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: off_center
    scale: default
    instances: 4_plus
    guidance: visual
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - guidance
    - clutter
    factor_rationale: 'This task stresses visual guidance and instance disambiguation together: the agent must choose the correct row and distinguish lock from unlock using icon shape, not just keyword overlap.'
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 3
      density_choice_interference: 4
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 5
    justification: The action itself is one leaf selection, but the icon-only cue and four similar target rows make it nontrivial in a grounded way.
  success_trigger:
    human_readable:
    - The activated item path equals ['Lock'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Lock
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Server 2
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Lock on Server 1, Server 3, or Server 4.
  - Choosing Unlock instead of Lock.
  - Choosing Restart or Shut down.
  - Opening the menu but not activating any item.
  expected_interaction_path:
  - Right-click the row labeled Server 2.
  - Match the closed-lock icon to the Lock item.
  - Click Lock.
  notes: Ensure lock and unlock icons remain visually distinct in all themes; expose the row label and activated path per instance.
- id: context_menu-antd-v2-T09
  name: 'Revenue heatmap widget: scroll to Open diagnostics'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu (scrollable grouped menu)'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: On the analytics dashboard, open the context menu for the “Revenue heatmap” widget and select “Open diagnostics”. The task will finish automatically when done.
  ui_copy: On the analytics dashboard, open the context menu for the “Revenue heatmap” widget and select “Open diagnostics”. The task will finish automatically when done.
  setup_description: Layout uses dashboard_panel with compact spacing, top_right placement, and high clutter from neighboring widgets, filter chips, and a right rail of KPI tiles. Only the widget titled “Revenue heatmap” supports a custom context menu in this scene. Right-clicking it opens an AntD menu with roughly 20 grouped actions and a fixed max height; the menu itself scrolls. The target action, Open diagnostics, sits near the bottom below Change visualization, Duplicate widget, Add annotation, and Open settings. It is not visible until the overlay is scrolled.
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: top_right
    scale: small
    instances: '1'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: true
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - clutter
    - internal_scroll_region
    - placement
    factor_rationale: This uses one intrinsically hard widget target near a corner plus an internally scrollable menu, so the pressure is on right-click grounding, overlay tracking, and offscreen action retrieval.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 4
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: The action list is dense and offscreen, and the top-right placement increases the burden of acquiring and tracking the transient overlay.
  success_trigger:
    human_readable:
    - The activated item path equals ['Open diagnostics'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Open diagnostics
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Open settings or Change visualization instead of Open diagnostics.
  - Scrolling the page or dashboard lane rather than the menu overlay.
  - Right-clicking a different widget that does not own the custom menu.
  - Opening the menu but never activating an item.
  expected_interaction_path:
  - Right-click the Revenue heatmap widget.
  - Scroll within the menu overlay until Open diagnostics appears.
  - Click Open diagnostics.
  notes: Keep non-target widgets free of custom context menus so the task is about locating one target overlay, not arbitrary widget sampling.
- id: context_menu-antd-v2-T10
  name: 'Report Q4: compact submenu path near viewport edge'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + nested Menu'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: Open the context menu for “Report Q4” and select Move to  Archive. The task will finish automatically when done.
  ui_copy: Open the context menu for “Report Q4” and select Move to  Archive. The task will finish automatically when done.
  setup_description: Layout uses inline_surface with compact spacing, bottom_right placement, and medium clutter from neighboring file chips and action pills. The file row Report Q4 sits very close to the viewport edge. The AntD context menu uses compact styling and small item height. The top-level menu contains Open, Move to ▸, Share ▸, and Rename. The Move to submenu contains Inbox, Archive, and Trash. Because the target row is near the bottom-right edge, the menu repositions and the submenu opens leftward rather than extending offscreen.
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: bottom_right
    scale: small
    instances: '1'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - placement
    - spacing
    - overlay_model
    factor_rationale: This is a corner-placement submenu task where the menu must remain trackable as it repositions and opens a compact child overlay in the only direction that fits.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 4
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 2
    justification: The path is short, but small compact targets and corner-triggered repositioning make the overlay behavior much harder to follow than a centered submenu.
  success_trigger:
    human_readable:
    - The activated item path equals ['Move to', 'Archive'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Move to
        - Archive
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Move to  Inbox or Move to  Trash.
  - Opening the Share submenu instead of Move to.
  - Clicking Move to without activating a child item.
  - Losing the submenu because of incorrect pointer/overlay tracking.
  expected_interaction_path:
  - Right-click Report Q4.
  - Open Move to.
  - Click Archive.
  notes: Enable AntD overflow adjustment so the task remains human-solvable while still forcing the agent to track a repositioned child overlay.
- id: context_menu-antd-v2-T11
  name: 'Gamma row: exact Columns toggle set in compact submenu'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + nested Menu with checkable items'
  task_template: select_many
  secondary_template: null
  browsergym_goal: In the compact table, open the context menu for the row “Gamma”, open Columns, and set Owner ON, Status OFF, Due date ON, and Cost center OFF. The task will finish automatically when done.
  ui_copy: In the compact table, open the context menu for the row “Gamma”, open Columns, and set Owner ON, Status OFF, Due date ON, and Cost center OFF. The task will finish automatically when done.
  setup_description: Layout uses table_cell with compact spacing, small scale, and medium clutter. Four table rows (Alpha, Beta, Gamma, Delta) each support a row-level context menu. The AntD menu contains View details, Columns ▸, and Export row. The Columns submenu stays open while toggling checkable items. In the Gamma row, initial states are Owner OFF, Status ON, Due date OFF, Cost center ON, Tags ON. Only the four named keys matter for success. The row is in the middle of the table, so the pointer must land precisely in the correct row before the submenu sequence begins.
  scene_context:
    theme: light
    spacing: compact
    layout: table_cell
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: table
  design_intent:
    active_factors:
    - instances
    - spacing
    - overlay_model
    factor_rationale: This combines row disambiguation, submenu navigation, and exact multi-toggle end-state verification in a compact table carrier instead of a clean isolated card.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 4
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: The task is hard because it demands the exact final configuration of four toggles on the correct row while navigating a compact submenu tree.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Gamma', the Columns checked states match Owner=true, Status=false, Due date=true, Cost center=false.
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Owner: true
          Status: false
          Due date: true
          Cost center: false
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Gamma
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Applying the correct toggles on Alpha, Beta, or Delta instead of Gamma.
  - Leaving any one of the four required keys in the wrong state.
  - Closing the submenu before the final state matches.
  - Treating Tags as a required key or relying on incidental toggles.
  expected_interaction_path:
  - Right-click the Gamma row.
  - Open Columns.
  - Toggle the four required entries until the final state matches.
  notes: Check only the four named keys; Tags may vary and should not affect the result.
- id: context_menu-antd-v2-T12
  name: 'Secondary document: duplicate from the correct tile in a crowded shelf'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu'
  task_template: open_and_select
  secondary_template: null
  browsergym_goal: In the document shelf, open the context menu for the tile labeled “Secondary draft” and click “Duplicate”. The task will finish automatically when done.
  ui_copy: In the document shelf, open the context menu for the tile labeled “Secondary draft” and click “Duplicate”. The task will finish automatically when done.
  setup_description: 'Layout uses nested_scroll with compact spacing, off-center placement, and high clutter. The page contains a scrollable shelf of four document tiles: Primary spec, Secondary draft, Notes, and Archive copy. Each tile is small and visually similar, with a file icon, a status badge, and a three-line preview. Right-clicking a tile opens an AntD context menu with Open, Duplicate, Rename, and Delete. Only Secondary draft is the target. The shelf itself is inside a scroll region, but the tiles are all visible at load.'
  scene_context:
    theme: light
    spacing: compact
    layout: nested_scroll
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - clutter
    - scale
    factor_rationale: This keeps a simple leaf action but raises difficulty through dense same-type targets in a cluttered scrollable shelf, which directly pressures right-click target acquisition and instance tracking.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 5
    justification: The action is shallow, but the shelf has four very similar small targets and no forgiving carrier geometry.
  success_trigger:
    human_readable:
    - The activated item path equals ['Duplicate'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Duplicate
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Secondary draft
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Duplicating Primary spec, Notes, or Archive copy instead of Secondary draft.
  - Selecting Open, Rename, or Delete instead of Duplicate.
  - Opening a menu on the correct tile but not activating any item.
  - Triggering the browser native menu instead of the AntD overlay.
  expected_interaction_path:
  - Right-click the Secondary draft tile.
  - Click Duplicate.
  notes: 'This is intentionally a short path but not a toy task: the difficulty is almost entirely grounded in instance disambiguation and small-target acquisition.'
- id: context_menu-antd-v2-T13
  name: 'Press kit package: Share → Copy public link by icon cue'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + nested Menu with icons'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: Open the context menu for “press-kit.zip” and select Share  Copy public link (the item with the globe icon). The task will finish automatically when done.
  ui_copy: Open the context menu for “press-kit.zip” and select Share  Copy public link (the item with the globe icon). The task will finish automatically when done.
  setup_description: Layout uses inline_surface with compact spacing and medium clutter. Three package rows are visible in one downloads panel. A small non-interactive Reference box above the list shows a globe icon and the words Copy public link. Right-clicking press-kit.zip opens an AntD context menu with Open, Share ▸, Rename, and Delete. The Share submenu contains Copy public link (globe icon), Copy private link (lock icon), and Email link (envelope icon). The target row is near the middle of the panel, with enough clutter to make row acquisition nontrivial but not adversarial.
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: off_center
    scale: default
    instances: '3'
    guidance: mixed
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - guidance
    - instances
    - overlay_model
    factor_rationale: The agent must combine row disambiguation with icon-guided submenu disambiguation between public and private link actions, which is more diagnostic than a flat text-only leaf selection.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 3
      density_choice_interference: 4
      depth_layering: 4
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 4
    justification: The submenu path is not long, but the key challenge is distinguishing similar leaf actions using icon + label evidence on the correct row.
  success_trigger:
    human_readable:
    - The activated item path equals ['Share', 'Copy public link'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Share
        - Copy public link
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: press-kit.zip
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Share  Copy private link or Share  Email link.
  - Opening the Share submenu on a neighboring package row.
  - Opening Share but never activating a leaf item.
  - Selecting Rename or Delete instead of entering the submenu.
  expected_interaction_path:
  - Right-click press-kit.zip.
  - Open Share.
  - Click Copy public link.
  notes: Ensure public vs private link icons are visually distinct and stable across themes.
- id: context_menu-antd-v2-T14
  name: 'Canvas shape: Transform → Rotate → 90° clockwise'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + multi-level Menu'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: Open the context menu for the shape “Rectangle 1 and select Transform  Rotate  90° clockwise. The task will finish automatically when done.
  ui_copy: Open the context menu for the shape “Rectangle 1 and select Transform  Rotate  90° clockwise. The task will finish automatically when done.
  setup_description: Layout uses isolated_card with compact spacing, small scale, bottom_left placement, and medium clutter from a toolbar, coordinate readout, and layer chips. The target is a small canvas object labeled Rectangle 1. Right-clicking directly on the shape opens an AntD context menu. The menu contains Duplicate, Transform ▸, and Delete. Transform opens Rotate  and Flip ▸, and Rotate opens 90° clockwise, 90° counterclockwise, and 180°. Because the target is small and close to the bottom-left of the viewport, the multi-level menus occupy tight but valid space and require precise pointer or keyboard tracking.
  scene_context:
    theme: light
    spacing: compact
    layout: isolated_card
    placement: bottom_left
    scale: small
    instances: '1'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - scale
    - placement
    - overlay_model
    factor_rationale: 'This is one of the few justified isolated-card scenes: the hidden affordance is already hard, and the real pressure comes from a small target plus a three-level path in a corner-biased overlay stack.'
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 5
      density_choice_interference: 3
      depth_layering: 5
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 2
    justification: A small hit target and a three-level submenu path make this a pure interaction-knowledge and target-acquisition stress test.
  success_trigger:
    human_readable:
    - The activated item path equals ['Transform', 'Rotate', '90° clockwise'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Transform
        - Rotate
        - 90° clockwise
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting 90° counterclockwise or 180° instead of 90° clockwise.
  - Selecting Transform  Flip  Horizontal or Vertical.
  - Right-clicking the canvas background rather than Rectangle 1.
  - Opening Transform or Rotate without activating the final leaf item.
  expected_interaction_path:
  - Right-click Rectangle 1.
  - Open Transform, then Rotate.
  - Click 90° clockwise.
  notes: Although the carrier is isolated_card, the factor floor is compensated by small scale, corner placement, medium clutter, and three overlay levels.
- id: context_menu-antd-v2-T15
  name: 'Photo card 3: turn Pinned ON in Display submenu'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu with checkable submenu items'
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: On the photo board, open the context menu for “Photo card 3”, open Display, and turn Pinned ON. The task will finish automatically when done.
  ui_copy: On the photo board, open the context menu for “Photo card 3”, open Display, and turn Pinned ON. The task will finish automatically when done.
  setup_description: Layout uses dashboard_panel with compact spacing, off-center placement, and medium clutter. Four photo cards sit in a masonry-like board. Each card supports a context menu on right-click. The AntD menu contains Open, Display ▸, and Remove. The Display submenu contains Pinned (checkable), Show caption (checkable), and Show histogram (checkable). For Photo card 3, Pinned starts OFF; the other cards have different states and are irrelevant. The submenu remains visible while check items change.
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - layout
    - overlay_model
    factor_rationale: This is a toggle-state task that only becomes hard because the correct card must be found in a cluttered board and the state change lives one submenu level down, not at the top level.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: The final state is simple, but acquiring the right card and entering the correct submenu makes it a meaningful hard toggle task.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Photo card 3', the checked state for Pinned is true (ON).
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Pinned: true
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Photo card 3
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Turning Pinned ON for Photo card 1, 2, or 4 instead of Photo card 3.
  - Turning on Show caption or Show histogram without setting Pinned.
  - Opening the correct submenu but leaving Pinned OFF.
  - Closing the submenu before the final state changes.
  expected_interaction_path:
  - Right-click Photo card 3.
  - Open Display.
  - Click Pinned so it becomes ON.
  notes: Expose checked_items per card instance; only the Pinned key should be evaluated for success.
- id: context_menu-antd-v2-T16
  name: 'Build row: scroll to Compare with previous snapshot'
  canonical_type: context_menu
  implementation_source: antd
  implementation_variant: null
  implementation_component: 'AntD: Dropdown (trigger=contextMenu) + Menu (scrollable)'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: In the build history panel, open the context menu for “Build 217 and select “Compare with previous snapshot”. The task will finish automatically when done.
  ui_copy: In the build history panel, open the context menu for “Build 217 and select “Compare with previous snapshot”. The task will finish automatically when done.
  setup_description: Layout uses nested_scroll with compact spacing, bottom_right placement, and high clutter. A build-history side panel lists many build rows and sits beside a page-level deployment summary. Only Build 217 supports a custom right-click menu in this scene. The AntD menu is long and grouped, with a fixed max height and an internal scroll region. Items include Open build, Copy SHA, Diff to baseline, Compare with latest, Compare with previous snapshot, Re-run, and Archive. Compare with previous snapshot appears below the initially visible portion of the menu.
  scene_context:
    theme: light
    spacing: compact
    layout: nested_scroll
    placement: bottom_right
    scale: small
    instances: '1'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: true
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - layout
    - internal_scroll_region
    - clutter
    factor_rationale: 'The nested-scroll carrier and long grouped overlay are intentional: they force the agent to keep page scroll, panel scroll, and menu scroll distinct while searching a semantically similar cluster of diff-related actions.'
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 5
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: This is hard mainly because several compare/diff actions are semantically adjacent and the right one is only visible after overlay scrolling in a crowded side panel.
  success_trigger:
    human_readable:
    - The activated item path equals ['Compare with previous snapshot'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Compare with previous snapshot
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Build 217
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Compare with latest or Diff to baseline instead of Compare with previous snapshot.
  - Scrolling the surrounding panel rather than the context-menu overlay.
  - Opening a menu on a different build row.
  - Opening the menu and leaving it without activating an item.
  expected_interaction_path:
  - Right-click Build 217.
  - Scroll inside the menu until Compare with previous snapshot is visible.
  - Click Compare with previous snapshot.
  notes: This is intentionally a semantically confusable long-menu task; the checker should rely on the activated path and row label.
- id: context_menu-mui-v2-T01
  name: 'Sales chart widget: scroll to Open settings'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu (anchorPosition) + MenuList (scrollable)'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: On the dashboard, open the context menu for the “Sales chart” widget and select “Open settings”. The task will finish automatically when done.
  ui_copy: On the dashboard, open the context menu for the “Sales chart” widget and select “Open settings”. The task will finish automatically when done.
  setup_description: Layout uses dashboard_panel with compact spacing, off-center placement, and high clutter from neighboring widgets, a filter bar, and an insights sidebar. Only the widget titled “Sales chart” opens a custom context menu. The menu is implemented with MUI Menu anchored to cursor coordinates using anchorPosition and has a max height, so the MenuList scrolls internally. Visible items near the top include Refresh, Duplicate widget, Move up, Move down, and Change visualization; Open settings appears near the bottom and is not visible until the overlay is scrolled.
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: off_center
    scale: small
    instances: '1'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: true
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - clutter
    - internal_scroll_region
    - layout
    factor_rationale: This task keeps the right-click affordance central and uses a long MUI menu with internal scrolling inside a busy dashboard panel, which is more diagnostic than a short centered menu.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 4
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: The list is semantically dense and offscreen in a cluttered dashboard carrier, so finding the correct item requires overlay-specific scrolling and careful action discrimination.
  success_trigger:
    human_readable:
    - The activated item path equals ['Open settings'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Open settings
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Change visualization, Edit widget, or another nearby action instead of Open settings.
  - Scrolling the page rather than the menu overlay.
  - Right-clicking a non-target widget.
  - Opening the menu without activating any item.
  expected_interaction_path:
  - Right-click the Sales chart widget.
  - Scroll inside the MUI menu until Open settings is visible.
  - Click Open settings.
  notes: Use MUI Menu with a max-height MenuList so the overlay itself becomes the scroll region.
- id: context_menu-mui-v2-T02
  name: 'Link preview: choose item by shortcut reference'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu with right-aligned shortcut hints'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Open the context menu for “Link preview” and choose the option whose shortcut matches the Reference pill “Ctrl+Shift+L” (Copy link). The task will finish automatically when done.
  ui_copy: Open the context menu for “Link preview” and choose the option whose shortcut matches the Reference pill “Ctrl+Shift+L” (Copy link). The task will finish automatically when done.
  setup_description: 'Layout uses inline_surface with compact spacing, top_right placement, and medium clutter from nearby cards and metadata chips. A small Reference pill above the preview shows Ctrl+Shift+L. Right-clicking inside the Link preview opens a MUI menu anchored at cursor position. The menu items display right-aligned shortcut hints: Copy — Ctrl+C, Copy link — Ctrl+Shift+L, Copy as Markdown — Ctrl+M, and Open in new tab — Ctrl+Enter. The target must be chosen by shortcut, not by the fact that multiple labels start with Copy.'
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: top_right
    scale: small
    instances: '1'
    guidance: mixed
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - guidance
    - placement
    - clutter
    factor_rationale: Several leaf labels are near-duplicates, so the explicit shortcut cue creates a diagnostic mixed-guidance task without needing a deeper submenu.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 3
      density_choice_interference: 4
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 2
    justification: This is hard because the item set is semantically confusable and the target is specified by shortcut cue within a small corner-placed overlay.
  success_trigger:
    human_readable:
    - The activated item path equals ['Copy link'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Copy link
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Copy or Copy as Markdown instead of Copy link.
  - Opening the menu on a neighboring card rather than the preview surface.
  - Focusing the right item but never activating it.
  - Using the browser native context menu.
  expected_interaction_path:
  - Right-click inside the Link preview.
  - Locate the menu item with shortcut Ctrl+Shift+L.
  - Click Copy link.
  notes: Make the shortcut text part of the rendered item content or accessible name so it is observable across modes.
- id: context_menu-mui-v2-T03
  name: 'Photo 7: Share → Email in dark modal surface'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu + nested Popover/Menu submenu'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: In dark theme, open the context menu for “Photo 7 and select Share  Email. The task will finish automatically when done.
  ui_copy: In dark theme, open the context menu for “Photo 7 and select Share  Email. The task will finish automatically when done.
  setup_description: Layout uses modal_flow with dark theme, compact spacing, and medium clutter. A media-picker dialog is already open, showing a grid of photo tiles and filter chips; only Photo 7 supports the custom menu in this scene. Right-clicking the tile opens a MUI Menu at cursor position. The parent menu contains Open, Share ▸, Copy metadata, and Delete. Share opens a second Popover/Menu with Email and Copy link. The tile sits close to the right edge of the dialog body, so the submenu has to remain trackable within constrained space.
  scene_context:
    theme: dark
    spacing: compact
    layout: modal_flow
    placement: off_center
    scale: small
    instances: '1'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: dialog
  design_intent:
    active_factors:
    - theme
    - overlay_model
    - layout
    factor_rationale: 'The dialog carrier and second overlay matter more than the leaf label: the task tests whether the agent can keep track of a nested MUI submenu inside a dark, constrained modal surface.'
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 4
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 2
    justification: This is a layered submenu task in a dark modal where the challenge is maintaining overlay state, not just reading the target label.
  success_trigger:
    human_readable:
    - The activated item path equals ['Share', 'Email'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Share
        - Email
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Share  Copy link instead of Email.
  - Selecting Open, Copy metadata, or Delete.
  - Opening Share without activating a leaf item.
  - Right-clicking a non-target tile in the dialog.
  expected_interaction_path:
  - Right-click Photo 7.
  - Open Share.
  - Click Email.
  notes: Use a second MUI Menu or Popover for the child overlay and record the full path regardless of whether the submenu opened by hover or keyboard.
- id: context_menu-mui-v2-T04
  name: 'Gamma row: exact Columns toggle set'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu + nested submenu with checkable items'
  task_template: select_many
  secondary_template: null
  browsergym_goal: In the compact table, open the context menu for the row “Gamma”, open Columns, and set Owner ON, Status OFF, Due date ON, and Tags OFF. The task will finish automatically when done.
  ui_copy: In the compact table, open the context menu for the row “Gamma”, open Columns, and set Owner ON, Status OFF, Due date ON, and Tags OFF. The task will finish automatically when done.
  setup_description: Layout uses table_cell with compact spacing, small scale, and medium clutter. Four rows (Alpha, Beta, Gamma, Delta) are visible. Right-clicking a row opens a MUI Menu at cursor position. The menu contains View details, Columns ▸, and Export row. The Columns child menu contains Owner, Status, Due date, and Tags as checkable items. In Gamma, initial states are Owner OFF, Status ON, Due date OFF, Tags ON. The submenu stays open while toggles change. Other rows must be ignored.
  scene_context:
    theme: light
    spacing: compact
    layout: table_cell
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: table
  design_intent:
    active_factors:
    - instances
    - spacing
    - overlay_model
    factor_rationale: The table carrier provides the acquisition burden, while the submenu and four-key exact end state turn a simple row menu into a real recovery and verification task.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 4
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: Multi-toggle submenu work on the correct row is substantially harder than a one-shot row action, especially in a compact table.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Gamma', the Columns checked states match Owner=true, Status=false, Due date=true, Tags=false.
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Owner: true
          Status: false
          Due date: true
          Tags: false
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Gamma
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Applying the required toggle set on Alpha, Beta, or Delta instead of Gamma.
  - Leaving any one required key in the wrong state.
  - Closing the menu before the final state matches.
  - Exporting the row or opening View details instead of staying in Columns.
  expected_interaction_path:
  - Right-click the Gamma row.
  - Open Columns.
  - Toggle the four required items until the final state matches.
  notes: Expose checked_items and the open target label separately so the checker can distinguish wrong-row success from correct-row success.
- id: context_menu-mui-v2-T05
  name: 'Dashboard preview: reset layout and confirm'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu + inline confirmation footer'
  task_template: confirm_cancel
  secondary_template: null
  browsergym_goal: Open the context menu for the “Dashboard preview” area, click “Reset layout…”, then click “Reset” to confirm. The task will finish automatically when done.
  ui_copy: Open the context menu for the “Dashboard preview” area, click “Reset layout…”, then click “Reset” to confirm. The task will finish automatically when done.
  setup_description: Layout uses settings_panel with compact spacing, center placement, and high clutter. The central preview area is labeled Dashboard preview and is surrounded by sliders, widget chips, and visibility toggles. Right-clicking inside the preview opens a MUI Menu. Its items are Add widget, Arrange automatically, and Reset layout…. Choosing Reset layout… keeps the menu open and reveals an inline footer inside the same overlay with Cancel and Reset buttons. The action only counts if Reset is clicked there.
  scene_context:
    theme: light
    spacing: compact
    layout: settings_panel
    placement: center
    scale: default
    instances: '1'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: explicit_confirm
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - clutter
    - confirmation_model
    - layout
    factor_rationale: The menu action is embedded in a busy settings surface and requires an explicit second-stage confirmation inside the same transient overlay, which is exactly where context-menu state tracking often breaks.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 5
      semantic_observability: 3
      disambiguation_load: 3
    justification: The clutter and confirm footer make this much harder than a plain leaf-item selection even though the target text is clear.
  success_trigger:
    human_readable:
    - The pending action ['Reset layout'] is confirmed via the 'Reset' control inside the menu overlay.
    canonical_predicate:
      predicate_type: equals
      target_state:
        confirmed_action_path:
        - Reset layout
        confirmation_result: confirmed
      tolerance: null
      require_confirm: true
      confirm_control: Reset
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Reset layout… but dismissing the overlay instead of confirming.
  - Clicking Cancel instead of Reset.
  - Choosing Add widget or Arrange automatically.
  - Opening the menu on a non-target settings element.
  expected_interaction_path:
  - Right-click the Dashboard preview area.
  - Click Reset layout….
  - Click Reset in the inline confirmation footer.
  notes: Keep the confirmation UI within the menu overlay so the primary interaction remains a context menu, not a separate dialog.
- id: context_menu-mui-v2-T06
  name: 'Rectangle 1: Transform → Rotate → 90° clockwise'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu + multi-level nested submenus'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: Open the context menu for the shape “Rectangle 1 and select Transform  Rotate  90° clockwise. The task will finish automatically when done.
  ui_copy: Open the context menu for the shape “Rectangle 1 and select Transform  Rotate  90° clockwise. The task will finish automatically when done.
  setup_description: Layout uses isolated_card with compact spacing, small scale, bottom_right placement, and medium clutter from layer chips and a coordinate badge. Rectangle 1 is a small shape inside a canvas card. Right-clicking directly on the shape opens a MUI Menu at cursor position. The menu contains Duplicate, Transform ▸, and Delete. Transform opens Rotate  and Flip ▸. Rotate opens 90° clockwise, 90° counterclockwise, and 180°. The target sits close to the viewport edge, so the nested menus have to remain trackable in constrained space.
  scene_context:
    theme: light
    spacing: compact
    layout: isolated_card
    placement: bottom_right
    scale: small
    instances: '1'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - scale
    - placement
    - overlay_model
    factor_rationale: This is a justified isolated-card task because the difficulty comes from a small right-click target plus a three-level nested menu path near the viewport boundary.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 5
      density_choice_interference: 3
      depth_layering: 5
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 2
    justification: A small shape and a deep submenu tree produce a strong interaction-knowledge test even without heavy scene clutter.
  success_trigger:
    human_readable:
    - The activated item path equals ['Transform', 'Rotate', '90° clockwise'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Transform
        - Rotate
        - 90° clockwise
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting 90° counterclockwise or 180° instead of 90° clockwise.
  - Entering Flip instead of Rotate.
  - Right-clicking the canvas background instead of Rectangle 1.
  - Opening Transform or Rotate without choosing the final item.
  expected_interaction_path:
  - Right-click Rectangle 1.
  - Open Transform, then Rotate.
  - Click 90° clockwise.
  notes: MUI Popover-based positioning should remain enabled so the menu is visible even near the viewport edge.
- id: context_menu-mui-v2-T07
  name: 'Task A: set Priority to High in dense radio section'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu with dense radio-style section'
  task_template: select_one
  secondary_template: null
  browsergym_goal: Open the context menu for “Task A” and set Priority to “High”. The task will finish automatically when done.
  ui_copy: Open the context menu for “Task A” and set Priority to “High”. The task will finish automatically when done.
  setup_description: Layout uses inline_surface with compact spacing, off-center placement, and medium clutter. Three task cards labeled Task A, Task B, and Task C are shown inside a sprint strip. Right-clicking a card opens a dense MUI menu with Open, Priority (radio-style section), Assign, and Delete. Priority contains Low, Medium, and High. All three tasks start at Medium. The menu is rendered with the dense prop, so item padding and text size are reduced. The selection updates immediately and remains visible while the menu stays open.
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: off_center
    scale: small
    instances: '3'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - spacing
    - instances
    - scale
    factor_rationale: Dense menu styling and three similar instances raise acquisition and disambiguation pressure without changing the semantic simplicity of a radio selection.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 4
    justification: The target state is discrete, but the dense menu and three-instance sprint strip make the correct radio selection materially harder.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Task A', the selected radio value in group 'Priority' equals 'High'.
    canonical_predicate:
      predicate_type: equals
      target_state:
        radio_groups:
          Priority: High
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Task A
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Setting Priority to High on Task B or Task C.
  - Leaving Task A at Medium or switching it to Low.
  - Choosing Assign or Delete without changing Priority.
  - Focusing High without activating it.
  expected_interaction_path:
  - Right-click Task A.
  - Select High in the Priority section.
  notes: Use selected menu-item state that remains visible after selection; record radio_groups per task instance.
- id: context_menu-mui-v2-T08
  name: 'Bookmark 4: turn Pin to top ON from Options submenu'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu + nested submenu with checkable item'
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: In the bookmarks drawer, open the context menu for “Bookmark 4”, open Options, and turn “Pin to top” ON. The task will finish automatically when done.
  ui_copy: In the bookmarks drawer, open the context menu for “Bookmark 4”, open Options, and turn “Pin to top” ON. The task will finish automatically when done.
  setup_description: 'Layout uses drawer_flow with compact spacing, off-center placement, and medium clutter. A drawer titled Bookmarks is open and lists four rows: Bookmark 1–4. Each row supports a right-click menu. The top-level MUI menu contains Open, Options ▸, and Remove. Options opens a second menu with checkable items Pin to top, Show favicon, and Open in compact mode. For Bookmark 4, Pin to top starts OFF. The submenu remains open while check state changes.'
  scene_context:
    theme: light
    spacing: compact
    layout: drawer_flow
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: drawer
  design_intent:
    active_factors:
    - instances
    - overlay_model
    - layout
    factor_rationale: A single toggle becomes hard when it sits one submenu level down inside a compact drawer with four nearly identical rows.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: The toggle itself is simple, but the right row and right submenu must both be identified correctly in a dense drawer carrier.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Bookmark 4', the checked state for Pin to top is true (ON).
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Pin to top: true
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Bookmark 4
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Turning Pin to top ON for Bookmark 1, 2, or 3 instead of Bookmark 4.
  - Opening Options but leaving Pin to top OFF.
  - Changing Show favicon or Open in compact mode without turning on Pin to top.
  - Selecting Remove or Open instead of staying in Options.
  expected_interaction_path:
  - Right-click Bookmark 4.
  - Open Options.
  - Turn Pin to top ON.
  notes: Expose checked_items per bookmark row and the open target label for the checker.
- id: context_menu-mui-v2-T09
  name: 'Server cache row: purge flow must be cancelled'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu + inline confirmation footer'
  task_template: confirm_cancel
  secondary_template: null
  browsergym_goal: Open the context menu for “Cache shard 2”, click “Purge cache…”, and then click “Cancel”. The task will finish automatically when done.
  ui_copy: Open the context menu for “Cache shard 2”, click “Purge cache…”, and then click “Cancel”. The task will finish automatically when done.
  setup_description: Layout uses modal_flow with dark theme, compact spacing, and high clutter. A server-maintenance dialog is open, listing three cache shards. Right-clicking a row opens a MUI context menu. The menu contains Copy shard ID, Open metrics, and Purge cache…. Selecting Purge cache… keeps the overlay open and reveals Cancel and Purge footer buttons in the same overlay. The target row is Cache shard 2; the correct outcome is cancellation, not confirmation.
  scene_context:
    theme: dark
    spacing: compact
    layout: modal_flow
    placement: center
    scale: small
    instances: '3'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: explicit_confirm
    precision_surface: discrete
    secondary_supporting_primitive: dialog
  design_intent:
    active_factors:
    - theme
    - instances
    - confirmation_model
    factor_rationale: This task tests a non-destructive branch in a destructive confirmation flow while the target must be chosen from several similar server rows in a crowded modal surface.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 5
      semantic_observability: 3
      disambiguation_load: 4
    justification: Cancelling the right purge action in a dark crowded modal is meaningfully harder than confirming an obvious one-row action.
  success_trigger:
    human_readable:
    - The pending action ['Purge cache'] is cancelled via the 'Cancel' control inside the menu overlay.
    canonical_predicate:
      predicate_type: equals
      target_state:
        cancelled_action_path:
        - Purge cache
        confirmation_result: cancelled
      tolerance: null
      require_confirm: true
      confirm_control: Cancel
      require_correct_instance: true
      target_instance_label_or_id: Cache shard 2
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Purging instead of cancelling.
  - Opening the purge flow for Cache shard 1 or Cache shard 3.
  - Dismissing the overlay without clicking Cancel.
  - Choosing Open metrics or Copy shard ID instead.
  expected_interaction_path:
  - Right-click Cache shard 2.
  - Click Purge cache….
  - Click Cancel in the footer.
  notes: Expose the row label alongside confirmation_result so success is bound to the correct shard.
- id: context_menu-mui-v2-T10
  name: 'prod-us-east node: Move → Under Archive → As child'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu + nested Popover/Menu submenus'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: In the deployment tree, open the context menu for “prod-us-east” and select Move  Under Archive  As child. The task will finish automatically when done.
  ui_copy: In the deployment tree, open the context menu for “prod-us-east” and select Move  Under Archive  As child. The task will finish automatically when done.
  setup_description: 'Layout uses settings_panel with compact spacing, top_left placement, and high clutter. A deployment tree is embedded between rollout toggles and status strips. Visible nodes include staging, prod-us-east, prod-us-west, archive, and backup. Right-clicking a node opens a MUI context menu at cursor position. The menu uses nested Popover/Menu composition: Move ▸, then Under Archive ▸, then leaves As sibling and As child. Only prod-us-east is the target node.'
  scene_context:
    theme: light
    spacing: compact
    layout: settings_panel
    placement: top_left
    scale: small
    instances: 4_plus
    guidance: text
    clutter: high
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: tree
  design_intent:
    active_factors:
    - instances
    - layout
    - overlay_model
    factor_rationale: The tree carrier creates substantial wrong-node risk, and the three-level path forces the agent to track multiple MUI overlay panels rather than a single flat list.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 5
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 5
    justification: This is a deep overlay-stack task on a crowded tree surface, with high disambiguation and layering pressure.
  success_trigger:
    human_readable:
    - The activated item path equals ['Move', 'Under Archive', 'As child'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Move
        - Under Archive
        - As child
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: prod-us-east
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting the path on staging, prod-us-west, archive, or backup instead of prod-us-east.
  - Choosing As sibling instead of As child.
  - Opening Move or Under Archive without choosing the final leaf item.
  - Selecting Rename or Inspect instead of entering the path.
  expected_interaction_path:
  - Right-click prod-us-east.
  - Open Move and then Under Archive.
  - Click As child.
  notes: Treat the nested Popover/Menu chain as one logical context-menu interaction for scoring.
- id: context_menu-mui-v2-T11
  name: 'Revenue table cell: scroll to Export as JSON'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu (anchorPosition) with max-height scroll'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: In the revenue table, open the context menu on the “Net” cell in the Delta row and select “Export as JSON”. The task will finish automatically when done.
  ui_copy: In the revenue table, open the context menu on the “Net” cell in the Delta row and select “Export as JSON”. The task will finish automatically when done.
  setup_description: Layout uses table_cell with compact spacing, off-center placement, and medium clutter. A small revenue table contains rows Alpha, Beta, Gamma, and Delta. Only the Net cell in the Delta row opens a custom menu. The MUI menu is long and internally scrollable, with a max-height overlay. Top-visible options include Copy value, Copy row, Copy as CSV, and Pin column. Export as JSON is near the bottom and initially hidden.
  scene_context:
    theme: light
    spacing: compact
    layout: table_cell
    placement: off_center
    scale: small
    instances: '1'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: true
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: table
  design_intent:
    active_factors:
    - layout
    - internal_scroll_region
    - placement
    factor_rationale: This task mirrors a realistic cell-level context action but moves the target offscreen inside the menu to force overlay scrolling and exact cell grounding.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 4
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: The combination of correct cell targeting and hidden menu action yields substantial grounded interaction pressure.
  success_trigger:
    human_readable:
    - The activated item path equals ['Export as JSON'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Export as JSON
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Delta__Net
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Right-clicking another cell or another row.
  - Selecting Copy as CSV or Export as CSV instead of Export as JSON.
  - Scrolling the page rather than the menu.
  - Opening the menu without activating any item.
  expected_interaction_path:
  - Right-click the Delta row’s Net cell.
  - Scroll within the menu until Export as JSON is visible.
  - Click Export as JSON.
  notes: Expose the precise cell instance label and ensure only the menu overlay, not the page, is the scroll region.
- id: context_menu-mui-v2-T12
  name: 'Reference shortcut: choose Export JSON'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu with right-aligned shortcut hints'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Open the context menu for “Payload preview” and choose the option whose shortcut matches the Reference pill “Ctrl+Alt+J” (Export JSON). The task will finish automatically when done.
  ui_copy: Open the context menu for “Payload preview” and choose the option whose shortcut matches the Reference pill “Ctrl+Alt+J” (Export JSON). The task will finish automatically when done.
  setup_description: 'Layout uses dashboard_panel with compact spacing, top_right placement, and medium clutter. A payload preview card is embedded among log widgets and small summary chips. A Reference pill above the card displays Ctrl+Alt+J. Right-clicking inside the preview opens a MUI menu with shortcut hints: Copy value — Ctrl+C, Copy path — Ctrl+Shift+P, Export JSON — Ctrl+Alt+J, and Export CSV — Ctrl+Alt+C. The labels are intentionally similar.'
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: top_right
    scale: small
    instances: '1'
    guidance: mixed
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - guidance
    - placement
    - clutter
    factor_rationale: Several export-like items compete here, so the shortcut cue is the only reliable way to pick the right one inside a crowded dashboard carrier.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 3
      density_choice_interference: 4
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 2
    justification: The semantic interference among copy/export items is high even though the path length is shallow.
  success_trigger:
    human_readable:
    - The activated item path equals ['Export JSON'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Export JSON
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Copy value, Copy path, or Export CSV instead of Export JSON.
  - Ignoring the shortcut cue and clicking the wrong export item.
  - Opening the menu but not activating an item.
  - Right-clicking the surrounding card chrome rather than the preview surface if that does not own the menu.
  expected_interaction_path:
  - Right-click inside the Payload preview.
  - Find the item with shortcut Ctrl+Alt+J.
  - Click Export JSON.
  notes: Keep the shortcut text visible in the item content; the checker only needs the activated path.
- id: context_menu-mui-v2-T13
  name: 'Card 2: Visibility must become Internal'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu with selected state section'
  task_template: select_one
  secondary_template: null
  browsergym_goal: Open the context menu for “Card 2 and set Visibility to “Internal”. The task will finish automatically when done.
  ui_copy: Open the context menu for “Card 2 and set Visibility to “Internal”. The task will finish automatically when done.
  setup_description: Layout uses inline_surface with compact spacing, off-center placement, and medium clutter. Three project cards (Card 1, Card 2, Card 3) sit in a horizontal board. Each card opens a context menu on right-click. The MUI menu includes Open, Visibility (selected-state section), Move, and Archive. Visibility contains Public, Internal, and Private; Public is initially selected for all three cards. The selected item remains highlighted when changed.
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: off_center
    scale: small
    instances: '3'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - spacing
    - semantic_observability
    factor_rationale: The menu selection itself is simple, but the board makes wrong-card errors likely and the selected-state semantics require the agent to verify the value rather than only click an item text once.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 4
    justification: A selected-state section is more verify-heavy than a one-shot action, especially on a compact multi-card board.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Card 2', the selected value in group 'Visibility' equals 'Internal'.
    canonical_predicate:
      predicate_type: equals
      target_state:
        radio_groups:
          Visibility: Internal
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Card 2
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Setting Visibility to Internal on Card 1 or Card 3.
  - Selecting Private or leaving the card at Public.
  - Moving or archiving the card without changing Visibility.
  - Focusing Internal without selecting it.
  expected_interaction_path:
  - Right-click Card 2.
  - Choose Internal in the Visibility section.
  notes: Use selected-state rendering consistent with MUI selected menu items so the final value is observable.
- id: context_menu-mui-v2-T14
  name: 'Inspector surface: exact View toggle set'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu + submenu with checkable items'
  task_template: select_many
  secondary_template: null
  browsergym_goal: In the inspector surface, open the context menu for “Panel B”, open View, and set Preview ON, Toolbar OFF, Word wrap ON, and Errors ON. The task will finish automatically when done.
  ui_copy: In the inspector surface, open the context menu for “Panel B”, open View, and set Preview ON, Toolbar OFF, Word wrap ON, and Errors ON. The task will finish automatically when done.
  setup_description: Layout uses settings_panel with compact spacing, off-center placement, and high clutter. The center panel contains two labeled surfaces, Panel A and Panel B, both of which open a custom context menu on right-click. The top-level MUI menu contains Refresh, View ▸, and Open in split view. View opens a child menu with Preview, Toolbar, Word wrap, and Errors as checkable items. In Panel B, initial states are Preview OFF, Toolbar ON, Word wrap OFF, Errors OFF. The child menu stays open while toggling.
  scene_context:
    theme: light
    spacing: compact
    layout: settings_panel
    placement: off_center
    scale: small
    instances: '2'
    guidance: text
    clutter: high
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - overlay_model
    - clutter
    factor_rationale: 'This is a menu-state verification task in a noisy settings surface: the correct panel must be chosen and the exact four-toggle pattern must be reached inside a child overlay.'
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 4
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: Exact multi-toggle end states and wrong-panel risk make this a high-disambiguation, high-verification submenu task.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Panel B', the View checked states match Preview=true, Toolbar=false, Word wrap=true, Errors=true.
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Preview: true
          Toolbar: false
          Word wrap: true
          Errors: true
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Panel B
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Applying the toggle set to Panel A instead of Panel B.
  - Leaving any required key in the wrong state.
  - Choosing Open in split view or Refresh instead of using View.
  - Closing the menu before the final state matches.
  expected_interaction_path:
  - Right-click Panel B.
  - Open View.
  - Toggle the four listed options until the final state matches.
  notes: The checker should evaluate only the four named keys.
- id: context_menu-mui-v2-T15
  name: 'Tile 4: choose Print by printer icon'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu with icons'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Open the context menu for “Tile 4 and choose the option that matches the printer icon shown in the Reference box. The task will finish automatically when done.
  ui_copy: Open the context menu for “Tile 4 and choose the option that matches the printer icon shown in the Reference box. The task will finish automatically when done.
  setup_description: 'Layout uses dashboard_panel with compact spacing, bottom_left placement, and medium clutter. Four media tiles labeled Tile 1–4 appear in a board. A small Reference box above the board shows a printer icon with no text. Right-clicking a tile opens a MUI menu with icon + label items: Open (folder icon), Download (arrow icon), Print (printer icon), Share (link icon). Only Tile 4 is the target. The menu closes after activation.'
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: bottom_left
    scale: small
    instances: 4_plus
    guidance: visual
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - guidance
    - placement
    factor_rationale: The task is short but still hard because the target tile sits in a cluttered board and the target action is given only by icon, not by a strongly distinctive text cue.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 5
    justification: Visual-icon matching plus four-instance disambiguation is enough to make this a grounded hard task without adding artificial depth.
  success_trigger:
    human_readable:
    - The activated item path equals ['Print'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Print
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Tile 4
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Print on Tile 1, 2, or 3 instead of Tile 4.
  - Selecting Download or Share instead of Print.
  - Opening the correct menu but not activating any item.
  - Using text heuristics on the wrong tile because the icon cue was ignored.
  expected_interaction_path:
  - Right-click Tile 4.
  - Match the printer icon to Print.
  - Click Print.
  notes: Make the iconography stable and visually separable at small scale.
- id: context_menu-mui-v2-T16
  name: 'Route 4 row: Open in split view from the correct row menu'
  canonical_type: context_menu
  implementation_source: mui
  implementation_variant: composite
  implementation_component: 'MUI: Menu (anchorPosition) + MenuItem'
  task_template: open_and_select
  secondary_template: null
  browsergym_goal: In the routes list, open the context menu for “Route 4 and click “Open in split view”. The task will finish automatically when done.
  ui_copy: In the routes list, open the context menu for “Route 4 and click “Open in split view”. The task will finish automatically when done.
  setup_description: Layout uses nested_scroll with compact spacing, off-center placement, and high clutter. A scrollable routes list shows Route 1 through Route 6 with status badges and timestamps. Each row supports a context menu on right-click. The MUI menu contains Open, Open in split view, Duplicate, and Archive. All route rows look similar, and the list sits inside a surrounding activity panel with its own scrollbar. Route 4 is visible at load but not isolated from neighboring rows.
  scene_context:
    theme: light
    spacing: compact
    layout: nested_scroll
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - layout
    - clutter
    factor_rationale: This is a deliberately short path whose difficulty comes almost entirely from correct row grounding inside a dense nested-scroll carrier rather than from extra menu depth.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 5
    justification: Even a flat action can be diagnostically hard when the row target is one of many similar entries in a nested scroll surface.
  success_trigger:
    human_readable:
    - The activated item path equals ['Open in split view'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Open in split view
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Route 4
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Opening Route 1, 2, 3, 5, or 6 instead of Route 4.
  - Selecting Open, Duplicate, or Archive instead of Open in split view.
  - Triggering the route row without opening its custom menu.
  - Opening the correct menu but not activating any item.
  expected_interaction_path:
  - Right-click Route 4.
  - Click Open in split view.
  notes: 'This is intentionally shallow but not trivial: the nested-scroll carrier and high instance count do the diagnostic work.'
- id: context_menu-mantine-v2-T01
  name: 'Press kit.zip: Share → Copy public link by globe cue'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + Menu.Sub (click-hover submenus) with icons'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: Open the context menu for “Press kit.zip” and select Share  Copy public link (the item with the globe icon shown in the Reference box). The task will finish automatically when done.
  ui_copy: Open the context menu for “Press kit.zip” and select Share  Copy public link (the item with the globe icon shown in the Reference box). The task will finish automatically when done.
  setup_description: Layout uses inline_surface with compact spacing, off-center placement, and medium clutter. The target row Press kit.zip appears within a small downloads panel beside two other package rows. A Reference box above the list shows a globe icon and the text Copy public link. Right-clicking the row opens a Mantine Menu at cursor position. The menu includes Open, Share ▸, Rename, and Delete. Share is implemented with Menu.Sub using click-hover behavior and modest open/close delay. Its child items are Copy public link (globe), Copy private link (lock), and Email link (envelope).
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: off_center
    scale: small
    instances: '3'
    guidance: mixed
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - guidance
    - overlay_model
    - instances
    factor_rationale: The public/private distinction is easy to name but easy to misfire; the task becomes diagnostic because the correct row, submenu, and icon-guided leaf item must all be tracked across a Mantine click-hover submenu.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 3
      density_choice_interference: 4
      depth_layering: 4
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 4
    justification: A two-level path with icon-guided leaf selection becomes meaningfully hard once the correct row must also be isolated in a compact inline panel.
  success_trigger:
    human_readable:
    - The activated item path equals ['Share', 'Copy public link'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Share
        - Copy public link
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Press kit.zip
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Share  Copy private link or Share  Email link.
  - Opening the Share submenu on the wrong package row.
  - Opening Share but not activating the final leaf item.
  - Choosing Rename or Delete instead.
  expected_interaction_path:
  - Right-click Press kit.zip.
  - Open Share.
  - Click Copy public link.
  notes: Use Mantine Menu.Sub and preserve the full activated path for the checker.
- id: context_menu-mantine-v2-T02
  name: 'Monthly report widget: scroll to Download as PDF'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu dropdown (scrollable)'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: On the dashboard, open the context menu for the “Monthly report” widget and select “Download as PDF”. The task will finish automatically when done.
  ui_copy: On the dashboard, open the context menu for the “Monthly report” widget and select “Download as PDF”. The task will finish automatically when done.
  setup_description: Layout uses dashboard_panel with compact spacing, off-center placement, and high clutter. A dashboard board contains several widgets plus a side rail. Only the Monthly report widget supports a custom right-click menu. The Mantine dropdown is opened by onContextMenu at cursor position and has a fixed max height, making the dropdown itself scrollable. About 20 grouped actions are present; Download as PDF sits near the bottom below more common actions like Refresh, Change timeframe, Export data, and Download as CSV.
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: off_center
    scale: small
    instances: '1'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: true
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - clutter
    - internal_scroll_region
    - layout
    factor_rationale: 'This preserves the strongest old Mantine pattern but raises the factor floor: cluttered dashboard, compact spacing, and a long internal menu scroll are all active rather than optional.'
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 4
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: The hard part is overlay-local scrolling in a long grouped list while keeping the correct widget and action distinct in a busy dashboard.
  success_trigger:
    human_readable:
    - The activated item path equals ['Download as PDF'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Download as PDF
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Download as CSV or Export data instead of Download as PDF.
  - Scrolling the page or dashboard container rather than the menu overlay.
  - Opening the menu on a non-target widget.
  - Opening the menu without activating an item.
  expected_interaction_path:
  - Right-click the Monthly report widget.
  - Scroll inside the Mantine dropdown until Download as PDF is visible.
  - Click Download as PDF.
  notes: Ensure the dropdown itself, not the page, is the scroll region.
- id: context_menu-mantine-v2-T03
  name: 'API token A1B2: revoke flow must be cancelled'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + inline confirm footer'
  task_template: confirm_cancel
  secondary_template: null
  browsergym_goal: Open the context menu for “API token A1B2”, click “Revoke token…”, then click “Cancel”. The task will finish automatically when done.
  ui_copy: Open the context menu for “API token A1B2”, click “Revoke token…”, then click “Cancel”. The task will finish automatically when done.
  setup_description: Layout uses settings_panel with dark theme, compact spacing, and medium clutter. A token-management card is embedded in a larger settings panel with unrelated buttons and switches. The row API token A1B2 supports a custom context menu on right-click. The Mantine menu contains Copy token ID and Revoke token…. Selecting Revoke token… keeps the menu open and reveals an inline confirmation footer with Cancel and Revoke inside the same overlay. The correct outcome is cancellation.
  scene_context:
    theme: dark
    spacing: compact
    layout: settings_panel
    placement: center
    scale: default
    instances: '1'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: explicit_confirm
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - theme
    - confirmation_model
    - clutter
    factor_rationale: This task forces the agent to stay inside the same transient overlay and choose the safe branch of a destructive flow in a dark settings surface.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 3
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 5
      semantic_observability: 3
      disambiguation_load: 2
    justification: The leaf labels are simple, but confirming the cancellation path rather than the destructive one is a meaningful feedback-dynamics test.
  success_trigger:
    human_readable:
    - The pending action ['Revoke token'] is cancelled via the 'Cancel' control inside the menu overlay.
    canonical_predicate:
      predicate_type: equals
      target_state:
        cancelled_action_path:
        - Revoke token
        confirmation_result: cancelled
      tolerance: null
      require_confirm: true
      confirm_control: Cancel
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Clicking Revoke instead of Cancel.
  - Opening Revoke token… and then dismissing the menu without pressing Cancel.
  - Never opening the confirmation footer.
  - Using the browser native context menu.
  expected_interaction_path:
  - Right-click API token A1B2.
  - Click Revoke token….
  - Click Cancel.
  notes: Expose both pending_action_path and confirmation_result for the checker.
- id: context_menu-mantine-v2-T04
  name: 'Playlist item 12: Sort → By date → Newest first'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + multi-level Menu.Sub chain'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: Open the context menu for “Playlist item 12 and select Sort  By date  Newest first. The task will finish automatically when done.
  ui_copy: Open the context menu for “Playlist item 12 and select Sort  By date  Newest first. The task will finish automatically when done.
  setup_description: Layout uses inline_surface with compact spacing, bottom_left placement, and medium clutter. A playlist panel lists several items; only Playlist item 12 is the target. Right-clicking the row opens a Mantine Menu at cursor position. The menu contains Open, Sort ▸, Queue next, and Remove. Sort opens By date  and By title ▸. By date opens Newest first and Oldest first. The submenu chain uses Menu.Sub and small item height. The target row sits near the bottom-left of the viewport, creating tight but valid overlay geometry.
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: bottom_left
    scale: small
    instances: '1'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - placement
    - scale
    - overlay_model
    factor_rationale: This is a compact, corner-biased three-level path where the main difficulty is tracking a small Mantine submenu chain rather than reading the final leaf label.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 5
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 2
    justification: Three overlay levels and small targets near a corner make this a strong transient-menu control test.
  success_trigger:
    human_readable:
    - The activated item path equals ['Sort', 'By date', 'Newest first'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Sort
        - By date
        - Newest first
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Oldest first instead of Newest first.
  - Opening By title instead of By date.
  - Selecting Queue next or Remove instead of entering Sort.
  - Opening the right submenu chain but never activating the leaf.
  expected_interaction_path:
  - Right-click Playlist item 12.
  - Open Sort, then By date.
  - Click Newest first.
  notes: Use click-hover or click submenus consistently so the task stays human-solvable at small scale.
- id: context_menu-mantine-v2-T05
  name: 'Server 2: choose the closed-lock action'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu items with icons'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Open the context menu for “Server 2 and choose the option that matches the Reference icon (closed lock). The task will finish automatically when done.
  ui_copy: Open the context menu for “Server 2 and choose the option that matches the Reference icon (closed lock). The task will finish automatically when done.
  setup_description: Layout uses dashboard_panel with compact spacing, center placement, and medium clutter. Three server rows (Server 1–3) are embedded in a deployment widget. A small Reference box above the rows shows only a closed-lock icon. Right-clicking a row opens a Mantine menu with Lock (closed lock), Unlock (open lock), Restart, and Shut down. Only Server 2 is correct.
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: center
    scale: small
    instances: '3'
    guidance: visual
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - guidance
    - clutter
    factor_rationale: The icon-only cue and three same-type targets keep this short path grounded and diagnostic without relying on hidden tolerances or wording tricks.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 5
    justification: The core pressure is correct-instance selection plus icon disambiguation between lock and unlock.
  success_trigger:
    human_readable:
    - The activated item path equals ['Lock'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Lock
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Server 2
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Lock on Server 1 or Server 3.
  - Selecting Unlock instead of Lock.
  - Choosing Restart or Shut down.
  - Opening the menu but not activating any item.
  expected_interaction_path:
  - Right-click Server 2.
  - Match the closed-lock icon to Lock.
  - Click Lock.
  notes: Ensure lock and unlock icons remain visually distinct at small size.
- id: context_menu-mantine-v2-T06
  name: 'Inspector B: exact View toggle set'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + Menu.Sub with checkable items'
  task_template: select_many
  secondary_template: null
  browsergym_goal: Open the context menu for the editor labeled “Inspector B”, open View, and set Show preview ON, Show toolbar OFF, Spell check ON, and Word wrap ON. The task will finish automatically when done.
  ui_copy: Open the context menu for the editor labeled “Inspector B”, open View, and set Show preview ON, Show toolbar OFF, Spell check ON, and Word wrap ON. The task will finish automatically when done.
  setup_description: 'Layout uses drawer_flow with compact spacing, off-center placement, and medium clutter. A side drawer titled Preview settings is open and contains two editor-like preview surfaces: Inspector A and Inspector B. Right-clicking either opens a Mantine menu. The menu has Undo, View ▸, and Inspect DOM. View opens a Mantine child menu containing Show preview, Show toolbar, Spell check, and Word wrap as checkable items. For Inspector B, initial states are Show preview OFF, Show toolbar ON, Spell check OFF, Word wrap OFF. The child menu stays open while toggling.'
  scene_context:
    theme: light
    spacing: compact
    layout: drawer_flow
    placement: off_center
    scale: small
    instances: '2'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: drawer
  design_intent:
    active_factors:
    - instances
    - overlay_model
    - spacing
    factor_rationale: This is a hard state-tracking task because the agent must stay within a submenu, achieve an exact four-toggle pattern, and avoid editing the sibling surface.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 4
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: Exact end-state verification across four toggles and two similar surfaces makes this a strong hard submenu task.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Inspector B', the View checked states match Show preview=true, Show toolbar=false, Spell check=true, Word wrap=true.
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Show preview: true
          Show toolbar: false
          Spell check: true
          Word wrap: true
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Inspector B
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Applying the toggle set to Inspector A instead of Inspector B.
  - Leaving Show toolbar ON or any other required key incorrect.
  - Choosing Inspect DOM instead of entering View.
  - Closing the child menu before the final state matches.
  expected_interaction_path:
  - Right-click Inspector B.
  - Open View.
  - Toggle the four required items until the final state matches.
  notes: Use checked_items keyed by label and the open target label for robust checking.
- id: context_menu-mantine-v2-T07
  name: 'Archive node: Create → Markdown file'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + Menu.Sub chain'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: In the document tree, open the context menu for “Archive” and select Create  Markdown file. The task will finish automatically when done.
  ui_copy: In the document tree, open the context menu for “Archive” and select Create  Markdown file. The task will finish automatically when done.
  setup_description: Layout uses settings_panel with compact spacing, top_left placement, and high clutter. A small document tree is embedded among unrelated settings rows. Nodes include Docs, Drafts, Archive, and Images. Right-clicking Archive opens a Mantine menu with Open, Create ▸, Rename, and Delete. Create opens Markdown file, Folder, and JSON file. The node cluster is dense and close together, increasing wrong-node risk.
  scene_context:
    theme: light
    spacing: compact
    layout: settings_panel
    placement: top_left
    scale: small
    instances: 4_plus
    guidance: text
    clutter: high
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: tree
  design_intent:
    active_factors:
    - instances
    - layout
    - overlay_model
    factor_rationale: 'The task is intentionally tree-centric: correct node selection and a one-level child submenu together create grounded but human-solvable pressure.'
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 4
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 5
    justification: This is a hard disambiguation task despite the short path because the node cluster is dense and the wrong-node error is easy to make.
  success_trigger:
    human_readable:
    - The activated item path equals ['Create', 'Markdown file'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Create
        - Markdown file
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Archive
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Create  Folder or Create  JSON file.
  - Opening the menu on Docs, Drafts, or Images instead of Archive.
  - Selecting Rename or Delete instead of Create.
  - Opening Create but not clicking a leaf item.
  expected_interaction_path:
  - Right-click Archive.
  - Open Create.
  - Click Markdown file.
  notes: This path is shorter than some others, but the high-clutter tree carrier keeps it within the hard bucket.
- id: context_menu-mantine-v2-T08
  name: 'Widget preview: reset tiles and confirm'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + inline confirm footer'
  task_template: confirm_cancel
  secondary_template: null
  browsergym_goal: Open the context menu for the “Widget preview” area, click “Reset tiles…”, then click “Reset”. The task will finish automatically when done.
  ui_copy: Open the context menu for the “Widget preview” area, click “Reset tiles…”, then click “Reset”. The task will finish automatically when done.
  setup_description: Layout uses settings_panel with compact spacing, off-center placement, and high clutter. A Widget preview rectangle sits among tile toggles, spacing sliders, and color selectors. Right-clicking inside the preview opens a Mantine context menu with Add tile, Auto-arrange, and Reset tiles…. Selecting Reset tiles… reveals an inline confirmation footer with Cancel and Reset inside the same overlay. The action only commits if Reset is pressed.
  scene_context:
    theme: light
    spacing: compact
    layout: settings_panel
    placement: off_center
    scale: default
    instances: '1'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: explicit_confirm
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - clutter
    - confirmation_model
    - placement
    factor_rationale: 'The cluttered settings surface is deliberate: it makes the right-click affordance and the confirm footer easy to lose unless the agent tracks overlay state carefully.'
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 5
      semantic_observability: 3
      disambiguation_load: 3
    justification: The destructive confirmation step in a busy settings surface adds substantial feedback and recovery burden.
  success_trigger:
    human_readable:
    - The pending action ['Reset tiles'] is confirmed via the 'Reset' control inside the menu overlay.
    canonical_predicate:
      predicate_type: equals
      target_state:
        confirmed_action_path:
        - Reset tiles
        confirmation_result: confirmed
      tolerance: null
      require_confirm: true
      confirm_control: Reset
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Reset tiles… but then clicking Cancel or dismissing the menu.
  - Selecting Add tile or Auto-arrange instead.
  - Opening the menu on an unrelated settings control.
  - Never opening the confirmation footer.
  expected_interaction_path:
  - Right-click the Widget preview.
  - Click Reset tiles….
  - Click Reset.
  notes: Keep the confirmation UI inside the same Mantine dropdown subtree for single-component purity.
- id: context_menu-mantine-v2-T09
  name: 'Shortcut cue: choose Copy key'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu with shortcut text'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Open the context menu for “Key preview” and choose the option whose shortcut matches the Reference pill “Ctrl+Shift+K” (Copy key). The task will finish automatically when done.
  ui_copy: Open the context menu for “Key preview” and choose the option whose shortcut matches the Reference pill “Ctrl+Shift+K” (Copy key). The task will finish automatically when done.
  setup_description: 'Layout uses inline_surface with compact spacing, top_right placement, and medium clutter. A Key preview card sits beside other small preview cards. A Reference pill above it shows Ctrl+Shift+K. Right-clicking the preview opens a Mantine menu with shortcut text on the right: Copy value — Ctrl+C, Copy key — Ctrl+Shift+K, Copy path — Ctrl+Shift+P, and Open in new tab — Ctrl+Enter. The labels are intentionally similar and the menu appears close to the right edge.'
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: top_right
    scale: small
    instances: '1'
    guidance: mixed
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - guidance
    - placement
    - spacing
    factor_rationale: 'This is a small but nontrivial item-identification task: the correct action is specified by shortcut cue among several copy-like options in a small corner-placed overlay.'
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 3
      density_choice_interference: 4
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 2
    justification: The main pressure is semantic interference among similar items, not raw path length.
  success_trigger:
    human_readable:
    - The activated item path equals ['Copy key'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Copy key
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Copy value or Copy path instead of Copy key.
  - Ignoring the shortcut cue and choosing the wrong copy-like item.
  - Opening the menu but not activating an item.
  - Opening the menu on a neighboring preview card.
  expected_interaction_path:
  - Right-click Key preview.
  - Find the item with shortcut Ctrl+Shift+K.
  - Click Copy key.
  notes: Shortcut text should be part of the rendered item content or accessible name.
- id: context_menu-mantine-v2-T10
  name: 'Alert row 3: turn Mark critical ON'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + submenu with checkable item'
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: In the alerts panel, open the context menu for “Alert row 3”, open Status, and turn “Mark critical” ON. The task will finish automatically when done.
  ui_copy: In the alerts panel, open the context menu for “Alert row 3”, open Status, and turn “Mark critical” ON. The task will finish automatically when done.
  setup_description: Layout uses nested_scroll with compact spacing, off-center placement, and high clutter. A vertically scrollable alerts panel lists Alert row 1–4 with severity chips and timestamps. Each row supports a context menu. Right-clicking a row opens a Mantine menu with Open, Status ▸, Assign, and Mute. Status opens a child menu with Mark critical, Acknowledge, and Suppress as checkable items. For Alert row 3, Mark critical starts OFF. The surrounding panel has its own scrollbar, but all four rows are visible at load.
  scene_context:
    theme: light
    spacing: compact
    layout: nested_scroll
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: high
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - layout
    - overlay_model
    factor_rationale: A single toggle becomes hard when it sits inside a child menu for one row among many in a high-clutter nested-scroll carrier.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: The correct state is simple, but reaching it on the right row through the right submenu is a genuine grounded challenge.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Alert row 3', the checked state for Mark critical is true (ON).
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Mark critical: true
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Alert row 3
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Turning Mark critical ON for Alert row 1, 2, or 4 instead of Alert row 3.
  - Opening Status but leaving Mark critical OFF.
  - Choosing Assign or Mute instead of Status.
  - Toggling Acknowledge or Suppress without setting Mark critical.
  expected_interaction_path:
  - Right-click Alert row 3.
  - Open Status.
  - Click Mark critical so it becomes ON.
  notes: Check only the Mark critical key for success.
- id: context_menu-mantine-v2-T11
  name: 'Board card 2: set Priority to Blocker'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu with radio-style section'
  task_template: select_one
  secondary_template: null
  browsergym_goal: On the planning board, open the context menu for “Card 2 and set Priority to “Blocker”. The task will finish automatically when done.
  ui_copy: On the planning board, open the context menu for “Card 2 and set Priority to “Blocker”. The task will finish automatically when done.
  setup_description: Layout uses dashboard_panel with compact spacing, off-center placement, and medium clutter. Three board cards are visible in one lane. Right-clicking a card opens a Mantine menu with Open, Priority, Move, and Archive. Priority is rendered as an in-menu radio-style section with Low, Medium, High, and Blocker. All cards start at High. The menu remains open while the selected indicator moves.
  scene_context:
    theme: light
    spacing: compact
    layout: dashboard_panel
    placement: off_center
    scale: small
    instances: '3'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - instances
    - scale
    - clutter
    factor_rationale: This pairs same-type board cards with a radio section so the correct task is to update one local state, not just activate a leaf item.
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 4
    justification: Wrong-card errors are likely, and the radio-style section demands an observable final selection rather than a fire-and-forget click.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Card 2', the selected value in group 'Priority' equals 'Blocker'.
    canonical_predicate:
      predicate_type: equals
      target_state:
        radio_groups:
          Priority: Blocker
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Card 2
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Setting Blocker on Card 1 or Card 3 instead of Card 2.
  - Leaving Card 2 at High or changing it to Low/Medium.
  - Choosing Move or Archive instead of adjusting Priority.
  - Focusing Blocker without selecting it.
  expected_interaction_path:
  - Right-click Card 2.
  - Select Blocker in the Priority section.
  notes: Expose radio_groups per card instance.
- id: context_menu-mantine-v2-T12
  name: 'Runtime panel: scroll to Open diagnostics'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu dropdown (scrollable)'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: In the runtime panel, open the context menu for the “Worker metrics” card and select “Open diagnostics”. The task will finish automatically when done.
  ui_copy: In the runtime panel, open the context menu for the “Worker metrics” card and select “Open diagnostics”. The task will finish automatically when done.
  setup_description: Layout uses nested_scroll with compact spacing, bottom_right placement, and high clutter. A runtime side panel contains several small metric cards; only Worker metrics opens a custom context menu. The Mantine dropdown is long, grouped, and internally scrollable. The target item Open diagnostics appears near the bottom below Change visualization, Attach note, Export data, and Open settings. The panel and the page both scroll independently, but the card is visible at load.
  scene_context:
    theme: light
    spacing: compact
    layout: nested_scroll
    placement: bottom_right
    scale: small
    instances: '1'
    guidance: text
    clutter: high
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: true
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - layout
    - internal_scroll_region
    - placement
    factor_rationale: The nested-scroll carrier plus long overlay list forces the agent to separate panel scroll from overlay scroll and recover the right path in a semantically dense action list.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 5
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: The density of nearby actions and the nested-scroll environment make this a strong overlay-local scrolling task.
  success_trigger:
    human_readable:
    - The activated item path equals ['Open diagnostics'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Open diagnostics
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting Open settings or Export data instead of Open diagnostics.
  - Scrolling the panel or page rather than the menu.
  - Opening the menu on a different metrics card.
  - Opening the menu without activating any item.
  expected_interaction_path:
  - Right-click Worker metrics.
  - Scroll inside the dropdown until Open diagnostics is visible.
  - Click Open diagnostics.
  notes: Keep only the dropdown scrollable; non-target cards should not have custom context menus.
- id: context_menu-mantine-v2-T13
  name: 'prod-west node: Move → Under Archive → As child'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + Menu.Sub chain (click-hover)'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: In the environment tree, open the context menu for “prod-west” and select Move  Under Archive  As child. The task will finish automatically when done.
  ui_copy: In the environment tree, open the context menu for “prod-west” and select Move  Under Archive  As child. The task will finish automatically when done.
  setup_description: Layout uses settings_panel with compact spacing, top_left placement, and high clutter. A small environment tree is embedded among release switches and banners. Nodes include staging, prod-east, prod-west, archive, and backup. Right-clicking prod-west opens a Mantine menu with Move ▸, Rename, Inspect, and Delete. Move opens Under Archive  and Under Backup ▸. Under Archive opens As sibling and As child. The child menus use Menu.Sub with click-hover behavior and modest open/close delay.
  scene_context:
    theme: light
    spacing: compact
    layout: settings_panel
    placement: top_left
    scale: small
    instances: 4_plus
    guidance: text
    clutter: high
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: tree
  design_intent:
    active_factors:
    - instances
    - overlay_model
    - layout
    factor_rationale: The task combines dense tree-node grounding with a three-stage submenu chain whose panels have to be tracked through Mantine’s click-hover submenu behavior.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 5
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 5
    justification: High clutter, many possible nodes, and a three-level click-hover submenu chain make this one of the hardest menu-path tasks in the packet.
  success_trigger:
    human_readable:
    - The activated item path equals ['Move', 'Under Archive', 'As child'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Move
        - Under Archive
        - As child
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: prod-west
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Selecting the path on staging, prod-east, archive, or backup instead of prod-west.
  - Choosing As sibling instead of As child.
  - Opening Under Backup instead of Under Archive.
  - Selecting Rename, Inspect, or Delete instead.
  expected_interaction_path:
  - Right-click prod-west.
  - Open Move, then Under Archive.
  - Click As child.
  notes: Use Menu.Sub and keep the path scoring independent of whether submenus were opened by click or hover transitions.
- id: context_menu-mantine-v2-T14
  name: 'Row Delta: exact Columns toggle set'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + submenu with checkable items'
  task_template: select_many
  secondary_template: null
  browsergym_goal: In the compact table, open the context menu for the row “Delta”, open Columns, and set Owner ON, Status OFF, Due date ON, and Tags OFF. The task will finish automatically when done.
  ui_copy: In the compact table, open the context menu for the row “Delta”, open Columns, and set Owner ON, Status OFF, Due date ON, and Tags OFF. The task will finish automatically when done.
  setup_description: Layout uses table_cell with compact spacing, small scale, and medium clutter. Four rows (Alpha, Beta, Gamma, Delta) are visible. Right-clicking a row opens a Mantine menu with View details, Columns ▸, and Export row. Columns opens a child dropdown containing Owner, Status, Due date, and Tags as checkable items. In Delta, initial states are Owner OFF, Status ON, Due date OFF, Tags ON. The child dropdown stays open while the check states change.
  scene_context:
    theme: light
    spacing: compact
    layout: table_cell
    placement: off_center
    scale: small
    instances: 4_plus
    guidance: text
    clutter: medium
  component_context:
    overlay_model: nested_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: table
  design_intent:
    active_factors:
    - instances
    - spacing
    - overlay_model
    factor_rationale: This reuses a validated menu-state idiom but puts it in a denser table context and demands an exact four-key final state on the correct row.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 4
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 5
    justification: Four exact toggle states on the correct row through a submenu is reliably hard for both grounding and verification reasons.
  success_trigger:
    human_readable:
    - For the context menu instance labeled 'Delta', the Columns checked states match Owner=true, Status=false, Due date=true, Tags=false.
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        checked_items:
          Owner: true
          Status: false
          Due date: true
          Tags: false
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Delta
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Applying the toggle set on Alpha, Beta, or Gamma instead of Delta.
  - Leaving any one required key in the wrong state.
  - Choosing Export row or View details instead of Columns.
  - Closing the menu before the final state matches.
  expected_interaction_path:
  - Right-click Delta.
  - Open Columns.
  - Toggle the four listed items until the final state matches.
  notes: The checker should evaluate only the four named keys and the correct row label.
- id: context_menu-mantine-v2-T15
  name: 'Draft card 2: Delete draft and confirm'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu + inline confirm footer'
  task_template: confirm_cancel
  secondary_template: null
  browsergym_goal: In the draft drawer, open the context menu for “Draft 2”, click “Delete draft…”, then click “Delete”. The task will finish automatically when done.
  ui_copy: In the draft drawer, open the context menu for “Draft 2”, click “Delete draft…”, then click “Delete”. The task will finish automatically when done.
  setup_description: Layout uses drawer_flow with compact spacing, off-center placement, and medium clutter. A drafts drawer is already open and contains three draft cards. Right-clicking a card opens a Mantine menu with Open, Rename, and Delete draft…. Choosing Delete draft… reveals Cancel and Delete in an inline footer in the same overlay. Only Draft 2 is the target. The correct branch is confirmation, not cancellation.
  scene_context:
    theme: light
    spacing: compact
    layout: drawer_flow
    placement: off_center
    scale: small
    instances: '3'
    guidance: text
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: explicit_confirm
    precision_surface: discrete
    secondary_supporting_primitive: drawer
  design_intent:
    active_factors:
    - instances
    - confirmation_model
    - layout
    factor_rationale: This takes a validated confirm flow and adds wrong-instance pressure inside a compact drawer so the menu state must be tracked across both row selection and destructive confirmation.
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 5
      semantic_observability: 3
      disambiguation_load: 4
    justification: A destructive confirm flow on the correct card inside a compact drawer is meaningfully hard even though the leaf labels are simple.
  success_trigger:
    human_readable:
    - The pending action ['Delete draft'] is confirmed via the 'Delete' control inside the menu overlay.
    canonical_predicate:
      predicate_type: equals
      target_state:
        confirmed_action_path:
        - Delete draft
        confirmation_result: confirmed
      tolerance: null
      require_confirm: true
      confirm_control: Delete
      require_correct_instance: true
      target_instance_label_or_id: Draft 2
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Deleting Draft 1 or Draft 3 instead of Draft 2.
  - Clicking Cancel instead of Delete.
  - Opening Delete draft… and then dismissing the overlay.
  - Selecting Open or Rename instead of starting the delete flow.
  expected_interaction_path:
  - Right-click Draft 2.
  - Click Delete draft….
  - Click Delete.
  notes: Expose open_target, pending_action_path, and confirmation_result per draft card.
- id: context_menu-mantine-v2-T16
  name: 'Preview card 2: choose Hide preview from eye icon cue'
  canonical_type: context_menu
  implementation_source: mantine
  implementation_variant: composite
  implementation_component: 'Mantine: Menu items with icons'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Open the context menu for “Preview card 2 and choose the option that matches the Reference icon (crossed-out eye). The task will finish automatically when done.
  ui_copy: Open the context menu for “Preview card 2 and choose the option that matches the Reference icon (crossed-out eye). The task will finish automatically when done.
  setup_description: Layout uses inline_surface with compact spacing, bottom_right placement, and medium clutter. Two preview cards are shown above a small toolbar. A Reference box above them shows only a crossed-out eye icon. Right-clicking a preview card opens a Mantine menu with Show preview (eye), Hide preview (crossed-out eye), Duplicate, and Delete. Only Preview card 2 is the target. The icon cue is purely visual, and the target row sits near the lower-right corner of the surface.
  scene_context:
    theme: light
    spacing: compact
    layout: inline_surface
    placement: bottom_right
    scale: small
    instances: '2'
    guidance: visual
    clutter: medium
  component_context:
    overlay_model: single_overlay
    internal_scroll_region: false
    confirmation_model: auto_apply
    precision_surface: discrete
    secondary_supporting_primitive: none
  design_intent:
    active_factors:
    - guidance
    - placement
    - instances
    factor_rationale: 'This is a short but still difficult visual-match task: the agent must choose the correct card and then resolve a subtle icon contrast between show and hide preview.'
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 4
    justification: The visual distinction is subtle and the wrong-instance risk remains real even though the action path is shallow.
  success_trigger:
    human_readable:
    - The activated item path equals ['Hide preview'].
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        last_activated_item_path:
        - Hide preview
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: Preview card 2
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Choosing Show preview instead of Hide preview.
  - Selecting the correct icon action on Preview card 1 instead of Preview card 2.
  - Choosing Duplicate or Delete instead.
  - Opening the menu but not activating any item.
  expected_interaction_path:
  - Right-click Preview card 2.
  - Match the crossed-out eye reference icon to Hide preview.
  - Click Hide preview.
  notes: Ensure eye and crossed-eye icons remain visually distinct at small scale and in corner placement.