Repository navigation
Expand file tree
/
Copy pathmanifest.json
More file actions
1538 lines (1538 loc) · 55.1 KB
/
Copy pathmanifest.json
File metadata and controls
1538 lines (1538 loc) · 55.1 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
{
"version": 2,
"sizeBudgetLines": 600,
"generatedPaths": [
"gui/dist"
],
"absentPaths": [
{
"path": "docs/",
"reason": "the root docs/ folder is retired; ops/docs-and-release.md documents where its material went and that no docs/ tree is tracked"
},
{
"path": "go/",
"reason": "the Go native-runtime experiment is retired; ops/docs-and-release.md documents that no go/ tree is tracked"
}
],
"tiers": [
{
"id": 1,
"name": "Foundation",
"purpose": "What opencodex is, what it owns on disk, and the invariants nothing may break."
},
{
"id": 2,
"name": "Configuration and catalog",
"purpose": "Persisted config, the Codex home it writes into, and the model catalog it publishes."
},
{
"id": 3,
"name": "Data planes and transports",
"purpose": "The wire surfaces a client actually talks to."
},
{
"id": 4,
"name": "Providers and adapters",
"purpose": "Per-vendor contracts and the adapter authority that constructs them."
},
{
"id": 5,
"name": "Surfaces and clients",
"purpose": "The dashboard, the management API, and third-party client config ownership."
},
{
"id": 6,
"name": "Operations and process",
"purpose": "Background service, docs, release, and design discipline."
}
],
"docs": [
{
"path": "transports/timeouts.md",
"tier": 3,
"title": "Upstream Timeouts",
"scope": "Local header and JSON body deadlines, cancellation and optional OpenCode timeout export.",
"documents": [
"src/stall-timeout.ts",
"src/lib/abort.ts",
"src/lib/local-upstream.ts",
"src/lib/bounded-body.ts",
"src/server/",
"src/web-search/header-deadline.ts",
"src/clients/config-export.ts",
"src/config/schema/leaf-validators.ts",
"src/types/config.ts"
]
},
{
"path": "quota-snapshots.md",
"tier": 4,
"title": "Account Quota Snapshots",
"scope": "Bounded write deferral and cancellation for Codex and provider account quota snapshots.",
"documents": ["src/codex/quota.ts", "src/providers/account-quota-disk.ts"]
},
{
"path": "providers/generic-account-pool.md",
"tier": 4,
"title": "Generic OAuth Account Pool",
"scope": "Opt-in conversation ownership, request-local selection receipts and bounded release for generic OAuth pools.",
"documents": ["src/oauth/", "src/server/", "src/types/"]
},
{
"path": "overview.md",
"tier": 1,
"title": "Overview",
"scope": "Product boundary, local state ownership, and the non-negotiable invariants index.",
"documents": [
"app/",
"gui/",
"src/companion/",
"scripts/",
"src/config.ts",
"src/lib/"
]
},
{
"path": "runtime.md",
"tier": 1,
"title": "Runtime",
"scope": "Entrypoints, process lifecycle, CLI surface, and the Remote Hub, sideband, and request-compatibility contracts on that path.",
"documents": [
"bin/",
"src/adapters/",
"src/chat/",
"src/claude/",
"src/cli.ts",
"src/cli/",
"src/client/",
"src/codex/",
"src/combos/",
"src/compatibility/",
"src/config.ts",
"src/config/",
"src/generated/",
"src/github/",
"src/grok/",
"src/images/",
"src/index.ts",
"src/lab/",
"src/lib/",
"src/oauth/",
"src/providers/",
"src/reasoning-effort.ts",
"src/remote/",
"src/responses/",
"src/router.ts",
"src/server/",
"src/service.ts",
"src/service/",
"src/stall-timeout.ts",
"src/storage/",
"src/tray/",
"src/types.ts",
"src/update/",
"src/usage/",
"src/vision/",
"src/web-search/",
"src/config/persisted-mutation.ts"
]
},
{
"path": "config-ownership.md",
"tier": 4,
"title": "Config Ownership Manifest",
"scope": "Owner marker, uninstall manifest, its cross-process lock, and the uninstall tombstone.",
"documents": ["src/lib/config-ownership.ts", "src/lib/config-ownership-removal.ts"]
},
{
"path": "config.md",
"tier": 2,
"title": "Config Surface",
"scope": "Persisted config schema, both injection forms, provider validation, and restore.",
"documents": [
"src/cli/",
"src/codex/",
"src/config.ts",
"src/config/",
"src/types.ts",
"src/types/config.ts"
]
},
{
"path": "codex-provider-routing.md",
"tier": 2,
"title": "Custom Codex Provider Routing",
"scope": "Explicit provider-ID routing consent, URL-only publication and recovery.",
"documents": ["src/codex/provider-routing.ts", "src/cli/codex-provider.ts"]
},
{
"path": "codex-home.md",
"tier": 2,
"title": "Codex Home",
"scope": "CODEX_HOME resolution, the files opencodex manages there, and Codex-home diagnostics.",
"documents": [
"src/codex/"
]
},
{
"path": "codex-prompts.md",
"tier": 2,
"title": "Codex Prompts",
"scope": "Prompt-layer repair, base import previews and bounded text-probe sources.",
"documents": [
"src/codex/",
"src/server/"
]
},
{
"path": "remote-messaging.md",
"tier": 3,
"title": "Remote Codex Messaging",
"scope": "Explicit peer enrollment, connection-bound capabilities, bounded foreground SSH ownership and queued remote replies.",
"documents": ["src/messaging/", "src/cli/", "src/link/"]
},
{
"path": "local-messaging.md",
"tier": 3,
"title": "Local Codex Messaging",
"scope": "Loaded-session Unix messaging and opt-in stored-queue MCP tools, explicit final-turn reads, receipts and owned helper bounds.",
"documents": [
"src/messaging/",
"src/cli/"
]
},
{
"path": "codex-cli-update.md",
"tier": 2,
"title": "Codex CLI Update",
"scope": "Content-bound planning and explicit POSIX/Windows x64 apply with isolated npm, artifact validation, installation leases and readback.",
"documents": [
"src/codex/cli-update-plan.ts",
"src/codex/windows-cli-child.ts",
"src/codex/windows-cli-child-native.ts",
"src/codex/windows-cli-child-pipe.ts",
"src/codex/cli-update-apply.ts",
"src/codex/cli-update-windows-apply.ts",
"src/codex/cli-update-windows-observation.ts",
"src/codex/cli-windows-plan-provenance.ts",
"src/codex/windows-installation-files.ts",
"src/codex/windows-npm-execution.ts",
"src/lib/windows-owner-acl.ts",
"src/codex/cli-update-job.ts",
"src/codex/cli-update-job-execution.ts",
"src/codex/cli-update-job-store-windows.ts",
"src/codex/cli-update-job-worker.ts",
"src/codex/cli-update-selection-gate.ts",
"src/codex/shim.ts",
"src/codex/cli-update-recovery.ts",
"src/codex/cli-update-worker-recovery.ts",
"src/codex/windows-cli-recovery.ts",
"src/codex/windows-cli-recovery-guardian.ts",
"src/codex/cli-update-worker.ts",
"src/server/management/codex-cli-update-routes.ts",
"src/codex/cli-update-inspection-context.ts",
"bin/ocx.mjs",
"src/codex/cli-update-artifacts.ts",
"src/codex/cli-update-windows-layout.ts",
"src/codex/cli-update-windows-paths.ts",
"src/codex/cli-update-files.ts",
"src/codex/cli-update-lease.ts",
"src/codex/app-server-processes.ts",
"src/cli/codex-cli-update.ts"
]
},
{
"path": "catalog.md",
"tier": 2,
"title": "Model Catalog",
"scope": "Shared Codex catalog assembly, account namespaces, pool rotation, and effort ladders.",
"documents": [
"src/codex/",
"src/routing/",
"src/server/"
]
},
{
"path": "catalog-vendor-context.md",
"tier": 2,
"title": "Custom-provider context estimates",
"scope": "Bundled model-ID window fallback, ambiguity handling, and inferred-capacity provenance.",
"documents": [
"src/codex/catalog/vendor-context.ts",
"src/codex/catalog/model-hints.ts",
"src/codex/catalog/parsing.ts",
"src/codex/catalog/routed-gather.ts",
"src/codex/catalog/effort.ts"
]
},
{
"path": "catalog-effort-clamp.md",
"tier": 2,
"title": "Effort-clamp observations",
"scope": "Persisted effort-clamp observation identity and idempotent sync notices.",
"documents": ["src/codex/runtime.ts", "src/codex/catalog/effort.ts"]
},
{
"path": "catalog-routed-ownership.md",
"tier": 2,
"title": "Routed-row authorship",
"scope": "Generated routed-row ownership signals and combo catalog description overrides.",
"documents": ["src/codex/catalog/ownership.ts"]
},
{
"path": "subagents.md",
"tier": 2,
"title": "Subagents And Multi-Agent Surface",
"scope": "Multi-agent surface mode and subagent roster ordering.",
"documents": [
"src/codex/",
"src/providers/",
"src/server/"
]
},
{
"path": "subagent-capacity.md",
"tier": 2,
"title": "Subagent Surface And Capacity",
"scope": "Surface mode, hybrid global flag, concurrent child limits and canonical Codex setting ownership.",
"documents": [
"src/codex/"
]
},
{
"path": "advisor.md",
"tier": 2,
"title": "Advisor Sidecar",
"scope": "The optional expert consultation sidecar: manual/preflight/adaptive policies, evidence, durable task allowance, metadata activity, and loopback routing.",
"documents": [
"src/advisor/",
"src/server/responses/advisor-slot.ts",
"src/server/responses/advisor-plan-slot.ts",
"src/server/advisor-admission-scope.ts",
"src/server/capture-admission-policy.ts",
"src/types/admission-policy.ts",
"src/server/inference/advisor-diagnostics.ts",
"src/lib/advisor-activation.ts"
]
},
{
"path": "transports/byte-accounting.md",
"tier": 3,
"title": "Byte Accounting",
"scope": "Request-copy and stream-buffer byte accounting shared by parsing, SSE rewriting, the adapters, and the translator budget, plus durable spill admission.",
"documents": [
"src/adapters/",
"src/chat/",
"src/lib/",
"src/server/",
"src/responses/"
]
},
{
"path": "transports/anthropic-thinking-recovery.md",
"tier": 3,
"title": "Anthropic Thinking-Signature Recovery",
"scope": "One-shot exact signature-binding recovery before output, and successful-retry memo boundaries.",
"documents": [
"src/server/responses/anthropic-thinking-recovery.ts",
"src/adapters/anthropic-rejection-memo.ts",
"src/adapters/anthropic-replay.ts",
"src/adapters/anthropic-tool-catalog.ts",
"src/responses/reasoning-replay-cache.ts"
]
},
{
"path": "transports/response-turn-membership.md",
"tier": 3,
"title": "Structural Response Turn Membership",
"scope": "Embedding-owned signing material, dedicated authenticated caller/own-thread scope and pre-parser structural normalization.",
"documents": [
"src/responses/turn-membership.ts",
"src/server/responses/turn-membership.ts",
"src/bridge/sse.ts",
"src/server/responses/adapter-delivery.ts",
"src/server/responses/adapter-dispatch.ts",
"src/server/responses/request-transport.ts",
"src/server/auth-cors.ts",
"src/server/responses/request-prepare.ts"
]
},
{
"path": "transports/response-citations.md",
"tier": 3,
"title": "Response Citation Projection",
"scope": "OpenAI-operated outbound citation repair and generated JSON/SSE annotation titles.",
"documents": ["src/adapters/openai-responses/", "src/bridge/"]
},
{
"path": "transports/max-output-completion.md",
"tier": 3,
"title": "Opt-in Responses Text Completion",
"scope": "Default-off translated Responses text-only token-limit completion and exclusions.",
"documents": [
"src/bridge/max-output-completion.ts",
"src/bridge/sse.ts",
"src/bridge/response-json.ts",
"src/config/schema/config-schema.ts",
"src/types/config.ts",
"src/server/responses/adapter-delivery.ts",
"src/server/responses/run-turn-execution.ts"
]
},
{
"path": "transports/responses.md",
"tier": 3,
"title": "Responses Transport",
"scope": "The Responses HTTP/SSE endpoint, dispatch, credential and upload boundaries, and core module ownership.",
"documents": [
"src/bridge.ts",
"src/bridge/",
"src/responses/",
"src/server/"
]
},
{
"path": "transports/native-reasoning-retention.md",
"tier": 3,
"title": "Native Reasoning Retention",
"scope": "Optional native reasoning ciphertext forwarding on model/account switches, configuration and management controls.",
"documents": [
"src/config/",
"src/types/",
"src/responses/",
"src/server/",
"src/adapters/",
"gui/"
]
},
{
"path": "transports/responses-citations.md",
"tier": 3,
"title": "Replayed URL Citations",
"scope": "Destination-gated citation repair for ordinary Responses and every native compact send.",
"documents": [
"src/adapters/openai-responses/request-strips.ts",
"src/adapters/openai-responses/passthrough.ts",
"src/server/responses/compact.ts"
]
},
{
"path": "transports/responses-wire-shapes.md",
"tier": 3,
"title": "Responses Wire Shapes",
"scope": "Mixed-wire model defaults, xAI agent-message continuation, declared-tool membership, and passthrough SSE stream shapes.",
"documents": [
"src/adapters/",
"src/bridge/",
"src/lib/",
"src/responses/",
"src/server/"
]
},
{
"path": "transports/responses-failover.md",
"tier": 3,
"title": "Responses Failover And Replay",
"scope": "Upstream reset retry, the ambiguous-resend gate, combo failover and commit boundaries, compaction routing, and output headroom.",
"documents": [
"src/lib/",
"src/server/",
"src/codex/"
]
},
{
"path": "transports/responses-combo-boundaries.md",
"tier": 3,
"title": "Combo Streaming Boundaries",
"scope": "Combo preflight output commitment, turn lease lifetime, and bounded hop warnings. Original client labels on terminal envelopes and failed-turn request identities.",
"documents": [
"src/server/"
]
},
{
"path": "transports/policy-fallback.md",
"tier": 3,
"title": "Policy Candidate Fallback",
"scope": "Original policy authorization, concrete candidate retries and physical destination deduplication.",
"documents": [
"src/server/"
]
},
{
"path": "transports/responses-spend.md",
"tier": 3,
"title": "Responses Spend Reservations",
"scope": "Credential-hop and durable spend reservations, and what a spent budget tells the client.",
"documents": [
"src/lib/"
]
},
{
"path": "transports/streaming-health.md",
"tier": 3,
"title": "Streaming Health And WebSocket",
"scope": "Heartbeat and stall deadlines, plus the opt-in WebSocket transport.",
"documents": [
"src/server/"
]
},
{
"path": "transports/inventory.md",
"tier": 3,
"title": "Transport Inventory",
"scope": "The per-provider transport table and diagnostic outbound safety.",
"documents": [
"src/adapters/",
"src/chat/",
"src/images/",
"src/lib/",
"src/oauth/",
"src/providers/",
"src/server/"
]
},
{
"path": "data-planes/images.md",
"tier": 3,
"title": "Images Data Plane",
"scope": "Standalone image generation/edit relay and local hosted Responses image display.",
"documents": [
"src/server/"
]
},
{
"path": "data-planes/search.md",
"tier": 3,
"title": "Search Data Plane",
"scope": "Hosted search relay and exact account selectors.",
"documents": []
},
{
"path": "data-planes/inbound-compat.md",
"tier": 3,
"title": "Inbound Compatibility Surfaces",
"scope": "Chat Completions inbound, Anthropic-shaped clients, and JSON-upstream streaming clients.",
"documents": [
"src/adapters/",
"src/chat/",
"src/server/"
]
},
{
"path": "data-planes/claude-tool-loading.md",
"tier": 3,
"title": "Append-only Claude Tool Loading",
"scope": "Physical-adapter tool-loading projection, preserved catalogs, fallback exclusions and opt-in prerequisites.",
"documents": ["src/claude/", "src/server/responses/"]
},
{
"path": "data-planes/ollama-inbound.md",
"tier": 3,
"title": "Ollama-Compatible Inbound",
"scope": "Ollama-shaped version/tags/show/chat/generate routes translated onto Chat Completions, their admission, native error shape and final request-log ownership.",
"documents": [
"src/server/ollama-inbound.ts",
"src/server/ollama-native-paths.ts",
"src/server/ollama-route-policy.ts",
"src/server/native-final-log.ts",
"src/server/admitted-http-turn.ts",
"src/server/index/ollama-routes.ts",
"src/protocols/codecs/ollama.ts"
]
},
{
"path": "data-planes/error-detail.md",
"tier": 3,
"title": "Proxy-Owned Error Detail",
"scope": "Closed error codes, upstream condition classification, numeric quota reset, closed failure detail, service tier and model identity bounds on request-log rows; response metadata header normalization and the client Retry-After format. Chat client error envelopes, literal tables, proxy-authored message provenance, collector verdicts and internal evidence channels; fixed undeclared-tool refusals, producer-owned incomplete-event origins and constructor-bounded destination labels, branded original client selectors, bounded combo exclusions and fixed retry-evidence diagnostics. Original model labels on synthetic terminal envelopes and compact/Messages ingress handoffs. Messages error envelopes, construction-registered fixed local-refusal guidance, sliced outcome comparisons and baseline client recovery outcomes across special codes and catch returns, non-2xx passthrough envelopes and unchanged 2xx passthrough bodies and original collector evidence and error-event identity, overflow/native-stream golden parity and normalized Anthropic response headers with full-fraction reset dates and success media types.",
"documents": [
"src/usage/error-detail.ts",
"src/lib/upstream-condition.ts",
"src/lib/client-retry-after.ts",
"src/lib/failure-detail.ts",
"src/lib/upstream-validation-detail.ts",
"src/lib/response-service-tier.ts",
"src/lib/model-identity.ts",
"src/server/safe-response-headers.ts",
"src/server/request-log-failure-detail.ts",
"src/lib/client-error-body.ts",
"src/lib/error-destination.ts",
"src/combos/resolve.ts",
"src/lib/upstream-retry.ts",
"src/server/admission-model-scope.ts",
"src/server/responses/input-admission.ts",
"src/oauth/generic-account-failover.ts",
"src/chat/failure-verdict.ts",
"src/lib/messages-error-body.ts",
"src/claude/failure-verdict.ts",
"src/server/anthropic-rate-limit-headers.ts",
"src/server/messages-response-headers.ts",
"src/server/index/startup-warnings.ts",
"src/server/claude-messages.ts",
"src/server/messages-native.ts",
"src/claude/outbound.ts",
"src/protocols/encoders/messages.ts",
"src/protocols/encoders/adapter-events.ts",
"src/lib/messages-sse-error-presentation.ts",
"src/server/messages-sse-error-filter.ts",
"src/server/messages-native-tool-guard.ts",
"src/server/messages-shared.ts",
"src/server/sse-payload-rewrite.ts"
]
},
{
"path": "data-planes/chat-reasoning-details.md",
"tier": 3,
"title": "Anthropic Thinking Signatures on the Chat Wire",
"scope": "The reasoning_details carrier that lets Chat Completions clients round-trip signed Anthropic thinking across tool steps (#7429).",
"documents": [
"src/chat/reasoning-details.ts"
]
},
{
"path": "data-planes/protocol-paths.md",
"tier": 3,
"title": "Protocol Paths",
"scope": "Shared protocol vocabulary, declared feature dispositions, the ingress-by-upstream baseline, plan/trace shapes, and protocol settings.",
"documents": [
"src/protocols/"
]
},
{
"path": "providers/anthropic-progress.md",
"tier": 4,
"title": "Anthropic progress updates",
"scope": "Opus 5.5 progress display, visible commentary, and exact signed-block replay.",
"documents": ["src/adapters/", "src/bridge/", "src/responses/", "src/claude/", "src/types/", "src/server/", "src/web-search/", "src/images/"]
},
{
"path": "providers/anthropic-account-thresholds.md",
"tier": 4,
"title": "Anthropic Account Thresholds",
"scope": "Account-owned usage thresholds, inheritance, routing boundaries and durable policy changes.",
"documents": [
"src/oauth/"
]
},
{
"path": "providers/meta-muse.md",
"tier": 4,
"title": "Meta Muse Login",
"scope": "CLI credential import, approval lifecycle, explicit recovery, account-free login diagnostics and the runtime plan-refusal classification.",
"documents": ["src/oauth/meta-muse.ts", "src/oauth/meta-muse-keychain.ts", "src/oauth/meta-muse-errors.ts", "src/oauth/login-cli.ts", "src/providers/meta-muse-plan-refusal.ts"]
},
{
"path": "providers/oauth-reconciliation.md",
"tier": 4,
"title": "OAuth Preset Reconciliation",
"scope": "Operator limits and per-model declarations across startup reconciliation and OAuth upsert.",
"documents": ["src/oauth/"]
},
{
"path": "providers/antigravity-account-import.md",
"tier": 4,
"title": "Antigravity Account Import",
"scope": "Cockpit Tools import schema, identity check, probe-gated project_id fallback and no-write failure paths.",
"documents": ["src/oauth/"]
},
{
"path": "providers/claude-cli-replay.md",
"tier": 4,
"title": "Claude CLI Replay",
"scope": "Claude CLI stable replay, canonical tool schemas, capture-only client tool ownership and subscription usage admission.",
"documents": ["src/adapters/"]
},
{
"path": "providers-and-adapters.md",
"tier": 4,
"title": "Providers And Adapters",
"scope": "Provider and adapter selection, the adapter inventory, live model discovery, and the hosted-search continuation bridge.",
"documents": [
"src/adapters/",
"src/chat/",
"src/combos/",
"src/lib/tool-argument-integers.ts",
"src/oauth/",
"src/providers/",
"src/responses/",
"src/server/",
"src/types/",
"src/web-search/"
]
},
{
"path": "providers/opengateway.md",
"tier": 4,
"title": "OpenGateway",
"scope": "Preset discovery, paired Responses tool-result projection and bounded empty-completion recovery.",
"documents": [
"src/adapters/openai-responses/opengateway-input.ts",
"src/adapters/openai-responses/passthrough.ts",
"src/server/responses/opengateway-completion-guard.ts",
"src/server/responses/passthrough-completion.ts",
"src/server/responses/passthrough-dispatch.ts",
"src/codex/catalog/routed-gather.ts"
]
},
{
"path": "providers/jev-decision.md",
"tier": 4,
"title": "JEV Decision Routing",
"scope": "JEV Combo decision methods (TypeSafe, self-hosted System One rows, opencodex models), the decision request path, dashboard surfaces, and the content-free statistics projection.",
"documents": [
"src/combos/",
"src/server/",
"src/usage/",
"src/lib/decision-quota-sink.ts",
"src/providers/antigravity-quota-identity.ts",
"src/providers/quota-decision-antigravity.ts",
"src/providers/quota-decision-snapshot.ts",
"src/providers/quota-decision-publication.ts"
]
},
{
"path": "providers/anthropic-key-billing.md",
"tier": 4,
"title": "Anthropic API-key Billing Recovery",
"scope": "Exact billing refusal evidence, immutable physical credential ownership, pacing provenance and bounded pre-output key recovery.",
"documents": [
"src/providers/anthropic-billing-refusal.ts",
"src/providers/anthropic-billing-ownership.ts",
"src/providers/anthropic-billing-recovery.ts",
"src/providers/request-pacing.ts"
]
},
{
"path": "providers/workbuddy.md",
"tier": 4,
"title": "WorkBuddy AI Subscription",
"scope": "Browser login, account-bound refresh and catalogs, fixed-origin Chat transport, tool continuity and display-only credit balances.",
"documents": [
"src/oauth/workbuddy.ts",
"src/providers/workbuddy.ts",
"src/providers/workbuddy-models.ts",
"src/providers/workbuddy-credit-balance.ts",
"src/providers/quota/workbuddy.ts",
"src/adapters/workbuddy.ts",
"src/adapters/workbuddy-schema.ts"
]
},
{
"path": "providers/dsh-account.md",
"tier": 4,
"title": "DeepSeek Harness Account Provider",
"scope": "Explicit read-only DSH credential import, verified account identity, disabled refresh, pinned inference and probe destinations, and authoritative-empty quota.",
"documents": [
"src/oauth/dsh.ts",
"src/adapters/dsh-account.ts",
"src/providers/dsh-account-destination.ts",
"src/providers/quota/dsh-account.ts"
]
},
{
"path": "providers/anthropic-account-pool.md",
"tier": 4,
"title": "Anthropic Account Pool",
"scope": "Anthropic OAuth instances (primary and Pool 2), account pause, model routes, quota labels, and pool-bound helpers, quota, reset grants and management surfaces.",
"documents": [
"src/oauth/",
"src/providers/",
"src/providers/quota/anthropic-account-quota.ts",
"src/server/management/anthropic-pool-settings.ts",
"src/sidecar/anthropic-binding.ts"
]
},
{
"path": "providers/oauth-code-display-login.md",
"tier": 4,
"title": "OAuth Code-Display Login",
"scope": "Headless code-display OAuth login: flow ownership, expiry, unsupported providers, single-operator store.",
"documents": ["src/oauth/", "src/server/management/"]
},
{
"path": "providers/openai-tiers.md",
"tier": 4,
"title": "OpenAI Provider Account Modes",
"scope": "Pool/Direct account modes, API-key separation, and the public provider and quota contract.",
"documents": [
"src/codex/",
"src/providers/codex-capacity.ts"
]
},
{
"path": "providers/codex-pool-affinity.md",
"tier": 4,
"title": "Durable Codex Pool Affinity",
"scope": "Restart persistence of Codex pool pins and conversation-state issuers: store, fences, single-writer lease, fail-closed recovery.",
"documents": [
"src/codex/routing/thread-affinity-store.ts",
"src/codex/routing/thread-affinity.ts",
"src/lib/config-ownership.ts"
]
},
{
"path": "providers/pool-credit-renewal.md",
"tier": 4,
"title": "Pool credit renewal",
"scope": "Independent credit-evidence renewal for opted-in exhausted Codex pool accounts.",
"documents": ["src/codex/auth-api/pool-mode-gate.ts"]
},
{
"path": "providers/codex-installation-identity.md",
"tier": 3,
"title": "Codex Installation Identity",
"scope": "Per-account Pool wire installation identity, private secret, existence gates and fail-closed delivery.",
"documents": ["src/codex/installation-id.ts", "src/codex/auth-context.ts", "src/codex/auth-context-provider.ts", "src/codex/forward-transport-headers.ts", "src/adapters/openai-responses/transport.ts", "src/adapters/openai-responses/passthrough.ts", "src/server/ws-bridge.ts", "src/server/responses/codex-ws-request.ts", "src/server/responses/codex-ws-pool.ts", "src/server/responses/compact.ts", "src/server/responses/passthrough-build-error.ts", "src/server/context-history.ts", "src/server/search.ts", "src/server/images.ts", "src/server/live.ts", "src/server/audio-live.ts", "src/server/audio-dictation.ts", "src/server/index/serve-options.ts", "src/server/index/websocket-handler.ts", "src/server/index/live-sideband.ts", "src/server/claude-messages.ts", "src/codex/affinity-debug.ts"]
},
{
"path": "providers/codex-request-owned-affinity.md",
"tier": 3,
"title": "Codex Request-Owned Affinity",
"scope": "Opt-in conversation affinity for a caller's own ChatGPT bearer in Pool mode, honest selection-time affinity labels, and the persistence exclusion contract.",
"documents": ["src/codex/request-owned-affinity.ts", "src/codex/request-owned-main-pin.ts", "src/codex/auth-context.ts"]
},
{
"path": "providers/openai-accounts.md",
"tier": 4,
"title": "OpenAI Account Identity And Pool Operations",
"scope": "Migration and restore, wire identity, store concurrency, pool ordering and exclusions, quota observations, and account-bound retention.",
"documents": [
"src/codex/",
"src/config.ts"
]
},
{
"path": "providers/codex-round-robin-placement.md",
"tier": 4,
"title": "Codex Round-Robin Placement",
"scope": "Round-robin new-conversation placement preferring accounts under their effective auto-switch threshold, with all-over fallback and bound, failover and lineage boundaries.",
"documents": ["src/codex/routing/selection.ts"]
},
{
"path": "providers/openai-signed-in-preservation.md",
"tier": 4,
"title": "Preserve Signed-In Codex Quota",
"scope": "Opt-in effective priority bands that spend other pool accounts before the signed-in identity, its identity observation and management API.",
"documents": ["src/codex/account-preservation.ts", "src/codex/signed-in-identity.ts", "src/codex/auth-api/account-preservation.ts", "src/cli/account-preservation.ts"]
},
{
"path": "providers/cursor.md",
"tier": 4,
"title": "Cursor Provider",
"scope": "Cursor native exec, parameterized models, checkpoints, and active-context usage.",
"documents": [
"src/adapters/"
]
},
{
"path": "providers/google.md",
"tier": 4,
"title": "Google Provider",
"scope": "Gemini thought-text, response parts, thought-signature replay, and adjacency repair.",
"documents": []
},
{
"path": "providers/kiro.md",
"tier": 4,
"title": "Kiro Provider",
"scope": "Kiro parallel-tool hints, Responses text controls, structured-output emulation, and reasoning round-trip.",
"documents": [
"src/adapters/kiro/",
"src/responses/"
]
},
{
"path": "providers/xai-grok.md",
"tier": 4,
"title": "xAI Grok Provider",
"scope": "Grok Build contract parity and hardening.",
"documents": [
"src/oauth/",
"src/providers/",
"src/responses/",
"src/server/"
]
},
{
"path": "providers/lm-studio-chat.md",
"tier": 4,
"title": "LM Studio Chat instructions",
"scope": "Preset-scoped single-leading-system normalization, configuration and editor policy.",
"documents": ["src/adapters/openai-chat/", "src/providers/", "src/config/", "src/types/", "src/server/management/", "src/server/auth-cors.ts"]
},
{
"path": "providers/mistral-chat.md",
"tier": 4,
"title": "Canonical Mistral Chat Wire Policy",
"scope": "Canonical Mistral request-field projection, native effort clamping and typed-content normalization.",
"documents": ["src/adapters/openai-chat/destination-policy.ts", "src/adapters/openai-chat/native-content.ts"]
},
{
"path": "providers/chat-compat.md",
"tier": 4,
"title": "Chat Provider Compatibility",
"scope": "Cross-vendor Chat Completions behavior: reasoning, tool results, structured output, parallel tools.",
"documents": [
"src/adapters/",
"src/chat/",
"src/responses/"
]
},
{
"path": "providers/completed-tool-blocks.md",
"tier": 4,
"title": "Negotiated Completed Tool Blocks",
"scope": "Explicit response-only block completion, ordered safe-call delivery and terminal ownership.",
"documents": ["src/adapters/base.ts", "src/adapters/unique-tool-call-ids.ts", "src/adapters/openai-chat.ts", "src/adapters/openai-chat/completed-tool-blocks.ts", "src/adapters/openai-chat/serialized-tool-call-content.ts"]
},
{
"path": "providers/mimo-bare-calls.md",
"tier": 4,
"title": "MiMo Bare Tool Calls",
"scope": "Standalone MiMo bare-block recovery into declared freeform calls, separate from identified-wrapper reconciliation.",
"documents": ["src/adapters/openai-chat/", "src/adapters/openai-chat.ts"]
},
{
"path": "providers/chat-required-tool-results.md",
"tier": 4,
"title": "Mandatory Translated Chat Tool Results",
"scope": "Translated Chat terminal guard that fails a clean completion missing a mandatory client tool call.",
"documents": ["src/adapters/openai-chat/required-tool-result.ts"]
},
{
"path": "adapters/registry.md",
"tier": 4,
"title": "Adapter Registry Authority",
"scope": "The single adapter construction authority and contract inheritance.",
"documents": [
"src/adapters/",
"src/server/"
]
},
{
"path": "adapters/compatibility-contracts.md",
"tier": 4,
"title": "Compatibility Contracts",
"scope": "Versioned provider compatibility claims and fixture-evidence boundaries.",
"documents": [
"src/compatibility/"
]
},
{
"path": "adapters/compatibility-lab.md",
"tier": 4,
"title": "Compatibility Lab",
"scope": "Optional Lab evidence, automation, and its core-runtime isolation boundary.",
"documents": [
"src/lab/",
"src/server/index.ts"
]
},
{
"path": "cli-management.md",
"tier": 5,
"title": "CLI management and discovery",
"scope": "Terminal help and capability metadata, management-client output and the generated operating reference.",
"documents": [
"src/cli/",
"src/providers/cc-switch-import-bytes.ts",
"src/providers/cc-switch-import-source.ts",
"src/providers/cc-switch-import.ts",
"scripts/generate-ocx-skill-surface.ts",
"skills/ocx/"
]
},
{
"path": "gui-and-management-api.md",
"tier": 5,
"title": "GUI And Management API",
"scope": "Dashboard serving, authentication boundaries, /api/* ownership, and startup safety.",
"documents": [
"gui/",
"src/companion/",
"src/codex/",
"src/lib/",
"src/server/",
"src/usage/",
"src/usage/timeline.ts",
"src/vision/"
]
},
{
"path": "provider-completion-diagnostic.md",
"tier": 5,
"title": "Provider Completion Diagnostic",
"scope": "Explicit single-model completion test: consent, applicability gate, send-time authority fingerprint, bounded streaming and metadata comparison.",
"documents": [
"gui/",
"src/cli/",
"src/server/"
]
},
{
"path": "dashboard-and-usage.md",
"tier": 5,
"title": "Dashboard Surfaces And Usage",
"scope": "Dashboard page contracts, usage accounting and request metrics, and per-surface management settings.",
"documents": [
"gui/",
"src/codex/",
"src/lib/",
"src/quota/",
"src/routing/history/",
"src/server/",
"src/usage/"
]
},
{
"path": "usage-client-attribution.md",
"tier": 5,
"title": "Usage Client Attribution",
"scope": "Privacy-bounded client labels carried from request ingress into usage records.",
"documents": [
"src/usage/client.ts",
"src/usage/source-filter.ts",
"src/usage/summary.ts",
"src/server/request-log.ts",
"src/server/index/",
"src/server/management/logs-usage-routes.ts",
"src/server/management/usage-aggregate-cache.ts",
"src/server/hub-usage.ts",