-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
933 lines (933 loc) · 40.3 KB
/
Copy pathopencode.jsonc
File metadata and controls
933 lines (933 loc) · 40.3 KB
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
{
"$schema": "https://opencode.ai/config.json",
"instructions": [
".tfcore/core-config.yaml",
".tfcore/templates/v4custom/build-invocation-ladder.md",
".tfcore/templates/v4custom/opencode-operating-contract.md",
"AGENTS.md"
],
// Solo-dev TechieFlow v4: only the agents the compressed workflow actually uses.
// Stock story-flow agents (dev/pm/po/qa/sm/ux-expert) were trimmed 2026-06-12
// and are no longer included.
//
// NOTE on `tools` vs `permission`: the legacy `tools` key (e.g.
// {write/edit/bash: true}) is deprecated and auto-normalized to a `permission`
// block, and listing only three tools left read/grep/glob/task at their
// defaults anyway. We use `permission` explicitly so intent is unambiguous.
//
// NOTE on git/gh: "GIT IS MANUAL" is enforced here for OpenCode the same way
// `.claude/settings.json` + block-git.sh enforce it for Claude Code. Since
// 2026-08-21 (YOLO / goal mode, .tfcore/tasks/_yolo-mode.md) the permission
// map denies only git/gh WRITES (commit/push/add/reset/checkout/… and gh
// pr|issue|repo|release create/merge/close/…) — those are blocked in EVERY
// mode. READ-ONLY git/gh (status/log/diff/blame, gh pr list/view) is decided
// by the plugin-bridged block-git.sh: blocked outside YOLO, allowed in YOLO.
// The `rm */rmdir */sudo *` asks stay here; in YOLO the plugin's
// `permission.ask` hook auto-approves them (and `opencode run --auto`
// approves everything not denied). Verified at runtime (2026-08-20, OpenCode
// 1.18.18): compound forms like `cd x && git log` ARE caught — OpenCode
// tree-sitter-parses the command and checks each node.
// TWO FOOTGUNS (both proven, DECISIONS.md 2026-08-19 §7):
// 1. LAST matching rule wins. `"*": "allow"` must stay FIRST in every bash
// map; written after the denies it silently disables them.
// 2. Agent-level `permission` rules are appended AFTER the root ruleset, so
// a bare `"bash": "allow"` on an agent VOIDS the root git/gh denies for
// that agent. Every agent below therefore repeats the full deny map —
// never collapse it back to `"bash": "allow"`.
// Defense in depth: .opencode/plugin/techieflow.js additionally runs
// block-git.sh (throw = block) upstream of this permission check.
"permission": {
"bash": {
"*": "allow",
"git commit*": "deny",
"git push*": "deny",
"git add*": "deny",
"git rm*": "deny",
"git mv*": "deny",
"git reset*": "deny",
"git checkout*": "deny",
"git switch*": "deny",
"git restore*": "deny",
"git merge*": "deny",
"git rebase*": "deny",
"git cherry-pick*": "deny",
"git revert*": "deny",
"git clean*": "deny",
"git am*": "deny",
"git apply*": "deny",
"git init*": "deny",
"git clone*": "deny",
"git pull*": "deny",
"git fetch*": "deny",
"git filter-branch*": "deny",
"git filter-repo*": "deny",
"git gc*": "deny",
"git prune*": "deny",
"git update-ref*": "deny",
"git symbolic-ref*": "deny",
"git replace*": "deny",
"git update-index*": "deny",
"git commit-tree*": "deny",
"git write-tree*": "deny",
"git read-tree*": "deny",
"git fast-import*": "deny",
"git send-email*": "deny",
"git request-pull*": "deny",
"git svn*": "deny",
"gh pr create*": "deny",
"gh pr merge*": "deny",
"gh pr close*": "deny",
"gh pr edit*": "deny",
"gh pr comment*": "deny",
"gh pr review*": "deny",
"gh pr ready*": "deny",
"gh pr reopen*": "deny",
"gh pr lock*": "deny",
"gh pr unlock*": "deny",
"gh pr update-branch*": "deny",
"gh pr checkout*": "deny",
"gh issue create*": "deny",
"gh issue close*": "deny",
"gh issue edit*": "deny",
"gh issue comment*": "deny",
"gh issue delete*": "deny",
"gh issue reopen*": "deny",
"gh issue pin*": "deny",
"gh issue unpin*": "deny",
"gh issue lock*": "deny",
"gh issue unlock*": "deny",
"gh issue transfer*": "deny",
"gh issue develop*": "deny",
"gh repo create*": "deny",
"gh repo delete*": "deny",
"gh repo fork*": "deny",
"gh repo clone*": "deny",
"gh repo edit*": "deny",
"gh repo sync*": "deny",
"gh repo archive*": "deny",
"gh repo unarchive*": "deny",
"gh repo rename*": "deny",
"gh repo set-default*": "deny",
"gh repo deploy-key add*": "deny",
"gh repo deploy-key delete*": "deny",
"gh release create*": "deny",
"gh release delete*": "deny",
"gh release upload*": "deny",
"gh release edit*": "deny",
"gh workflow run*": "deny",
"gh workflow enable*": "deny",
"gh workflow disable*": "deny",
"gh run cancel*": "deny",
"gh run rerun*": "deny",
"gh run delete*": "deny",
"gh secret set*": "deny",
"gh secret delete*": "deny",
"gh variable set*": "deny",
"gh variable delete*": "deny",
"gh label create*": "deny",
"gh label delete*": "deny",
"gh label edit*": "deny",
"gh auth login*": "deny",
"gh auth logout*": "deny",
"gh auth refresh*": "deny",
"gh auth setup-git*": "deny",
"gh gist create*": "deny",
"gh gist delete*": "deny",
"gh gist edit*": "deny",
"gh ssh-key add*": "deny",
"gh gpg-key add*": "deny",
"gh cache delete*": "deny",
"rm *": "ask",
"rmdir *": "ask",
"sudo *": "ask"
}
},
"agent": {
"flow-master": {
"prompt": "{file:./.tfcore/agents/flow-master.md}",
"mode": "primary",
"permission": {
"edit": "allow",
"bash": {
"*": "allow",
"git commit*": "deny",
"git push*": "deny",
"git add*": "deny",
"git rm*": "deny",
"git mv*": "deny",
"git reset*": "deny",
"git checkout*": "deny",
"git switch*": "deny",
"git restore*": "deny",
"git merge*": "deny",
"git rebase*": "deny",
"git cherry-pick*": "deny",
"git revert*": "deny",
"git clean*": "deny",
"git am*": "deny",
"git apply*": "deny",
"git init*": "deny",
"git clone*": "deny",
"git pull*": "deny",
"git fetch*": "deny",
"git filter-branch*": "deny",
"git filter-repo*": "deny",
"git gc*": "deny",
"git prune*": "deny",
"git update-ref*": "deny",
"git symbolic-ref*": "deny",
"git replace*": "deny",
"git update-index*": "deny",
"git commit-tree*": "deny",
"git write-tree*": "deny",
"git read-tree*": "deny",
"git fast-import*": "deny",
"git send-email*": "deny",
"git request-pull*": "deny",
"git svn*": "deny",
"gh pr create*": "deny",
"gh pr merge*": "deny",
"gh pr close*": "deny",
"gh pr edit*": "deny",
"gh pr comment*": "deny",
"gh pr review*": "deny",
"gh pr ready*": "deny",
"gh pr reopen*": "deny",
"gh pr lock*": "deny",
"gh pr unlock*": "deny",
"gh pr update-branch*": "deny",
"gh pr checkout*": "deny",
"gh issue create*": "deny",
"gh issue close*": "deny",
"gh issue edit*": "deny",
"gh issue comment*": "deny",
"gh issue delete*": "deny",
"gh issue reopen*": "deny",
"gh issue pin*": "deny",
"gh issue unpin*": "deny",
"gh issue lock*": "deny",
"gh issue unlock*": "deny",
"gh issue transfer*": "deny",
"gh issue develop*": "deny",
"gh repo create*": "deny",
"gh repo delete*": "deny",
"gh repo fork*": "deny",
"gh repo clone*": "deny",
"gh repo edit*": "deny",
"gh repo sync*": "deny",
"gh repo archive*": "deny",
"gh repo unarchive*": "deny",
"gh repo rename*": "deny",
"gh repo set-default*": "deny",
"gh repo deploy-key add*": "deny",
"gh repo deploy-key delete*": "deny",
"gh release create*": "deny",
"gh release delete*": "deny",
"gh release upload*": "deny",
"gh release edit*": "deny",
"gh workflow run*": "deny",
"gh workflow enable*": "deny",
"gh workflow disable*": "deny",
"gh run cancel*": "deny",
"gh run rerun*": "deny",
"gh run delete*": "deny",
"gh secret set*": "deny",
"gh secret delete*": "deny",
"gh variable set*": "deny",
"gh variable delete*": "deny",
"gh label create*": "deny",
"gh label delete*": "deny",
"gh label edit*": "deny",
"gh auth login*": "deny",
"gh auth logout*": "deny",
"gh auth refresh*": "deny",
"gh auth setup-git*": "deny",
"gh gist create*": "deny",
"gh gist delete*": "deny",
"gh gist edit*": "deny",
"gh ssh-key add*": "deny",
"gh gpg-key add*": "deny",
"gh cache delete*": "deny",
"rm *": "ask",
"rmdir *": "ask",
"sudo *": "ask"
}
},
"description": "Madhav — the TechieFlow master: build (*build-phase), fix (*fix-issues), triage (*triage-issues), log a miss (*log-miss), amend documents (*amend-docs), DevGuide and ProductGuide, handoff, refresh-status, metrics, HTML rendering, YOLO. The analyst owns day-1; the verifier owns *verify.",
},
"flow-architect": {
"prompt": "{file:./.tfcore/agents/architect.md}",
"mode": "all",
"permission": {
"edit": "allow",
"bash": {
"*": "allow",
"git commit*": "deny",
"git push*": "deny",
"git add*": "deny",
"git rm*": "deny",
"git mv*": "deny",
"git reset*": "deny",
"git checkout*": "deny",
"git switch*": "deny",
"git restore*": "deny",
"git merge*": "deny",
"git rebase*": "deny",
"git cherry-pick*": "deny",
"git revert*": "deny",
"git clean*": "deny",
"git am*": "deny",
"git apply*": "deny",
"git init*": "deny",
"git clone*": "deny",
"git pull*": "deny",
"git fetch*": "deny",
"git filter-branch*": "deny",
"git filter-repo*": "deny",
"git gc*": "deny",
"git prune*": "deny",
"git update-ref*": "deny",
"git symbolic-ref*": "deny",
"git replace*": "deny",
"git update-index*": "deny",
"git commit-tree*": "deny",
"git write-tree*": "deny",
"git read-tree*": "deny",
"git fast-import*": "deny",
"git send-email*": "deny",
"git request-pull*": "deny",
"git svn*": "deny",
"gh pr create*": "deny",
"gh pr merge*": "deny",
"gh pr close*": "deny",
"gh pr edit*": "deny",
"gh pr comment*": "deny",
"gh pr review*": "deny",
"gh pr ready*": "deny",
"gh pr reopen*": "deny",
"gh pr lock*": "deny",
"gh pr unlock*": "deny",
"gh pr update-branch*": "deny",
"gh pr checkout*": "deny",
"gh issue create*": "deny",
"gh issue close*": "deny",
"gh issue edit*": "deny",
"gh issue comment*": "deny",
"gh issue delete*": "deny",
"gh issue reopen*": "deny",
"gh issue pin*": "deny",
"gh issue unpin*": "deny",
"gh issue lock*": "deny",
"gh issue unlock*": "deny",
"gh issue transfer*": "deny",
"gh issue develop*": "deny",
"gh repo create*": "deny",
"gh repo delete*": "deny",
"gh repo fork*": "deny",
"gh repo clone*": "deny",
"gh repo edit*": "deny",
"gh repo sync*": "deny",
"gh repo archive*": "deny",
"gh repo unarchive*": "deny",
"gh repo rename*": "deny",
"gh repo set-default*": "deny",
"gh repo deploy-key add*": "deny",
"gh repo deploy-key delete*": "deny",
"gh release create*": "deny",
"gh release delete*": "deny",
"gh release upload*": "deny",
"gh release edit*": "deny",
"gh workflow run*": "deny",
"gh workflow enable*": "deny",
"gh workflow disable*": "deny",
"gh run cancel*": "deny",
"gh run rerun*": "deny",
"gh run delete*": "deny",
"gh secret set*": "deny",
"gh secret delete*": "deny",
"gh variable set*": "deny",
"gh variable delete*": "deny",
"gh label create*": "deny",
"gh label delete*": "deny",
"gh label edit*": "deny",
"gh auth login*": "deny",
"gh auth logout*": "deny",
"gh auth refresh*": "deny",
"gh auth setup-git*": "deny",
"gh gist create*": "deny",
"gh gist delete*": "deny",
"gh gist edit*": "deny",
"gh ssh-key add*": "deny",
"gh gpg-key add*": "deny",
"gh cache delete*": "deny",
"rm *": "ask",
"rmdir *": "ask",
"sudo *": "ask"
}
},
"description": "Optional deep architecture dive; /analyst covers day-1 architecture by default"
},
"flow-analyst": {
"prompt": "{file:./.tfcore/agents/analyst.md}",
"mode": "all",
"permission": {
"edit": "allow",
"bash": {
"*": "allow",
"git commit*": "deny",
"git push*": "deny",
"git add*": "deny",
"git rm*": "deny",
"git mv*": "deny",
"git reset*": "deny",
"git checkout*": "deny",
"git switch*": "deny",
"git restore*": "deny",
"git merge*": "deny",
"git rebase*": "deny",
"git cherry-pick*": "deny",
"git revert*": "deny",
"git clean*": "deny",
"git am*": "deny",
"git apply*": "deny",
"git init*": "deny",
"git clone*": "deny",
"git pull*": "deny",
"git fetch*": "deny",
"git filter-branch*": "deny",
"git filter-repo*": "deny",
"git gc*": "deny",
"git prune*": "deny",
"git update-ref*": "deny",
"git symbolic-ref*": "deny",
"git replace*": "deny",
"git update-index*": "deny",
"git commit-tree*": "deny",
"git write-tree*": "deny",
"git read-tree*": "deny",
"git fast-import*": "deny",
"git send-email*": "deny",
"git request-pull*": "deny",
"git svn*": "deny",
"gh pr create*": "deny",
"gh pr merge*": "deny",
"gh pr close*": "deny",
"gh pr edit*": "deny",
"gh pr comment*": "deny",
"gh pr review*": "deny",
"gh pr ready*": "deny",
"gh pr reopen*": "deny",
"gh pr lock*": "deny",
"gh pr unlock*": "deny",
"gh pr update-branch*": "deny",
"gh pr checkout*": "deny",
"gh issue create*": "deny",
"gh issue close*": "deny",
"gh issue edit*": "deny",
"gh issue comment*": "deny",
"gh issue delete*": "deny",
"gh issue reopen*": "deny",
"gh issue pin*": "deny",
"gh issue unpin*": "deny",
"gh issue lock*": "deny",
"gh issue unlock*": "deny",
"gh issue transfer*": "deny",
"gh issue develop*": "deny",
"gh repo create*": "deny",
"gh repo delete*": "deny",
"gh repo fork*": "deny",
"gh repo clone*": "deny",
"gh repo edit*": "deny",
"gh repo sync*": "deny",
"gh repo archive*": "deny",
"gh repo unarchive*": "deny",
"gh repo rename*": "deny",
"gh repo set-default*": "deny",
"gh repo deploy-key add*": "deny",
"gh repo deploy-key delete*": "deny",
"gh release create*": "deny",
"gh release delete*": "deny",
"gh release upload*": "deny",
"gh release edit*": "deny",
"gh workflow run*": "deny",
"gh workflow enable*": "deny",
"gh workflow disable*": "deny",
"gh run cancel*": "deny",
"gh run rerun*": "deny",
"gh run delete*": "deny",
"gh secret set*": "deny",
"gh secret delete*": "deny",
"gh variable set*": "deny",
"gh variable delete*": "deny",
"gh label create*": "deny",
"gh label delete*": "deny",
"gh label edit*": "deny",
"gh auth login*": "deny",
"gh auth logout*": "deny",
"gh auth refresh*": "deny",
"gh auth setup-git*": "deny",
"gh gist create*": "deny",
"gh gist delete*": "deny",
"gh gist edit*": "deny",
"gh ssh-key add*": "deny",
"gh gpg-key add*": "deny",
"gh cache delete*": "deny",
"rm *": "ask",
"rmdir *": "ask",
"sudo *": "ask"
}
},
"description": "Day-1 docs (*day1-brownfield / *day1-greenfield), UI mockups (*mockups), requirements split (*split-brd), doc amendments (*amend-docs), brainstorming, research"
},
"flow-verifier": {
"prompt": "{file:./.tfcore/agents/verifier.md}",
"mode": "all",
"permission": {
"edit": "allow",
"bash": {
"*": "allow",
"git commit*": "deny",
"git push*": "deny",
"git add*": "deny",
"git rm*": "deny",
"git mv*": "deny",
"git reset*": "deny",
"git checkout*": "deny",
"git switch*": "deny",
"git restore*": "deny",
"git merge*": "deny",
"git rebase*": "deny",
"git cherry-pick*": "deny",
"git revert*": "deny",
"git clean*": "deny",
"git am*": "deny",
"git apply*": "deny",
"git init*": "deny",
"git clone*": "deny",
"git pull*": "deny",
"git fetch*": "deny",
"git filter-branch*": "deny",
"git filter-repo*": "deny",
"git gc*": "deny",
"git prune*": "deny",
"git update-ref*": "deny",
"git symbolic-ref*": "deny",
"git replace*": "deny",
"git update-index*": "deny",
"git commit-tree*": "deny",
"git write-tree*": "deny",
"git read-tree*": "deny",
"git fast-import*": "deny",
"git send-email*": "deny",
"git request-pull*": "deny",
"git svn*": "deny",
"gh pr create*": "deny",
"gh pr merge*": "deny",
"gh pr close*": "deny",
"gh pr edit*": "deny",
"gh pr comment*": "deny",
"gh pr review*": "deny",
"gh pr ready*": "deny",
"gh pr reopen*": "deny",
"gh pr lock*": "deny",
"gh pr unlock*": "deny",
"gh pr update-branch*": "deny",
"gh pr checkout*": "deny",
"gh issue create*": "deny",
"gh issue close*": "deny",
"gh issue edit*": "deny",
"gh issue comment*": "deny",
"gh issue delete*": "deny",
"gh issue reopen*": "deny",
"gh issue pin*": "deny",
"gh issue unpin*": "deny",
"gh issue lock*": "deny",
"gh issue unlock*": "deny",
"gh issue transfer*": "deny",
"gh issue develop*": "deny",
"gh repo create*": "deny",
"gh repo delete*": "deny",
"gh repo fork*": "deny",
"gh repo clone*": "deny",
"gh repo edit*": "deny",
"gh repo sync*": "deny",
"gh repo archive*": "deny",
"gh repo unarchive*": "deny",
"gh repo rename*": "deny",
"gh repo set-default*": "deny",
"gh repo deploy-key add*": "deny",
"gh repo deploy-key delete*": "deny",
"gh release create*": "deny",
"gh release delete*": "deny",
"gh release upload*": "deny",
"gh release edit*": "deny",
"gh workflow run*": "deny",
"gh workflow enable*": "deny",
"gh workflow disable*": "deny",
"gh run cancel*": "deny",
"gh run rerun*": "deny",
"gh run delete*": "deny",
"gh secret set*": "deny",
"gh secret delete*": "deny",
"gh variable set*": "deny",
"gh variable delete*": "deny",
"gh label create*": "deny",
"gh label delete*": "deny",
"gh label edit*": "deny",
"gh auth login*": "deny",
"gh auth logout*": "deny",
"gh auth refresh*": "deny",
"gh auth setup-git*": "deny",
"gh gist create*": "deny",
"gh gist delete*": "deny",
"gh gist edit*": "deny",
"gh ssh-key add*": "deny",
"gh gpg-key add*": "deny",
"gh cache delete*": "deny",
"rm *": "ask",
"rmdir *": "ask",
"sudo *": "ask"
}
},
"description": "Vidur — autonomous verification (*verify ui|functional|all); writes verdicts into the checklist Requirements Status tables"
},
"trblazeui": {
"prompt": "You are the TrBlazeUI sub-agent. Read `.opencode/command/trblazeui.md` (fall back, in order, to `.claude/commands/trblazeui.md`, `.claude/trblazeui.md`, `.trblazeui/TrBlazeUI-AI-Reference.md`) and fully adopt that persona and its operating guidelines — it is the authoritative persona. NuGet credentials are user-level (Windows native `%AppData%\\NuGet\\NuGet.Config`, macOS/Linux `$HOME/.nuget/NuGet/NuGet.Config`, Docker `/root/.nuget/NuGet/NuGet.Config` from `%USERPROFILE%\\.opencode-docker\\nuget\\NuGet.Config`); never put a PAT in the repository. In Docker, never assume a Windows config is decryptable and never install `maui-tizen`; verify the mounted config and use the Docker build ladder. If neither file exists (TrBlazeUI NuGet not yet deployed), report the exact source/auth failure instead of blindly running `dotnet build`. Otherwise act as an expert .NET/Blazor developer specializing in the TrBlazeUI component library: build UI screens to match the approved mockups (`docs/{AppName}-UIDesign.md` + `docs/mockups/*.html`), follow `docs/{AppName}-Coding-Standards.md`, tag work with `[REQ-UI-N]` in the checklist Remarks, log TrBlazeUI gaps to `docs/{AppName}-TrBlazeUI-Feedback.md`. Never run git or gh.",
"mode": "all",
"permission": {
"edit": "allow",
"bash": {
"*": "allow",
"git commit*": "deny",
"git push*": "deny",
"git add*": "deny",
"git rm*": "deny",
"git mv*": "deny",
"git reset*": "deny",
"git checkout*": "deny",
"git switch*": "deny",
"git restore*": "deny",
"git merge*": "deny",
"git rebase*": "deny",
"git cherry-pick*": "deny",
"git revert*": "deny",
"git clean*": "deny",
"git am*": "deny",
"git apply*": "deny",
"git init*": "deny",
"git clone*": "deny",
"git pull*": "deny",
"git fetch*": "deny",
"git filter-branch*": "deny",
"git filter-repo*": "deny",
"git gc*": "deny",
"git prune*": "deny",
"git update-ref*": "deny",
"git symbolic-ref*": "deny",
"git replace*": "deny",
"git update-index*": "deny",
"git commit-tree*": "deny",
"git write-tree*": "deny",
"git read-tree*": "deny",
"git fast-import*": "deny",
"git send-email*": "deny",
"git request-pull*": "deny",
"git svn*": "deny",
"gh pr create*": "deny",
"gh pr merge*": "deny",
"gh pr close*": "deny",
"gh pr edit*": "deny",
"gh pr comment*": "deny",
"gh pr review*": "deny",
"gh pr ready*": "deny",
"gh pr reopen*": "deny",
"gh pr lock*": "deny",
"gh pr unlock*": "deny",
"gh pr update-branch*": "deny",
"gh pr checkout*": "deny",
"gh issue create*": "deny",
"gh issue close*": "deny",
"gh issue edit*": "deny",
"gh issue comment*": "deny",
"gh issue delete*": "deny",
"gh issue reopen*": "deny",
"gh issue pin*": "deny",
"gh issue unpin*": "deny",
"gh issue lock*": "deny",
"gh issue unlock*": "deny",
"gh issue transfer*": "deny",
"gh issue develop*": "deny",
"gh repo create*": "deny",
"gh repo delete*": "deny",
"gh repo fork*": "deny",
"gh repo clone*": "deny",
"gh repo edit*": "deny",
"gh repo sync*": "deny",
"gh repo archive*": "deny",
"gh repo unarchive*": "deny",
"gh repo rename*": "deny",
"gh repo set-default*": "deny",
"gh repo deploy-key add*": "deny",
"gh repo deploy-key delete*": "deny",
"gh release create*": "deny",
"gh release delete*": "deny",
"gh release upload*": "deny",
"gh release edit*": "deny",
"gh workflow run*": "deny",
"gh workflow enable*": "deny",
"gh workflow disable*": "deny",
"gh run cancel*": "deny",
"gh run rerun*": "deny",
"gh run delete*": "deny",
"gh secret set*": "deny",
"gh secret delete*": "deny",
"gh variable set*": "deny",
"gh variable delete*": "deny",
"gh label create*": "deny",
"gh label delete*": "deny",
"gh label edit*": "deny",
"gh auth login*": "deny",
"gh auth logout*": "deny",
"gh auth refresh*": "deny",
"gh auth setup-git*": "deny",
"gh gist create*": "deny",
"gh gist delete*": "deny",
"gh gist edit*": "deny",
"gh ssh-key add*": "deny",
"gh gpg-key add*": "deny",
"gh cache delete*": "deny",
"rm *": "ask",
"rmdir *": "ask",
"sudo *": "ask"
}
},
"description": "Expert .NET and Blazor developer specializing in the TrBlazeUI component library (REQ-UI-* builder). Use when integrating TrBlazeUI into existing Blazor applications, generating UI pages/components/layouts/forms/dashboards, theming, or any .NET/Blazor development with TrBlazeUI."
},
"techierag": {
"prompt": "You are the TechieRag sub-agent. Read `.opencode/command/techierag.md` (fall back, in order, to `.claude/commands/techierag.md`, `.claude/techierag.md`, `.techierag/TechieRag-AI-Reference.md`) and fully adopt that persona and its operating guidelines — it is the authoritative persona. NuGet credentials are user-level (Windows native `%AppData%\\NuGet\\NuGet.Config`, macOS/Linux `$HOME/.nuget/NuGet/NuGet.Config`, Docker `/root/.nuget/NuGet/NuGet.Config` from `%USERPROFILE%\\.opencode-docker\\nuget\\NuGet.Config`); never put a PAT in the repository. In Docker, never assume a Windows config is decryptable and never install `maui-tizen`; verify the mounted config and use the Docker build ladder. If neither file exists (TechieRag NuGet not yet deployed), report the exact source/auth failure instead of blindly running `dotnet build`. Otherwise act as an expert .NET developer specializing in the TechieRag RAG + LLM management library: wire RAG via `TechieRagBuilder` / `ITechieRag` (`IngestAsync`/`SearchAsync`/`AskAsync`/`ChatWithRagAsync`), add unit tests under `tests/unit/Rag/`, tag work with `[REQ-RAG-N]` in the checklist Remarks, log gaps to `docs/{AppName}-TechieRag-Feedback.md`. Never run git or gh.",
"mode": "all",
"permission": {
"edit": "allow",
"bash": {
"*": "allow",
"git commit*": "deny",
"git push*": "deny",
"git add*": "deny",
"git rm*": "deny",
"git mv*": "deny",
"git reset*": "deny",
"git checkout*": "deny",
"git switch*": "deny",
"git restore*": "deny",
"git merge*": "deny",
"git rebase*": "deny",
"git cherry-pick*": "deny",
"git revert*": "deny",
"git clean*": "deny",
"git am*": "deny",
"git apply*": "deny",
"git init*": "deny",
"git clone*": "deny",
"git pull*": "deny",
"git fetch*": "deny",
"git filter-branch*": "deny",
"git filter-repo*": "deny",
"git gc*": "deny",
"git prune*": "deny",
"git update-ref*": "deny",
"git symbolic-ref*": "deny",
"git replace*": "deny",
"git update-index*": "deny",
"git commit-tree*": "deny",
"git write-tree*": "deny",
"git read-tree*": "deny",
"git fast-import*": "deny",
"git send-email*": "deny",
"git request-pull*": "deny",
"git svn*": "deny",
"gh pr create*": "deny",
"gh pr merge*": "deny",
"gh pr close*": "deny",
"gh pr edit*": "deny",
"gh pr comment*": "deny",
"gh pr review*": "deny",
"gh pr ready*": "deny",
"gh pr reopen*": "deny",
"gh pr lock*": "deny",
"gh pr unlock*": "deny",
"gh pr update-branch*": "deny",
"gh pr checkout*": "deny",
"gh issue create*": "deny",
"gh issue close*": "deny",
"gh issue edit*": "deny",
"gh issue comment*": "deny",
"gh issue delete*": "deny",
"gh issue reopen*": "deny",
"gh issue pin*": "deny",
"gh issue unpin*": "deny",
"gh issue lock*": "deny",
"gh issue unlock*": "deny",
"gh issue transfer*": "deny",
"gh issue develop*": "deny",
"gh repo create*": "deny",
"gh repo delete*": "deny",
"gh repo fork*": "deny",
"gh repo clone*": "deny",
"gh repo edit*": "deny",
"gh repo sync*": "deny",
"gh repo archive*": "deny",
"gh repo unarchive*": "deny",
"gh repo rename*": "deny",
"gh repo set-default*": "deny",
"gh repo deploy-key add*": "deny",
"gh repo deploy-key delete*": "deny",
"gh release create*": "deny",
"gh release delete*": "deny",
"gh release upload*": "deny",
"gh release edit*": "deny",
"gh workflow run*": "deny",
"gh workflow enable*": "deny",
"gh workflow disable*": "deny",
"gh run cancel*": "deny",
"gh run rerun*": "deny",
"gh run delete*": "deny",
"gh secret set*": "deny",
"gh secret delete*": "deny",
"gh variable set*": "deny",
"gh variable delete*": "deny",
"gh label create*": "deny",
"gh label delete*": "deny",
"gh label edit*": "deny",
"gh auth login*": "deny",
"gh auth logout*": "deny",
"gh auth refresh*": "deny",
"gh auth setup-git*": "deny",
"gh gist create*": "deny",
"gh gist delete*": "deny",
"gh gist edit*": "deny",
"gh ssh-key add*": "deny",
"gh gpg-key add*": "deny",
"gh cache delete*": "deny",
"rm *": "ask",
"rmdir *": "ask",
"sudo *": "ask"
}
},
"description": "Expert .NET developer specializing in the TechieRag RAG + LLM management library (REQ-RAG-* builder). Use when integrating TechieRag into .NET applications - adding NuGet packages, configuring RAG pipelines, setting up LLM providers, implementing chat, tool calling, token tracking, and any AI/LLM feature powered by TechieRag."
}
},
"command": {
"techieflow:tasks:day1-brownfield": {
"template": "{file:./.tfcore/tasks/day1-brownfield.md}",
"description": "Day-1 master task for an EXISTING project: Architecture + BRD + Coding-Standards + .editorconfig + PROJECT-STATUS + CLAUDE.md + the screen-by-screen DevGuide (with per-screen screenshots) (+ one-Checklist migration if a dev plan exists), all HTML-rendered."
},
"techieflow:tasks:day1-greenfield": {
"template": "{file:./.tfcore/tasks/day1-greenfield.md}",
"description": "Day-1 master task for a NEW project: target Architecture + BRD + UI mockups + Coding-Standards + .editorconfig + PROJECT-STATUS + CLAUDE.md + UsageGuide, all HTML-rendered."
},
"techieflow:tasks:mockups": {
"template": "{file:./.tfcore/tasks/mockups.md}",
"description": "Greenfield UI design: docs/{App}-UIDesign.md (per-screen region→TrBlazeUI-control map) + rendered docs/mockups/*.html styled to look like TrBlazeUI. The build's visual contract + the verifier's visual baseline. Driven by /analyst."
},
"techieflow:tasks:split-brd": {
"template": "{file:./.tfcore/tasks/split-brd.md}",
"description": "Split the BRD into the one docs/{App}-Checklist.md (REQ-UI/FN/RAG/NFR-* in a single Requirements Status table)."
},
"techieflow:tasks:build-phase": {
"template": "{file:./.tfcore/tasks/build-phase.md}",
"description": "The single unified build: implement every open REQ (UI/FN/RAG/NFR) from the one Checklist by clustering and calling /trblazeui (from mockups) + /techierag as sub-agents; self-smoke (data + visual); chain the verifier. Driven by /flow-master."
},
"techieflow:tasks:fix-issues": {
"template": "{file:./.tfcore/tasks/fix-issues.md}",
"description": "Fixes the bugs in a folder of screenshots: triages and logs them, builds the fix through the builders in FIX mode, smokes, re-verifies the touched rows, closes the misses with the fix cost (tf-fix-close.sh). Driven by /flow-master."
},
"techieflow:tasks:log-miss": {
"template": "{file:./.tfcore/tasks/log-miss.md}",
"description": "The twenty-second record: one sentence from the owner becomes one miss record and one checklist line through tf-log-miss.sh. Never boots, never fixes. Driven by /flow-master."
},
"techieflow:tasks:triage-issues": {
"template": "{file:./.tfcore/tasks/triage-issues.md}",
"description": "Analyse-only front door for bugs a person found: reproduces each on its screen, logs it in the checklist and the telemetry through tf-triage.sh (demote, new, note, close), never edits code. Driven by /flow-master."
},
"techieflow:tasks:triage-and-fix": {
"template": "{file:./.tfcore/tasks/triage-and-fix.md}",
"description": "The owner's whole bug sequence in YOLO: compare every screen to its mockup, triage the reported bugs, log every root cause with its cost, fix, log every fix with its cost, refresh the metrics, one summary per step. Driven by /flow-master."
},
"techieflow:tasks:verify-phase": {
"template": "{file:./.tfcore/tasks/verify-phase.md}",
"description": "Verifies every checklist row in a scope (ui | functional | all | REQ list) against the running app: boots it, runs the seven checks in order through the tf-verify-* scripts, writes the verdicts into the checklist and the telemetry. YOLO by default. Driven by /verifier."
},
"techieflow:tasks:handoff-phase": {
"template": "{file:./.tfcore/tasks/handoff-phase.md}",
"description": "Final wrap-up: UsageGuide doc (test users + test plan + setup), PROJECT-STATUS → Handoff, HTML re-renders, Library-Feedback consolidation."
},
"techieflow:tasks:refresh-status": {
"template": "{file:./.tfcore/tasks/refresh-status.md}",
"description": "RECOVERY: rebuild PROJECT-STATUS.md from ground truth (checklist tables + working-tree files + fresh build — NEVER git; git is manual) after a session died mid-phase and the status gate never ran. Distrusts stale status; never edits source."
},
"techieflow:tasks:metrics-report": {
"template": "{file:./.tfcore/tasks/metrics-report.md}",
"description": "Development telemetry report (*metrics): reads the append-only docs/metrics/ streams (runs / gates / sessions / commits / misses) and writes docs/metrics/METRICS.md + .html — first-pass rate, gate catch distribution, escape rate, rework ratio, throughput, commit cadence, plus the miss report (what was missed, which phase/agent/model let it through, what the fixes cost). NEVER prints a figure that pools live with backfilled records, or app with library/docs. Never runs git."
},
"techieflow:tasks:render-workflow-docs": {
"template": "{file:./.tfcore/tasks/render-workflow-docs.md}",
"description": "Re-render the canonical trio: BRD.html + Architecture.html + PROJECT-STATUS.html (with NEXT COMMAND call-to-action)."
},
"techieflow:tasks:generate-html": {
"template": "{file:./.tfcore/tasks/generate-html.md}",
"description": "Render any markdown file(s) or a non-recursive directory to self-contained HTML using the shared shell."
},
"techieflow:tasks:amend-docs": {
"template": "{file:./.tfcore/tasks/amend-docs.md}",
"description": "Fold an evolving concept / changed requirements into the EXISTING day-1 docs IN PLACE: surgically amends BRD + Architecture (append-only IDs), ripples to PROJECT-STATUS / BRD §4 / checklists, re-renders HTML. Incremental alternative to re-running day1-*."
},
"techieflow:tasks:deploy-checklist": {
"template": "{file:./.tfcore/tasks/deploy-checklist.md}",
"description": "Deployment Checklist: the steps to put the application on its host, one document per hosting target, written after UAT from the owner's pipeline guidance document and the Stack answers Q9 and Q10 (docs/TechieFlow-Document-Schemas.md §3.10). Never deploys. Driven by /flow-master."
},
"techieflow:tasks:productguide": {
"template": "{file:./.tfcore/tasks/productguide.md}",
"description": "End-user Product Guide: screenshot-illustrated, task-oriented how-to manual for external users (what each screen is for + how to do things) — the user-facing sibling of the DevGuide, reusing its captured screenshots. Always MD + HTML. On-demand. Driven by /flow-master."
},
"techieflow:tasks:devguide": {
"template": "{file:./.tfcore/tasks/devguide.md}",
"description": "Generate/refresh the screen-by-screen Developer Guide: traces every screen/control from Razor page → service → data-access → stored proc/query, per user role, documenting the code AS BUILT. Single doc for small apps, split per role for large ones; --update refreshes only changed screens."
},
"techieflow:tasks:create-doc": {
"template": "{file:./.tfcore/tasks/create-doc.md}",
"description": "Create a document from a YAML-driven TechieFlow template (interactive, section by section)."
},
"techieflow:tasks:verify": {
"template": "{file:./.tfcore/tasks/verify-phase.md}",
"description": "The verifier's *verify. Boot the app, run the seven checks on every row in scope, write the verdicts."
},
"techieflow:tasks:metrics": {
"template": "{file:./.tfcore/tasks/metrics-report.md}",
"description": "The flow-master's *metrics. Read the telemetry streams and write the metrics report."
},
"techieflow:tasks:brainstorm": {
"template": "{file:./.tfcore/tasks/facilitate-brainstorming-session.md}",
"description": "The analyst's *brainstorm. Run a structured brainstorming session."
},
"techieflow:tasks:research-prompt": {
"template": "{file:./.tfcore/tasks/create-deep-research-prompt.md}",
"description": "The analyst's *research-prompt. Generate a well-structured research prompt."
},
"techieflow:tasks:research": {
"template": "{file:./.tfcore/tasks/create-deep-research-prompt.md}",
"description": "The architect's *research. Generate a well-structured research prompt."
},
"techieflow:tasks:create-project-brief": {
"template": "{file:./.tfcore/tasks/create-project-brief.md}",
"description": "Write the one-page project brief that day-1 takes as input: product, users, must-do, out of scope. The analyst's *create-project-brief."
},
"techieflow:tasks:create-deep-research-prompt": {
"template": "{file:./.tfcore/tasks/create-deep-research-prompt.md}",
"description": "Generate well-structured research prompts."
},
"techieflow:tasks:facilitate-brainstorming-session": {
"template": "{file:./.tfcore/tasks/facilitate-brainstorming-session.md}",
"description": "Run a structured brainstorming session; results land in docs/brainstorming-session-results.md."
}
}
}