@@ -5,12 +5,15 @@ belong in `docs-site/`; historical investigations belong in `docs/`.
55
66## Reading order
77
8- | Folder | Purpose |
8+ | File | Purpose |
99| --- | --- |
10- | [ ` runtime/ ` ] ( runtime/ ) | Process lifecycle, CLI, server endpoints, config, providers, adapters, GUI API. |
11- | [ ` codex/ ` ] ( codex/ ) | ` CODEX_HOME ` , config injection, shared catalog, Codex App, subagent ordering. |
12- | [ ` transports/ ` ] ( transports/ ) | Responses HTTP/SSE, optional WebSocket advertisement, sidecars, native passthrough. |
13- | [ ` docs-release/ ` ] ( docs-release/ ) | Public docs site, GitHub Pages publishing, release/build ownership. |
10+ | [ ` 00_overview.md ` ] ( 00_overview.md ) | Product boundary, local state, and non-negotiable invariants. |
11+ | [ ` 01_runtime.md ` ] ( 01_runtime.md ) | Process lifecycle, CLI, server endpoints, config, providers, adapters. |
12+ | [ ` 02_config-and-codex-home.md ` ] ( 02_config-and-codex-home.md ) | ` CODEX_HOME ` , config injection, profile files, restore rules. |
13+ | [ ` 03_catalog-and-subagents.md ` ] ( 03_catalog-and-subagents.md ) | Shared Codex catalog, Codex App picker, subagent ordering. |
14+ | [ ` 04_transports-and-sidecars.md ` ] ( 04_transports-and-sidecars.md ) | Responses HTTP/SSE, WebSocket opt-in, sidecars, compatibility guards. |
15+ | [ ` 05_gui-and-management-api.md ` ] ( 05_gui-and-management-api.md ) | Dashboard serving and ` /api/* ` management surface. |
16+ | [ ` 06_docs-and-release.md ` ] ( 06_docs-and-release.md ) | Public docs site, GitHub Pages, README ownership, release flow. |
1417
1518## Product boundary
1619
@@ -49,3 +52,9 @@ configured `defaultProvider`.
4952- Routed model slugs use ` provider/model ` .
5053- Codex ` spawn_agent ` visibility depends on the first five featured catalog entries.
5154- ` ocx stop ` , ` ocx restore ` , and service stop/uninstall must leave native Codex usable.
55+
56+ ## Writing rule
57+
58+ Keep this directory flat. Add or extend lexicographically ordered ` NN_topic.md ` files; do not add
59+ subdirectories. If one file grows too broad, split the next stable topic into the next unused number
60+ instead of creating nested folders.
0 commit comments