Repository navigation
Expand file tree
/
Copy pathmanifest.json
More file actions
857 lines (857 loc) · 25.6 KB
/
Copy pathmanifest.json
File metadata and controls
857 lines (857 loc) · 25.6 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
{
"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": "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.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"
]
},
{
"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": "local-messaging.md",
"tier": 3,
"title": "Local Codex Messaging",
"scope": "Command-local metadata discovery, Unix RPC queued submission, peer envelopes, receipts and owned lifecycle bounds.",
"documents": [
"src/messaging/",
"src/cli/"
]
},
{
"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": "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": "advisor.md",
"tier": 2,
"title": "Advisor Sidecar",
"scope": "The OpenCodex-owned expert consultation sidecar: synthetic advisor tool, preflight policy, loopback consultation through the routing authority, and the optional-subsystem seam.",
"documents": [
"src/advisor/",
"src/server/responses/advisor-slot.ts",
"src/server/responses/advisor-plan-slot.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/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/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/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/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-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-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/oauth/",
"src/providers/",
"src/responses/",
"src/server/",
"src/types/",
"src/web-search/"
]
},
{
"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/"
]
},
{
"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/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/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/"
]
},
{
"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/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, and reasoning round-trip.",
"documents": [
"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/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": "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/",
"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": "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": "clients/integrations.md",
"tier": 5,
"title": "Client Integrations",
"scope": "Third-party client config ownership, snapshots, refresh, disable, and restore.",
"documents": [
"src/cli/",
"src/clients/",
"src/integrations/",
"src/lib/"
]
},
{
"path": "clients/codex-desktop.md",
"tier": 5,
"title": "Codex Desktop Compatibility",
"scope": "Windows package activation, restart context, and protected compatibility authority persistence.",
"documents": ["src/codex/", "src/cli/"]
},
{
"path": "clients/chatgpt-desktop.md",
"tier": 5,
"title": "ChatGPT Desktop",
"scope": "Experimental macOS app-server stdout shim, opt-in launch, restore and failure boundaries.",
"documents": [
"src/chatgpt/",
"src/cli/",
"src/codex/"
]
},
{
"path": "clients/claude-desktop.md",
"tier": 5,
"title": "Claude Desktop Integration",
"scope": "Claude Desktop profile ownership and config-library resolution.",
"documents": [
"src/claude/",
"src/cli/",
"src/client/",
"src/server/"
]
},
{
"path": "clients/claude-desktop-config-reads.md",
"tier": 5,
"title": "Claude Desktop Configuration Reads",
"scope": "Verified regular-file reads of Claude Desktop config-library metadata, profiles and snapshots.",
"documents": [
"src/claude/"
]
},
{
"path": "clients/qoder.md",
"tier": 5,
"title": "Qoder Client Integration",
"scope": "Qoder settings.json provider and custom-model ownership, export and loopback placeholder rules.",
"documents": [
"src/clients/",
"src/integrations/"
]
},
{
"path": "desktop-shell.md",
"tier": 6,
"title": "Desktop shell",
"scope": "Tauri desktop shell, proxy attachment and sidecar lifecycle, tray controls, bootstrap navigation, and desktop companion presence.",
"documents": [
"desktop/",
"src/server/management/companion-routes.ts"
]
},
{
"path": "desktop-terminal-command.md",
"tier": 6,
"title": "Desktop-owned terminal command",
"scope": "Desktop-owned ocx command on PATH: record and journal, POSIX shim and shell blocks, Windows user Path, private-path ACL policy, and the local Terminal command page.",
"documents": [
"desktop/src-tauri/src/cli_command.rs",
"desktop/src-tauri/src/cli_command_record.rs",
"desktop/src-tauri/src/cli_command_posix.rs",
"desktop/src-tauri/src/cli_command_windows.rs",
"desktop/ui/cli.html",
"desktop/ui/cli.js"
]
},
{
"path": "desktop-start-at-login.md",
"tier": 6,
"title": "Desktop Start at Login",
"scope": "macOS tray Start at Login judgment shared with Startup safety, its parity fixture, click rules, and the guarded launch-origin migration.",
"documents": [
"desktop/src-tauri/src/first_run.rs",
"desktop/src-tauri/src/login_registration.rs",
"desktop/src-tauri/src/tray_login.rs",
"src/service/desktop-startup.ts"
]
},
{
"path": "ops/service-and-sidecars.md",
"tier": 6,
"title": "Background Service And Sidecars",
"scope": "Service install/repair, platform launchers, tray, and sidecar processes.",
"documents": [
"src/lib/",
"src/server/",
"src/service-manager-probe.ts",
"src/sidecar/",
"src/update/"
]
},
{
"path": "ops/service-logging.md",
"tier": 6,
"title": "Managed Service Logging",
"scope": "Service-only console timestamps and bounded copy-truncate log retention.",
"documents": ["src/service/logging.ts"]
},
{
"path": "ops/service-health-recovery.md",
"tier": 6,
"title": "Service Health Recovery",
"scope": "Opt-in sentinel that turns a hung but listening managed service proxy into an exit its manager restarts.",
"documents": [
"src/service/health-sentinel-launch.ts",
"src/service/health-sentinel-main.ts",
"src/service/health-sentinel-policy.ts",
"src/service/health-sentinel-probe.ts",
"src/service/health-sentinel-windows.ts"
]
},
{
"path": "ops/update-supervised-recovery.md",
"tier": 6,
"title": "Update Supervised Recovery",
"scope": "Manager-first recovery after a failed post-update service refresh, and the non-zero unsupervised fallback.",
"documents": [
"src/update/supervised-recovery.mjs",
"src/update/job-supervised-restart.ts",
"src/update/job.ts"
]
},
{
"path": "ops/plugins.md",
"tier": 6,
"title": "Local Plugins",
"scope": "Plugin loading from OPENCODEX_HOME/plugins and the upstream rewrite slot plugins attach to.",
"documents": [
"src/plugins/"
]
},
{
"path": "ops/docs-and-release.md",
"tier": 6,
"title": "Docs And Release",
"scope": "Docs site, workflow map, branch policy, release flow, and cross-platform CI.",
"documents": [
".github/",
"bin/",
"docs-site/",
"scripts/",
"src/cli.ts",
"src/cli/",
"src/codex/",
"src/lib/",
"src/service.ts"
]
},
{
"path": "design-methodology.md",
"tier": 6,
"title": "Design Methodology For New Surfaces",
"scope": "Stage ordering for new GUI, CLI, and user-facing surfaces.",
"documents": [
"gui/"
]
},
{
"path": "remote-workspace.md",
"tier": 3,
"title": "Remote Workspace",
"scope": "Opt-in workspace identity, executor grants, runtime adapters, management and dashboard integration.",
"documents": [
"src/remote-control/"
]
},
{
"path": "remote-link.md",
"tier": 3,
"title": "Remote Link",
"scope": "SSH machine-link building blocks: OpenSSH argument policy, ssh_config candidates, tunnel lifecycle reducer, the private link store, and standalone pairing-grant delivery.",
"documents": [
"src/link/",
"src/lib/gui-pair-intent.ts",
"src/lib/windows-owner-acl.ts",
"src/server/gui-pair-delivery.ts"
]
},
{
"path": "companion.md",
"tier": 5,
"title": "Companion usage",
"scope": "Shared timeline filtering, usage/quotas, native and web tray title, and WidgetKit display contracts.",
"documents": [
"src/companion/",
"src/usage/",
"gui/",
"app/",
"desktop/"
]
},
{
"path": "config-proxy.md",
"tier": 2,
"title": "Proxy Configuration",
"scope": "Global proxy activation, start flags, and credential-safe CLI output.",
"documents": []
},
{
"path": "codex-account-controls.md",
"tier": 5,
"title": "Codex Account Controls",
"scope": "Account selection order, custom usage thresholds, and stable account-card editing.",
"documents": []
},
{
"path": "ops/cross-platform-ci.md",
"tier": 6,
"title": "Cross-platform CI",
"scope": "Test lanes, platform coverage, aggregate gating, and release CI proof.",
"documents": []
},
{
"path": "ops/test-sandbox-cleanup.md",
"tier": 6,
"title": "Test Sandbox Cleanup",
"scope": "Test-runner home and case-scoped lifecycle teardown ordering.",
"documents": [
"tests/"
]
}
],
"contracts": {
"version": 1,
"entries": [
{
"id": "paginated-history-writer",
"owner": {
"document": "codex-home.md",
"anchor": "paginated-history-writer-boundary"
},
"dependents": [
"catalog.md",
"config.md",
"dashboard-and-usage.md",
"ops/docs-and-release.md",
"providers/openai-accounts.md",
"runtime.md",
"subagents.md"
]
},
{
"id": "request-copy-accounting",
"owner": {
"document": "transports/byte-accounting.md",
"anchor": "request-copy-accounting"
},
"dependents": [
"adapters/registry.md",
"catalog.md",
"clients/claude-desktop.md",
"clients/integrations.md",
"data-planes/images.md",
"data-planes/inbound-compat.md",
"ops/docs-and-release.md",
"ops/service-and-sidecars.md",
"overview.md",
"providers/chat-compat.md",
"providers/cursor.md",
"providers/xai-grok.md",
"runtime.md",
"subagents.md",
"transports/inventory.md",
"transports/streaming-health.md"
]
},
{
"id": "stream-buffer-accounting",
"owner": {
"document": "transports/byte-accounting.md",
"anchor": "stream-buffer-accounting"
},
"dependents": [
"adapters/registry.md",
"catalog.md",
"clients/claude-desktop.md",
"clients/integrations.md",
"data-planes/images.md",
"data-planes/inbound-compat.md",
"ops/docs-and-release.md",
"ops/service-and-sidecars.md",
"overview.md",
"providers/chat-compat.md",
"providers/cursor.md",
"providers/xai-grok.md",
"runtime.md",
"subagents.md",
"transports/inventory.md",
"transports/streaming-health.md"
]
}
]
},
"grace": {
"undocumentedSourceAreas": [],
"unboundInvariants": [
{
"id": "INV-HOME-01",
"reason": "no test asserts CODEX_HOME precedence over ~/.codex directly; the closest coverage is WSL home discovery"
},
{
"id": "INV-SLUG-01",
"reason": "no test constrains routed slug shape; the ten files that mention provider/model consume slugs rather than enforcing the form"
}
],
"oversizeDocs": [],
"staleRefs": []
}
}