File size: 163,147 Bytes
24918f7
 
 
 
 
 
 
 
48f76bc
24918f7
48f76bc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24918f7
48f76bc
 
 
 
 
24918f7
 
48f76bc
24918f7
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
 
 
 
24918f7
 
48f76bc
 
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
48f76bc
 
 
 
 
 
24918f7
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
48f76bc
 
 
24918f7
 
 
48f76bc
 
 
24918f7
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
48f76bc
 
 
24918f7
 
 
 
48f76bc
24918f7
 
 
 
48f76bc
 
 
24918f7
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
48f76bc
 
 
24918f7
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
48f76bc
24918f7
 
 
 
 
 
 
 
 
 
 
48f76bc
 
 
 
 
 
 
 
 
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
 
 
 
 
 
 
 
 
 
 
 
 
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48f76bc
 
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "catalog_revision": "dc3bf9215aac8877",
  "state": {
    "user_text_chars": 900,
    "recent_tools": 12,
    "head_tokens": 512
  },
  "questions": {
    "deadline_ms": 5000,
    "tools": {
      "independent": true,
      "options": {
        "answer_decision": "Answer a worker's needs_decision: pick one of its offered options; the worker resumes on its same session with your choice.",
        "ask_user": "Structured question for the user — this tool is the only way to ask one, and assistant prose is not an answer. Host parks until the user resolves; next wake returns this tool result. Prefer choices[] when present. Parallel while pending → ASK_USER_ALREADY_PENDING. Fill args per field docs below.",
        "capture_page": "One-shot open→act→snapshot→close; prefer page_* for live/authenticated state. Use project_dir for a static tree or url plus process_handle for a loopback app. Targets are exclusive. Returns structure, requests, errors, console, and a screenshot; use filmstrip for settled sequence claims and timeline for anything that happens while the page is painting.",
        "chmod": "Change approval bits on repo-relative paths.",
        "chown": "Change file ownership within write scope (never use command chown).",
        "code_rewrite": "Rewrite a code shape across path or paths[]. $VAR matches one node; $$$VAR a sequence. Narrow bare `$A | $B` patterns (CODE_REWRITE_PATTERN_TOO_BROAD). Parse-breaking rewrites are refused (MUTATION_BROKE_PARSE). For search, use grep structural: true. Track changed, blocked (code/details), failed, unobserved_files and truncated separately: blocked is not no-match, and successful siblings may already be saved. Address each cause without repeating saved mutations",
        "command": "Needs `command` or `pipeline` (not both). Runs as argv without a shell: `\u0026\u0026`/`||`/`;` sequence commands, `pipeline` carries `|`, `\u003e`/`\u003e\u003e`/`2\u003e` redirect, globs and `@scratch/\u003cpath\u003e` expand, `$()`/backticks reject. Leading `NAME=value` assignments scope to their command; shared variables belong in `env`. Pass cwd; `cd` is rejected. Omit output paths to return output tails.",
        "command_output": "Read command job output since cursor and current host-observed network facts. Inspect the handle of the process making a failed connection before attributing an application error to the sandbox. `network` records observed destinations and allow/deny decisions; `boundary_refusal` reports host attribution. Allowed access does not imply a successful upstream response.",
        "command_stop": "Request termination of a command job process tree. stop_requested acknowledges the request; running stays true until exit is observed. Request once, then wait on the handle or inspect command_output rather than repeating stop.",
        "complete_leg": "Finish this worker leg. Call once when the assignment is done or blocked. The host builds the parent report from these fields plus disk proof.",
        "copy": "Copy files within write scope (files only; never use command cp).",
        "delegate_decompose": "Decompose an approved plan into delegation legs",
        "delegate_dispatch": "Dispatch a delegation leg to the worker queue",
        "delegate_init": "Create a delegation departure for the current coordinator session",
        "delegate_status": "Return delegation departure status and legs",
        "delete": "Remove files and empty directories within write scope; the person can undo each removal.",
        "diff": "Unified diff between two repo-relative file paths (read-scope only; never use command diff).",
        "edit": "Replace an exact span in a write-scope file. Batch independent edits to distinct files. Read in an earlier response (same-batch read+edit rejects: EDITOR_DOCUMENT_READ_REQUIRED). Copy old_string after line-number tab; unique unless replace_all. Parse-breaking splices: MUTATION_BROKE_PARSE. New files: write.",
        "extend_worker_budget": "Grant a running worker a higher tool-round ceiling, usually in answer to its request_budget; the worker is told on its next round and its request closes.",
        "extract_archive": "Unpack .zip or .tar.gz into a write-scoped directory (replaces unzip/tar xzf; HITL ask by default).",
        "fanout_plan": "Stamp a planned parallel fan-out (1–N read-only legs). Call on fanout_planned phases, then workflow_advance. Stamping records the plan only; it does not enqueue workers. In the worker phase, dispatch each leg with task and its host-issued workflow_work_id. Recover incomplete legs within the plan's attempt allowance.",
        "fetch_url": "Read a web page, documentation site, or other online resource. mode=text (default) extracts readable page text (HTML→markdown); large bodies return a head + symbol map — page with offset+limit (cached). mode=raw returns the verbatim resource: textual MIME (HTML/CSS/JS/JSON/SVG/…) as text with the same paging; image MIME types without dest automatically ingest into the session visual store and emit visual captures",
        "find": "Bounded recursive directory walk — canonical for ** name_glob. Default type=any returns files and directories together. Wide unscoped walk at path=\".\" (2000+ paths) returns view digest (selected=0) with distribution + FIND_OVERFLOW_NARROW — pass name_glob when you can name a filename pattern. A concrete path (not \".\") or name_glob returns literal results[] (same as list_dir targeted). Explicit max_results or offset also",
        "git_blame": "Per-line blame JSON (`available`, `lines` with commit/author/date/content).",
        "git_branches": "List local branches JSON (`available`, `branches` with name/current).",
        "git_checkout": "Switch to an existing local branch, or explicitly create and switch to a new one. Rehearses and reviews file changes before applying. Preserves unrelated local edits; refuses conflicting edits. Reports the actual branch and HEAD even after failure.",
        "git_commit": "Stage and commit paths with a message; amend=true replaces HEAD with the selected paths, including new files, leaving unrelated staged changes alone. Success JSON: available, hash, paths, and uncommitted_paths/uncommitted_count for dirty files this commit left alone. Failure JSON: available=false, error, optional hook_failed, output_tail (last hook/CLI lines), and hint. Empty paths stages only files this session wrote; name paths explicitly to",
        "git_compare": "Compare frozen commit IDs: ahead/behind counts for head_ref relative to base_ref, plus all merge bases.",
        "git_diff": "Git diff JSON, one page of files in git's order (`available`, `files` with per-file insertions/deletions and, unless `stat`, that file's hunks in `diff`; `available:false` on non-git projects). Pages hold up to 80 files and 5 KiB of hunks by default: read `files_total`, use `next_offset` for more files when needed; exhaust the selection for tasks requiring complete coverage. `wire_spill_path` retains the",
        "git_log": "Read paged commit history from a branch, tag, commit, or revision range. Use ref for revisions and path only for a file. main..feature lists commits unique to feature; main...feature lists both sides. Follow next_offset to continue.",
        "git_merge": "Merge a revision into the current branch. Rehearses and reviews file effects. Conflicts are explicit and retain the merge state: edit resolutions, then continue with explicit paths; abort only when asked to discard merge work. Check status and after state, not diagnostics, for success.",
        "git_ref": "Resolve refs to SHAs JSON (`available`, `refs` with ref/sha/peeled).",
        "git_restore": "Restore explicit paths in the Git worktree, index, or both. Defaults to Git's ordinary worktree-from-index behavior. This discards selected state — use only when the user explicitly asked to revert named paths.",
        "git_show": "Show commit or file at ref JSON (`available`, `show` with kind diff/blob).",
        "git_stash": "Save explicit repository paths temporarily, apply a saved stash, or explicitly drop one. Save preserves unrelated edits and index entries. Apply retains the stash even on success; use drop separately after verifying restoration. Conflicts and partial effects are reported in structured state.",
        "git_stash_list": "List stashes with immutable IDs and current selectors for apply/drop.",
        "git_status": "Git working tree status JSON (`available`, `branch`, `head_short`, `upstream`, `ahead`/`behind`, `dirty`, staged/unstaged/untracked counts, `files` with porcelain XY status one entry per file — untracked directories are expanded; `available:false` on non-git projects). Pages of 80 files: read `files_total`, use `next_offset` to continue when more coverage is needed; exhaust pages when the task requires the complete selection. `paths` narrows the selection to",
        "grep": "Search files with RE2 text patterns or tree-sitter structural patterns. Recurses under path with optional path_glob, searches gitignored files, and skips engine/VCS metadata. Wide results may return a view digest.",
        "handoff_health": "Report reservation counts for a handoff session plane.",
        "handoff_init": "Bind the parent session handoff plane for sibling worker coordination.",
        "handoff_release": "Release one or more path reservations held by the caller agent.",
        "handoff_release_all": "Release every path reservation held by the caller agent on the session plane.",
        "handoff_reserve": "Record repo-relative path reservations on the parent session plane (informational; merge resolves overlaps).",
        "held_result": "Read a held call by its handle, running or settled with its original outcome, codes, and result. wait_ms waits up to 30 s for a running call.",
        "held_stop": "Cancel a running held call. Request once, then wait on the handle or read call_result.",
        "http_request": "Send one bounded request to an API, webhook, or service endpoint and return its status, headers, and raw body.",
        "jq": "Query JSON, YAML, or TOML via sandboxed jq. Pass limit/offset for literal values[].",
        "jq_edit": "Update a JSON, YAML, or TOML document with a jq program and write the result in the same format, in place or to dest. The program returns the whole document (`.a.b = 1`, `del(.x)`, `.items |= map(...)`). Unchanged values keep their literals, key order, and YAML comments; syntax a rewrite would lose is refused (JQ_EDIT_LOSSY).",
        "list_dir": "Locate repository areas with {\"path\":\".\"}. A named directory or explicit listing controls return entries instead. Use summarize to explain the area.",
        "measure_page": "Measure selector geometry in CSS pixels, and whether the pointer can reach each element or what covers or clips it. Use id for an existing live page, or one exclusive project_dir/loopback url target. annotate adds boxes; page_geometry remains the numeric evidence.",
        "mkdir": "Create directories within write scope (never use command mkdir).",
        "move": "Rename files within write scope (never use command mv); a replaced destination can be undone.",
        "pack_board": "When the board is stale, workers changed, or you need a scan/layout pulse — return the board snapshot. Not a substitute for summarize or a known-file read.",
        "page_act": "Drive a held page with trusted input. Each step aims where its target receives the pointer; the result reports that point plus the requests, errors, and console output the drive caused. With record, the drive is also a timeline seen as a labeled contact sheet.",
        "page_close": "Tear down a held page; optional final snapshot.",
        "page_open": "Open a live page; returns an id held across turns. The page has its own cookies and storage, which persist until page_close. Up to max_pages stay open per session; re-opening a held target reloads it with the given viewport and routes. Prefer capture_page for a single check. Bindings match capture_page (project_dir or url).",
        "page_snapshot": "Universal {state, snapshot, log, artifact} for a held page (does not close it).",
        "parse_decomposition": "Validate decomposition.",
        "parse_delegation_plan": "Validate delegation plan.",
        "parse_evaluation": "Validate evaluation.",
        "parse_extract_json": "Extract JSON.",
        "parse_validate": "Validate JSON.",
        "plan_append_review_evidence": "Append advisory plan review evidence to critic.jsonl",
        "preview_overlay": "Merge preview — same plan as promote_overlay without landing. overlay_id == job_id. Returns path_status and ready_resolutions; spill_path is host-data-relative (promote-spills/\u003cid\u003e.json). Example: {\"overlay_id\":\"\u003cjob_id\u003e\"}.",
        "process_list": "Inspect host processes after approval. Returns names, executable paths, UID, parent PID, and opaque instance references; no argv or environment. Use pid for a known target. Use next_after_pid for another page of the changing snapshot. Unavailable metadata does not mean exited. Use command_output and command_stop for jobs you launched with command.",
        "process_signal": "Send a signal to exact host process instances after approval. Pass opaque references returned by process_list in this task. PID reuse or changed identity rejects; names, bare PIDs, groups, and descendants are not targets. TERM requests graceful termination; KILL can discard unsaved work. Delivered means the signal was accepted, not that exit was observed. Inspect the result for each target.",
        "promote_overlay": "Atomically promote a worker overlay (overlay_id=job_id), considering all observed changes. Conflicts return a menu without writes; resolve all via resolutions/drop.",
        "read": "Read a file and return its content or structure in JSON; unscoped large files return a structure digest. For literal content, set mode / offset / limit / ranges / symbol.",
        "recall": "Look up what was already observed instead of observing it again. Reach for it when a finished worker leg's envelope omits a detail the leg saw, when a continuation record or a `[compacted …]` banner names a handle whose body is gone from context, or — from a root session — when an earlier session on this project may already",
        "record_finding": "Post peer intent for parallel siblings — shared paths, registry slots, merge-relevant facts. Cite a real path/handle.",
        "reject_overlay": "Abort overlay without landing. overlay_id == job_id. Wrong/superseded only — not landable conflicts. Example: {\"overlay_id\":\"\u003cjob_id\u003e\",\"reason\":\"Superseded by corrected dispatch\"}.",
        "render_view": "Rasterize SVG or HTML into an authored visual: UI/product mockups (especially before building), diagrams, comparisons, timelines, or charts. Use when spatial layout improves clarity; never as runtime evidence — use capture_page for observed UI. Host injects an offline design kit (OFL fonts, Lucide-adapted icons, theme tokens, spacing/type scales, media placeholders). No CDN links, scripts, or external https assets — use",
        "replace_lines": "Atomically replace or reindent line ranges. Use direct fields once, or operations for coupled non-overlapping seams in one snapshot. Read existing editable files in an earlier response before applying changes; concurrent edits rebase against that read. EDITOR_DOCUMENT_READ_REQUIRED or EDITOR_DOCUMENT_CHANGING requires read and recomputation.",
        "request_budget": "Ask your coordinator for more tool rounds when this leg's goal needs more than remain. Name the rounds and the concrete work they cover. You keep working while the coordinator decides; a granted ceiling arrives as a host notice on your next round. If none arrives, finish with an honest partial report at your current ceiling. One request can be",
        "request_decision": "Escalate an ambiguity you can't resolve in scope — question + 2+ options, the accepted call suspends your run. The coordinator answers and you resume with the same workspace. Do not also call complete_leg.",
        "request_tools": "Load more tool schemas for the next model call by describing what the work needs",
        "restore_version": "Restore a file to a previously retained source version as a forward mutation in the source ledger. Use source_history to inspect available versions or diffs.",
        "scan_compare": "Diff two complete scans — returns the findings introduced, resolved, and unchanged since the baseline. After a fix, pass the post-fix scan as new_scan_id and omit old_scan_id: the host resolves the previous complete scan in the same category. Use it to prove a fix landed; a board Scan: tail is not proof.",
        "scan_list": "List recent code scans for the active project (read-only). Returns a slim id roster with no guidance bodies — use it to resolve a scan_id for scan_summary, scan_query, or scan_compare when the board does not already show one.",
        "scan_pack": "Run the host's configured code scanners over the active project and return one scan_pack. Use it when the ask is security or code-quality work and the board shows no complete scan at the current head. Returns per_scan[].scan_id — pass that exact array to scan_summary or scan_query for a cross-engine aggregate, or set completion=summary to receive the aggregate when this call",
        "scan_query": "Page findings for one or more scans. One id queries one scan; the exact id array returned by scan_pack queries that pack as a cross-engine aggregate. Narrow with rule_id, path, code, or level rather than reading every finding. When a result is truncated, page it with offset — do not re-run the scan.",
        "scan_summary": "Read status and guidance for one or more scans. One id reads one scan; the exact id array returned by scan_pack reads that pack as a single cross-engine aggregate, and a pass_id reads a full pass, including scanners that have not started yet. This is the first call after a scan completes — start here rather than grepping the repo",
        "secret_generate": "Generate random secret material and return an opaque {{paintedwolf-secret:…}} reference for tool execution.",
        "secret_list": "List visible managed secret references and metadata, never values.",
        "secret_revoke": "Revoke a managed secret reference while retaining provider-screening evidence.",
        "skills_read": "Read a skill or resource by name, find skills by describing the work, or omit arguments to list every loaded skill.",
        "source_history": "Query the source ledger for file effects (mode=effects), current line authorship (mode=lines), this session's paths (mode=mine), historical version content (mode=version), or version diffs (mode=diff). Includes uncommitted state. Actors: you / agent / user / external / mixed / unknown. Missing history is reported explicitly.",
        "stat": "File metadata (mode, size, mtime, entry_count for directories)",
        "state_close": "Exit the active workflow run for the session",
        "state_query": "Query active workflow run and scaffold vars",
        "state_start": "Propose a workflow run on the current session. The host records the proposal; an explicit human action starts it.",
        "state_update": "Update model-authored scaffold data on the active workflow run",
        "submit_verdict": "Record the phase's review_loop verdict per verdict_schema. Terminal verdicts satisfy its evidence_passed gate; other gates and advancement rules still apply. Non-terminal verdicts re-loop within the cap. Terminal verdicts must cite observed evidence paths/handles in cited_evidence or fetched URLs in cited_urls. Invented references reject; non-terminal verdicts need no citations.",
        "summarize": "Explain a named file or area with a bounded, source-cited briefing. Path sets scope; task ranks within it. Use next_actions only when more evidence is needed.",
        "surface_note": "Post a concise, grounded mid-turn note for the user, then keep working — this does not end the turn. Use it for meaningful progress or expectation changes. Say what happened and what comes next. Cite at least one cited_evidence or cited_urls entry. Carries artifact_ids, which is how a still reaches the user mid-run. For a question use ask_user; the final",
        "survey_repo": "One catalog map (Tier 1 digest, selected=0), not a briefing. Call when you still cannot name a destination and the ask is unknown layout (layout_overview), duplicated env/config/stores (ssot_drift), or where HTTP routes/handlers live (api_routes). Then summarize the destination. For how/what on a named file/package/dir, use summarize(path=…) — never survey_repo for depth on a path you can already say.",
        "task": "Start background workers for parallel execution across concurrent legs and return control immediately. Dispatch ready legs together in the same turn or launch companion legs while work runs. For single-thread, localized changes, execute inline directly. Match the worker profile and scope to the assignment.",
        "terminal_close": "Tear down a held pty (graceful then kill). It returns lifecycle acknowledgement only; use terminal_read or terminal_snapshot before closing when output matters.",
        "terminal_open": "Live host terminal (pty): run a command-class argv command. Prefer command when you only need exit code/tail for yourself. Use this tool when the session must be held or the user should see the screen — then terminal_snapshot. Returns an id held across turns plus the requested observation (screen by default). Never supply known plaintext via later terminal_send — use",
        "terminal_read": "Read incremental pty output since the last read (idle/timeout bounded).",
        "terminal_send": "Write literal text and/or named control tokens ({Enter}, {Ctrl-C}, …) to a held pty, then return the settled vt grid. Never send known plaintext passwords, tokens, or passphrases. An opaque {{paintedwolf-secret:…}} reference is allowed when the interactive prompt is the consuming boundary; the host resolves and screens it.",
        "terminal_snapshot": "User-visible photograph of the held terminal session (CLI output or TUI), parallel to capture_page for pages. Returns one bounded VT screen and a receipt, never a duplicate main-stream log. Use for any held session — not only full-screen TUIs. Settles on output quiescence; does not advance terminal_read's cursor.",
        "update_progress": "Set session progress checklist (markdown). Replaces the whole checklist — see content for markers and caps.",
        "verify": "Run a verification check and report its terminal outcome. Bare verify runs the selected project command. With no selected command, supply the documented check appropriate to the task. A different command or pipeline is rejected when a project command is selected; use command(verification: true) for targeted checks. Selecting a command does not require it after every edit. outcome is passed",
        "view_image": "Inspect an image file (.svg, .png, .jpg, .jpeg, .webp, .gif) or a session visual and perceive its rendered pixels and extracted text. Returns format metadata and extracted text, and emits a visual capture for multimodal models.",
        "view_video": "See moments of a screen recording or other video (.mp4, .mov, .webm), including an attached one. Returns one sheet of frames, each labeled with its timestamp, plus the video's duration and size. Without times_ms it spreads count frames across start_ms to end_ms (default: the whole video); name exact times_ms to look closer at a moment, and crop to read a",
        "wait": "Park without a worker slot until a condition is satisfied or timeout expires. Use until_complete for exact process handles without periodic timer wakes; omit conditions for a timer.",
        "wc": "Count lines, bytes, and words in files or recursively in directories. bytes is the true file size; truncated marks counts taken from a capped scan.",
        "web_search": "Search the web by time window. The host selects Direct search or custom providers from Settings → Web research.",
        "worker_cancel": "Cancel a pending or running worker job; running workers get a prose-only cancellation report before the leg ends",
        "workflow_advance": "Leave the current coordinator-controlled phase when gates pass. Returns phase_gate_unmet with failed_leaves when blocked; already_advanced if host auto-advanced first. Unavailable on host-auto phases.",
        "workflow_catalog_summaries": "List bundled, session-composed, and template workflow ids.",
        "workflow_compose": "Compose a session workflow from YAML. Returns effective_summary; host replays coordinator_brief each Prompt.",
        "workflow_compose_from_template": "Compose from a bundled template. Returns effective_summary; read prepended coordinator_brief before proposing with state_start.",
        "workflow_persist": "Save a session-composed workflow to .paintedwolf/workflows/\u003cworkflow_id\u003e/workflow.yaml (requires user confirmation).",
        "workflow_transition": "Fire choice leave by transition_id (Phase exit). Pending input latches block; human_approval_awaiting does not.",
        "workflow_user_feedback": "Pending user feedback for the active run. Wait for the host card — do not infer answers.",
        "write": "Create/replace files in write scope (append: true appends). Batch independent writes to distinct files; stage same-file or dependent writes. New or previously clean supported source must parse (MUTATION_BROKE_PARSE); broken files must improve and finish clean. Scope violation: WRITE_SCOPE_DENIED. Read existing editable files in an earlier response; concurrent edits rebase against it. EDITOR_DOCUMENT_READ_REQUIRED or EDITOR_DOCUMENT_CHANGING requires rereading and recomputatio"
      },
      "question": "Which of these tools will completing this request call?",
      "option_words": 60,
      "load_at": 0.94
    },
    "skills": {
      "preload_at": 3.4
    },
    "guides": {
      "omittable": [],
      "question": "Which of this guidance does completing this request need?",
      "option_words": 8,
      "omit_below": 0,
      "confidence_floor": 0.5
    },
    "kind": {
      "veto_tools": false,
      "confidence_floor": 0.6,
      "instructions": "What kind of work does this request ask for?",
      "options": {
        "answer_only": "an explanation, opinion, or answer that needs no tools",
        "change": "a bounded edit, fix, or addition the coordinator can make directly",
        "delegate": "a broad or multi-part change that parallel workers should split",
        "inspect": "reading and understanding the project without changing it",
        "run": "building, testing, running, or verifying something"
      }
    }
  },
  "request": {
    "deadline_ms": 5000,
    "load_at": 1.95,
    "max_loads": 4,
    "nearest_loads": 1
  },
  "lookup": {
    "deadline_ms": 5000,
    "read_at": 3.2
  },
  "kinds": [
    "answer_only",
    "inspect",
    "change",
    "run",
    "delegate"
  ],
  "surfaces": [
    {
      "id": "await_host",
      "mode": "",
      "floor": [
        "answer_decision",
        "ask_user",
        "find",
        "grep",
        "list_dir",
        "pack_board",
        "read",
        "recall",
        "scan_compare",
        "scan_list",
        "scan_query",
        "scan_summary",
        "surface_note"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-find-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "claim-evidence"
      ]
    },
    {
      "id": "await_user",
      "mode": "",
      "floor": [
        "ask_user",
        "grep",
        "list_dir",
        "read",
        "recall",
        "surface_note",
        "wait",
        "workflow_advance"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "claim-evidence"
      ]
    },
    {
      "id": "decision_adjudicate",
      "mode": "",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "edit",
        "extend_worker_budget",
        "grep",
        "list_dir",
        "pack_board",
        "read",
        "recall",
        "replace_lines",
        "restore_version",
        "secret_generate",
        "secret_list",
        "secret_revoke",
        "skills_read",
        "submit_verdict",
        "summarize",
        "surface_note",
        "survey_repo",
        "task",
        "update_progress",
        "wait",
        "worker_cancel",
        "write"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-read-tool",
        "native-recall-tool",
        "native-edit-tool",
        "secure-by-default",
        "secure-by-default-read",
        "managed-secret-tools",
        "claim-evidence"
      ]
    },
    {
      "id": "implement_dispatch",
      "mode": "orchestrate",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "extend_worker_budget",
        "promote_overlay",
        "recall",
        "reject_overlay",
        "submit_verdict",
        "surface_note",
        "task",
        "update_progress",
        "wait",
        "worker_cancel"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-recall-tool",
        "claim-evidence"
      ]
    },
    {
      "id": "implement_investigate",
      "mode": "investigate",
      "floor": [
        "ask_user",
        "find",
        "grep",
        "list_dir",
        "read",
        "recall",
        "request_tools",
        "skills_read",
        "summarize",
        "surface_note",
        "update_progress"
      ],
      "loadable": [
        "answer_decision",
        "capture_page",
        "chmod",
        "chown",
        "code_rewrite",
        "command",
        "command_output",
        "command_stop",
        "copy",
        "decline_worker_budget",
        "delete",
        "diff",
        "edit",
        "extend_worker_budget",
        "extract_archive",
        "fetch_url",
        "git_blame",
        "git_branches",
        "git_checkout",
        "git_commit",
        "git_compare",
        "git_diff",
        "git_log",
        "git_merge",
        "git_ref",
        "git_restore",
        "git_show",
        "git_stash",
        "git_stash_list",
        "git_status",
        "http_request",
        "jq",
        "jq_edit",
        "measure_page",
        "mkdir",
        "move",
        "pack_board",
        "page_act",
        "page_close",
        "page_open",
        "page_snapshot",
        "process_list",
        "process_signal",
        "render_view",
        "replace_lines",
        "restore_version",
        "scan_compare",
        "scan_list",
        "scan_pack",
        "scan_query",
        "scan_summary",
        "secret_generate",
        "secret_list",
        "secret_revoke",
        "source_history",
        "stat",
        "survey_repo",
        "task",
        "terminal_close",
        "terminal_open",
        "terminal_read",
        "terminal_send",
        "terminal_snapshot",
        "verify",
        "view_image",
        "view_video",
        "wait",
        "wc",
        "web_search",
        "worker_cancel",
        "write"
      ],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-find-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "claim-evidence"
      ]
    },
    {
      "id": "implement_overlay_promote",
      "mode": "orchestrate",
      "floor": [
        "answer_decision",
        "ask_user",
        "command",
        "command_output",
        "command_stop",
        "decline_worker_budget",
        "extend_worker_budget",
        "fetch_url",
        "grep",
        "http_request",
        "jq",
        "list_dir",
        "pack_board",
        "preview_overlay",
        "process_list",
        "process_signal",
        "promote_overlay",
        "read",
        "recall",
        "reject_overlay",
        "request_tools",
        "scan_list",
        "scan_query",
        "scan_summary",
        "secret_generate",
        "secret_list",
        "secret_revoke",
        "skills_read",
        "summarize",
        "surface_note",
        "survey_repo",
        "task",
        "terminal_close",
        "terminal_open",
        "terminal_read",
        "terminal_send",
        "terminal_snapshot",
        "update_progress",
        "verify",
        "wait",
        "web_search",
        "worker_cancel"
      ],
      "loadable": [
        "capture_page",
        "measure_page",
        "page_act",
        "page_close",
        "page_open",
        "page_snapshot",
        "render_view",
        "view_image",
        "view_video"
      ],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-jq-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default",
        "secure-by-default-read",
        "managed-secret-tools",
        "http-request-tools",
        "visual-show-the-design",
        "claim-evidence",
        "coordinator-host-runner",
        "terminal-no-secrets-over-pty",
        "runner-operating-procedure",
        "http-operating-procedure"
      ]
    },
    {
      "id": "implement_park",
      "mode": "orchestrate",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "extend_worker_budget",
        "pack_board",
        "recall",
        "surface_note",
        "task",
        "update_progress",
        "wait",
        "worker_cancel"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-recall-tool",
        "claim-evidence"
      ]
    },
    {
      "id": "implement_routing",
      "mode": "orchestrate",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "extend_worker_budget",
        "fetch_url",
        "list_dir",
        "pack_board",
        "promote_overlay",
        "recall",
        "request_tools",
        "scan_compare",
        "scan_list",
        "scan_query",
        "scan_summary",
        "surface_note",
        "task",
        "update_progress",
        "wait",
        "web_search",
        "worker_cancel"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-list-dir-tool",
        "native-recall-tool",
        "http-request-tools",
        "claim-evidence"
      ]
    },
    {
      "id": "implement_synthesis",
      "mode": "wrapup",
      "floor": [
        "fetch_url",
        "find",
        "grep",
        "jq",
        "list_dir",
        "read",
        "recall",
        "render_view",
        "scan_compare",
        "scan_list",
        "scan_pack",
        "scan_query",
        "scan_summary",
        "summarize",
        "survey_repo",
        "update_progress",
        "view_image",
        "view_video",
        "web_search"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-find-tool",
        "native-jq-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "http-request-tools",
        "visual-show-the-design",
        "claim-evidence",
        "page-operating-procedure"
      ]
    },
    {
      "id": "observe_investigate",
      "mode": "",
      "floor": [
        "ask_user",
        "find",
        "grep",
        "jq",
        "list_dir",
        "read",
        "recall",
        "request_tools",
        "skills_read",
        "stat",
        "summarize",
        "surface_note",
        "survey_repo",
        "update_progress",
        "wc"
      ],
      "loadable": [
        "answer_decision",
        "decline_worker_budget",
        "diff",
        "extend_worker_budget",
        "git_blame",
        "git_branches",
        "git_compare",
        "git_diff",
        "git_log",
        "git_ref",
        "git_show",
        "git_stash_list",
        "git_status",
        "pack_board",
        "scan_compare",
        "scan_list",
        "scan_pack",
        "scan_query",
        "scan_summary",
        "source_history",
        "task",
        "wait",
        "web_search",
        "worker_cancel"
      ],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-find-tool",
        "native-jq-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "claim-evidence"
      ]
    },
    {
      "id": "observe_plan",
      "mode": "",
      "floor": [
        "ask_user",
        "fanout_plan",
        "find",
        "grep",
        "jq",
        "list_dir",
        "read",
        "recall",
        "request_tools",
        "scan_compare",
        "scan_list",
        "scan_pack",
        "scan_query",
        "scan_summary",
        "summarize",
        "surface_note",
        "survey_repo",
        "web_search",
        "workflow_advance"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-find-tool",
        "native-jq-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "claim-evidence"
      ]
    },
    {
      "id": "observe_synthesis",
      "mode": "",
      "floor": [
        "find",
        "grep",
        "jq",
        "list_dir",
        "read",
        "recall",
        "scan_compare",
        "scan_list",
        "scan_pack",
        "scan_query",
        "scan_summary",
        "summarize",
        "survey_repo",
        "update_progress",
        "view_image",
        "view_video",
        "web_search"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-find-tool",
        "native-jq-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "visual-show-the-design",
        "claim-evidence",
        "page-operating-procedure"
      ]
    },
    {
      "id": "orchestrate_plan",
      "mode": "",
      "floor": [
        "ask_user",
        "fanout_plan",
        "fetch_url",
        "find",
        "grep",
        "jq",
        "list_dir",
        "read",
        "recall",
        "request_tools",
        "scan_compare",
        "scan_list",
        "scan_pack",
        "scan_query",
        "scan_summary",
        "summarize",
        "surface_note",
        "survey_repo",
        "web_search",
        "workflow_advance"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-find-tool",
        "native-jq-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "http-request-tools",
        "claim-evidence"
      ]
    },
    {
      "id": "plan_approve",
      "mode": "",
      "floor": [
        "edit",
        "fetch_url",
        "grep",
        "read",
        "recall",
        "replace_lines",
        "restore_version",
        "secret_generate",
        "secret_list",
        "secret_revoke",
        "skills_read",
        "surface_note",
        "update_progress",
        "web_search",
        "workflow_transition",
        "write"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-grep-tool",
        "native-read-tool",
        "native-recall-tool",
        "native-edit-tool",
        "secure-by-default",
        "secure-by-default-read",
        "managed-secret-tools",
        "http-request-tools",
        "claim-evidence"
      ]
    },
    {
      "id": "plan_execute",
      "mode": "",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "delegate_dispatch",
        "edit",
        "extend_worker_budget",
        "fetch_url",
        "grep",
        "pack_board",
        "read",
        "recall",
        "replace_lines",
        "secret_generate",
        "secret_list",
        "secret_revoke",
        "skills_read",
        "surface_note",
        "task",
        "update_progress",
        "wait",
        "web_search",
        "worker_cancel",
        "write"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-grep-tool",
        "native-read-tool",
        "native-recall-tool",
        "native-edit-tool",
        "secure-by-default",
        "secure-by-default-read",
        "managed-secret-tools",
        "http-request-tools",
        "claim-evidence"
      ]
    },
    {
      "id": "plan_research",
      "mode": "",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "edit",
        "extend_worker_budget",
        "fetch_url",
        "grep",
        "list_dir",
        "pack_board",
        "read",
        "recall",
        "replace_lines",
        "restore_version",
        "secret_generate",
        "secret_list",
        "secret_revoke",
        "skills_read",
        "summarize",
        "surface_note",
        "survey_repo",
        "task",
        "update_progress",
        "wait",
        "web_search",
        "worker_cancel",
        "workflow_advance",
        "write"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-read-tool",
        "native-recall-tool",
        "native-edit-tool",
        "secure-by-default",
        "secure-by-default-read",
        "managed-secret-tools",
        "http-request-tools",
        "claim-evidence"
      ]
    },
    {
      "id": "plan_review",
      "mode": "",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "edit",
        "extend_worker_budget",
        "grep",
        "list_dir",
        "pack_board",
        "read",
        "recall",
        "replace_lines",
        "restore_version",
        "secret_generate",
        "secret_list",
        "secret_revoke",
        "skills_read",
        "submit_verdict",
        "summarize",
        "surface_note",
        "survey_repo",
        "task",
        "update_progress",
        "wait",
        "worker_cancel",
        "write"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-read-tool",
        "native-recall-tool",
        "native-edit-tool",
        "secure-by-default",
        "secure-by-default-read",
        "managed-secret-tools",
        "claim-evidence"
      ]
    },
    {
      "id": "plan_stub",
      "mode": "",
      "floor": [
        "ask_user",
        "edit",
        "fetch_url",
        "grep",
        "read",
        "recall",
        "replace_lines",
        "restore_version",
        "secret_generate",
        "secret_list",
        "secret_revoke",
        "skills_read",
        "surface_note",
        "update_progress",
        "web_search",
        "write"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-grep-tool",
        "native-read-tool",
        "native-recall-tool",
        "native-edit-tool",
        "secure-by-default",
        "secure-by-default-read",
        "managed-secret-tools",
        "http-request-tools",
        "claim-evidence"
      ]
    },
    {
      "id": "recon_reconcile",
      "mode": "",
      "floor": [
        "ask_user",
        "grep",
        "jq",
        "list_dir",
        "pack_board",
        "read",
        "recall",
        "summarize",
        "surface_note",
        "workflow_transition"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-jq-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "claim-evidence"
      ]
    },
    {
      "id": "review_adjudicate",
      "mode": "",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "extend_worker_budget",
        "grep",
        "list_dir",
        "pack_board",
        "read",
        "recall",
        "scan_list",
        "scan_query",
        "scan_summary",
        "submit_verdict",
        "summarize",
        "surface_note",
        "survey_repo",
        "task",
        "update_progress",
        "wait",
        "worker_cancel"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-summarize-tool",
        "native-survey-repo-tool",
        "native-list-dir-tool",
        "native-grep-tool",
        "native-read-tool",
        "native-recall-tool",
        "secure-by-default-read",
        "claim-evidence"
      ]
    },
    {
      "id": "survey_execute",
      "mode": "",
      "floor": [
        "answer_decision",
        "ask_user",
        "decline_worker_budget",
        "extend_worker_budget",
        "list_dir",
        "pack_board",
        "recall",
        "scan_compare",
        "scan_list",
        "scan_query",
        "scan_summary",
        "surface_note",
        "task",
        "update_progress",
        "wait",
        "worker_cancel"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-list-dir-tool",
        "native-recall-tool",
        "claim-evidence"
      ]
    },
    {
      "id": "workflow_compose",
      "mode": "",
      "floor": [
        "ask_user",
        "recall",
        "state_start",
        "surface_note",
        "workflow_catalog_summaries",
        "workflow_compose",
        "workflow_compose_from_template",
        "workflow_persist"
      ],
      "loadable": [],
      "guides": [
        "survey-first-pass",
        "native-recall-tool",
        "claim-evidence"
      ]
    }
  ],
  "tools": [
    {
      "name": "answer_decision",
      "description": "Answer a worker's needs_decision: pick one of its offered options; the worker resumes on its same session with your choice.",
      "option": "Answer a worker's needs_decision: pick one of its offered options; the worker resumes on its same session with your choice.",
      "card": "Tool answer_decision: Answer a worker's needs_decision: pick one of its offered options; the worker resumes on its same session with your choice."
    },
    {
      "name": "ask_user",
      "description": "Structured question for the user — this tool is the only way to ask one, and assistant prose is not an answer. Host parks until the user resolves; next wake returns this tool result. Prefer choices[] when present. Parallel while pending → ASK_USER_ALREADY_PENDING. Fill args per field docs below.",
      "option": "Structured question for the user — this tool is the only way to ask one, and assistant prose is not an answer. Host parks until the user resolves; next wake returns this tool result. Prefer choices[] when present. Parallel while pending → ASK_USER_ALREADY_PENDING. Fill args per field docs below.",
      "card": "Tool ask_user: Structured question for the user — this tool is the only way to ask one, and assistant prose is not an answer. Host parks until the user resolves; next wake returns this tool result. Prefer choices[] when present. Parallel while pending → ASK_USER_ALREADY_PENDING. Fill args per field docs below."
    },
    {
      "name": "capture_page",
      "description": "One-shot open→act→snapshot→close; prefer page_* for live/authenticated state. Use project_dir for a static tree or url plus process_handle for a loopback app. Targets are exclusive. Returns structure, requests, errors, console, and a screenshot; use filmstrip for settled sequence claims and timeline for anything that happens while the page is painting.",
      "option": "One-shot open→act→snapshot→close; prefer page_* for live/authenticated state. Use project_dir for a static tree or url plus process_handle for a loopback app. Targets are exclusive. Returns structure, requests, errors, console, and a screenshot; use filmstrip for settled sequence claims and timeline for anything that happens while the page is painting.",
      "card": "Tool capture_page: One-shot open→act→snapshot→close; prefer page_* for live/authenticated state. Use project_dir for a static tree or url plus process_handle for a loopback app. Targets are exclusive. Returns structure, requests, errors, console, and a screenshot; use filmstrip for settled sequence claims and timeline for anything that happens while the page is painting."
    },
    {
      "name": "chmod",
      "description": "Change approval bits on repo-relative paths.",
      "option": "Change approval bits on repo-relative paths.",
      "card": "Tool chmod: Change approval bits on repo-relative paths."
    },
    {
      "name": "chown",
      "description": "Change file ownership within write scope (never use command chown).",
      "option": "Change file ownership within write scope (never use command chown).",
      "card": "Tool chown: Change file ownership within write scope (never use command chown)."
    },
    {
      "name": "code_rewrite",
      "description": "Rewrite a code shape across path or paths[]. $VAR matches one node; $$$VAR a sequence. Narrow bare `$A | $B` patterns (CODE_REWRITE_PATTERN_TOO_BROAD). Parse-breaking rewrites are refused (MUTATION_BROKE_PARSE). For search, use grep structural: true. Track changed, blocked (code/details), failed, unobserved_files and truncated separately: blocked is not no-match, and successful siblings may already be saved. Address each cause without repeating saved mutations;",
      "option": "Rewrite a code shape across path or paths[]. $VAR matches one node; $$$VAR a sequence. Narrow bare `$A | $B` patterns (CODE_REWRITE_PATTERN_TOO_BROAD). Parse-breaking rewrites are refused (MUTATION_BROKE_PARSE). For search, use grep structural: true. Track changed, blocked (code/details), failed, unobserved_files and truncated separately: blocked is not no-match, and successful siblings may already be saved. Address each cause without repeating saved mutations",
      "card": "Tool code_rewrite: Rewrite a code shape across path or paths[]. $VAR matches one node; $$$VAR a sequence. Narrow bare `$A | $B` patterns (CODE_REWRITE_PATTERN_TOO_BROAD). Parse-breaking rewrites are refused (MUTATION_BROKE_PARSE). For search, use grep structural: true. Track changed, blocked (code/details), failed, unobserved_files and truncated separately: blocked is not no-match, and successful siblings may already be saved. Address each cause without repeating saved mutations;"
    },
    {
      "name": "command",
      "description": "Needs `command` or `pipeline` (not both). Runs as argv without a shell: `\u0026\u0026`/`||`/`;` sequence commands, `pipeline` carries `|`, `\u003e`/`\u003e\u003e`/`2\u003e` redirect, globs and `@scratch/\u003cpath\u003e` expand, `$()`/backticks reject. Leading `NAME=value` assignments scope to their command; shared variables belong in `env`. Pass cwd; `cd` is rejected. Omit output paths to return output tails.",
      "option": "Needs `command` or `pipeline` (not both). Runs as argv without a shell: `\u0026\u0026`/`||`/`;` sequence commands, `pipeline` carries `|`, `\u003e`/`\u003e\u003e`/`2\u003e` redirect, globs and `@scratch/\u003cpath\u003e` expand, `$()`/backticks reject. Leading `NAME=value` assignments scope to their command; shared variables belong in `env`. Pass cwd; `cd` is rejected. Omit output paths to return output tails.",
      "card": "Tool command: Needs `command` or `pipeline` (not both). Runs as argv without a shell: `\u0026\u0026`/`||`/`;` sequence commands, `pipeline` carries `|`, `\u003e`/`\u003e\u003e`/`2\u003e` redirect, globs and `@scratch/\u003cpath\u003e` expand, `$()`/backticks reject. Leading `NAME=value` assignments scope to their command; shared variables belong in `env`. Pass cwd; `cd` is rejected. Omit output paths to return output tails."
    },
    {
      "name": "command_output",
      "description": "Read command job output since cursor and current host-observed network facts. Inspect the handle of the process making a failed connection before attributing an application error to the sandbox. `network` records observed destinations and allow/deny decisions; `boundary_refusal` reports host attribution. Allowed access does not imply a successful upstream response.",
      "option": "Read command job output since cursor and current host-observed network facts. Inspect the handle of the process making a failed connection before attributing an application error to the sandbox. `network` records observed destinations and allow/deny decisions; `boundary_refusal` reports host attribution. Allowed access does not imply a successful upstream response.",
      "card": "Tool command_output: Read command job output since cursor and current host-observed network facts. Inspect the handle of the process making a failed connection before attributing an application error to the sandbox. `network` records observed destinations and allow/deny decisions; `boundary_refusal` reports host attribution. Allowed access does not imply a successful upstream response."
    },
    {
      "name": "command_stop",
      "description": "Request termination of a command job process tree. stop_requested acknowledges the request; running stays true until exit is observed. Request once, then wait on the handle or inspect command_output rather than repeating stop.",
      "option": "Request termination of a command job process tree. stop_requested acknowledges the request; running stays true until exit is observed. Request once, then wait on the handle or inspect command_output rather than repeating stop.",
      "card": "Tool command_stop: Request termination of a command job process tree. stop_requested acknowledges the request; running stays true until exit is observed. Request once, then wait on the handle or inspect command_output rather than repeating stop."
    },
    {
      "name": "complete_leg",
      "description": "Finish this worker leg. Call once when the assignment is done or blocked. The host builds the parent report from these fields plus disk proof.",
      "option": "Finish this worker leg. Call once when the assignment is done or blocked. The host builds the parent report from these fields plus disk proof.",
      "card": "Tool complete_leg: Finish this worker leg. Call once when the assignment is done or blocked. The host builds the parent report from these fields plus disk proof."
    },
    {
      "name": "copy",
      "description": "Copy files within write scope (files only; never use command cp).",
      "option": "Copy files within write scope (files only; never use command cp).",
      "card": "Tool copy: Copy files within write scope (files only; never use command cp)."
    },
    {
      "name": "decline_worker_budget",
      "description": "Decline a running worker's open request_budget. Its ceiling stays where it is; the worker is told on its next round to finish within it with an honest partial report, and its request closes.",
      "option": "Decline a running worker's open request_budget. Its ceiling stays where it is; the worker is told on its next round to finish within it with an honest partial report, and its request closes.",
      "card": "Tool decline_worker_budget: Decline a running worker's open request_budget. Its ceiling stays where it is; the worker is told on its next round to finish within it with an honest partial report, and its request closes."
    },
    {
      "name": "delegate_decompose",
      "description": "Decompose an approved plan into delegation legs",
      "option": "Decompose an approved plan into delegation legs",
      "card": "Tool delegate_decompose: Decompose an approved plan into delegation legs"
    },
    {
      "name": "delegate_dispatch",
      "description": "Dispatch a delegation leg to the worker queue",
      "option": "Dispatch a delegation leg to the worker queue",
      "card": "Tool delegate_dispatch: Dispatch a delegation leg to the worker queue"
    },
    {
      "name": "delegate_init",
      "description": "Create a delegation for the current coordinator session",
      "option": "Create a delegation for the current coordinator session",
      "card": "Tool delegate_init: Create a delegation for the current coordinator session"
    },
    {
      "name": "delegate_status",
      "description": "Return delegation status and legs",
      "option": "Return delegation status and legs",
      "card": "Tool delegate_status: Return delegation status and legs"
    },
    {
      "name": "delete",
      "description": "Remove files and empty directories within write scope; the person can undo each removal.",
      "option": "Remove files and empty directories within write scope; the person can undo each removal.",
      "card": "Tool delete: Remove files and empty directories within write scope; the person can undo each removal."
    },
    {
      "name": "diff",
      "description": "Unified diff between two repo-relative file paths (read-scope only; never use command diff).",
      "option": "Unified diff between two repo-relative file paths (read-scope only; never use command diff).",
      "card": "Tool diff: Unified diff between two repo-relative file paths (read-scope only; never use command diff)."
    },
    {
      "name": "edit",
      "description": "Replace an exact span in a write-scope file. Batch independent edits to distinct files. Read in an earlier response (same-batch read+edit rejects: EDITOR_DOCUMENT_READ_REQUIRED). Copy old_string after line-number tab; unique unless replace_all. Parse-breaking splices: MUTATION_BROKE_PARSE. New files: write.",
      "option": "Replace an exact span in a write-scope file. Batch independent edits to distinct files. Read in an earlier response (same-batch read+edit rejects: EDITOR_DOCUMENT_READ_REQUIRED). Copy old_string after line-number tab; unique unless replace_all. Parse-breaking splices: MUTATION_BROKE_PARSE. New files: write.",
      "card": "Tool edit: Replace an exact span in a write-scope file. Batch independent edits to distinct files. Read in an earlier response (same-batch read+edit rejects: EDITOR_DOCUMENT_READ_REQUIRED). Copy old_string after line-number tab; unique unless replace_all. Parse-breaking splices: MUTATION_BROKE_PARSE. New files: write."
    },
    {
      "name": "extend_worker_budget",
      "description": "Grant a running worker a higher tool-round ceiling, usually in answer to its request_budget; the worker is told on its next round and its request closes.",
      "option": "Grant a running worker a higher tool-round ceiling, usually in answer to its request_budget; the worker is told on its next round and its request closes.",
      "card": "Tool extend_worker_budget: Grant a running worker a higher tool-round ceiling, usually in answer to its request_budget; the worker is told on its next round and its request closes."
    },
    {
      "name": "extract_archive",
      "description": "Unpack .zip or .tar.gz into a write-scoped directory (replaces unzip/tar xzf; HITL ask by default).",
      "option": "Unpack .zip or .tar.gz into a write-scoped directory (replaces unzip/tar xzf; HITL ask by default).",
      "card": "Tool extract_archive: Unpack .zip or .tar.gz into a write-scoped directory (replaces unzip/tar xzf; HITL ask by default)."
    },
    {
      "name": "fanout_plan",
      "description": "Stamp a planned parallel fan-out (1–N read-only legs). Call on fanout_planned phases, then workflow_advance. Stamping records the plan only; it does not enqueue workers. In the worker phase, dispatch each leg with task and its host-issued workflow_work_id. Recover incomplete legs within the plan's attempt allowance.",
      "option": "Stamp a planned parallel fan-out (1–N read-only legs). Call on fanout_planned phases, then workflow_advance. Stamping records the plan only; it does not enqueue workers. In the worker phase, dispatch each leg with task and its host-issued workflow_work_id. Recover incomplete legs within the plan's attempt allowance.",
      "card": "Tool fanout_plan: Stamp a planned parallel fan-out (1–N read-only legs). Call on fanout_planned phases, then workflow_advance. Stamping records the plan only; it does not enqueue workers. In the worker phase, dispatch each leg with task and its host-issued workflow_work_id. Recover incomplete legs within the plan's attempt allowance."
    },
    {
      "name": "fetch_url",
      "description": "Read a web page, documentation site, or other online resource. mode=text (default) extracts readable page text (HTML→markdown); large bodies return a head + symbol map — page with offset+limit (cached). mode=raw returns the verbatim resource: textual MIME (HTML/CSS/JS/JSON/SVG/…) as text with the same paging; image MIME types without dest automatically ingest into the session visual store and emit visual captures",
      "option": "Read a web page, documentation site, or other online resource. mode=text (default) extracts readable page text (HTML→markdown); large bodies return a head + symbol map — page with offset+limit (cached). mode=raw returns the verbatim resource: textual MIME (HTML/CSS/JS/JSON/SVG/…) as text with the same paging; image MIME types without dest automatically ingest into the session visual store and emit visual captures",
      "card": "Tool fetch_url: Read a web page, documentation site, or other online resource. mode=text (default) extracts readable page text (HTML→markdown); large bodies return a head + symbol map — page with offset+limit (cached). mode=raw returns the verbatim resource: textual MIME (HTML/CSS/JS/JSON/SVG/…) as text with the same paging; image MIME types without dest automatically ingest into the session visual store and emit visual captures"
    },
    {
      "name": "find",
      "description": "Bounded recursive directory walk — canonical for ** name_glob. Default type=any returns files and directories together. Wide unscoped walk at path=\".\" (2000+ paths) returns view digest (selected=0) with distribution + FIND_OVERFLOW_NARROW — pass name_glob when you can name a filename pattern. A concrete path (not \".\") or name_glob returns literal results[] (same as list_dir targeted). Explicit max_results or offset also",
      "option": "Bounded recursive directory walk — canonical for ** name_glob. Default type=any returns files and directories together. Wide unscoped walk at path=\".\" (2000+ paths) returns view digest (selected=0) with distribution + FIND_OVERFLOW_NARROW — pass name_glob when you can name a filename pattern. A concrete path (not \".\") or name_glob returns literal results[] (same as list_dir targeted). Explicit max_results or offset also",
      "card": "Tool find: Bounded recursive directory walk — canonical for ** name_glob. Default type=any returns files and directories together. Wide unscoped walk at path=\".\" (2000+ paths) returns view digest (selected=0) with distribution + FIND_OVERFLOW_NARROW — pass name_glob when you can name a filename pattern. A concrete path (not \".\") or name_glob returns literal results[] (same as list_dir targeted). Explicit max_results or offset also"
    },
    {
      "name": "git_blame",
      "description": "Per-line blame JSON (`available`, `lines` with commit/author/date/content).",
      "option": "Per-line blame JSON (`available`, `lines` with commit/author/date/content).",
      "card": "Tool git_blame: Per-line blame JSON (`available`, `lines` with commit/author/date/content)."
    },
    {
      "name": "git_branches",
      "description": "List local branches JSON (`available`, `branches` with name/current).",
      "option": "List local branches JSON (`available`, `branches` with name/current).",
      "card": "Tool git_branches: List local branches JSON (`available`, `branches` with name/current)."
    },
    {
      "name": "git_checkout",
      "description": "Switch to an existing local branch, or explicitly create and switch to a new one. Rehearses and reviews file changes before applying. Preserves unrelated local edits; refuses conflicting edits. Reports the actual branch and HEAD even after failure.",
      "option": "Switch to an existing local branch, or explicitly create and switch to a new one. Rehearses and reviews file changes before applying. Preserves unrelated local edits; refuses conflicting edits. Reports the actual branch and HEAD even after failure.",
      "card": "Tool git_checkout: Switch to an existing local branch, or explicitly create and switch to a new one. Rehearses and reviews file changes before applying. Preserves unrelated local edits; refuses conflicting edits. Reports the actual branch and HEAD even after failure."
    },
    {
      "name": "git_commit",
      "description": "Stage and commit paths with a message; amend=true replaces HEAD with the selected paths, including new files, leaving unrelated staged changes alone. Success JSON: available, hash, paths, and uncommitted_paths/uncommitted_count for dirty files this commit left alone. Failure JSON: available=false, error, optional hook_failed, output_tail (last hook/CLI lines), and hint. Empty paths stages only files this session wrote; name paths explicitly to",
      "option": "Stage and commit paths with a message; amend=true replaces HEAD with the selected paths, including new files, leaving unrelated staged changes alone. Success JSON: available, hash, paths, and uncommitted_paths/uncommitted_count for dirty files this commit left alone. Failure JSON: available=false, error, optional hook_failed, output_tail (last hook/CLI lines), and hint. Empty paths stages only files this session wrote; name paths explicitly to",
      "card": "Tool git_commit: Stage and commit paths with a message; amend=true replaces HEAD with the selected paths, including new files, leaving unrelated staged changes alone. Success JSON: available, hash, paths, and uncommitted_paths/uncommitted_count for dirty files this commit left alone. Failure JSON: available=false, error, optional hook_failed, output_tail (last hook/CLI lines), and hint. Empty paths stages only files this session wrote; name paths explicitly to"
    },
    {
      "name": "git_compare",
      "description": "Compare frozen commit IDs: ahead/behind counts for head_ref relative to base_ref, plus all merge bases.",
      "option": "Compare frozen commit IDs: ahead/behind counts for head_ref relative to base_ref, plus all merge bases.",
      "card": "Tool git_compare: Compare frozen commit IDs: ahead/behind counts for head_ref relative to base_ref, plus all merge bases."
    },
    {
      "name": "git_diff",
      "description": "Git diff JSON, one page of files in git's order (`available`, `files` with per-file insertions/deletions and, unless `stat`, that file's hunks in `diff`; `available:false` on non-git projects). Pages hold up to 80 files and 5 KiB of hunks by default: read `files_total`, use `next_offset` for more files when needed; exhaust the selection for tasks requiring complete coverage. `wire_spill_path` retains the",
      "option": "Git diff JSON, one page of files in git's order (`available`, `files` with per-file insertions/deletions and, unless `stat`, that file's hunks in `diff`; `available:false` on non-git projects). Pages hold up to 80 files and 5 KiB of hunks by default: read `files_total`, use `next_offset` for more files when needed; exhaust the selection for tasks requiring complete coverage. `wire_spill_path` retains the",
      "card": "Tool git_diff: Git diff JSON, one page of files in git's order (`available`, `files` with per-file insertions/deletions and, unless `stat`, that file's hunks in `diff`; `available:false` on non-git projects). Pages hold up to 80 files and 5 KiB of hunks by default: read `files_total`, use `next_offset` for more files when needed; exhaust the selection for tasks requiring complete coverage. `wire_spill_path` retains the"
    },
    {
      "name": "git_log",
      "description": "Read paged commit history from a branch, tag, commit, or revision range. Use ref for revisions and path only for a file. main..feature lists commits unique to feature; main...feature lists both sides. Follow next_offset to continue.",
      "option": "Read paged commit history from a branch, tag, commit, or revision range. Use ref for revisions and path only for a file. main..feature lists commits unique to feature; main...feature lists both sides. Follow next_offset to continue.",
      "card": "Tool git_log: Read paged commit history from a branch, tag, commit, or revision range. Use ref for revisions and path only for a file. main..feature lists commits unique to feature; main...feature lists both sides. Follow next_offset to continue."
    },
    {
      "name": "git_merge",
      "description": "Merge a revision into the current branch. Rehearses and reviews file effects. Conflicts are explicit and retain the merge state: edit resolutions, then continue with explicit paths; abort only when asked to discard merge work. Check status and after state, not diagnostics, for success.",
      "option": "Merge a revision into the current branch. Rehearses and reviews file effects. Conflicts are explicit and retain the merge state: edit resolutions, then continue with explicit paths; abort only when asked to discard merge work. Check status and after state, not diagnostics, for success.",
      "card": "Tool git_merge: Merge a revision into the current branch. Rehearses and reviews file effects. Conflicts are explicit and retain the merge state: edit resolutions, then continue with explicit paths; abort only when asked to discard merge work. Check status and after state, not diagnostics, for success."
    },
    {
      "name": "git_ref",
      "description": "Resolve refs to SHAs JSON (`available`, `refs` with ref/sha/peeled).",
      "option": "Resolve refs to SHAs JSON (`available`, `refs` with ref/sha/peeled).",
      "card": "Tool git_ref: Resolve refs to SHAs JSON (`available`, `refs` with ref/sha/peeled)."
    },
    {
      "name": "git_restore",
      "description": "Restore explicit paths in the Git worktree, index, or both. Defaults to Git's ordinary worktree-from-index behavior. This discards selected state — use only when the user explicitly asked to revert named paths.",
      "option": "Restore explicit paths in the Git worktree, index, or both. Defaults to Git's ordinary worktree-from-index behavior. This discards selected state — use only when the user explicitly asked to revert named paths.",
      "card": "Tool git_restore: Restore explicit paths in the Git worktree, index, or both. Defaults to Git's ordinary worktree-from-index behavior. This discards selected state — use only when the user explicitly asked to revert named paths."
    },
    {
      "name": "git_show",
      "description": "Show commit or file at ref JSON (`available`, `show` with kind diff/blob).",
      "option": "Show commit or file at ref JSON (`available`, `show` with kind diff/blob).",
      "card": "Tool git_show: Show commit or file at ref JSON (`available`, `show` with kind diff/blob)."
    },
    {
      "name": "git_stash",
      "description": "Save explicit repository paths temporarily, apply a saved stash, or explicitly drop one. Save preserves unrelated edits and index entries. Apply retains the stash even on success; use drop separately after verifying restoration. Conflicts and partial effects are reported in structured state.",
      "option": "Save explicit repository paths temporarily, apply a saved stash, or explicitly drop one. Save preserves unrelated edits and index entries. Apply retains the stash even on success; use drop separately after verifying restoration. Conflicts and partial effects are reported in structured state.",
      "card": "Tool git_stash: Save explicit repository paths temporarily, apply a saved stash, or explicitly drop one. Save preserves unrelated edits and index entries. Apply retains the stash even on success; use drop separately after verifying restoration. Conflicts and partial effects are reported in structured state."
    },
    {
      "name": "git_stash_list",
      "description": "List stashes with immutable IDs and current selectors for apply/drop.",
      "option": "List stashes with immutable IDs and current selectors for apply/drop.",
      "card": "Tool git_stash_list: List stashes with immutable IDs and current selectors for apply/drop."
    },
    {
      "name": "git_status",
      "description": "Git working tree status JSON (`available`, `branch`, `head_short`, `upstream`, `ahead`/`behind`, `dirty`, staged/unstaged/untracked counts, `files` with porcelain XY status one entry per file — untracked directories are expanded; `available:false` on non-git projects). Pages of 80 files: read `files_total`, use `next_offset` to continue when more coverage is needed; exhaust pages when the task requires the complete selection. `paths` narrows the selection to",
      "option": "Git working tree status JSON (`available`, `branch`, `head_short`, `upstream`, `ahead`/`behind`, `dirty`, staged/unstaged/untracked counts, `files` with porcelain XY status one entry per file — untracked directories are expanded; `available:false` on non-git projects). Pages of 80 files: read `files_total`, use `next_offset` to continue when more coverage is needed; exhaust pages when the task requires the complete selection. `paths` narrows the selection to",
      "card": "Tool git_status: Git working tree status JSON (`available`, `branch`, `head_short`, `upstream`, `ahead`/`behind`, `dirty`, staged/unstaged/untracked counts, `files` with porcelain XY status one entry per file — untracked directories are expanded; `available:false` on non-git projects). Pages of 80 files: read `files_total`, use `next_offset` to continue when more coverage is needed; exhaust pages when the task requires the complete selection. `paths` narrows the selection to"
    },
    {
      "name": "grep",
      "description": "Search files with RE2 text patterns or tree-sitter structural patterns. Recurses under path with optional path_glob, searches gitignored files, and skips engine/VCS metadata. Wide results may return a view digest.",
      "option": "Search files with RE2 text patterns or tree-sitter structural patterns. Recurses under path with optional path_glob, searches gitignored files, and skips engine/VCS metadata. Wide results may return a view digest.",
      "card": "Tool grep: Search files with RE2 text patterns or tree-sitter structural patterns. Recurses under path with optional path_glob, searches gitignored files, and skips engine/VCS metadata. Wide results may return a view digest."
    },
    {
      "name": "handoff_health",
      "description": "Report reservation counts for a handoff session plane.",
      "option": "Report reservation counts for a handoff session plane.",
      "card": "Tool handoff_health: Report reservation counts for a handoff session plane."
    },
    {
      "name": "handoff_init",
      "description": "Bind the parent session handoff plane for sibling worker coordination.",
      "option": "Bind the parent session handoff plane for sibling worker coordination.",
      "card": "Tool handoff_init: Bind the parent session handoff plane for sibling worker coordination."
    },
    {
      "name": "handoff_release",
      "description": "Release one or more path reservations held by the caller agent.",
      "option": "Release one or more path reservations held by the caller agent.",
      "card": "Tool handoff_release: Release one or more path reservations held by the caller agent."
    },
    {
      "name": "handoff_release_all",
      "description": "Release every path reservation held by the caller agent on the session plane.",
      "option": "Release every path reservation held by the caller agent on the session plane.",
      "card": "Tool handoff_release_all: Release every path reservation held by the caller agent on the session plane."
    },
    {
      "name": "handoff_reserve",
      "description": "Record repo-relative path reservations on the parent session plane (informational; merge resolves overlaps).",
      "option": "Record repo-relative path reservations on the parent session plane (informational; merge resolves overlaps).",
      "card": "Tool handoff_reserve: Record repo-relative path reservations on the parent session plane (informational; merge resolves overlaps)."
    },
    {
      "name": "held_result",
      "description": "Read a held call by its handle, running or settled with its original outcome, codes, and result. wait_ms waits up to 30 s for a running call.",
      "option": "Read a held call by its handle, running or settled with its original outcome, codes, and result. wait_ms waits up to 30 s for a running call.",
      "card": "Tool held_result: Read a held call by its handle, running or settled with its original outcome, codes, and result. wait_ms waits up to 30 s for a running call."
    },
    {
      "name": "held_stop",
      "description": "Cancel a running held call. Request once, then wait on the handle or read call_result.",
      "option": "Cancel a running held call. Request once, then wait on the handle or read call_result.",
      "card": "Tool held_stop: Cancel a running held call. Request once, then wait on the handle or read call_result."
    },
    {
      "name": "http_request",
      "description": "Send one bounded request to an API, webhook, or service endpoint and return its status, headers, and raw body.",
      "option": "Send one bounded request to an API, webhook, or service endpoint and return its status, headers, and raw body.",
      "card": "Tool http_request: Send one bounded request to an API, webhook, or service endpoint and return its status, headers, and raw body."
    },
    {
      "name": "jq",
      "description": "Query JSON, YAML, or TOML via sandboxed jq. Pass limit/offset for literal values[].",
      "option": "Query JSON, YAML, or TOML via sandboxed jq. Pass limit/offset for literal values[].",
      "card": "Tool jq: Query JSON, YAML, or TOML via sandboxed jq. Pass limit/offset for literal values[]."
    },
    {
      "name": "jq_edit",
      "description": "Update a JSON, YAML, or TOML document with a jq program and write the result in the same format, in place or to dest. The program returns the whole document (`.a.b = 1`, `del(.x)`, `.items |= map(...)`). Unchanged values keep their literals, key order, and YAML comments; syntax a rewrite would lose is refused (JQ_EDIT_LOSSY).",
      "option": "Update a JSON, YAML, or TOML document with a jq program and write the result in the same format, in place or to dest. The program returns the whole document (`.a.b = 1`, `del(.x)`, `.items |= map(...)`). Unchanged values keep their literals, key order, and YAML comments; syntax a rewrite would lose is refused (JQ_EDIT_LOSSY).",
      "card": "Tool jq_edit: Update a JSON, YAML, or TOML document with a jq program and write the result in the same format, in place or to dest. The program returns the whole document (`.a.b = 1`, `del(.x)`, `.items |= map(...)`). Unchanged values keep their literals, key order, and YAML comments; syntax a rewrite would lose is refused (JQ_EDIT_LOSSY)."
    },
    {
      "name": "list_dir",
      "description": "Locate repository areas with {\"path\":\".\"}. A named directory or explicit listing controls return entries instead. Use summarize to explain the area.",
      "option": "Locate repository areas with {\"path\":\".\"}. A named directory or explicit listing controls return entries instead. Use summarize to explain the area.",
      "card": "Tool list_dir: Locate repository areas with {\"path\":\".\"}. A named directory or explicit listing controls return entries instead. Use summarize to explain the area."
    },
    {
      "name": "measure_page",
      "description": "Measure selector geometry in CSS pixels, and whether the pointer can reach each element or what covers or clips it. Use id for an existing live page, or one exclusive project_dir/loopback url target. annotate adds boxes; page_geometry remains the numeric evidence.",
      "option": "Measure selector geometry in CSS pixels, and whether the pointer can reach each element or what covers or clips it. Use id for an existing live page, or one exclusive project_dir/loopback url target. annotate adds boxes; page_geometry remains the numeric evidence.",
      "card": "Tool measure_page: Measure selector geometry in CSS pixels, and whether the pointer can reach each element or what covers or clips it. Use id for an existing live page, or one exclusive project_dir/loopback url target. annotate adds boxes; page_geometry remains the numeric evidence."
    },
    {
      "name": "mkdir",
      "description": "Create directories within write scope (never use command mkdir).",
      "option": "Create directories within write scope (never use command mkdir).",
      "card": "Tool mkdir: Create directories within write scope (never use command mkdir)."
    },
    {
      "name": "move",
      "description": "Rename files within write scope (never use command mv); a replaced destination can be undone.",
      "option": "Rename files within write scope (never use command mv); a replaced destination can be undone.",
      "card": "Tool move: Rename files within write scope (never use command mv); a replaced destination can be undone."
    },
    {
      "name": "pack_board",
      "description": "When the board is stale, workers changed, or you need a scan/layout pulse — return the board snapshot. Not a substitute for summarize or a known-file read.",
      "option": "When the board is stale, workers changed, or you need a scan/layout pulse — return the board snapshot. Not a substitute for summarize or a known-file read.",
      "card": "Tool pack_board: When the board is stale, workers changed, or you need a scan/layout pulse — return the board snapshot. Not a substitute for summarize or a known-file read."
    },
    {
      "name": "page_act",
      "description": "Drive a held page with trusted input. Each step aims where its target receives the pointer; the result reports that point plus the requests, errors, and console output the drive caused. With record, the drive is also a timeline seen as a labeled contact sheet.",
      "option": "Drive a held page with trusted input. Each step aims where its target receives the pointer; the result reports that point plus the requests, errors, and console output the drive caused. With record, the drive is also a timeline seen as a labeled contact sheet.",
      "card": "Tool page_act: Drive a held page with trusted input. Each step aims where its target receives the pointer; the result reports that point plus the requests, errors, and console output the drive caused. With record, the drive is also a timeline seen as a labeled contact sheet."
    },
    {
      "name": "page_close",
      "description": "Tear down a held page; optional final snapshot.",
      "option": "Tear down a held page; optional final snapshot.",
      "card": "Tool page_close: Tear down a held page; optional final snapshot."
    },
    {
      "name": "page_open",
      "description": "Open a live page; returns an id held across turns. The page has its own cookies and storage, which persist until page_close. Up to max_pages stay open per session; re-opening a held target reloads it with the given viewport and routes. Prefer capture_page for a single check. Bindings match capture_page (project_dir or url).",
      "option": "Open a live page; returns an id held across turns. The page has its own cookies and storage, which persist until page_close. Up to max_pages stay open per session; re-opening a held target reloads it with the given viewport and routes. Prefer capture_page for a single check. Bindings match capture_page (project_dir or url).",
      "card": "Tool page_open: Open a live page; returns an id held across turns. The page has its own cookies and storage, which persist until page_close. Up to max_pages stay open per session; re-opening a held target reloads it with the given viewport and routes. Prefer capture_page for a single check. Bindings match capture_page (project_dir or url)."
    },
    {
      "name": "page_snapshot",
      "description": "Universal {state, snapshot, log, artifact} for a held page (does not close it).",
      "option": "Universal {state, snapshot, log, artifact} for a held page (does not close it).",
      "card": "Tool page_snapshot: Universal {state, snapshot, log, artifact} for a held page (does not close it)."
    },
    {
      "name": "parse_decomposition",
      "description": "Validate decomposition.",
      "option": "Validate decomposition.",
      "card": "Tool parse_decomposition: Validate decomposition."
    },
    {
      "name": "parse_delegation_plan",
      "description": "Validate delegation plan.",
      "option": "Validate delegation plan.",
      "card": "Tool parse_delegation_plan: Validate delegation plan."
    },
    {
      "name": "parse_evaluation",
      "description": "Validate evaluation.",
      "option": "Validate evaluation.",
      "card": "Tool parse_evaluation: Validate evaluation."
    },
    {
      "name": "parse_extract_json",
      "description": "Extract JSON.",
      "option": "Extract JSON.",
      "card": "Tool parse_extract_json: Extract JSON."
    },
    {
      "name": "parse_validate",
      "description": "Validate JSON.",
      "option": "Validate JSON.",
      "card": "Tool parse_validate: Validate JSON."
    },
    {
      "name": "plan_append_review_evidence",
      "description": "Append advisory plan review evidence to critic.jsonl",
      "option": "Append advisory plan review evidence to critic.jsonl",
      "card": "Tool plan_append_review_evidence: Append advisory plan review evidence to critic.jsonl"
    },
    {
      "name": "preview_overlay",
      "description": "Merge preview — same plan as promote_overlay without landing. overlay_id == job_id. Returns path_status and ready_resolutions; spill_path is host-data-relative (promote-spills/\u003cid\u003e.json). Example: {\"overlay_id\":\"\u003cjob_id\u003e\"}.",
      "option": "Merge preview — same plan as promote_overlay without landing. overlay_id == job_id. Returns path_status and ready_resolutions; spill_path is host-data-relative (promote-spills/\u003cid\u003e.json). Example: {\"overlay_id\":\"\u003cjob_id\u003e\"}.",
      "card": "Tool preview_overlay: Merge preview — same plan as promote_overlay without landing. overlay_id == job_id. Returns path_status and ready_resolutions; spill_path is host-data-relative (promote-spills/\u003cid\u003e.json). Example: {\"overlay_id\":\"\u003cjob_id\u003e\"}."
    },
    {
      "name": "process_list",
      "description": "Inspect host processes after approval. Returns names, executable paths, UID, parent PID, and opaque instance references; no argv or environment. Use pid for a known target. Use next_after_pid for another page of the changing snapshot. Unavailable metadata does not mean exited. Use command_output and command_stop for jobs you launched with command.",
      "option": "Inspect host processes after approval. Returns names, executable paths, UID, parent PID, and opaque instance references; no argv or environment. Use pid for a known target. Use next_after_pid for another page of the changing snapshot. Unavailable metadata does not mean exited. Use command_output and command_stop for jobs you launched with command.",
      "card": "Tool process_list: Inspect host processes after approval. Returns names, executable paths, UID, parent PID, and opaque instance references; no argv or environment. Use pid for a known target. Use next_after_pid for another page of the changing snapshot. Unavailable metadata does not mean exited. Use command_output and command_stop for jobs you launched with command."
    },
    {
      "name": "process_signal",
      "description": "Send a signal to exact host process instances after approval. Pass opaque references returned by process_list in this task. PID reuse or changed identity rejects; names, bare PIDs, groups, and descendants are not targets. TERM requests graceful termination; KILL can discard unsaved work. Delivered means the signal was accepted, not that exit was observed. Inspect the result for each target.",
      "option": "Send a signal to exact host process instances after approval. Pass opaque references returned by process_list in this task. PID reuse or changed identity rejects; names, bare PIDs, groups, and descendants are not targets. TERM requests graceful termination; KILL can discard unsaved work. Delivered means the signal was accepted, not that exit was observed. Inspect the result for each target.",
      "card": "Tool process_signal: Send a signal to exact host process instances after approval. Pass opaque references returned by process_list in this task. PID reuse or changed identity rejects; names, bare PIDs, groups, and descendants are not targets. TERM requests graceful termination; KILL can discard unsaved work. Delivered means the signal was accepted, not that exit was observed. Inspect the result for each target."
    },
    {
      "name": "promote_overlay",
      "description": "Atomically promote a worker overlay (overlay_id=job_id), considering all observed changes. Conflicts return a menu without writes; resolve all via resolutions/drop.",
      "option": "Atomically promote a worker overlay (overlay_id=job_id), considering all observed changes. Conflicts return a menu without writes; resolve all via resolutions/drop.",
      "card": "Tool promote_overlay: Atomically promote a worker overlay (overlay_id=job_id), considering all observed changes. Conflicts return a menu without writes; resolve all via resolutions/drop."
    },
    {
      "name": "read",
      "description": "Read a file and return its content or structure in JSON; unscoped large files return a structure digest. For literal content, set mode / offset / limit / ranges / symbol.",
      "option": "Read a file and return its content or structure in JSON; unscoped large files return a structure digest. For literal content, set mode / offset / limit / ranges / symbol.",
      "card": "Tool read: Read a file and return its content or structure in JSON; unscoped large files return a structure digest. For literal content, set mode / offset / limit / ranges / symbol."
    },
    {
      "name": "recall",
      "description": "Look up what was already observed instead of observing it again. Reach for it when a finished worker leg's envelope omits a detail the leg saw, when a continuation record or a `[compacted …]` banner names a handle whose body is gone from context, or — from a root session — when an earlier session on this project may already",
      "option": "Look up what was already observed instead of observing it again. Reach for it when a finished worker leg's envelope omits a detail the leg saw, when a continuation record or a `[compacted …]` banner names a handle whose body is gone from context, or — from a root session — when an earlier session on this project may already",
      "card": "Tool recall: Look up what was already observed instead of observing it again. Reach for it when a finished worker leg's envelope omits a detail the leg saw, when a continuation record or a `[compacted …]` banner names a handle whose body is gone from context, or — from a root session — when an earlier session on this project may already"
    },
    {
      "name": "record_finding",
      "description": "Post peer intent for parallel siblings — shared paths, registry slots, merge-relevant facts. Cite a real path/handle.",
      "option": "Post peer intent for parallel siblings — shared paths, registry slots, merge-relevant facts. Cite a real path/handle.",
      "card": "Tool record_finding: Post peer intent for parallel siblings — shared paths, registry slots, merge-relevant facts. Cite a real path/handle."
    },
    {
      "name": "reject_overlay",
      "description": "Abort overlay without landing. overlay_id == job_id. Wrong/superseded only — not landable conflicts. Example: {\"overlay_id\":\"\u003cjob_id\u003e\",\"reason\":\"Superseded by corrected dispatch\"}.",
      "option": "Abort overlay without landing. overlay_id == job_id. Wrong/superseded only — not landable conflicts. Example: {\"overlay_id\":\"\u003cjob_id\u003e\",\"reason\":\"Superseded by corrected dispatch\"}.",
      "card": "Tool reject_overlay: Abort overlay without landing. overlay_id == job_id. Wrong/superseded only — not landable conflicts. Example: {\"overlay_id\":\"\u003cjob_id\u003e\",\"reason\":\"Superseded by corrected dispatch\"}."
    },
    {
      "name": "render_view",
      "description": "Rasterize SVG or HTML into an authored visual: UI/product mockups (especially before building), diagrams, comparisons, timelines, or charts. Use when spatial layout improves clarity; never as runtime evidence — use capture_page for observed UI. Host injects an offline design kit (OFL fonts, Lucide-adapted icons, theme tokens, spacing/type scales, media placeholders). No CDN links, scripts, or external https assets — use",
      "option": "Rasterize SVG or HTML into an authored visual: UI/product mockups (especially before building), diagrams, comparisons, timelines, or charts. Use when spatial layout improves clarity; never as runtime evidence — use capture_page for observed UI. Host injects an offline design kit (OFL fonts, Lucide-adapted icons, theme tokens, spacing/type scales, media placeholders). No CDN links, scripts, or external https assets — use",
      "card": "Tool render_view: Rasterize SVG or HTML into an authored visual: UI/product mockups (especially before building), diagrams, comparisons, timelines, or charts. Use when spatial layout improves clarity; never as runtime evidence — use capture_page for observed UI. Host injects an offline design kit (OFL fonts, Lucide-adapted icons, theme tokens, spacing/type scales, media placeholders). No CDN links, scripts, or external https assets — use"
    },
    {
      "name": "replace_lines",
      "description": "Atomically replace or reindent line ranges. Use direct fields once, or operations for coupled non-overlapping seams in one snapshot. Read existing editable files in an earlier response before applying changes; concurrent edits rebase against that read. EDITOR_DOCUMENT_READ_REQUIRED or EDITOR_DOCUMENT_CHANGING requires read and recomputation.",
      "option": "Atomically replace or reindent line ranges. Use direct fields once, or operations for coupled non-overlapping seams in one snapshot. Read existing editable files in an earlier response before applying changes; concurrent edits rebase against that read. EDITOR_DOCUMENT_READ_REQUIRED or EDITOR_DOCUMENT_CHANGING requires read and recomputation.",
      "card": "Tool replace_lines: Atomically replace or reindent line ranges. Use direct fields once, or operations for coupled non-overlapping seams in one snapshot. Read existing editable files in an earlier response before applying changes; concurrent edits rebase against that read. EDITOR_DOCUMENT_READ_REQUIRED or EDITOR_DOCUMENT_CHANGING requires read and recomputation."
    },
    {
      "name": "request_budget",
      "description": "Ask your coordinator for more tool rounds as soon as you can see this leg's goal needs more than remain. Name the rounds and the concrete work they cover. You keep working while the coordinator decides; its answer arrives as a host notice on a later round, and the host holds your final round for that answer. If it declines",
      "option": "Ask your coordinator for more tool rounds as soon as you can see this leg's goal needs more than remain. Name the rounds and the concrete work they cover. You keep working while the coordinator decides; its answer arrives as a host notice on a later round, and the host holds your final round for that answer. If it declines",
      "card": "Tool request_budget: Ask your coordinator for more tool rounds as soon as you can see this leg's goal needs more than remain. Name the rounds and the concrete work they cover. You keep working while the coordinator decides; its answer arrives as a host notice on a later round, and the host holds your final round for that answer. If it declines"
    },
    {
      "name": "request_decision",
      "description": "Escalate an ambiguity you can't resolve in scope — question + 2+ options, the accepted call suspends your run. The coordinator answers and you resume with the same workspace. Do not also call complete_leg.",
      "option": "Escalate an ambiguity you can't resolve in scope — question + 2+ options, the accepted call suspends your run. The coordinator answers and you resume with the same workspace. Do not also call complete_leg.",
      "card": "Tool request_decision: Escalate an ambiguity you can't resolve in scope — question + 2+ options, the accepted call suspends your run. The coordinator answers and you resume with the same workspace. Do not also call complete_leg."
    },
    {
      "name": "request_tools",
      "description": "Load tools for the next concrete operation",
      "option": "Load tools for the next concrete operation",
      "card": "Tool request_tools: Load tools for the next concrete operation"
    },
    {
      "name": "restore_version",
      "description": "Restore a file to a previously retained source version as a forward mutation in the source ledger. Use source_history to inspect available versions or diffs.",
      "option": "Restore a file to a previously retained source version as a forward mutation in the source ledger. Use source_history to inspect available versions or diffs.",
      "card": "Tool restore_version: Restore a file to a previously retained source version as a forward mutation in the source ledger. Use source_history to inspect available versions or diffs."
    },
    {
      "name": "scan_compare",
      "description": "Diff two complete scans — returns the findings introduced, resolved, and unchanged since the baseline. After a fix, pass the post-fix scan as new_scan_id and omit old_scan_id: the host resolves the previous complete scan in the same category. Use it to prove a fix landed; a board Scan: tail is not proof.",
      "option": "Diff two complete scans — returns the findings introduced, resolved, and unchanged since the baseline. After a fix, pass the post-fix scan as new_scan_id and omit old_scan_id: the host resolves the previous complete scan in the same category. Use it to prove a fix landed; a board Scan: tail is not proof.",
      "card": "Tool scan_compare: Diff two complete scans — returns the findings introduced, resolved, and unchanged since the baseline. After a fix, pass the post-fix scan as new_scan_id and omit old_scan_id: the host resolves the previous complete scan in the same category. Use it to prove a fix landed; a board Scan: tail is not proof."
    },
    {
      "name": "scan_list",
      "description": "List recent code scans for the active project (read-only). Returns a slim id roster with no guidance bodies — use it to resolve a scan_id for scan_summary, scan_query, or scan_compare when the board does not already show one.",
      "option": "List recent code scans for the active project (read-only). Returns a slim id roster with no guidance bodies — use it to resolve a scan_id for scan_summary, scan_query, or scan_compare when the board does not already show one.",
      "card": "Tool scan_list: List recent code scans for the active project (read-only). Returns a slim id roster with no guidance bodies — use it to resolve a scan_id for scan_summary, scan_query, or scan_compare when the board does not already show one."
    },
    {
      "name": "scan_pack",
      "description": "Run the host's configured code scanners over the active project and return one scan_pack. Use it when the ask is security or code-quality work and the board shows no complete scan at the current head. Returns per_scan[].scan_id — pass that exact array to scan_summary or scan_query for a cross-engine aggregate, or set completion=summary to receive the aggregate when this call",
      "option": "Run the host's configured code scanners over the active project and return one scan_pack. Use it when the ask is security or code-quality work and the board shows no complete scan at the current head. Returns per_scan[].scan_id — pass that exact array to scan_summary or scan_query for a cross-engine aggregate, or set completion=summary to receive the aggregate when this call",
      "card": "Tool scan_pack: Run the host's configured code scanners over the active project and return one scan_pack. Use it when the ask is security or code-quality work and the board shows no complete scan at the current head. Returns per_scan[].scan_id — pass that exact array to scan_summary or scan_query for a cross-engine aggregate, or set completion=summary to receive the aggregate when this call"
    },
    {
      "name": "scan_query",
      "description": "Page findings for one or more scans. One id queries one scan; the exact id array returned by scan_pack queries that pack as a cross-engine aggregate. Narrow with rule_id, path, code, or level rather than reading every finding. When a result is truncated, page it with offset — do not re-run the scan.",
      "option": "Page findings for one or more scans. One id queries one scan; the exact id array returned by scan_pack queries that pack as a cross-engine aggregate. Narrow with rule_id, path, code, or level rather than reading every finding. When a result is truncated, page it with offset — do not re-run the scan.",
      "card": "Tool scan_query: Page findings for one or more scans. One id queries one scan; the exact id array returned by scan_pack queries that pack as a cross-engine aggregate. Narrow with rule_id, path, code, or level rather than reading every finding. When a result is truncated, page it with offset — do not re-run the scan."
    },
    {
      "name": "scan_summary",
      "description": "Read status and guidance for one or more scans. One id reads one scan; the exact id array returned by scan_pack reads that pack as a single cross-engine aggregate, and a pass_id reads a full pass, including scanners that have not started yet. This is the first call after a scan completes — start here rather than grepping the repo",
      "option": "Read status and guidance for one or more scans. One id reads one scan; the exact id array returned by scan_pack reads that pack as a single cross-engine aggregate, and a pass_id reads a full pass, including scanners that have not started yet. This is the first call after a scan completes — start here rather than grepping the repo",
      "card": "Tool scan_summary: Read status and guidance for one or more scans. One id reads one scan; the exact id array returned by scan_pack reads that pack as a single cross-engine aggregate, and a pass_id reads a full pass, including scanners that have not started yet. This is the first call after a scan completes — start here rather than grepping the repo"
    },
    {
      "name": "secret_generate",
      "description": "Generate random secret material and return an opaque {{paintedwolf-secret:…}} reference for tool execution.",
      "option": "Generate random secret material and return an opaque {{paintedwolf-secret:…}} reference for tool execution.",
      "card": "Tool secret_generate: Generate random secret material and return an opaque {{paintedwolf-secret:…}} reference for tool execution."
    },
    {
      "name": "secret_list",
      "description": "List visible managed secret references and metadata, never values.",
      "option": "List visible managed secret references and metadata, never values.",
      "card": "Tool secret_list: List visible managed secret references and metadata, never values."
    },
    {
      "name": "secret_revoke",
      "description": "Revoke a managed secret reference while retaining provider-screening evidence.",
      "option": "Revoke a managed secret reference while retaining provider-screening evidence.",
      "card": "Tool secret_revoke: Revoke a managed secret reference while retaining provider-screening evidence."
    },
    {
      "name": "skills_read",
      "description": "Read the most relevant skill for a described need, or a referenced file from that skill.",
      "option": "Read the most relevant skill for a described need, or a referenced file from that skill.",
      "card": "Tool skills_read: Read the most relevant skill for a described need, or a referenced file from that skill."
    },
    {
      "name": "source_history",
      "description": "Query the source ledger for file effects (mode=effects), current line authorship (mode=lines), this session's paths (mode=mine), historical version content (mode=version), or version diffs (mode=diff). Includes uncommitted state. Actors: you / agent / user / external / mixed / unknown. Missing history is reported explicitly.",
      "option": "Query the source ledger for file effects (mode=effects), current line authorship (mode=lines), this session's paths (mode=mine), historical version content (mode=version), or version diffs (mode=diff). Includes uncommitted state. Actors: you / agent / user / external / mixed / unknown. Missing history is reported explicitly.",
      "card": "Tool source_history: Query the source ledger for file effects (mode=effects), current line authorship (mode=lines), this session's paths (mode=mine), historical version content (mode=version), or version diffs (mode=diff). Includes uncommitted state. Actors: you / agent / user / external / mixed / unknown. Missing history is reported explicitly."
    },
    {
      "name": "stat",
      "description": "File metadata (mode, size, mtime, entry_count for directories)",
      "option": "File metadata (mode, size, mtime, entry_count for directories)",
      "card": "Tool stat: File metadata (mode, size, mtime, entry_count for directories)"
    },
    {
      "name": "state_close",
      "description": "Exit the active workflow run for the session",
      "option": "Exit the active workflow run for the session",
      "card": "Tool state_close: Exit the active workflow run for the session"
    },
    {
      "name": "state_query",
      "description": "Query active workflow run and scaffold vars",
      "option": "Query active workflow run and scaffold vars",
      "card": "Tool state_query: Query active workflow run and scaffold vars"
    },
    {
      "name": "state_start",
      "description": "Propose a workflow run on the current session. The host records the proposal; an explicit human action starts it.",
      "option": "Propose a workflow run on the current session. The host records the proposal; an explicit human action starts it.",
      "card": "Tool state_start: Propose a workflow run on the current session. The host records the proposal; an explicit human action starts it."
    },
    {
      "name": "state_update",
      "description": "Update model-authored scaffold data on the active workflow run",
      "option": "Update model-authored scaffold data on the active workflow run",
      "card": "Tool state_update: Update model-authored scaffold data on the active workflow run"
    },
    {
      "name": "submit_verdict",
      "description": "Record the phase's review_loop verdict per verdict_schema. Terminal verdicts satisfy its evidence_passed gate; other gates and advancement rules still apply. Non-terminal verdicts re-loop within the cap. Terminal verdicts must cite observed evidence paths/handles in cited_evidence or fetched URLs in cited_urls. Invented references reject; non-terminal verdicts need no citations.",
      "option": "Record the phase's review_loop verdict per verdict_schema. Terminal verdicts satisfy its evidence_passed gate; other gates and advancement rules still apply. Non-terminal verdicts re-loop within the cap. Terminal verdicts must cite observed evidence paths/handles in cited_evidence or fetched URLs in cited_urls. Invented references reject; non-terminal verdicts need no citations.",
      "card": "Tool submit_verdict: Record the phase's review_loop verdict per verdict_schema. Terminal verdicts satisfy its evidence_passed gate; other gates and advancement rules still apply. Non-terminal verdicts re-loop within the cap. Terminal verdicts must cite observed evidence paths/handles in cited_evidence or fetched URLs in cited_urls. Invented references reject; non-terminal verdicts need no citations."
    },
    {
      "name": "summarize",
      "description": "Explain a named file or area with a bounded, source-cited briefing. Path sets scope; task ranks within it. Use next_actions only when more evidence is needed.",
      "option": "Explain a named file or area with a bounded, source-cited briefing. Path sets scope; task ranks within it. Use next_actions only when more evidence is needed.",
      "card": "Tool summarize: Explain a named file or area with a bounded, source-cited briefing. Path sets scope; task ranks within it. Use next_actions only when more evidence is needed."
    },
    {
      "name": "surface_note",
      "description": "Post a concise, grounded mid-turn note for the user, then keep working — this does not end the turn. Use it for meaningful progress or expectation changes. Say what happened and what comes next. Cite at least one cited_evidence or cited_urls entry. Carries artifact_ids, which is how a still reaches the user mid-run. For a question use ask_user; the final",
      "option": "Post a concise, grounded mid-turn note for the user, then keep working — this does not end the turn. Use it for meaningful progress or expectation changes. Say what happened and what comes next. Cite at least one cited_evidence or cited_urls entry. Carries artifact_ids, which is how a still reaches the user mid-run. For a question use ask_user; the final",
      "card": "Tool surface_note: Post a concise, grounded mid-turn note for the user, then keep working — this does not end the turn. Use it for meaningful progress or expectation changes. Say what happened and what comes next. Cite at least one cited_evidence or cited_urls entry. Carries artifact_ids, which is how a still reaches the user mid-run. For a question use ask_user; the final"
    },
    {
      "name": "survey_repo",
      "description": "One catalog map (Tier 1 digest, selected=0), not a briefing. Call when you still cannot name a destination and the ask is unknown layout (layout_overview), duplicated env/config/stores (ssot_drift), or where HTTP routes/handlers live (api_routes). Then summarize the destination. For how/what on a named file/package/dir, use summarize(path=…) — never survey_repo for depth on a path you can already say.",
      "option": "One catalog map (Tier 1 digest, selected=0), not a briefing. Call when you still cannot name a destination and the ask is unknown layout (layout_overview), duplicated env/config/stores (ssot_drift), or where HTTP routes/handlers live (api_routes). Then summarize the destination. For how/what on a named file/package/dir, use summarize(path=…) — never survey_repo for depth on a path you can already say.",
      "card": "Tool survey_repo: One catalog map (Tier 1 digest, selected=0), not a briefing. Call when you still cannot name a destination and the ask is unknown layout (layout_overview), duplicated env/config/stores (ssot_drift), or where HTTP routes/handlers live (api_routes). Then summarize the destination. For how/what on a named file/package/dir, use summarize(path=…) — never survey_repo for depth on a path you can already say."
    },
    {
      "name": "task",
      "description": "Start background workers for parallel execution across concurrent legs and return control immediately. Dispatch ready legs together in the same turn or launch companion legs while work runs. For single-thread, localized changes, execute inline directly. Match the worker profile and scope to the assignment.",
      "option": "Start background workers for parallel execution across concurrent legs and return control immediately. Dispatch ready legs together in the same turn or launch companion legs while work runs. For single-thread, localized changes, execute inline directly. Match the worker profile and scope to the assignment.",
      "card": "Tool task: Start background workers for parallel execution across concurrent legs and return control immediately. Dispatch ready legs together in the same turn or launch companion legs while work runs. For single-thread, localized changes, execute inline directly. Match the worker profile and scope to the assignment."
    },
    {
      "name": "terminal_close",
      "description": "Tear down a held pty (graceful then kill). It returns lifecycle acknowledgement only; use terminal_read or terminal_snapshot before closing when output matters.",
      "option": "Tear down a held pty (graceful then kill). It returns lifecycle acknowledgement only; use terminal_read or terminal_snapshot before closing when output matters.",
      "card": "Tool terminal_close: Tear down a held pty (graceful then kill). It returns lifecycle acknowledgement only; use terminal_read or terminal_snapshot before closing when output matters."
    },
    {
      "name": "terminal_open",
      "description": "Live host terminal (pty): run a command-class argv command. Prefer command when you only need exit code/tail for yourself. Use this tool when the session must be held or the user should see the screen — then terminal_snapshot. Returns an id held across turns plus the requested observation (screen by default). Never supply known plaintext via later terminal_send — use",
      "option": "Live host terminal (pty): run a command-class argv command. Prefer command when you only need exit code/tail for yourself. Use this tool when the session must be held or the user should see the screen — then terminal_snapshot. Returns an id held across turns plus the requested observation (screen by default). Never supply known plaintext via later terminal_send — use",
      "card": "Tool terminal_open: Live host terminal (pty): run a command-class argv command. Prefer command when you only need exit code/tail for yourself. Use this tool when the session must be held or the user should see the screen — then terminal_snapshot. Returns an id held across turns plus the requested observation (screen by default). Never supply known plaintext via later terminal_send — use"
    },
    {
      "name": "terminal_read",
      "description": "Read incremental pty output since the last read (idle/timeout bounded).",
      "option": "Read incremental pty output since the last read (idle/timeout bounded).",
      "card": "Tool terminal_read: Read incremental pty output since the last read (idle/timeout bounded)."
    },
    {
      "name": "terminal_send",
      "description": "Write literal text and/or named control tokens ({Enter}, {Ctrl-C}, …) to a held pty, then return the settled vt grid. Never send known plaintext passwords, tokens, or passphrases. An opaque {{paintedwolf-secret:…}} reference is allowed when the interactive prompt is the consuming boundary; the host resolves and screens it.",
      "option": "Write literal text and/or named control tokens ({Enter}, {Ctrl-C}, …) to a held pty, then return the settled vt grid. Never send known plaintext passwords, tokens, or passphrases. An opaque {{paintedwolf-secret:…}} reference is allowed when the interactive prompt is the consuming boundary; the host resolves and screens it.",
      "card": "Tool terminal_send: Write literal text and/or named control tokens ({Enter}, {Ctrl-C}, …) to a held pty, then return the settled vt grid. Never send known plaintext passwords, tokens, or passphrases. An opaque {{paintedwolf-secret:…}} reference is allowed when the interactive prompt is the consuming boundary; the host resolves and screens it."
    },
    {
      "name": "terminal_snapshot",
      "description": "User-visible photograph of the held terminal session (CLI output or TUI), parallel to capture_page for pages. Returns one bounded VT screen and a receipt, never a duplicate main-stream log. Use for any held session — not only full-screen TUIs. Settles on output quiescence; does not advance terminal_read's cursor.",
      "option": "User-visible photograph of the held terminal session (CLI output or TUI), parallel to capture_page for pages. Returns one bounded VT screen and a receipt, never a duplicate main-stream log. Use for any held session — not only full-screen TUIs. Settles on output quiescence; does not advance terminal_read's cursor.",
      "card": "Tool terminal_snapshot: User-visible photograph of the held terminal session (CLI output or TUI), parallel to capture_page for pages. Returns one bounded VT screen and a receipt, never a duplicate main-stream log. Use for any held session — not only full-screen TUIs. Settles on output quiescence; does not advance terminal_read's cursor."
    },
    {
      "name": "update_progress",
      "description": "Set session progress checklist (markdown). Replaces the whole checklist — see content for markers and caps.",
      "option": "Set session progress checklist (markdown). Replaces the whole checklist — see content for markers and caps.",
      "card": "Tool update_progress: Set session progress checklist (markdown). Replaces the whole checklist — see content for markers and caps."
    },
    {
      "name": "verify",
      "description": "Run a verification check and report its terminal outcome. Bare verify runs the selected project command. With no selected command, supply the documented check appropriate to the task. A different command or pipeline is rejected when a project command is selected; use command(verification: true) for targeted checks. Selecting a command does not require it after every edit. outcome is passed,",
      "option": "Run a verification check and report its terminal outcome. Bare verify runs the selected project command. With no selected command, supply the documented check appropriate to the task. A different command or pipeline is rejected when a project command is selected; use command(verification: true) for targeted checks. Selecting a command does not require it after every edit. outcome is passed",
      "card": "Tool verify: Run a verification check and report its terminal outcome. Bare verify runs the selected project command. With no selected command, supply the documented check appropriate to the task. A different command or pipeline is rejected when a project command is selected; use command(verification: true) for targeted checks. Selecting a command does not require it after every edit. outcome is passed,"
    },
    {
      "name": "view_image",
      "description": "Inspect an image file (.svg, .png, .jpg, .jpeg, .webp, .gif) or a session visual and perceive its rendered pixels and extracted text. Returns format metadata and extracted text, and emits a visual capture for multimodal models.",
      "option": "Inspect an image file (.svg, .png, .jpg, .jpeg, .webp, .gif) or a session visual and perceive its rendered pixels and extracted text. Returns format metadata and extracted text, and emits a visual capture for multimodal models.",
      "card": "Tool view_image: Inspect an image file (.svg, .png, .jpg, .jpeg, .webp, .gif) or a session visual and perceive its rendered pixels and extracted text. Returns format metadata and extracted text, and emits a visual capture for multimodal models."
    },
    {
      "name": "view_video",
      "description": "See moments of a screen recording or other video (.mp4, .mov, .webm), including an attached one. Returns one sheet of frames, each labeled with its timestamp, plus the video's duration and size. Without times_ms it spreads count frames across start_ms to end_ms (default: the whole video); name exact times_ms to look closer at a moment, and crop to read a",
      "option": "See moments of a screen recording or other video (.mp4, .mov, .webm), including an attached one. Returns one sheet of frames, each labeled with its timestamp, plus the video's duration and size. Without times_ms it spreads count frames across start_ms to end_ms (default: the whole video); name exact times_ms to look closer at a moment, and crop to read a",
      "card": "Tool view_video: See moments of a screen recording or other video (.mp4, .mov, .webm), including an attached one. Returns one sheet of frames, each labeled with its timestamp, plus the video's duration and size. Without times_ms it spreads count frames across start_ms to end_ms (default: the whole video); name exact times_ms to look closer at a moment, and crop to read a"
    },
    {
      "name": "wait",
      "description": "Park without a worker slot until a condition is satisfied or timeout expires. Use until_complete for exact process handles without periodic timer wakes; omit conditions for a timer.",
      "option": "Park without a worker slot until a condition is satisfied or timeout expires. Use until_complete for exact process handles without periodic timer wakes; omit conditions for a timer.",
      "card": "Tool wait: Park without a worker slot until a condition is satisfied or timeout expires. Use until_complete for exact process handles without periodic timer wakes; omit conditions for a timer."
    },
    {
      "name": "wc",
      "description": "Count lines, bytes, and words in files or recursively in directories. bytes is the true file size; truncated marks counts taken from a capped scan.",
      "option": "Count lines, bytes, and words in files or recursively in directories. bytes is the true file size; truncated marks counts taken from a capped scan.",
      "card": "Tool wc: Count lines, bytes, and words in files or recursively in directories. bytes is the true file size; truncated marks counts taken from a capped scan."
    },
    {
      "name": "web_search",
      "description": "Search the web by time window. The host selects Direct search or custom providers from Settings → Web research.",
      "option": "Search the web by time window. The host selects Direct search or custom providers from Settings → Web research.",
      "card": "Tool web_search: Search the web by time window. The host selects Direct search or custom providers from Settings → Web research."
    },
    {
      "name": "worker_cancel",
      "description": "Cancel a pending or running worker job; running workers get a prose-only cancellation report before the leg ends",
      "option": "Cancel a pending or running worker job; running workers get a prose-only cancellation report before the leg ends",
      "card": "Tool worker_cancel: Cancel a pending or running worker job; running workers get a prose-only cancellation report before the leg ends"
    },
    {
      "name": "workflow_advance",
      "description": "Leave the current coordinator-controlled phase when gates pass. Returns phase_gate_unmet with failed_leaves when blocked; already_advanced if host auto-advanced first. Unavailable on host-auto phases.",
      "option": "Leave the current coordinator-controlled phase when gates pass. Returns phase_gate_unmet with failed_leaves when blocked; already_advanced if host auto-advanced first. Unavailable on host-auto phases.",
      "card": "Tool workflow_advance: Leave the current coordinator-controlled phase when gates pass. Returns phase_gate_unmet with failed_leaves when blocked; already_advanced if host auto-advanced first. Unavailable on host-auto phases."
    },
    {
      "name": "workflow_catalog_summaries",
      "description": "List bundled, session-composed, and template workflow ids.",
      "option": "List bundled, session-composed, and template workflow ids.",
      "card": "Tool workflow_catalog_summaries: List bundled, session-composed, and template workflow ids."
    },
    {
      "name": "workflow_compose",
      "description": "Compose a session workflow from YAML. Returns effective_summary; host replays coordinator_brief each Prompt.",
      "option": "Compose a session workflow from YAML. Returns effective_summary; host replays coordinator_brief each Prompt.",
      "card": "Tool workflow_compose: Compose a session workflow from YAML. Returns effective_summary; host replays coordinator_brief each Prompt."
    },
    {
      "name": "workflow_compose_from_template",
      "description": "Compose from a bundled template. Returns effective_summary; read prepended coordinator_brief before proposing with state_start.",
      "option": "Compose from a bundled template. Returns effective_summary; read prepended coordinator_brief before proposing with state_start.",
      "card": "Tool workflow_compose_from_template: Compose from a bundled template. Returns effective_summary; read prepended coordinator_brief before proposing with state_start."
    },
    {
      "name": "workflow_persist",
      "description": "Save a session-composed workflow to .paintedwolf/workflows/\u003cworkflow_id\u003e/workflow.yaml (requires user confirmation).",
      "option": "Save a session-composed workflow to .paintedwolf/workflows/\u003cworkflow_id\u003e/workflow.yaml (requires user confirmation).",
      "card": "Tool workflow_persist: Save a session-composed workflow to .paintedwolf/workflows/\u003cworkflow_id\u003e/workflow.yaml (requires user confirmation)."
    },
    {
      "name": "workflow_transition",
      "description": "Fire choice leave by transition_id (Phase exit). Pending input latches block; human_approval_awaiting does not.",
      "option": "Fire choice leave by transition_id (Phase exit). Pending input latches block; human_approval_awaiting does not.",
      "card": "Tool workflow_transition: Fire choice leave by transition_id (Phase exit). Pending input latches block; human_approval_awaiting does not."
    },
    {
      "name": "workflow_user_feedback",
      "description": "Pending user feedback for the active run. Wait for the host card — do not infer answers.",
      "option": "Pending user feedback for the active run. Wait for the host card — do not infer answers.",
      "card": "Tool workflow_user_feedback: Pending user feedback for the active run. Wait for the host card — do not infer answers."
    },
    {
      "name": "write",
      "description": "Create/replace files in write scope (append: true appends). Batch independent writes to distinct files; stage same-file or dependent writes. New or previously clean supported source must parse (MUTATION_BROKE_PARSE); broken files must improve and finish clean. Scope violation: WRITE_SCOPE_DENIED. Read existing editable files in an earlier response; concurrent edits rebase against it. EDITOR_DOCUMENT_READ_REQUIRED or EDITOR_DOCUMENT_CHANGING requires rereading and recomputatio",
      "option": "Create/replace files in write scope (append: true appends). Batch independent writes to distinct files; stage same-file or dependent writes. New or previously clean supported source must parse (MUTATION_BROKE_PARSE); broken files must improve and finish clean. Scope violation: WRITE_SCOPE_DENIED. Read existing editable files in an earlier response; concurrent edits rebase against it. EDITOR_DOCUMENT_READ_REQUIRED or EDITOR_DOCUMENT_CHANGING requires rereading and recomputatio",
      "card": "Tool write: Create/replace files in write scope (append: true appends). Batch independent writes to distinct files; stage same-file or dependent writes. New or previously clean supported source must parse (MUTATION_BROKE_PARSE); broken files must improve and finish clean. Scope violation: WRITE_SCOPE_DENIED. Read existing editable files in an earlier response; concurrent edits rebase against it. EDITOR_DOCUMENT_READ_REQUIRED or EDITOR_DOCUMENT_CHANGING requires rereading and recomputatio"
    }
  ],
  "units": [
    {
      "id": "survey-first-pass",
      "pack_id": "painted-wolf/platform",
      "option": "Choosing the first read when a request is",
      "stock": true,
      "description": "Choosing the first read when a request is about an unfamiliar area, a named file or package, a JSON or YAML config, or the findings of a completed scan; the ladder from a repository map to a bounded read.",
      "slot": "orientation",
      "needed_with": [
        "list_dir",
        "summarize",
        "survey_repo",
        "find",
        "jq",
        "scan_query",
        "scan_summary"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-summarize-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Explaining what a named file, package, or directory",
      "stock": true,
      "description": "Explaining what a named file, package, or directory does or how it works, with the summarize tool and its anchors.",
      "slot": "orientation",
      "attaches": [
        "summarize"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-survey-repo-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Finding where something lives in a project whose",
      "stock": true,
      "description": "Finding where something lives in a project whose layout is unknown: duplicated config or stores, HTTP routes and handlers, or an overview of the tree.",
      "slot": "orientation",
      "attaches": [
        "survey_repo"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-list-dir-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Getting a compact map of an unfamiliar repository",
      "stock": true,
      "description": "Getting a compact map of an unfamiliar repository or listing a directory to locate an area.",
      "slot": "orientation",
      "attaches": [
        "list_dir"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-grep-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Searching source for a name, literal, or code",
      "stock": true,
      "description": "Searching source for a name, literal, or code shape under a path, including structural tree-sitter matches.",
      "slot": "orientation",
      "attaches": [
        "grep"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-find-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Locating a file by name or glob when",
      "stock": true,
      "description": "Locating a file by name or glob when the path is not known.",
      "slot": "orientation",
      "attaches": [
        "find"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-jq-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Querying the fields or shape of a JSON",
      "stock": true,
      "description": "Querying the fields or shape of a JSON, YAML, or TOML file.",
      "slot": "orientation",
      "attaches": [
        "jq"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-read-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Reading exact lines of a text file for",
      "stock": true,
      "description": "Reading exact lines of a text file for a verbatim quote, a symbol, or an anchor before editing, including outline mode for large files.",
      "slot": "orientation",
      "attaches": [
        "read"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-recall-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Looking up what this session or its worker",
      "stock": true,
      "description": "Looking up what this session or its worker legs already observed instead of re-running a tool, or recovering a compacted tool result by its handle.",
      "slot": "orientation",
      "attaches": [
        "recall"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "native-edit-tool",
      "pack_id": "painted-wolf/platform",
      "option": "Creating, editing, or reverting project files: write, edit",
      "stock": true,
      "description": "Creating, editing, or reverting project files: write, edit, replace_lines, restore_version, and bulk code rewrites, with the syntax-health rules that apply.",
      "slot": "orientation",
      "attaches": [
        "write",
        "edit",
        "replace_lines",
        "restore_version",
        "code_rewrite"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "secure-by-default",
      "pack_id": "painted-wolf/platform",
      "option": "Writing or changing code that touches credentials, authentication",
      "stock": true,
      "description": "Writing or changing code that touches credentials, authentication, TLS, sessions, SQL or shell input, file permissions, logging, or deserialization; the security floor that also holds for demos, fixtures, tests, and local stacks.",
      "slot": "conduct",
      "attaches": [
        "write",
        "edit",
        "replace_lines",
        "code_rewrite",
        "jq_edit",
        "command",
        "terminal_open",
        "http_request",
        "secret_generate"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "secure-by-default-read",
      "pack_id": "painted-wolf/platform",
      "option": "Reading or searching files that may hold credentials",
      "stock": true,
      "description": "Reading or searching files that may hold credentials, vault plaintext, or decrypted secrets, and keeping secret values out of the session.",
      "slot": "conduct",
      "attaches": [
        "read",
        "grep",
        "jq"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "managed-secret-tools",
      "pack_id": "painted-wolf/platform",
      "option": "Creating, listing, or using a credential, API key",
      "stock": true,
      "description": "Creating, listing, or using a credential, API key, token, or password through managed secret references, including a secret a human supplies.",
      "slot": "conduct",
      "attaches": [
        "secret_generate",
        "secret_list",
        "secret_revoke"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "http-request-tools",
      "pack_id": "painted-wolf/platform",
      "option": "Calling an HTTP API, webhook, login, or development",
      "stock": true,
      "description": "Calling an HTTP API, webhook, login, or development service directly, or fetching a readable web page.",
      "slot": "conduct",
      "attaches": [
        "http_request",
        "fetch_url"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "visual-show-the-design",
      "pack_id": "painted-wolf/platform",
      "option": "Building or changing a user-facing interface, page, terminal",
      "stock": true,
      "description": "Building or changing a user-facing interface, page, terminal program, or CLI report, and capturing the running result or inspecting images and recordings as evidence.",
      "slot": "conduct",
      "attaches": [
        "render_view",
        "capture_page",
        "view_image",
        "view_video",
        "measure_page",
        "page_open",
        "command",
        "terminal_snapshot"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "git-mutation-user-consent",
      "pack_id": "painted-wolf/platform",
      "option": "Git operations: reading status and diffs, comparing branches",
      "stock": true,
      "description": "Git operations: reading status and diffs, comparing branches, committing, restoring, checking out, merging, or stashing, and the consent each one needs.",
      "slot": "conduct",
      "attaches": [
        "git_status",
        "git_diff",
        "git_log",
        "git_show",
        "git_blame",
        "git_compare",
        "git_commit",
        "git_restore",
        "git_checkout",
        "git_merge",
        "git_stash",
        "git_stash_list"
      ],
      "hosts": [
        "coordinator"
      ]
    },
    {
      "id": "claim-evidence",
      "pack_id": "painted-wolf/platform",
      "option": "Making a claim about how code behaves, how",
      "stock": true,
      "description": "Making a claim about how code behaves, how components connect, how a page or terminal renders, or what an image shows, and the receipt each kind of claim requires.",
      "slot": "evidence",
      "needed_with": [
        "capture_page",
        "page_snapshot",
        "page_act",
        "measure_page",
        "render_view",
        "view_image",
        "view_video",
        "terminal_snapshot",
        "verify",
        "web_search",
        "fetch_url"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "investigate-delegation",
      "pack_id": "painted-wolf/platform",
      "option": "Substantial research or product work that parallel workers",
      "stock": true,
      "description": "Substantial research or product work that parallel workers should split: when to delegate with task, how to brief read and write legs, and how to orchestrate while they run.",
      "slot": "execution",
      "attaches": [
        "task"
      ],
      "modes": [
        "investigate"
      ],
      "hosts": [
        "coordinator"
      ]
    },
    {
      "id": "investigate-pacing",
      "pack_id": "painted-wolf/platform",
      "option": "Dispatching parallel worker legs: batch sizes, in-flight limits",
      "stock": true,
      "description": "Dispatching parallel worker legs: batch sizes, in-flight limits, tool budgets, and which work stays inline.",
      "slot": "execution",
      "attaches": [
        "task"
      ],
      "modes": [
        "investigate"
      ],
      "hosts": [
        "coordinator"
      ]
    },
    {
      "id": "coordinator-host-runner",
      "pack_id": "painted-wolf/platform",
      "option": "Running commands, builds, tests, or terminal sessions on",
      "stock": true,
      "description": "Running commands, builds, tests, or terminal sessions on the host under sandbox confinement, and declaring the resources each run needs.",
      "slot": "execution",
      "attaches": [
        "command",
        "terminal_open",
        "verify"
      ],
      "modes": [
        "investigate",
        "orchestrate"
      ],
      "hosts": [
        "coordinator"
      ]
    },
    {
      "id": "terminal-no-secrets-over-pty",
      "pack_id": "painted-wolf/platform",
      "option": "Typing into an interactive terminal session, and never",
      "stock": true,
      "description": "Typing into an interactive terminal session, and never sending passwords, tokens, or passphrases over the pty.",
      "slot": "execution",
      "attaches": [
        "terminal_send"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "runner-operating-procedure",
      "pack_id": "painted-wolf/platform",
      "option": "Operating the host command runner: mediated egress and",
      "stock": true,
      "description": "Operating the host command runner: mediated egress and proxies, attributing network failures, capability requests, argv sequences, and verifying the exercised behavior.",
      "slot": "procedures",
      "attaches": [
        "command",
        "verify",
        "terminal_open"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "http-operating-procedure",
      "pack_id": "painted-wolf/platform",
      "option": "Making structured HTTP requests: bodies, auth, cookie and",
      "stock": true,
      "description": "Making structured HTTP requests: bodies, auth, cookie and token jars, loopback capability, virtual hosts, redirects, and timeouts.",
      "slot": "procedures",
      "attaches": [
        "http_request"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    },
    {
      "id": "page-operating-procedure",
      "pack_id": "painted-wolf/platform",
      "option": "Capturing, driving, measuring, or rendering pages, mockups, images",
      "stock": true,
      "description": "Capturing, driving, measuring, or rendering pages, mockups, images, and video frames with the visual tools.",
      "slot": "procedures",
      "attaches": [
        "capture_page",
        "page_open",
        "page_act",
        "page_snapshot",
        "page_close",
        "measure_page",
        "render_view",
        "view_image",
        "view_video"
      ],
      "hosts": [
        "coordinator",
        "worker"
      ]
    }
  ],
  "skills": [
    {
      "name": "analyze-a-profiler-trace",
      "description": "Aggregate profiler or timeline exports to locate time costs without loading the raw trace into context.",
      "card": "Skill: analyze-a-profiler-trace\nAggregate profiler or timeline exports to locate time costs without loading the raw trace into context."
    },
    {
      "name": "analyze-local-data-files",
      "description": "Query, join, profile, or aggregate local CSV, Parquet, and JSON files with DuckDB SQL.",
      "card": "Skill: analyze-local-data-files\nQuery, join, profile, or aggregate local CSV, Parquet, and JSON files with DuckDB SQL."
    },
    {
      "name": "apply-a-structural-codemod",
      "description": "Change repeated code syntax across multiple sites with structural grep and code_rewrite.",
      "card": "Skill: apply-a-structural-codemod\nChange repeated code syntax across multiple sites with structural grep and code_rewrite."
    },
    {
      "name": "ask-for-a-decision",
      "description": "Use ask_user for a blocking product choice, required human action, or review of one to four visuals.",
      "card": "Skill: ask-for-a-decision\nUse ask_user for a blocking product choice, required human action, or review of one to four visuals."
    },
    {
      "name": "build-and-test-mobile-apps",
      "description": "Build and test Android, Flutter, and Apple-platform apps with the project toolchain and device or simulator.",
      "card": "Skill: build-and-test-mobile-apps\nBuild and test Android, Flutter, and Apple-platform apps with the project toolchain and device or simulator."
    },
    {
      "name": "challenge-a-security-claim",
      "description": "Test whether a vulnerability or hardening claim is exploitable under the stated threat model.",
      "card": "Skill: challenge-a-security-claim\nTest whether a vulnerability or hardening claim is exploitable under the stated threat model."
    },
    {
      "name": "commit-in-logical-groups",
      "description": "When asked to commit, group changes coherently and exclude other people’s uncommitted work.",
      "card": "Skill: commit-in-logical-groups\nWhen asked to commit, group changes coherently and exclude other people’s uncommitted work."
    },
    {
      "name": "convert-documents",
      "description": "Convert Markdown, HTML, DOCX, rst, LaTeX, or PDF outputs with pandoc.",
      "card": "Skill: convert-documents\nConvert Markdown, HTML, DOCX, rst, LaTeX, or PDF outputs with pandoc."
    },
    {
      "name": "craft-icons-and-chrome",
      "description": "Vector SVG icons, status badges, and styled chrome components for web interfaces, dashboards, and pages.",
      "card": "Skill: craft-icons-and-chrome\nVector SVG icons, status badges, and styled chrome components for web interfaces, dashboards, and pages."
    },
    {
      "name": "deploy-to-a-hosting-platform",
      "description": "Before CLI deployment to Vercel, Netlify, Fly.io, or Cloudflare, select and verify the intended target.",
      "card": "Skill: deploy-to-a-hosting-platform\nBefore CLI deployment to Vercel, Netlify, Fly.io, or Cloudflare, select and verify the intended target."
    },
    {
      "name": "design-and-debug-tests",
      "description": "Minimize reproductions, diagnose flaky tests, and design property-based or invariant regression tests.",
      "card": "Skill: design-and-debug-tests\nMinimize reproductions, diagnose flaky tests, and design property-based or invariant regression tests."
    },
    {
      "name": "diagnose-a-tls-failure",
      "description": "Diagnose TLS certificate, expiry, chain, hostname, trust, or clock errors without disabling verification.",
      "card": "Skill: diagnose-a-tls-failure\nDiagnose TLS certificate, expiry, chain, hostname, trust, or clock errors without disabling verification."
    },
    {
      "name": "diagnose-performance",
      "description": "Investigate slow queries, performance regressions, memory leaks, and disk, memory, or descriptor exhaustion.",
      "card": "Skill: diagnose-performance\nInvestigate slow queries, performance regressions, memory leaks, and disk, memory, or descriptor exhaustion."
    },
    {
      "name": "draw-a-diagram",
      "description": "Explain architecture, flows, states, sequences, or changes with a diagram when layout helps more than prose.",
      "card": "Skill: draw-a-diagram\nExplain architecture, flows, states, sequences, or changes with a diagram when layout helps more than prose."
    },
    {
      "name": "emulate-aws-locally",
      "description": "Exercise AWS-dependent code and tests with LocalStack instead of a real cloud account.",
      "card": "Skill: emulate-aws-locally\nExercise AWS-dependent code and tests with LocalStack instead of a real cloud account."
    },
    {
      "name": "evolve-a-system",
      "description": "Review failure, retry, and idempotency policies; design state machines and concurrency; evolve APIs or fix systemic defects.",
      "card": "Skill: evolve-a-system\nReview failure, retry, and idempotency policies; design state machines and concurrency; evolve APIs or fix systemic defects."
    },
    {
      "name": "hunt-a-regression-with-bisect",
      "description": "Find the commit that introduced a reproducible regression using git bisect.",
      "card": "Skill: hunt-a-regression-with-bisect\nFind the commit that introduced a reproducible regression using git bisect."
    },
    {
      "name": "inspect-a-database",
      "description": "Inspect SQLite files or query PostgreSQL, MySQL/MariaDB, MongoDB, and Redis safely for schema, data, and cache evidence.",
      "card": "Skill: inspect-a-database\nInspect SQLite files or query PostgreSQL, MySQL/MariaDB, MongoDB, and Redis safely for schema, data, and cache evidence."
    },
    {
      "name": "inspect-a-kafka-topic",
      "description": "Safely inspect Kafka topics, messages, consumer lag, and broker health.",
      "card": "Skill: inspect-a-kafka-topic\nSafely inspect Kafka topics, messages, consumer lag, and broker health."
    },
    {
      "name": "inspect-and-transcode-media",
      "description": "Probe codecs and resolution, trim, transcode, or remux audio and video with ffprobe and ffmpeg.",
      "card": "Skill: inspect-and-transcode-media\nProbe codecs and resolution, trim, transcode, or remux audio and video with ffprobe and ffmpeg."
    },
    {
      "name": "inspect-cloud-services",
      "description": "Inspect AWS, Azure, or GCP resources, diagnose deployed services, and investigate cloud costs.",
      "card": "Skill: inspect-cloud-services\nInspect AWS, Azure, or GCP resources, diagnose deployed services, and investigate cloud costs."
    },
    {
      "name": "investigate-code-history",
      "description": "Trace code changes across live source history and Git commits, including authorship and line history.",
      "card": "Skill: investigate-code-history\nTrace code changes across live source history and Git commits, including authorship and line history."
    },
    {
      "name": "measure-interface",
      "description": "Measure rendered size, spacing, alignment, overlap, position, or contrast, including after interactions.",
      "card": "Skill: measure-interface\nMeasure rendered size, spacing, alignment, overlap, position, or contrast, including after interactions."
    },
    {
      "name": "mock-before-build",
      "description": "Mock up an unresolved visual direction for human choice; skip specified designs and routine or invisible edits.",
      "card": "Skill: mock-before-build\nMock up an unresolved visual direction for human choice; skip specified designs and routine or invisible edits."
    },
    {
      "name": "orchestrate-a-large-task",
      "description": "Decompose and integrate broad work, staged research, independent fixes, configuration matrices, and alternatives.",
      "card": "Skill: orchestrate-a-large-task\nDecompose and integrate broad work, staged research, independent fixes, configuration matrices, and alternatives."
    },
    {
      "name": "plan-a-database-migration",
      "description": "Plan schema changes for live databases with existing data, including backfill, rollout, and recovery.",
      "card": "Skill: plan-a-database-migration\nPlan schema changes for live databases with existing data, including backfill, rollout, and recovery."
    },
    {
      "name": "plan-infrastructure-changes",
      "description": "Author or assess Terraform configuration and drift through a reviewed, non-applying plan.",
      "card": "Skill: plan-infrastructure-changes\nAuthor or assess Terraform configuration and drift through a reviewed, non-applying plan."
    },
    {
      "name": "prepare-a-release",
      "description": "Assemble and verify release versions, notes, artifacts, provenance, and clean-install evidence without publishing.",
      "card": "Skill: prepare-a-release\nAssemble and verify release versions, notes, artifacts, provenance, and clean-install evidence without publishing."
    },
    {
      "name": "present-an-engineering-design",
      "description": "Present system designs, proposals, decision briefs, developer research, or workflow prototypes.",
      "card": "Skill: present-an-engineering-design\nPresent system designs, proposals, decision briefs, developer research, or workflow prototypes."
    },
    {
      "name": "query-local-observability",
      "description": "Query Prometheus metrics and validate alerting rules with promtool against a local or development stack.",
      "card": "Skill: query-local-observability\nQuery Prometheus metrics and validate alerting rules with promtool against a local or development stack."
    },
    {
      "name": "reach-a-network-service",
      "description": "Before network access, local service setup, or bind/listen/connect/DNS/proxy recovery, select the confined route.",
      "card": "Skill: reach-a-network-service\nBefore network access, local service setup, or bind/listen/connect/DNS/proxy recovery, select the confined route."
    },
    {
      "name": "research-current-information",
      "description": "Research changing versions, APIs, advisories, schedules, prices, laws, or other current external facts.",
      "card": "Skill: research-current-information\nResearch changing versions, APIs, advisories, schedules, prices, laws, or other current external facts."
    },
    {
      "name": "review-accessibility",
      "description": "Review keyboard, focus, motion, contrast, responsive layout, and structural accessibility on a bounded route.",
      "card": "Skill: review-accessibility\nReview keyboard, focus, motion, contrast, responsive layout, and structural accessibility on a bounded route."
    },
    {
      "name": "run-a-local-model",
      "description": "Use the local Ollama API for offline inference, model comparisons, or reproducible prompt checks.",
      "card": "Skill: run-a-local-model\nUse the local Ollama API for offline inference, model comparisons, or reproducible prompt checks."
    },
    {
      "name": "run-a-notebook-headlessly",
      "description": "Execute and verify Jupyter notebooks with clean full runs and fresh cell outputs.",
      "card": "Skill: run-a-notebook-headlessly\nExecute and verify Jupyter notebooks with clean full runs and fresh cell outputs."
    },
    {
      "name": "run-a-throwaway-service",
      "description": "Start an isolated ephemeral service container for tests without touching an existing instance.",
      "card": "Skill: run-a-throwaway-service\nStart an isolated ephemeral service container for tests without touching an existing instance."
    },
    {
      "name": "run-browser-e2e-tests",
      "description": "Run or diagnose Playwright end-to-end tests, flakes, and visual snapshot updates.",
      "card": "Skill: run-browser-e2e-tests\nRun or diagnose Playwright end-to-end tests, flakes, and visual snapshot updates."
    },
    {
      "name": "run-the-project-stack",
      "description": "Start, observe, or rebuild the project’s declared multi-service Compose stack.",
      "card": "Skill: run-the-project-stack\nStart, observe, or rebuild the project’s declared multi-service Compose stack."
    },
    {
      "name": "survey-a-threat-model",
      "description": "Map a system’s threat model from source and classify claims against it; not scanner-finding triage.",
      "card": "Skill: survey-a-threat-model\nMap a system’s threat model from source and classify claims against it; not scanner-finding triage."
    },
    {
      "name": "test-stripe-webhooks",
      "description": "Exercise local Stripe webhooks and payment event handling with the Stripe CLI in test mode.",
      "card": "Skill: test-stripe-webhooks\nExercise local Stripe webhooks and payment event handling with the Stripe CLI in test mode."
    },
    {
      "name": "trace-a-system-invariant",
      "description": "Trace a correctness invariant across writers, readers, storage, caches, and state transitions.",
      "card": "Skill: trace-a-system-invariant\nTrace a correctness invariant across writers, readers, storage, caches, and state transitions."
    },
    {
      "name": "triage-security-findings",
      "description": "Use stored scanner evidence to assess findings, credibility, and changes introduced or resolved by a fix.",
      "card": "Skill: triage-security-findings\nUse stored scanner evidence to assess findings, credibility, and changes introduced or resolved by a fix."
    },
    {
      "name": "update-the-docs",
      "description": "Update documentation when behavior, contracts, defaults, or setup changes, or docs disagree with code.",
      "card": "Skill: update-the-docs\nUpdate documentation when behavior, contracts, defaults, or setup changes, or docs disagree with code."
    },
    {
      "name": "upgrade-dependencies",
      "description": "Upgrade dependencies or fix advisories using the existing package manager, resolver, lockfile, and test gate.",
      "card": "Skill: upgrade-dependencies\nUpgrade dependencies or fix advisories using the existing package manager, resolver, lockfile, and test gate."
    },
    {
      "name": "use-secrets-without-reading-them",
      "description": "Before using or requesting credentials in commands, environment, files, or HTTP requests, use secret references.",
      "card": "Skill: use-secrets-without-reading-them\nBefore using or requesting credentials in commands, environment, files, or HTTP requests, use secret references."
    },
    {
      "name": "verify-a-backup-and-restore",
      "description": "Prove a backup restores required data into an isolated target within the recovery-time objective.",
      "card": "Skill: verify-a-backup-and-restore\nProve a backup restores required data into an isolated target within the recovery-time objective."
    },
    {
      "name": "verify-a-change",
      "description": "Choose useful validation for a change and report outcomes and unchecked areas.",
      "card": "Skill: verify-a-change\nChoose useful validation for a change and report outcomes and unchecked areas."
    },
    {
      "name": "verify-terminal-change",
      "description": "Verify changed CLI/TUI output, including non-interactive reports, TTY behavior, and requested terminal images.",
      "card": "Skill: verify-terminal-change\nVerify changed CLI/TUI output, including non-interactive reports, TTY behavior, and requested terminal images."
    },
    {
      "name": "verify-visual-change",
      "description": "Inspect the running UI and capture grounded artifacts for visible changes, requested receipts, or proposals.",
      "card": "Skill: verify-visual-change\nInspect the running UI and capture grounded artifacts for visible changes, requested receipts, or proposals."
    },
    {
      "name": "visualize-data",
      "description": "Render a small chart or comparison table when counts, trends, benchmarks, durations, or sizes merit a visual.",
      "card": "Skill: visualize-data\nRender a small chart or comparison table when counts, trends, benchmarks, durations, or sizes merit a visual."
    },
    {
      "name": "work-in-a-dev-container",
      "description": "Build and test in the declared .devcontainer environment when present or host tools mismatch the project.",
      "card": "Skill: work-in-a-dev-container\nBuild and test in the declared .devcontainer environment when present or host tools mismatch the project."
    },
    {
      "name": "work-with-containers",
      "description": "Containerize apps with a Dockerfile; build Docker images; run, debug, network, test, and publish containers; manage Compose, mounts, resources, and shutdown.",
      "card": "Skill: work-with-containers\nContainerize apps with a Dockerfile; build Docker images; run, debug, network, test, and publish containers; manage Compose, mounts, resources, and shutdown."
    },
    {
      "name": "work-with-github",
      "description": "Inspect GitHub pull requests, review feedback, issues, and CI failures as structured gh evidence.",
      "card": "Skill: work-with-github\nInspect GitHub pull requests, review feedback, issues, and CI failures as structured gh evidence."
    },
    {
      "name": "work-with-kubernetes",
      "description": "Inspect or debug Kubernetes workloads, manage Helm releases, or create an explicitly requested local cluster.",
      "card": "Skill: work-with-kubernetes\nInspect or debug Kubernetes workloads, manage Helm releases, or create an explicitly requested local cluster."
    },
    {
      "name": "work-with-supabase",
      "description": "Run local Supabase, evolve its schema, or check RLS while verifying the project and environment.",
      "card": "Skill: work-with-supabase\nRun local Supabase, evolve its schema, or check RLS while verifying the project and environment."
    },
    {
      "name": "write-a-skill",
      "description": "Create or edit an Agent Skills procedure and validate its metadata, resources, and activation cues.",
      "card": "Skill: write-a-skill\nCreate or edit an Agent Skills procedure and validate its metadata, resources, and activation cues."
    },
    {
      "name": "write-detection-pack",
      "description": "Create and test additive Sigma detections that raise approval asks or egress holds on tool and network events.",
      "card": "Skill: write-detection-pack\nCreate and test additive Sigma detections that raise approval asks or egress holds on tool and network events."
    },
    {
      "name": "write-extension-pack",
      "description": "Create and validate extension packs containing supported catalog policy, guidance, workflows, agents, or skills.",
      "card": "Skill: write-extension-pack\nCreate and validate extension packs containing supported catalog policy, guidance, workflows, agents, or skills."
    },
    {
      "name": "write-policy-rule",
      "description": "Author and test Open Agent Rules over supported machine-state anchors and facts without new host behavior.",
      "card": "Skill: write-policy-rule\nAuthor and test Open Agent Rules over supported machine-state anchors and facts without new host behavior."
    },
    {
      "name": "write-prompt-override",
      "description": "Create and render-test a project or extension override for an existing prompt template or persona.",
      "card": "Skill: write-prompt-override\nCreate and render-test a project or extension override for an existing prompt template or persona."
    },
    {
      "name": "write-workflow",
      "description": "Author and validate workflow phases, gates, human decisions, and durable orchestration.",
      "card": "Skill: write-workflow\nAuthor and validate workflow phases, gates, human decisions, and durable orchestration."
    }
  ]
}