Repository navigation
Expand file tree
/
Copy pathmanifest.json
More file actions
1080 lines (1080 loc) · 65.8 KB
/
Copy pathmanifest.json
File metadata and controls
1080 lines (1080 loc) · 65.8 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
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
{
"fork": "opencode-skein",
"upstreamRemote": "anomalyco/opencode",
"note": "Machine-readable inventory of everything this fork adds on top of upstream. Drives `bun run fork:verify` (run after every sync to prove nothing was silently dropped) and `bun run sync:check` (detect when upstream has moved past our baseline). Update `baseline` after each successful sync. Keep the human-readable rationale in FORK_WORKFLOW.md in step with this file.",
"baseline": {
"upstreamRef": "4643e65ad6334de3e4e68dedc201d5fbb828c9fe",
"upstreamBranch": "upstream/dev",
"syncedAt": "2026-08-14",
"forkTag": "fork/2026-08-14.1",
"comment": "Last upstream commit fully merged into dev. sync:check compares upstream/dev against this ref. Bump it (and forkTag) after every sync."
},
"owned": [
"packages/app/src/components/dialog-local-discovery.tsx",
"packages/app/src/components/settings-v2/models-discover.tsx",
"packages/app/src/components/settings-v2/models-gallery.test.ts",
"packages/app/src/components/settings-v2/models-gallery.ts",
"packages/app/src/components/settings-v2/models-hosts.tsx",
"packages/app/src/components/settings-v2/models-installed.tsx",
"packages/app/src/components/settings-v2/models-operations.tsx",
"packages/core/schema.json",
"packages/core/src/config/event-journal.ts",
"packages/core/src/database/migration.gen.ts",
"packages/core/src/database/migration/20260919055032_add_claims.ts",
"packages/core/src/database/schema.gen.ts",
"packages/core/src/event/retention.ts",
"packages/core/src/local/theme-state.ts",
"packages/core/src/loop/sql.ts",
"packages/core/test/event-retention.test.ts",
"packages/opencode/script/build-local.ts",
"packages/opencode/src/agent/presence-claude.ts",
"packages/opencode/src/agent/presence-status.ts",
"packages/opencode/src/agent/presence.ts",
"packages/opencode/src/auto-mode/service.ts",
"packages/opencode/src/beads/beads.ts",
"packages/opencode/src/beads/config.ts",
"packages/opencode/src/beads/mapping.ts",
"packages/opencode/src/beads/sync.ts",
"packages/opencode/src/cli/cmd/agents.ts",
"packages/opencode/src/cli/cmd/beads.ts",
"packages/opencode/src/cli/cmd/debug/claude-sidecar-entry.ts",
"packages/opencode/src/cli/cmd/lead.ts",
"packages/opencode/src/cli/cmd/loop.ts",
"packages/opencode/src/cli/cmd/permission.ts",
"packages/opencode/src/context/README.md",
"packages/opencode/src/context/index.ts",
"packages/opencode/src/fork/commands.ts",
"packages/opencode/src/fork/distribution.ts",
"packages/opencode/src/local/capacity.ts",
"packages/opencode/src/local/config-lock.ts",
"packages/opencode/src/local/ctx-fit.ts",
"packages/opencode/src/local/ignored.ts",
"packages/opencode/src/local/llama-skein/gen/client.gen.ts",
"packages/opencode/src/local/llama-skein/gen/client/client.gen.ts",
"packages/opencode/src/local/llama-skein/gen/client/index.ts",
"packages/opencode/src/local/llama-skein/gen/client/types.gen.ts",
"packages/opencode/src/local/llama-skein/gen/client/utils.gen.ts",
"packages/opencode/src/local/llama-skein/gen/core/auth.gen.ts",
"packages/opencode/src/local/llama-skein/gen/core/bodySerializer.gen.ts",
"packages/opencode/src/local/llama-skein/gen/core/params.gen.ts",
"packages/opencode/src/local/llama-skein/gen/core/pathSerializer.gen.ts",
"packages/opencode/src/local/llama-skein/gen/core/queryKeySerializer.gen.ts",
"packages/opencode/src/local/llama-skein/gen/core/serverSentEvents.gen.ts",
"packages/opencode/src/local/llama-skein/gen/core/types.gen.ts",
"packages/opencode/src/local/llama-skein/gen/core/utils.gen.ts",
"packages/opencode/src/local/llama-skein/gen/index.ts",
"packages/opencode/src/local/llama-skein/gen/sdk.gen.ts",
"packages/opencode/src/local/llama-skein/gen/types.gen.ts",
"packages/opencode/src/local/mdns.ts",
"packages/opencode/src/local/model-catalog/adoption-manifest.ts",
"packages/opencode/src/local/model-catalog/cache.ts",
"packages/opencode/src/local/model-catalog/family.ts",
"packages/opencode/src/local/model-catalog/huggingface.ts",
"packages/opencode/src/local/model-catalog/llmfit.ts",
"packages/opencode/src/local/model-catalog/quant.ts",
"packages/opencode/src/local/model-catalog/seed.ts",
"packages/opencode/src/local/model-catalog/types.ts",
"packages/opencode/src/local/model-gallery/catalog.ts",
"packages/opencode/src/local/model-gallery/classify.ts",
"packages/opencode/src/local/model-gallery/filter.ts",
"packages/opencode/src/local/model-gallery/fit.ts",
"packages/opencode/src/local/model-gallery/hosts.ts",
"packages/opencode/src/local/model-gallery/install.ts",
"packages/opencode/src/local/model-gallery/join.ts",
"packages/opencode/src/local/model-gallery/manage.ts",
"packages/opencode/src/local/model-gallery/operations.ts",
"packages/opencode/src/local/model-gallery/rank.ts",
"packages/opencode/src/local/model-gallery/search.ts",
"packages/opencode/src/local/peer-registry-node.ts",
"packages/opencode/src/local/placement.ts",
"packages/opencode/src/local/skein-loading.ts",
"packages/opencode/src/local/sync.ts",
"packages/opencode/src/loop/completion.ts",
"packages/opencode/src/loop/continuation.ts",
"packages/opencode/src/loop/crew/claims.ts",
"packages/opencode/src/loop/crew/route.ts",
"packages/opencode/src/loop/loop.ts",
"packages/opencode/src/loop/similarity.ts",
"packages/opencode/src/loop/spec-queue/authority.ts",
"packages/opencode/src/loop/spec-queue/branch-read.ts",
"packages/opencode/src/loop/spec-queue/brief.ts",
"packages/opencode/src/loop/spec-queue/gates.ts",
"packages/opencode/src/loop/spec-queue/personas.ts",
"packages/opencode/src/loop/spec-queue/queue.ts",
"packages/opencode/src/loop/spec-queue/tasks-md.ts",
"packages/opencode/src/loop/spec-queue/work-source.ts",
"packages/opencode/src/loop/stop-reason.ts",
"packages/opencode/src/peer/claude/client.ts",
"packages/opencode/src/peer/claude/codec.ts",
"packages/opencode/src/peer/claude/lifecycle.ts",
"packages/opencode/src/peer/claude/registry.ts",
"packages/opencode/src/peer/claude/resolve.ts",
"packages/opencode/src/peer/claude/sidecar-entry.ts",
"packages/opencode/src/peer/claude/sidecar-manager.ts",
"packages/opencode/src/peer/claude/sidecar-registry.ts",
"packages/opencode/src/peer/claude/sidecar-server.ts",
"packages/opencode/src/peer/delegate.ts",
"packages/opencode/src/peer/envelope.ts",
"packages/opencode/src/peer/inbox.ts",
"packages/opencode/src/peer/lead-confirm.ts",
"packages/opencode/src/peer/lead-issue.ts",
"packages/opencode/src/peer/lead-runtime.ts",
"packages/opencode/src/peer/lead.ts",
"packages/opencode/src/peer/recent-ids.ts",
"packages/opencode/src/peer/repeat-guard.ts",
"packages/opencode/src/peer/route.ts",
"packages/opencode/src/policy/drivers.ts",
"packages/opencode/src/policy/merge-run.ts",
"packages/opencode/src/policy/publish-policy.ts",
"packages/opencode/src/policy/push-run.ts",
"packages/opencode/src/policy/review-record.ts",
"packages/opencode/src/policy/review-gate.ts",
"packages/opencode/src/provider/balance.ts",
"packages/opencode/src/server/routes/instance/httpapi/groups/agents.ts",
"packages/opencode/src/server/routes/instance/httpapi/groups/gallery.ts",
"packages/opencode/src/server/routes/instance/httpapi/groups/local.ts",
"packages/opencode/src/server/routes/instance/httpapi/groups/loop.ts",
"packages/opencode/src/server/routes/instance/httpapi/handlers/agents.ts",
"packages/opencode/src/server/routes/instance/httpapi/handlers/gallery.ts",
"packages/opencode/src/server/routes/instance/httpapi/handlers/local.ts",
"packages/opencode/src/server/routes/instance/httpapi/handlers/loop.ts",
"packages/opencode/src/session/loop-detect.ts",
"packages/opencode/src/session/peers.ts",
"packages/opencode/src/session/prompt/instella.txt",
"packages/opencode/src/session/unattended.ts",
"packages/opencode/src/side-question/index.ts",
"packages/opencode/src/tool/peers.ts",
"packages/opencode/src/tool/peers.txt",
"packages/opencode/src/tool/send-peer-message.ts",
"packages/opencode/src/tool/send-peer-message.txt",
"packages/opencode/src/util/git-branch.ts",
"packages/opencode/src/util/which.ts",
"packages/opencode/test/agent/presence-claude.test.ts",
"packages/opencode/test/agent/presence.test.ts",
"packages/opencode/test/agent/repo-personas.test.ts",
"packages/opencode/test/config/env-reference-survives.test.ts",
"packages/opencode/test/context/index.test.ts",
"packages/opencode/test/fixtures/mcp-dual-era/server.ts",
"packages/opencode/test/fixtures/mcp-legacy/server.ts",
"packages/opencode/test/local/capacity.test.ts",
"packages/opencode/test/local/config-lock.test.ts",
"packages/opencode/test/local/ctx-fit.test.ts",
"packages/opencode/test/local/discovery.integration.test.ts",
"packages/opencode/test/local/fixtures/fleet-model-gallery/family-version-cases.json",
"packages/opencode/test/local/fixtures/fleet-model-gallery/quant-cases.json",
"packages/opencode/test/local/fixtures/fleet-model-gallery/upgrade-fresh-cases.json",
"packages/opencode/test/local/ignored.test.ts",
"packages/opencode/test/local/llama-skein-client-smoke.test.ts",
"packages/opencode/test/local/mdns.test.ts",
"packages/opencode/test/local/model-catalog-adoption-manifest.test.ts",
"packages/opencode/test/local/model-catalog-cache.test.ts",
"packages/opencode/test/local/model-catalog-family.test.ts",
"packages/opencode/test/local/model-catalog-golden-parity.test.ts",
"packages/opencode/test/local/model-catalog-huggingface.test.ts",
"packages/opencode/test/local/model-catalog-llmfit.test.ts",
"packages/opencode/test/local/model-catalog-quant.test.ts",
"packages/opencode/test/local/model-catalog-seed.test.ts",
"packages/opencode/test/local/model-gallery-api.test.ts",
"packages/opencode/test/local/model-gallery-dataplane.test.ts",
"packages/opencode/test/local/model-gallery-install.test.ts",
"packages/opencode/test/local/model-gallery-manage.test.ts",
"packages/opencode/test/local/model-gallery-ranking.test.ts",
"packages/opencode/test/local/placement-policy.test.ts",
"packages/opencode/test/local/placement.test.ts",
"packages/opencode/test/local/skein-independence.test.ts",
"packages/opencode/test/local/ctx-fit.test.ts",
"packages/opencode/test/local/llama-skein-client-smoke.test.ts",
"packages/opencode/test/local/sync.test.ts",
"packages/opencode/test/loop/auto-mode.test.ts",
"packages/opencode/test/loop/branch-read.test.ts",
"packages/opencode/test/loop/completion.test.ts",
"packages/opencode/test/loop/continuation.test.ts",
"packages/opencode/test/loop/crew/claims.test.ts",
"packages/opencode/test/loop/crew/route.test.ts",
"packages/opencode/test/loop/cross-repo-config.test.ts",
"packages/opencode/test/loop/loop-args.test.ts",
"packages/opencode/test/loop/loop-defaults.test.ts",
"packages/opencode/test/loop/loop.test.ts",
"packages/opencode/test/loop/personas.test.ts",
"packages/opencode/test/loop/queue-authority.test.ts",
"packages/opencode/test/loop/queue-mode.test.ts",
"packages/opencode/test/loop/similarity.test.ts",
"packages/opencode/test/loop/spec-queue.test.ts",
"packages/opencode/test/loop/branch-read.test.ts",
"packages/opencode/test/loop/stop-reason.test.ts",
"packages/opencode/test/loop/work-source.test.ts",
"packages/opencode/test/util/git-branch-repo.test.ts",
"packages/opencode/test/mcp/fixtures.test.ts",
"packages/opencode/test/mcp/protocol-mode.test.ts",
"packages/opencode/test/peer/claude/client.test.ts",
"packages/opencode/test/peer/claude/codec.test.ts",
"packages/opencode/test/peer/claude/lifecycle-inject.test.ts",
"packages/opencode/test/peer/claude/probe-deliver-runtime.mts",
"packages/opencode/test/peer/claude/pty-repro.test.ts",
"packages/opencode/test/peer/claude/registry.test.ts",
"packages/opencode/test/peer/claude/sidecar-diagnostic-routing.test.ts",
"packages/opencode/test/peer/claude/sidecar-e2e.test.ts",
"packages/opencode/test/peer/claude/sidecar-manager.test.ts",
"packages/opencode/test/peer/claude/sidecar-registry.test.ts",
"packages/opencode/test/peer/claude/sidecar-server-name.test.ts",
"packages/opencode/test/peer/delegate.test.ts",
"packages/opencode/test/peer/envelope.test.ts",
"packages/opencode/test/peer/inbox.test.ts",
"packages/opencode/test/peer/lead-confirm.test.ts",
"packages/opencode/test/peer/lead-issue.test.ts",
"packages/opencode/test/peer/lead-runtime.test.ts",
"packages/opencode/test/peer/lead.test.ts",
"packages/opencode/test/peer/recent-ids.test.ts",
"packages/opencode/test/peer/repeat-guard.test.ts",
"packages/opencode/test/peer/route-delivery.test.ts",
"packages/opencode/test/peer/route.test.ts",
"packages/opencode/test/policy/drivers.test.ts",
"packages/opencode/test/policy/merge-run.test.ts",
"packages/opencode/test/policy/publish-policy-cache.test.ts",
"packages/opencode/test/policy/publish-policy-git.test.ts",
"packages/opencode/test/policy/publish-policy.test.ts",
"packages/opencode/test/policy/push-run.test.ts",
"packages/opencode/test/policy/review-record.test.ts",
"packages/opencode/test/provider/merge-discovered-model.test.ts",
"packages/opencode/test/provider/skein-loading.test.ts",
"packages/opencode/test/server/local-ctx-size-guard.test.ts",
"packages/opencode/test/server/local-sdk-contract.test.ts",
"packages/opencode/test/session/host-paced-deadline.test.ts",
"packages/opencode/test/session/loop-detect.test.ts",
"packages/opencode/test/session/peers.test.ts",
"packages/opencode/test/session/unattended.test.ts",
"packages/opencode/test/tool/send-peer-message-ladder.test.ts",
"packages/opencode/test/tool/send-peer-message-text.test.ts",
"packages/opencode/test/tool/task-delegate.test.ts",
"packages/opencode/test/tui/jsx-component-contract.test.ts",
"packages/opencode/test/util/git-branch-repo.test.ts",
"packages/tui/src/component/dialog-gallery.tsx",
"packages/tui/src/component/dialog-loop-list.tsx",
"packages/tui/src/component/dialog-model-ctx.tsx",
"packages/tui/src/component/dialog-model-manage.tsx",
"packages/tui/src/component/dialog-tuning.tsx",
"packages/tui/src/local/llama-skein/gen/client.gen.ts",
"packages/tui/src/local/llama-skein/gen/client/client.gen.ts",
"packages/tui/src/local/llama-skein/gen/client/index.ts",
"packages/tui/src/local/llama-skein/gen/client/types.gen.ts",
"packages/tui/src/local/llama-skein/gen/client/utils.gen.ts",
"packages/tui/src/local/llama-skein/gen/core/auth.gen.ts",
"packages/tui/src/local/llama-skein/gen/core/bodySerializer.gen.ts",
"packages/tui/src/local/llama-skein/gen/core/params.gen.ts",
"packages/tui/src/local/llama-skein/gen/core/pathSerializer.gen.ts",
"packages/tui/src/local/llama-skein/gen/core/queryKeySerializer.gen.ts",
"packages/tui/src/local/llama-skein/gen/core/serverSentEvents.gen.ts",
"packages/tui/src/local/llama-skein/gen/core/types.gen.ts",
"packages/tui/src/local/llama-skein/gen/core/utils.gen.ts",
"packages/tui/src/local/llama-skein/gen/sdk.gen.ts",
"packages/tui/src/local/llama-skein/gen/types.gen.ts",
"packages/tui/src/local/model-fit.ts",
"packages/tui/src/theme/assets/knight-rider.json",
"packages/tui/src/theme/assets/pip-boy.json",
"packages/tui/test/component/dialog-model.test.ts",
"packages/tui/test/loop-command-match.test.ts",
"packages/tui/test/model-fit.test.ts",
"packages/tui/test/ui/dialog-model-fit.test.ts",
"packages/tui/test/ui/dialog-select-fit.test.ts",
"packages/tui/test/ui/dialog-select-footer.test.ts",
"packages/tui/test/ui/sidebar-context.test.ts",
"packages/opencode/src/agent/presence-claude.ts",
"packages/opencode/test/agent/presence-claude.test.ts",
"packages/opencode/src/peer/claude/registry.ts",
"packages/opencode/src/peer/claude/codec.ts",
"packages/opencode/src/peer/claude/client.ts",
"packages/opencode/src/peer/claude/resolve.ts",
"packages/opencode/src/peer/claude/sidecar-registry.ts",
"packages/opencode/test/peer/claude/registry.test.ts",
"packages/opencode/test/peer/claude/codec.test.ts",
"packages/opencode/test/peer/claude/client.test.ts",
"packages/opencode/test/peer/claude/sidecar-registry.test.ts",
"packages/opencode/src/util/git-branch.ts",
"packages/opencode/src/cli/cmd/agents.ts",
"packages/opencode/src/peer/claude/sidecar-server.ts",
"packages/opencode/src/peer/claude/sidecar-entry.ts",
"packages/opencode/src/peer/claude/sidecar-manager.ts",
"packages/opencode/test/peer/claude/sidecar-e2e.test.ts",
"packages/opencode/test/peer/claude/sidecar-manager.test.ts",
"packages/opencode/test/peer/claude/lifecycle-inject.test.ts",
"packages/opencode/src/peer/claude/lifecycle.ts",
"packages/opencode/src/peer/delegate.ts",
"packages/opencode/test/peer/delegate.test.ts",
"packages/opencode/script/build-local.ts",
"packages/opencode/src/cli/cmd/debug/claude-sidecar-entry.ts",
"packages/opencode/src/local/ignored.ts",
"packages/opencode/test/local/ignored.test.ts",
"packages/opencode/test/local/sync.test.ts",
"packages/opencode/test/config/env-reference-survives.test.ts",
"packages/opencode/src/peer/route.ts",
"packages/opencode/test/peer/route.test.ts",
"packages/opencode/src/peer/envelope.ts",
"packages/opencode/test/peer/envelope.test.ts",
"packages/opencode/src/peer/inbox.ts",
"packages/opencode/test/peer/inbox.test.ts",
"packages/opencode/src/peer/recent-ids.ts",
"packages/opencode/test/loop/stop-reason.test.ts",
"packages/opencode/test/peer/recent-ids.test.ts",
"packages/opencode/src/peer/repeat-guard.ts",
"packages/opencode/test/peer/repeat-guard.test.ts",
"packages/opencode/test/peer/route-delivery.test.ts",
"packages/opencode/test/peer/claude/pty-repro.test.ts",
"packages/opencode/test/peer/claude/probe-deliver-runtime.mts",
"packages/opencode/test/peer/claude/sidecar-diagnostic-routing.test.ts",
"packages/opencode/test/peer/claude/sidecar-server-name.test.ts",
"packages/opencode/test/peer/claude/sidecar-startup-race.test.ts",
"packages/opencode/src/local/model-gallery/search.ts",
"packages/opencode/src/local/model-gallery/install.ts",
"packages/opencode/src/local/model-gallery/operations.ts",
"packages/opencode/test/local/model-gallery-install.test.ts",
"packages/app/src/components/settings-v2/models-discover.tsx",
"packages/app/src/components/settings-v2/models-operations.tsx",
"packages/opencode/test/peer/lead.test.ts",
"packages/opencode/test/policy/drivers.test.ts",
"packages/opencode/test/policy/merge-run.test.ts",
"packages/opencode/test/policy/publish-policy-cache.test.ts",
"packages/opencode/test/policy/publish-policy-git.test.ts",
"packages/opencode/test/policy/publish-policy.test.ts",
"packages/opencode/test/policy/push-run.test.ts",
"packages/opencode/test/policy/review-record.test.ts",
"packages/opencode/test/policy/review-gate.test.ts",
"packages/opencode/test/session/unattended.test.ts",
"packages/opencode/test/tool/send-peer-message-ladder.test.ts",
"packages/tui/src/component/dialog-gallery.tsx",
"packages/opencode/src/local/model-gallery/manage.ts",
"packages/opencode/test/local/model-gallery-manage.test.ts",
"packages/tui/src/component/dialog-model-manage.tsx",
"packages/app/src/components/settings-v2/models-gallery.ts",
"packages/app/src/components/settings-v2/models-gallery.test.ts",
"packages/app/src/components/settings-v2/models-hosts.tsx",
"packages/app/src/components/settings-v2/models-installed.tsx",
"packages/opencode/test/peer/lead-confirm.test.ts",
"packages/opencode/test/peer/lead-issue.test.ts",
"packages/opencode/test/peer/lead-runtime.test.ts",
"packages/opencode/test/tool/send-peer-message-text.test.ts",
"packages/opencode/test/tool/task-delegate.test.ts",
"packages/opencode/test/loop/loop-defaults.test.ts"
],
"_ownedRemoved_2026-09-05": {
"note": "packages/opencode/src/session/stream-stalled.ts, packages/opencode/src/session/tool-activity.ts, and packages/opencode/test/session/tool-activity.test.ts were deleted by a90c49880b \u2014 confirmed intentional, not a merge regression: a full, reasoned commit message explains that the stream-inactivity watchdog these files implemented only ever fired on false positives (host-paced hybrid loads, foreground subagents, compaction's single big call, cold-load chunks \u2014 each already special-cased before this commit finished the trend) and never once caught a genuinely wedged socket, while its false positives were abandoning working turns fleet-wide. Same commit also removed the fork patches this manifest tracked in llm.ts (marker @/local/skein-loading \u2014 the SkeinLoading cold-load liveness tick that fed only this watchdog), message-v2.ts (marker StreamStalledError \u2014 the error-mapping case for the watchdog's failure type; message-v2.ts no longer diverges from upstream at all and was fully removed from `patched`), and tools.ts (marker \"fork: the stream watchdog must not count\" \u2014 the per-tool-call liveness ticks). llm.ts and tools.ts each still diverge from upstream for unrelated, still-live fork reasons and were re-registered in `patched` with fresh markers (see those entries) rather than dropped \u2014 only the watchdog-specific tracking was retired.",
"commits": [
"a90c49880b"
]
},
"_ownedRemoved_2026-08-14": {
"note": "packages/opencode/src/util/sync-log.ts was deleted in the origin/dev merge \u2014 confirmed intentional, not a merge regression. It was added by 21c1ac9dd6 to give non-Effect call sites (provider.ts, local/placement.ts) a TUI-safe logger after the core/util/log shim was deleted. The dev-side design solved the same problem differently: those helpers now return outcomes (PickOutcome, DiscoveryResult.warnings) and the Effect caller logs (tool/task.ts, provider.ts). That left zero call sites, so the file was removed rather than carried as dead code.",
"commits": [
"21c1ac9dd6"
]
},
"_ownedRemoved_2026-08-13": {
"note": "packages/core/src/util/log.ts (the legacy-logger compatibility shim, upstream's own module removed in #31310) was deleted 2026-08-12 \u2014 confirmed intentional, not a merge regression: upstream now has its own logger, making the shim genuinely obsolete."
},
"_ownedRemoved_2026-08-12": {
"note": "auto-reply.ts, automation-features.ts, pattern-detection.ts (+ its two CLI commands), scheduler.ts, and hook.ts were deliberately deleted 2026-08-07 (commits 88731dfc6f, 0530944759) for being dead/broken code, not lost in a merge. fork:verify was reporting all 7 as regressions because this manifest was never updated at deletion time. Removed here, not re-added.",
"commits": [
"88731dfc6f",
"0530944759"
]
},
"patched": [
{
"file": "packages/app/src/components/settings-v2/models.tsx",
"marker": "SettingsModelsDiscoverV2",
"note": "model-gallery-ui: V2 Model Settings gains Installed/Discover/Operations sections."
},
{
"file": "packages/app/src/components/settings-v2/settings-v2.css",
"marker": "settings-models-discover",
"note": "model-gallery-ui: styles for the Discover/Operations sections."
},
{
"file": "packages/app/src/context/language.tsx",
"marker": "settings.models.discover",
"note": "model-gallery-ui: V2 Model Settings gains Installed/Discover/Operations sections."
},
{
"file": "packages/app/src/i18n/en.ts",
"marker": "settings.models.discover",
"note": "model-gallery-ui: V2 Model Settings gains Installed/Discover/Operations sections."
},
{
"file": "packages/core/src/config.ts",
"marker": "ConfigEventJournal",
"note": "Fork edit to an upstream file (+4/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/core/src/database/database.ts",
"marker": "fork: 5s was not enough headroom on a mu",
"note": "Fork edit to an upstream file (+11/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/core/src/database/sqlite.bun.ts",
"marker": "fork: this DB file is shared by every co",
"note": "Fork edit to an upstream file (+9/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/core/src/git.ts",
"marker": "LC_ALL",
"note": "Pins LC_ALL=C on git spawns. This code matches git's human-readable output by text (forceRequired), and git localises it \u2014 on a non-English machine those checks silently read false."
},
{
"file": "packages/core/src/installation/version.ts",
"marker": "InstallationReleaseChannels",
"note": "Fork edit to an upstream file. Adds InstallationIsRelease (channel is latest/beta/prod) alongside the existing InstallationLocal, shared by database.ts's session-db path and upgrade.ts's self-upgrade eligibility check so any non-release build \u2014 not just literally channel \"local\" \u2014 is treated as never having been published. Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/core/src/npm.ts",
"marker": "basePackage",
"note": "Splits a package specifier from its export subpath. `@ai-sdk/amazon-bedrock/mantle` is not an installable npm spec \u2014 npa cannot parse it, so npm treats it as a local folder and arborist reads <cwd>/@ai-sdk/... Install the base package, resolve the full specifier for the entrypoint."
},
{
"file": "packages/core/src/v1/config/agent.ts",
"marker": "authorization",
"note": "Fork edit to an upstream file (+11/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/core/src/v1/config/config.ts",
"marker": "auto_queue",
"note": "Fork edit to an upstream file (+57/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify. Was \"Independent\", invalidated 2026-08-15 by a doc-comment rewrite that dropped that word; auto_queue is a field name rather than prose, so it's stable across future wording changes to the same block."
},
{
"file": "packages/core/src/v1/config/mcp.ts",
"marker": "ProtocolMode",
"note": "Fork edit to an upstream file (+26/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/core/src/v1/config/provider.ts",
"marker": "discoverModels",
"note": "Fork edit to an upstream file (+4/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/AUTOMATION_FEATURES.md",
"marker": "no-progress-limit",
"note": "Documents the loop default that cli/cmd/loop.ts and the TUI send explicitly. Kept in step with loop.ts and loop-args.ts by test/loop/loop-defaults.test.ts, not by hand."
},
{
"file": "packages/opencode/src/agent/agent.ts",
"marker": "authorizes",
"note": "Fork edit to an upstream file (+6/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/cli/cmd/agent.ts",
"marker": "if (!maybeCtx) return yield* Effect.die(new Error(\"InstanceRef not pro",
"note": "Fork edit to an upstream file (+1/-1 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/cli/cmd/debug/index.ts",
"marker": "ClaudeSidecarEntryCommand",
"note": "Fork edit: registers the hidden claude-sidecar-entry debug subcommand sidecar-manager.ts spawns instead of a standalone script (which doesn't exist in a compiled single-file binary). See openspec/changes/claude-peer-messaging."
},
{
"file": "packages/opencode/src/cli/cmd/github.ts",
"marker": "SessionPart",
"note": "Fork edit to an upstream file (+1629/-18 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/cli/cmd/import.ts",
"marker": "if (!ctx) return yield* Effect.die(new Error(\"InstanceRef not provided",
"note": "Fork edit to an upstream file (+1/-1 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/cli/cmd/mcp.ts",
"marker": "negotiated",
"note": "Fork edit to an upstream file (+15/-5 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/cli/cmd/models.ts",
"marker": "formatSize",
"note": "Fork edit to an upstream file (+9/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/cli/cmd/run.ts",
"marker": "fork: auto-mode \u2014 `--auto` (or OPENCODE_",
"note": "Fork edit to an upstream file (+7/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/cli/cmd/run/demo.ts",
"marker": "import type { ToolPart } from \"@opencode-ai/sdk/v2\"",
"note": "Fork edit to an upstream file (+24/-18 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/cli/cmd/run/session-data.ts",
"marker": "import type { Part, PermissionRequest, QuestionRequest, ToolPart } fro",
"note": "Fork edit to an upstream file (+2/-2 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/cli/cmd/run/stream.transport.ts",
"marker": "sideQuestion",
"note": "Fork edit to an upstream file (+87/-48 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/cli/cmd/run/subagent-data.ts",
"marker": "import type { Message, Part, PermissionRequest, QuestionRequest, ToolP",
"note": "Fork edit to an upstream file (+3/-3 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/cli/cmd/tui.ts",
"marker": "fork: a worker that dies (module-eval cr",
"note": "Fork edit to an upstream file (+10/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/cli/upgrade.ts",
"marker": "InstallationIsRelease",
"note": "Fork edit to an upstream file. Skips the self-upgrade check for any non-release channel (was only the literal \"local\" channel, which missed a local build on the fork's own \"dev\" channel \u2014 confirmed live: it read as needing a release patch and silently curl-installed over a running dev binary mid-session). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/command/index.ts",
"marker": "conversation",
"note": "Fork edit to an upstream file (+10/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/config/config.ts",
"marker": "structural",
"note": "Fork edit to an upstream file (+69/-9 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/control-plane/workspace-context.ts",
"marker": "create<WorkspaceContext>",
"note": "Migrated off @/util/local-context onto the fork's new named ContextManager (packages/opencode/src/context); upstream still uses LocalContext.create."
},
{
"file": "packages/opencode/src/effect/app-runtime.ts",
"marker": "LocalProviderSync",
"note": "Fork services joined to upstream's LayerNode graph: BeadsSync, AutoMode, LocalProviderSync, Loop, SideQuestion, ClaudeSidecarLifecycle. Loop/SideQuestion own HTTP routes and publish events, so they must be in the graph."
},
{
"file": "packages/opencode/src/effect/instance-state.ts",
"marker": "if (!ctx) return yield* Effect.die(new Error(\"InstanceRef not provided",
"note": "Fork edit to an upstream file (+1/-1 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/effect/runner.ts",
"marker": "Cancellation",
"note": "Fork edit to an upstream file (+99/-42 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/effect/runtime-flags.ts",
"marker": "OPENCODE_AUTO_MODE",
"note": "Fork edit to an upstream file (+1/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/effect/runtime-flags.ts",
"marker": "OPENCODE_DISABLE_CLAUDE_CODE_PEER_MESSAGING",
"note": "Fork edit: adds disableClaudeCodePeerSource + disableClaudeCodePeerMessaging (both opt-out, on by default) for the Claude Code peer-source/messaging feature. Marker is a string this edit introduces that upstream does not contain."
},
{
"file": "packages/opencode/src/event-manifest.ts",
"marker": "SideQuestion.Event.Response",
"note": "Appends fork-owned event definitions (loop.updated, side-question.response) to the shared schema manifest. Their schemas live in packages/opencode and cannot be declared in packages/schema, and without this they are absent from the generated Event union so no client can subscribe."
},
{
"file": "packages/opencode/src/id/id.ts",
"marker": "loop: \"loop\",",
"note": "Fork edit to an upstream file (+1/-0 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/ide/index.ts",
"marker": "TaggedErrorClass",
"note": "Fork edit to an upstream file (+11/-4 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/index.ts",
"marker": "ForkCommands",
"note": "Registers all fork CLI commands via a single .command(ForkCommands). The upstream command block must stay byte-identical to upstream."
},
{
"file": "packages/opencode/src/installation/index.ts",
"marker": "ForkDistribution",
"note": "In-app updater points at the fork (releaseRepo/installUrl/npm/brew), never upstream, so an update prompt cannot clobber our binary."
},
{
"file": "packages/opencode/src/mcp/catalog.ts",
"marker": "fork: @modelcontextprotocol/core re-expo",
"note": "Fork edit to an upstream file (+8/-8 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/mcp/index.ts",
"marker": "fork: capability discovery failing is a",
"note": "Fork edit to an upstream file (+306/-137 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/mcp/oauth-provider.ts",
"marker": "OAuthClientProvider,",
"note": "Fork edit to an upstream file (+2/-2 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/project/instance-context.ts",
"marker": "create<InstanceContext>",
"note": "Migrated off @/util/local-context onto the fork's new named ContextManager (packages/opencode/src/context); upstream still uses LocalContext.create."
},
{
"file": "packages/opencode/src/provider/provider.ts",
"marker": "mergeDiscoveredModel",
"note": "mergeDiscoveredModel + openAICompatibleDiscoveryEnabled; keep ModelV2.ID (not ProviderV2.ModelID)."
},
{
"file": "packages/opencode/src/provider/transform.ts",
"marker": "if (model.limit.output > 0) return Math.min(model.limit.output, output",
"note": "Fork edit to an upstream file (+3/-1 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/api.ts",
"marker": "GalleryApi",
"note": "Fork edit to an upstream file (+8/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/groups/provider.ts",
"marker": "ProviderBalance",
"note": "Fork edit to an upstream file (+16/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/groups/session.ts",
"marker": "SideQuestionPayload",
"note": "Fork edit to an upstream file (+25/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/handlers/event.ts",
"marker": "SUBSCRIBER_QUEUE_CAPACITY",
"note": "Fork edit: bounds the per-subscriber SSE event queue (was Queue.unbounded \u2014 upstream #45215) via core's EventV2.allBounded; a stalled client fails and resyncs instead of retaining every event forever."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/handlers/global.ts",
"marker": "fork: name the binary location \u2014 the com",
"note": "Fork edit to an upstream file (+7/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/handlers/provider.ts",
"marker": "BALANCE_PROBES",
"note": "Fork edit to an upstream file (+23/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/handlers/session.ts",
"marker": "SideQuestionPayload",
"note": "Fork edit to an upstream file (+21/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/server.ts",
"marker": "@/loop/loop",
"note": "Fork edit to an upstream file (+14/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/server/routes/instance/httpapi/server.ts",
"marker": "ClaudeSidecarLifecycle",
"note": "Fork edit: joins ClaudeSidecarLifecycle.node to THIS file's own separate LayerNode graph (the actual root the HTTP server boots from \u2014 distinct from effect/app-runtime.ts's AppLayer, which app-runtime.ts's own consumers use). Both graphs need the node or session-lifecycle events published during real HTTP-served requests never reach it. See openspec/changes/claude-peer-messaging, Phase 3."
},
{
"file": "packages/opencode/src/session/compaction.ts",
"marker": "self-healing compaction",
"note": "Compaction that itself overflows retries with only the most recent user turn, then falls back to a minimal summary, instead of returning \"stop\" and stranding the session. Silently lost in the 0d927ba03f merge and only noticed because a fork-only test still asserted it."
},
{
"file": "packages/opencode/src/session/overflow.ts",
"marker": "inputLimit",
"note": "Fork edit to an upstream file (+6/-4 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/session/prompt.ts",
"marker": "fork: loop detection \u2014 if consecutive as",
"note": "Fork edit to an upstream file (+287/-121 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/session/session.ts",
"marker": "A shallow copy is the snapshot that matters",
"note": "Fork edit: updatePart publishes a shallow copy of the part instead of structuredClone (upstream #35107 direction) \u2014 same snapshot semantics for the in-place-mutated text field, without copying part bytes per publish."
},
{
"file": "packages/opencode/src/session/summary.ts",
"marker": "fork: processor.ts calls summarize() on",
"note": "Fork edit to an upstream file (+55/-22 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/session/tools.ts",
"marker": "QueueAuthority",
"note": "Fork edit to an upstream file (+110/-82 vs upstream/dev as of 2026-09-05): the loop-spec-queue authority ceiling (deny-rules-before-auto-mode-skip ordering, credential-less shell for push-denied sessions). Re-registered here with a fresh marker after a90c49880b retired the previous marker (`fork: the stream watchdog must not count`) along with the watchdog's tool-liveness ticks \u2014 tools.ts still diverges substantially from upstream for this unrelated, load-bearing reason and must stay tracked."
},
{
"file": "packages/opencode/src/tool/code-mode.ts",
"marker": "fork: the result shape comes from the 2.",
"note": "Fork edit to an upstream file (+5/-2 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/tool/registry.ts",
"marker": "fork: PeersTool reads session status and",
"note": "Fork edit to an upstream file (+7/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/tool/shell.ts",
"marker": "fork: human-readable title for the permi",
"note": "Fork edit to an upstream file (+32/-3 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/src/tool/task.ts",
"marker": "fork: total-duration backstop for a fore",
"note": "Fork edit to an upstream file (+216/-17 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/cli/run/stream.transport.test.ts",
"marker": "} as unknown as SdkEvent",
"note": "Fork edit to an upstream file (+4/-4 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/test/config/config.test.ts",
"marker": "staleProvider",
"note": "Fork edit to an upstream file (+92/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/effect/runner.test.ts",
"marker": "cancellation",
"note": "Fork edit to an upstream file (+111/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/event-manifest.test.ts",
"marker": "fork: the opencode manifest is the share",
"note": "Fork edit to an upstream file (+7/-3 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/fake/provider.ts",
"marker": "setModelContextLimit",
"note": "Fork edit to an upstream file (+1/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/fixture/fixture.ts",
"marker": "disposeDirectory",
"note": "Disposes each test's instance when the test ends. InstanceStore otherwise holds every instance the suite creates \u2014 each with its own :memory: SQLite and slice of the app graph \u2014 until the process exits, which measured as the bulk of the suite's memory (provider dir: 3004 -> 2577 MB)."
},
{
"file": "packages/opencode/test/fixture/mcp-session-recovery.ts",
"marker": "import { Client, StreamableHTTPClientTransport, LATEST_PROTOCOL_VERSIO",
"note": "Fork edit to an upstream file (+1/-3 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/test/installation/installation.test.ts",
"marker": "fork: the updater resolves against the f",
"note": "Fork edit to an upstream file (+20/-6 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/mcp/catalog.test.ts",
"marker": "Parameters",
"note": "Fork edit to an upstream file (+4/-2 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/mcp/headers.test.ts",
"marker": "AppNodeBuilder",
"note": "Fork edit to an upstream file (+110/-70 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/mcp/lifecycle.test.ts",
"marker": "AppNodeBuilder",
"note": "Fork edit to an upstream file (+1136/-467 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/mcp/oauth-auto-connect.test.ts",
"marker": "AppNodeBuilder",
"note": "Fork edit to an upstream file (+240/-251 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/mcp/oauth-browser.test.ts",
"marker": "AppNodeBuilder",
"note": "Fork edit to an upstream file (+220/-193 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/mcp/session-recovery.test.ts",
"marker": "modelcontextprotocol",
"note": "Fork edit to an upstream file (+10/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/preload.ts",
"marker": "AppNodeBuilder",
"note": "Fork edit to an upstream file (+7/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/provider/provider.test.ts",
"marker": "fork: fit has its own (more generous) ab",
"note": "Fork edit to an upstream file (+581/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/server/httpapi-exercise/index.ts",
"marker": "http.protected.get(\"/local/capacity\", \"local.capacity\").json(200, arra",
"note": "Fork edit to an upstream file (+12/-0 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/test/session/compaction.test.ts",
"marker": "aggressive",
"note": "Fork edit to an upstream file (+42/-4 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/session/llm.test.ts",
"marker": "fork: openai-compatible discovery also p",
"note": "Fork edit to an upstream file (+20/-2 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/session/prompt.test.ts",
"marker": "fork: a prompt submitted mid-run is deli",
"note": "Fork edit to an upstream file (+67/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/opencode/test/tool/__snapshots__/parameters.test.ts.snap",
"marker": "\"provider\": {",
"note": "Fork edit to an upstream file (+4/-0 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/test/tool/code-mode-integration.test.ts",
"marker": "const listed = (await client.listTools()).tools as unknown as MCPToolD",
"note": "Fork edit to an upstream file (+5/-2 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/test/tool/code-mode.test.ts",
"marker": "import type { MCPToolDef } from \"@/mcp/catalog\"",
"note": "Fork edit to an upstream file (+1/-1 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/test/tool/registry.test.ts",
"marker": "import type { MCPToolDef } from \"@/mcp/catalog\"",
"note": "Fork edit to an upstream file (+1/-1 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/test/tool/task.test.ts",
"marker": "execute creates a child when task_id is not a valid session id",
"note": "Fork edit to an upstream file (+41/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/sdk/js/src/v2/loop-args.ts",
"marker": "noProgressLimit",
"note": "SDK copy of the loop defaults. The server cannot import the SDK, so loop-defaults.test.ts parses both files and asserts they agree."
},
{
"file": "packages/tui/src/app.tsx",
"marker": "fork: surface the server's actual error",
"note": "Fork edit to an upstream file (+127/-77 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/component/dialog-model.tsx",
"marker": "DialogModelCtx",
"note": "Fork edit to an upstream file (+104/-4 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/component/dialog-provider.tsx",
"marker": "LOCAL_PROVIDER_OPTION_VALUE",
"note": "Multi-select discovered local providers; graceful mDNS failure."
},
{
"file": "packages/tui/src/component/prompt/index.tsx",
"marker": "interactions",
"note": "Fork edit to an upstream file (+285/-15 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/config/index.tsx",
"marker": "transcript_window",
"note": "Fork edit: adds the optional `transcript_window` TUI config key (TranscriptWindow schema + TranscriptWindowDefault) consumed by the session route's transcript windowing."
},
{
"file": "packages/tui/src/config/keybind.ts",
"marker": "dialog.local",
"note": "dialog.local.toggle + dialog.local.connect keybinds."
},
{
"file": "packages/tui/src/context/sync.tsx",
"marker": "refreshProviders",
"note": "Fork edit to an upstream file (+14/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/context/theme.tsx",
"marker": "ThemeState.set",
"note": "createEffect writing ThemeState.set(store.active) \u2014 the writer half of the local-backend themed-loading-screen feature (reader is provider.ts ThemeState.get). theme-state.ts now lives in packages/core/src/local so both the TUI (writer) and the opencode provider (reader) can share the singleton across the package boundary."
},
{
"file": "packages/tui/src/feature-plugins/home/tips-view.tsx",
"marker": "permissionMode",
"note": "Fork edit to an upstream file (+4/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/feature-plugins/sidebar/context.tsx",
"marker": "freeMb",
"note": "Unified context bar, % inline, breakdown below; Context label; cost for cloud providers."
},
{
"file": "packages/tui/src/routes/session/index.tsx",
"marker": "fork: the footer advertises this keybind",
"note": "Fork edit to an upstream file (+88/-10 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/routes/session/index.tsx",
"marker": "function Peers(props: ToolProps)",
"note": "Fork edit: adds a dedicated terminal renderer for the `peers` tool (opencode-skein + Claude Code peers as a bordered agent list, not the model's own paraphrase) instead of falling through to GenericTool. See openspec/changes/claude-code-peer-source."
},
{
"file": "packages/tui/src/routes/session/index.tsx",
"marker": "no spinner while the body is open",
"note": "Fork edit: ReasoningHeader renders a static header instead of the animated Spinner while the reasoning body is expanded, so the body stops shaking every frame."
},
{
"file": "packages/tui/src/routes/session/index.tsx",
"marker": "transcriptWindow",
"note": "Fork edit: transcript windowing \u2014 messages older than the most recent `transcript_window` (TUI config, default 40, 0 disables) render as a one-line CollapsedMessage until clicked, so a long session no longer keeps every part's markdown/syntax/code renderer mounted for its whole life (long-running-session OOM)."
},
{
"file": "packages/tui/src/routes/session/permission.tsx",
"marker": "independent",
"note": "Fork edit to an upstream file (+11/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/theme/index.ts",
"marker": "knightRider",
"note": "Fork edit to an upstream file (+6/-0 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/ui/dialog-confirm.tsx",
"marker": "Defaults to the safe side",
"note": "Fork edit to an upstream file. Defaults DialogConfirm's focus to \"cancel\" instead of \"confirm\" so a stray or fast-follow Enter press can't confirm a consequential action (e.g. a model install) with zero deliberate input. Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/src/ui/dialog-select.tsx",
"marker": "displacing",
"note": "Fork edit to an upstream file (+17/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/test/cli/cmd/tui/provider-options.test.ts",
"marker": "fork: LAN discovery for llama-skein host",
"note": "Fork edit to an upstream file (+18/-1 vs baseline). Marker is a string the fork's edit introduces and upstream does not contain, so a merge that reverts the edit fails fork:verify."
},
{
"file": "packages/tui/test/cli/cmd/tui/sync-fixture.tsx",
"marker": "// Recorded rather than acted on: a bootstrap that decides to exit sho",
"note": "Fork edit to an upstream file (+17/-12 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/tui/test/theme.test.ts",
"marker": "test(\"includes local custom themes\", () => {",
"note": "Fork edit to an upstream file (+7/-0 vs baseline). Marker is a full added line, verified absent from upstream's copy."
},
{
"file": "packages/opencode/src/permission/index.ts",
"marker": "Unattended.decide",
"note": "A /loop-driven session (or a subagent under one) applies its unattended policy to an undecided 'ask' instead of blocking forever on a Deferred nobody can resolve: scoped (default) allows a closed in-project list and refuses the rest with a reason, full allows everything, off asks a human. Explicit deny rules are untouched and always win."
},
{
"file": "packages/opencode/test/permission/next.test.ts",
"marker": "Unattended.mark",
"note": "Pins the unattended auto-allow behaviour of permission asks."
},
{
"file": "packages/opencode/src/session/llm/request.ts",
"marker": "PublishPolicy.composeSystem",
"note": "Injects the standing publish authorization into the system prompt, and only when a valid policy exists. Without a grant the prompt is byte-for-byte what it was before."
}
],
"divergence": {
"note": "Ratchet for the failure this fork keeps hitting: a merge silently deleting a fork feature (see the self-healing compaction entry). Any file under `scope` that differs from baseline.upstreamRef and is neither owned/patched nor listed in `accepted` fails fork:verify. `accepted` is the divergence that already existed when the gate was added \u2014 classify those as feature or drift over time; new files must be classified immediately. The single remaining accepted entry is packages/core/src/effect/dfdf, which upstream committed by accident \u2014 its contents are an editor's \"File to save in:\" prompt. It is deleted here on purpose; it stays accepted rather than registered because there is no file left to carry a marker. Re-baseline deliberately with `bun run fork:verify --accept-divergence`.",
"scope": [
"^packages/[^/]+/(src|test)/"
],
"accepted": [
"packages/core/src/background-job.ts",
"packages/core/src/control-plane/move-session.ts",
"packages/core/src/credential.ts",
"packages/core/src/cross-spawn-spawner.ts",
"packages/core/src/effect/dfdf",
"packages/core/src/event.ts",
"packages/core/src/fs-util.ts",
"packages/core/src/global.ts",
"packages/core/src/models-dev.ts",
"packages/core/src/permission/saved.ts",
"packages/core/src/process.ts",
"packages/core/src/project.ts",
"packages/core/src/project/directories.ts",
"packages/core/src/pty/ticket.ts",
"packages/core/src/repository-cache.ts",
"packages/core/src/ripgrep.ts",
"packages/core/src/ripgrep/binary.ts",
"packages/core/src/session/execution/local.ts",
"packages/core/src/session/projector.ts",
"packages/core/src/session/store.ts",
"packages/core/src/skill/discovery.ts",
"packages/core/src/tool/application-tools.ts",
"packages/core/src/util/effect-flock.ts",
"packages/opencode/src/cli/cmd/attach.ts",
"packages/opencode/src/project/bootstrap.ts",
"packages/opencode/src/question/index.ts",
"packages/opencode/src/session/processor.ts",
"packages/opencode/src/session/run-state.ts",