openai / codex
Features of Interest

Aspects in the source code identified through RegEx patterns.

Intro
  • Features of interest are any aspects of a software system that can be identified through patterns in code.
  • Features of interest provide you with a way to focus your attention on relevant parts of the codebase.
  • Typical examples include, security, TODOs, logging.
  • A feature of interest may be present in multiple files. Any source code file may be in zero or multiple features of interest.
Overview

TECHNICAL DEBT

TODOs
111,212 LOC (14%) 129 files | found text per file | found text
deprecated APIs
15,140 LOC (2%) 13 files | found text per file | found text
suppressed lints
163,206 LOC (21%) 187 files | found text per file | found text

SECURITY: TRUST BOUNDARIES

sandbox escape hatches
75,796 LOC (10%) 47 files | found text per file | found text
approval and exec policy
209,483 LOC (27%) 266 files | found text per file | found text
sandbox confinement
184,160 LOC (24%) 226 files | found text per file | found text
unsafe code
50,278 LOC (6%) 97 files | found text per file | found text
SAFETY comments
8,987 LOC (1%) 23 files | found text per file | found text

ROBUSTNESS

panics and unwraps
275,455 LOC (36%) 301 files | found text per file | found text

OBSERVABILITY

telemetry emission
126,691 LOC (16%) 191 files | found text per file | found text

DOMAIN: CODEX

feature-gated code
97,312 LOC (12%) 104 files | found text per file | found text
model providers and wire API
56,775 LOC (7%) 86 files | found text per file | found text
platform-specific code
143,990 LOC (19%) 220 files | found text per file | found text
os: macos
36,909 LOC (4%) 49 files
os: windows
43,355 LOC (5%) 54 files
os: linux
12,343 LOC (1%) 22 files
os: android
1,315 LOC (<1%) 2 files
1 TECHNICAL DEBT Concerns
  • The "technical debt" group contains 8 concerns.
    • TODOs
    • deprecated APIs
    • suppressed lints
    • Unclassified
    • Multiple Classifications
    • - TODOs (50%) AND suppressed lints (34%)
    • - TODOs (5%) AND deprecated APIs (37%)
    • - deprecated APIs (46%) AND suppressed lints (4%)
technical debt
1.1 TODOs
111,212 LOC (14%) 129 files | found text per file | found text
  • The following criteria are used to filter files:
    • files with any line of content like ".*\b(TODO|FIXME|HACK|XXX)\b.*".
  • 129 files match defined criteria (111,212 LOC, 14.8% vs. main code):
    • 128 *.rs files (111,202 LOC)
    • 1 *.toml files (10 LOC)
  • 255 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 15 files, 16,096 LOC (9%)
core enginein 45 files, 32,388 LOC (30%)
app-server APIin 16 files, 21,777 LOC (25%)
extensibility (MCP, plugins, skills, hooks)in 16 files, 11,089 LOC (18%)
sandboxing & policyin 9 files, 7,423 LOC (15%)
persistence (rollout, state, thread-store)in 1 file 1,449 LOC (2%)
CLI & headless frontendsin 2 files, 2,146 LOC (4%)
extensions (ext/*)in 4 files, 393 LOC (1%)
exec-server (sandboxed executor)in 6 files, 6,956 LOC (26%)
model backends & API clientsin 5 files, 3,206 LOC (13%)
shared infrastructure (utils & leaf crates)in 3 files, 2,978 LOC (13%)
protocol (shared vocabulary)in 4 files, 4,317 LOC (21%)
configurationin 1 file 442 LOC (2%)
repo tooling & CIin 1 file 10 LOC (<1%)
code-mode (V8 runtime)in 1 file 542 LOC (3%)

per component - by-layer logical decomposition

frontendsin 17 files, 18,242 LOC (8%)
services (config, persistence, sandbox, exec-server, models, auth)in 26 files, 20,575 LOC (11%)
API server & extensionsin 32 files, 32,160 LOC (20%)
enginein 46 files, 32,930 LOC (28%)
vocabulary & utilitiesin 7 files, 7,295 LOC (15%)
technical debt
1.2 deprecated APIs
  • The following criteria are used to filter files:
    • files with any line of content like ".*(#\[deprecated|\bDEPRECATED\b|@deprecated).*".
  • 13 files match defined criteria (15,140 LOC, 2.0% vs. main code). All matches are in *.rs files.
  • 31 lines match the content pattern.
details...

per component - primary logical decomposition

core enginein 4 files, 5,203 LOC (4%)
app-server APIin 4 files, 7,710 LOC (9%)
extensibility (MCP, plugins, skills, hooks)in 1 file 352 LOC (<1%)
persistence (rollout, state, thread-store)in 2 files, 1,576 LOC (3%)
model backends & API clientsin 1 file 236 LOC (<1%)
protocol (shared vocabulary)in 1 file 63 LOC (<1%)

per component - by-layer logical decomposition

services (config, persistence, sandbox, exec-server, models, auth)in 2 files, 1,576 LOC (<1%)
API server & extensionsin 5 files, 8,062 LOC (5%)
enginein 4 files, 5,203 LOC (4%)
vocabulary & utilitiesin 2 files, 299 LOC (<1%)
technical debt
1.3 suppressed lints
163,206 LOC (21%) 187 files | found text per file | found text
  • The following criteria are used to filter files:
    • files with any line of content like ".*#\[(allow|expect)\(.*".
  • 187 files match defined criteria (163,206 LOC, 21.7% vs. main code). All matches are in *.rs files.
  • 418 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 37 files, 35,159 LOC (19%)
core enginein 43 files, 38,236 LOC (36%)
app-server APIin 13 files, 21,336 LOC (24%)
extensibility (MCP, plugins, skills, hooks)in 23 files, 13,982 LOC (23%)
sandboxing & policyin 24 files, 10,668 LOC (21%)
persistence (rollout, state, thread-store)in 7 files, 6,650 LOC (13%)
CLI & headless frontendsin 8 files, 10,877 LOC (24%)
extensions (ext/*)in 2 files, 929 LOC (3%)
exec-server (sandboxed executor)in 2 files, 375 LOC (1%)
model backends & API clientsin 5 files, 4,498 LOC (18%)
shared infrastructure (utils & leaf crates)in 8 files, 3,644 LOC (16%)
protocol (shared vocabulary)in 7 files, 10,858 LOC (54%)
configurationin 3 files, 2,438 LOC (12%)
code-mode (V8 runtime)in 1 file 240 LOC (1%)
auth & identityin 4 files, 3,316 LOC (39%)

per component - by-layer logical decomposition

frontendsin 45 files, 46,036 LOC (20%)
services (config, persistence, sandbox, exec-server, models, auth)in 53 files, 33,488 LOC (17%)
API server & extensionsin 30 files, 30,404 LOC (19%)
enginein 42 files, 37,353 LOC (31%)
vocabulary & utilitiesin 17 files, 15,925 LOC (33%)
technical debt
1.4 Multiple ClassificationsTODOs (50%) AND suppressed lints (34%)
55,287 LOC (7%) 40 files

details...

per component - primary logical decomposition

TUI frontendin 2 files, 5,028 LOC (2%)
core enginein 20 files, 22,272 LOC (21%)
app-server APIin 4 files, 12,290 LOC (14%)
extensibility (MCP, plugins, skills, hooks)in 4 files, 2,720 LOC (4%)
sandboxing & policyin 3 files, 3,036 LOC (6%)
persistence (rollout, state, thread-store)in 1 file 1,449 LOC (2%)
CLI & headless frontendsin 1 file 1,993 LOC (4%)
model backends & API clientsin 1 file 831 LOC (3%)
shared infrastructure (utils & leaf crates)in 1 file 1,375 LOC (6%)
protocol (shared vocabulary)in 3 files, 4,293 LOC (21%)

per component - by-layer logical decomposition

frontendsin 3 files, 7,021 LOC (3%)
services (config, persistence, sandbox, exec-server, models, auth)in 6 files, 5,597 LOC (2%)
API server & extensionsin 7 files, 14,729 LOC (9%)
enginein 20 files, 22,272 LOC (19%)
vocabulary & utilitiesin 4 files, 5,668 LOC (12%)
technical debt
1.5 Multiple ClassificationsTODOs (5%) AND deprecated APIs (37%)
5,538 LOC (<1%) 4 files

details...

per component - primary logical decomposition

core enginein 1 file 987 LOC (<1%)
app-server APIin 2 files, 3,102 LOC (3%)
persistence (rollout, state, thread-store)in 1 file 1,449 LOC (2%)

per component - by-layer logical decomposition

services (config, persistence, sandbox, exec-server, models, auth)in 1 file 1,449 LOC (<1%)
API server & extensionsin 2 files, 3,102 LOC (1%)
enginein 1 file 987 LOC (<1%)
technical debt
1.6 Multiple Classificationsdeprecated APIs (46%) AND suppressed lints (4%)
6,944 LOC (<1%) 4 files

details...

per component - primary logical decomposition

core enginein 1 file 987 LOC (<1%)
app-server APIin 1 file 4,156 LOC (4%)
extensibility (MCP, plugins, skills, hooks)in 1 file 352 LOC (<1%)
persistence (rollout, state, thread-store)in 1 file 1,449 LOC (2%)

per component - by-layer logical decomposition

services (config, persistence, sandbox, exec-server, models, auth)in 1 file 1,449 LOC (<1%)
API server & extensionsin 2 files, 4,508 LOC (2%)
enginein 1 file 987 LOC (<1%)
2 SECURITY: TRUST BOUNDARIES Concerns
  • The "security: trust boundaries" group contains 16 concerns.
    • sandbox escape hatches
    • approval and exec policy
    • sandbox confinement
    • unsafe code
    • SAFETY comments
    • Unclassified
    • Multiple Classifications
    • - approval and exec policy (64%) AND sandbox confinement (73%)
    • - unsafe code (18%) AND SAFETY comments (100%)
    • - sandbox confinement (12%) AND unsafe code (46%)
    • - sandbox confinement (2%) AND SAFETY comments (41%)
    • - sandbox escape hatches (87%) AND sandbox confinement (36%)
    • - sandbox escape hatches (84%) AND approval and exec policy (31%)
    • - sandbox escape hatches (20%) AND unsafe code (30%)
    • - approval and exec policy (6%) AND unsafe code (26%)
    • - approval and exec policy (<1%) AND SAFETY comments (20%)
security: trust boundaries
2.7 sandbox escape hatches
75,796 LOC (10%) 47 files | found text per file | found text
  • The following criteria are used to filter files:
    • files with any line of content like ".*(DangerFullAccess|dangerously[_-]bypass|ExternalSandbox|bypass_approvals|\byolo\b|CODEX_SANDBOX_[A-Z_]+).*".
  • 47 files match defined criteria (75,796 LOC, 10.1% vs. main code):
    • 46 *.rs files (75,743 LOC)
    • 1 *.py files (53 LOC)
  • 230 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 6 files, 14,339 LOC (8%)
core enginein 8 files, 10,795 LOC (10%)
app-server APIin 6 files, 16,105 LOC (18%)
extensibility (MCP, plugins, skills, hooks)in 1 file 352 LOC (<1%)
sandboxing & policyin 4 files, 3,520 LOC (7%)
persistence (rollout, state, thread-store)in 3 files, 1,588 LOC (3%)
CLI & headless frontendsin 7 files, 10,738 LOC (23%)
exec-server (sandboxed executor)in 1 file 402 LOC (1%)
model backends & API clientsin 3 files, 713 LOC (2%)
protocol (shared vocabulary)in 5 files, 12,195 LOC (60%)
configurationin 2 files, 4,996 LOC (25%)
sdk (TypeScript & Python)in 1 file 53 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 13 files, 25,077 LOC (11%)
services (config, persistence, sandbox, exec-server, models, auth)in 13 files, 11,219 LOC (6%)
API server & extensionsin 7 files, 16,457 LOC (10%)
enginein 8 files, 10,795 LOC (9%)
vocabulary & utilitiesin 5 files, 12,195 LOC (25%)
security: trust boundaries
2.8 approval and exec policy
209,483 LOC (27%) 266 files | found text per file | found text
  • The following criteria are used to filter files:
    • files with any line of content like ".*(AskForApproval|ReviewDecision|ExecPolicy|exec_policy|[Gg]uardian|approval_policy).*".
  • 266 files match defined criteria (209,483 LOC, 27.8% vs. main code):
    • 258 *.rs files (206,238 LOC)
    • 5 *.py files (2,123 LOC)
    • 3 *.ts files (1,122 LOC)
  • 4,821 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 53 files, 48,612 LOC (27%)
core enginein 76 files, 54,095 LOC (51%)
app-server APIin 33 files, 41,292 LOC (48%)
extensibility (MCP, plugins, skills, hooks)in 9 files, 3,094 LOC (5%)
sandboxing & policyin 11 files, 6,737 LOC (13%)
persistence (rollout, state, thread-store)in 13 files, 7,426 LOC (15%)
CLI & headless frontendsin 8 files, 11,464 LOC (25%)
extensions (ext/*)in 20 files, 4,572 LOC (17%)
exec-server (sandboxed executor)in 1 file 828 LOC (3%)
model backends & API clientsin 2 files, 252 LOC (1%)
shared infrastructure (utils & leaf crates)in 11 files, 7,135 LOC (32%)
protocol (shared vocabulary)in 7 files, 10,144 LOC (50%)
configurationin 16 files, 11,286 LOC (57%)
repo tooling & CIin 1 file 172 LOC (1%)
sdk (TypeScript & Python)in 5 files, 2,374 LOC (39%)

per component - by-layer logical decomposition

frontendsin 61 files, 60,076 LOC (26%)
services (config, persistence, sandbox, exec-server, models, auth)in 44 files, 27,177 LOC (14%)
API server & extensionsin 61 files, 48,310 LOC (30%)
enginein 76 files, 54,095 LOC (46%)
vocabulary & utilitiesin 18 files, 17,279 LOC (36%)
security: trust boundaries
2.9 sandbox confinement
184,160 LOC (24%) 226 files | found text per file | found text
  • The following criteria are used to filter files:
    • files with any line of content like ".*(SandboxPolicy|PermissionProfile|WritableRoot|seatbelt|bubblewrap|bwrap|seccomp|[Ll]andlock|no_new_privs|restricted[_ ]token|process_hardening).*".
  • 226 files match defined criteria (184,160 LOC, 24.5% vs. main code):
    • 218 *.rs files (182,730 LOC)
    • 6 *.py files (822 LOC)
    • 1 *.ts files (607 LOC)
    • 1 *.h files (1 LOC)
  • 2,916 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 44 files, 41,219 LOC (23%)
core enginein 52 files, 38,077 LOC (36%)
app-server APIin 23 files, 34,839 LOC (40%)
extensibility (MCP, plugins, skills, hooks)in 5 files, 2,710 LOC (4%)
sandboxing & policyin 44 files, 17,144 LOC (34%)
persistence (rollout, state, thread-store)in 11 files, 7,453 LOC (15%)
CLI & headless frontendsin 9 files, 8,528 LOC (19%)
extensions (ext/*)in 4 files, 1,284 LOC (4%)
exec-server (sandboxed executor)in 7 files, 5,904 LOC (22%)
model backends & API clientsin 2 files, 600 LOC (2%)
shared infrastructure (utils & leaf crates)in 4 files, 5,882 LOC (26%)
protocol (shared vocabulary)in 9 files, 12,753 LOC (63%)
configurationin 5 files, 6,673 LOC (33%)
repo tooling & CIin 4 files, 692 LOC (4%)
auth & identityin 1 file 272 LOC (3%)
sdk (TypeScript & Python)in 2 files, 130 LOC (2%)

per component - by-layer logical decomposition

frontendsin 53 files, 49,747 LOC (22%)
services (config, persistence, sandbox, exec-server, models, auth)in 70 files, 37,927 LOC (20%)
API server & extensionsin 32 files, 38,833 LOC (24%)
enginein 51 files, 37,606 LOC (32%)
vocabulary & utilitiesin 14 files, 19,225 LOC (40%)
security: trust boundaries
2.10 unsafe code
  • The following criteria are used to filter files:
    • files with any line of content like ".*\bunsafe (\{|fn|impl|extern|trait).*".
  • 97 files match defined criteria (50,278 LOC, 6.7% vs. main code). All matches are in *.rs files.
  • 683 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 13 files, 13,270 LOC (7%)
core enginein 2 files, 434 LOC (<1%)
app-server APIin 3 files, 2,409 LOC (2%)
extensibility (MCP, plugins, skills, hooks)in 2 files, 1,172 LOC (1%)
sandboxing & policyin 49 files, 17,626 LOC (35%)
CLI & headless frontendsin 9 files, 5,388 LOC (12%)
exec-server (sandboxed executor)in 4 files, 1,351 LOC (5%)
model backends & API clientsin 3 files, 965 LOC (3%)
shared infrastructure (utils & leaf crates)in 6 files, 743 LOC (3%)
protocol (shared vocabulary)in 1 file 3,981 LOC (19%)
configurationin 2 files, 2,021 LOC (10%)
code-mode (V8 runtime)in 2 files, 347 LOC (2%)
auth & identityin 1 file 571 LOC (6%)

per component - by-layer logical decomposition

frontendsin 22 files, 18,658 LOC (8%)
services (config, persistence, sandbox, exec-server, models, auth)in 59 files, 23,010 LOC (12%)
API server & extensionsin 3 files, 2,409 LOC (1%)
enginein 3 files, 712 LOC (<1%)
vocabulary & utilitiesin 10 files, 5,489 LOC (11%)
security: trust boundaries
2.11 SAFETY comments
  • The following criteria are used to filter files:
    • files with any line of content like ".*//[/!]?\s*SAFETY:.*".
  • 23 files match defined criteria (8,987 LOC, 1.2% vs. main code). All matches are in *.rs files.
  • 60 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 2 files, 398 LOC (<1%)
app-server APIin 1 file 1,015 LOC (1%)
sandboxing & policyin 11 files, 3,590 LOC (7%)
CLI & headless frontendsin 1 file 174 LOC (<1%)
exec-server (sandboxed executor)in 3 files, 1,040 LOC (3%)
shared infrastructure (utils & leaf crates)in 3 files, 387 LOC (1%)
configurationin 1 file 1,812 LOC (9%)
auth & identityin 1 file 571 LOC (6%)

per component - by-layer logical decomposition

frontendsin 3 files, 572 LOC (<1%)
services (config, persistence, sandbox, exec-server, models, auth)in 16 files, 7,013 LOC (3%)
API server & extensionsin 1 file 1,015 LOC (<1%)
vocabulary & utilitiesin 3 files, 387 LOC (<1%)
security: trust boundaries
2.12 Multiple Classificationsapproval and exec policy (64%) AND sandbox confinement (73%)
134,933 LOC (17%) 114 files

details...

per component - primary logical decomposition

TUI frontendin 36 files, 38,763 LOC (21%)
core enginein 30 files, 31,515 LOC (30%)
app-server APIin 18 files, 30,040 LOC (35%)
extensibility (MCP, plugins, skills, hooks)in 2 files, 1,121 LOC (1%)
sandboxing & policyin 1 file 12 LOC (<1%)
persistence (rollout, state, thread-store)in 9 files, 6,231 LOC (12%)
CLI & headless frontendsin 2 files, 6,302 LOC (14%)
extensions (ext/*)in 3 files, 1,217 LOC (4%)
shared infrastructure (utils & leaf crates)in 4 files, 5,882 LOC (26%)
protocol (shared vocabulary)in 4 files, 7,457 LOC (37%)
configurationin 4 files, 6,316 LOC (32%)
sdk (TypeScript & Python)in 1 file 77 LOC (1%)

per component - by-layer logical decomposition

frontendsin 38 files, 45,065 LOC (20%)
services (config, persistence, sandbox, exec-server, models, auth)in 14 files, 12,559 LOC (6%)
API server & extensionsin 23 files, 32,378 LOC (20%)
enginein 30 files, 31,515 LOC (26%)
vocabulary & utilitiesin 8 files, 13,339 LOC (28%)
security: trust boundaries
2.13 Multiple Classificationsunsafe code (18%) AND SAFETY comments (100%)
8,987 LOC (1%) 23 files

details...

per component - primary logical decomposition

TUI frontendin 2 files, 398 LOC (<1%)
app-server APIin 1 file 1,015 LOC (1%)
sandboxing & policyin 11 files, 3,590 LOC (7%)
CLI & headless frontendsin 1 file 174 LOC (<1%)
exec-server (sandboxed executor)in 3 files, 1,040 LOC (3%)
shared infrastructure (utils & leaf crates)in 3 files, 387 LOC (1%)
configurationin 1 file 1,812 LOC (9%)
auth & identityin 1 file 571 LOC (6%)

per component - by-layer logical decomposition

frontendsin 3 files, 572 LOC (<1%)
services (config, persistence, sandbox, exec-server, models, auth)in 16 files, 7,013 LOC (3%)
API server & extensionsin 1 file 1,015 LOC (<1%)
vocabulary & utilitiesin 3 files, 387 LOC (<1%)
security: trust boundaries
2.14 Multiple Classificationssandbox confinement (12%) AND unsafe code (46%)
23,007 LOC (3%) 25 files

details...

per component - primary logical decomposition

TUI frontendin 2 files, 8,208 LOC (4%)
core enginein 1 file 90 LOC (<1%)
sandboxing & policyin 19 files, 9,275 LOC (18%)
CLI & headless frontendsin 1 file 661 LOC (1%)
exec-server (sandboxed executor)in 1 file 792 LOC (3%)
protocol (shared vocabulary)in 1 file 3,981 LOC (19%)

per component - by-layer logical decomposition

frontendsin 3 files, 8,869 LOC (3%)
services (config, persistence, sandbox, exec-server, models, auth)in 20 files, 10,067 LOC (5%)
enginein 1 file 90 LOC (<1%)
vocabulary & utilitiesin 1 file 3,981 LOC (8%)
security: trust boundaries
2.15 Multiple Classificationssandbox confinement (2%) AND SAFETY comments (41%)
3,704 LOC (<1%) 9 files

details...

per component - primary logical decomposition

sandboxing & policyin 8 files, 2,912 LOC (5%)
exec-server (sandboxed executor)in 1 file 792 LOC (3%)

per component - by-layer logical decomposition

services (config, persistence, sandbox, exec-server, models, auth)in 9 files, 3,704 LOC (1%)
security: trust boundaries
2.16 Multiple Classificationssandbox escape hatches (87%) AND sandbox confinement (36%)
66,135 LOC (8%) 34 files

details...

per component - primary logical decomposition

TUI frontendin 4 files, 13,740 LOC (7%)
core enginein 8 files, 10,795 LOC (10%)
app-server APIin 4 files, 14,782 LOC (17%)
sandboxing & policyin 3 files, 968 LOC (1%)
persistence (rollout, state, thread-store)in 3 files, 1,588 LOC (3%)
CLI & headless frontendsin 4 files, 7,421 LOC (16%)
exec-server (sandboxed executor)in 1 file 402 LOC (1%)
protocol (shared vocabulary)in 4 files, 11,390 LOC (56%)
configurationin 2 files, 4,996 LOC (25%)
sdk (TypeScript & Python)in 1 file 53 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 8 files, 21,161 LOC (9%)
services (config, persistence, sandbox, exec-server, models, auth)in 9 files, 7,954 LOC (4%)
API server & extensionsin 4 files, 14,782 LOC (9%)
enginein 8 files, 10,795 LOC (9%)
vocabulary & utilitiesin 4 files, 11,390 LOC (24%)
security: trust boundaries
2.17 Multiple Classificationssandbox escape hatches (84%) AND approval and exec policy (31%)
63,987 LOC (8%) 29 files

details...

per component - primary logical decomposition

TUI frontendin 6 files, 14,339 LOC (8%)
core enginein 4 files, 9,399 LOC (8%)
app-server APIin 6 files, 16,105 LOC (18%)
extensibility (MCP, plugins, skills, hooks)in 1 file 352 LOC (<1%)
persistence (rollout, state, thread-store)in 3 files, 1,588 LOC (3%)
CLI & headless frontendsin 4 files, 9,397 LOC (20%)
protocol (shared vocabulary)in 3 files, 7,811 LOC (39%)
configurationin 2 files, 4,996 LOC (25%)

per component - by-layer logical decomposition

frontendsin 10 files, 23,736 LOC (10%)
services (config, persistence, sandbox, exec-server, models, auth)in 5 files, 6,584 LOC (3%)
API server & extensionsin 7 files, 16,457 LOC (10%)
enginein 4 files, 9,399 LOC (8%)
vocabulary & utilitiesin 3 files, 7,811 LOC (16%)
security: trust boundaries
2.18 Multiple Classificationssandbox escape hatches (20%) AND unsafe code (30%)
15,185 LOC (2%) 5 files

details...

per component - primary logical decomposition

TUI frontendin 1 file 7,926 LOC (4%)
core enginein 1 file 90 LOC (<1%)
sandboxing & policyin 1 file 267 LOC (<1%)
CLI & headless frontendsin 1 file 2,921 LOC (6%)
protocol (shared vocabulary)in 1 file 3,981 LOC (19%)

per component - by-layer logical decomposition

frontendsin 2 files, 10,847 LOC (4%)
services (config, persistence, sandbox, exec-server, models, auth)in 1 file 267 LOC (<1%)
enginein 1 file 90 LOC (<1%)
vocabulary & utilitiesin 1 file 3,981 LOC (8%)
security: trust boundaries
2.19 Multiple Classificationsapproval and exec policy (6%) AND unsafe code (26%)
12,960 LOC (1%) 4 files

details...

per component - primary logical decomposition

TUI frontendin 1 file 7,926 LOC (4%)
CLI & headless frontendsin 2 files, 3,222 LOC (7%)
configurationin 1 file 1,812 LOC (9%)

per component - by-layer logical decomposition

frontendsin 3 files, 11,148 LOC (5%)
services (config, persistence, sandbox, exec-server, models, auth)in 1 file 1,812 LOC (<1%)
security: trust boundaries
2.20 Multiple Classificationsapproval and exec policy (<1%) AND SAFETY comments (20%)
1,812 LOC (<1%) 1 file
details...

per component - primary logical decomposition

configurationin 1 file 1,812 LOC (9%)

per component - by-layer logical decomposition

services (config, persistence, sandbox, exec-server, models, auth)in 1 file 1,812 LOC (<1%)
3 ROBUSTNESS Concerns
  • The "robustness" group contains 2 concerns.
    • panics and unwraps
    • Unclassified
robustness
3.21 panics and unwraps
275,455 LOC (36%) 301 files | found text per file | found text
  • The following criteria are used to filter files:
    • files with any line of content like ".*(\.unwrap\(\)|\bpanic!\(|\bunreachable!\(|\btodo!\(|\bunimplemented!\().*".
  • 301 files match defined criteria (275,455 LOC, 36.6% vs. main code). All matches are in *.rs files.
  • 2,344 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 59 files, 77,356 LOC (43%)
core enginein 39 files, 31,983 LOC (30%)
app-server APIin 28 files, 43,239 LOC (50%)
extensibility (MCP, plugins, skills, hooks)in 27 files, 15,759 LOC (26%)
sandboxing & policyin 33 files, 18,493 LOC (37%)
persistence (rollout, state, thread-store)in 13 files, 16,307 LOC (33%)
CLI & headless frontendsin 16 files, 14,856 LOC (33%)
extensions (ext/*)in 18 files, 3,809 LOC (14%)
exec-server (sandboxed executor)in 8 files, 9,235 LOC (35%)
model backends & API clientsin 19 files, 8,114 LOC (32%)
shared infrastructure (utils & leaf crates)in 16 files, 9,016 LOC (40%)
protocol (shared vocabulary)in 6 files, 12,666 LOC (63%)
configurationin 6 files, 6,896 LOC (35%)
repo tooling & CIin 1 file 327 LOC (2%)
code-mode (V8 runtime)in 7 files, 2,623 LOC (18%)
auth & identityin 5 files, 4,776 LOC (57%)

per component - by-layer logical decomposition

frontendsin 75 files, 92,212 LOC (41%)
services (config, persistence, sandbox, exec-server, models, auth)in 86 files, 66,281 LOC (35%)
API server & extensionsin 68 files, 58,867 LOC (37%)
enginein 44 files, 33,483 LOC (28%)
vocabulary & utilitiesin 27 files, 24,285 LOC (51%)
4 OBSERVABILITY Concerns
  • The "observability" group contains 2 concerns.
    • telemetry emission
    • Unclassified
observability
4.22 telemetry emission
126,691 LOC (16%) 191 files | found text per file | found text
  • The following criteria are used to filter files:
    • files with any line of content like ".*(metrics\.(counter|histogram|record|gauge)|MetricsClient|codex_otel|#\[(tracing::)?instrument|traceparent|OtelManager).*".
  • 191 files match defined criteria (126,691 LOC, 16.8% vs. main code):
    • 189 *.rs files (126,440 LOC)
    • 2 *.proto files (251 LOC)
  • 579 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 9 files, 17,901 LOC (10%)
core enginein 49 files, 32,736 LOC (31%)
app-server APIin 14 files, 15,211 LOC (17%)
extensibility (MCP, plugins, skills, hooks)in 17 files, 14,626 LOC (24%)
sandboxing & policyin 3 files, 2,003 LOC (4%)
persistence (rollout, state, thread-store)in 9 files, 3,977 LOC (8%)
CLI & headless frontendsin 2 files, 2,063 LOC (4%)
extensions (ext/*)in 33 files, 9,517 LOC (36%)
exec-server (sandboxed executor)in 21 files, 13,040 LOC (49%)
model backends & API clientsin 10 files, 3,557 LOC (14%)
shared infrastructure (utils & leaf crates)in 9 files, 2,130 LOC (9%)
protocol (shared vocabulary)in 1 file 3,108 LOC (15%)
configurationin 3 files, 1,056 LOC (5%)
code-mode (V8 runtime)in 9 files, 2,998 LOC (20%)
auth & identityin 2 files, 2,768 LOC (33%)

per component - by-layer logical decomposition

frontendsin 11 files, 19,964 LOC (8%)
services (config, persistence, sandbox, exec-server, models, auth)in 49 files, 27,947 LOC (14%)
API server & extensionsin 62 files, 37,572 LOC (23%)
enginein 58 files, 35,734 LOC (30%)
vocabulary & utilitiesin 11 files, 5,474 LOC (11%)
5 DOMAIN: CODEX Concerns
  • The "domain: codex" group contains 27 concerns.
    • feature-gated code
    • model providers and wire API
    • platform-specific code
    • os: macos
    • os: windows
    • os: linux
    • os: android
    • Unclassified
    • Multiple Classifications
    • - model providers and wire API (24%) AND platform-specific code (10%)
    • - platform-specific code (26%) AND os: macos (100%)
    • - platform-specific code (29%) AND os: windows (98%)
    • - os: windows (42%) AND os: macos (49%)
    • - feature-gated code (25%) AND model providers and wire API (43%)
    • - feature-gated code (23%) AND platform-specific code (16%)
    • - platform-specific code (9%) AND os: linux (100%)
    • - os: macos (18%) AND os: linux (55%)
    • - feature-gated code (20%) AND os: windows (45%)
    • - model providers and wire API (16%) AND os: windows (21%)
    • - platform-specific code (<1%) AND os: android (100%)
    • - os: macos (2%) AND os: android (65%)
    • - os: linux (11%) AND os: android (100%)
    • - feature-gated code (11%) AND os: macos (28%)
    • - os: windows (14%) AND os: linux (50%)
    • - model providers and wire API (13%) AND os: macos (20%)
    • - feature-gated code (4%) AND os: linux (35%)
    • - model providers and wire API (8%) AND os: linux (35%)
domain: codex
5.23 feature-gated code
  • The following criteria are used to filter files:
    • files with any line of content like ".*(\bFeature::[A-Za-z]+|features\.(enabled|is_enabled)|feature_enabled).*".
  • 104 files match defined criteria (97,312 LOC, 12.9% vs. main code). All matches are in *.rs files.
  • 613 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 25 files, 28,112 LOC (15%)
core enginein 47 files, 36,678 LOC (34%)
app-server APIin 15 files, 20,370 LOC (23%)
extensibility (MCP, plugins, skills, hooks)in 2 files, 793 LOC (1%)
CLI & headless frontendsin 2 files, 7,230 LOC (16%)
extensions (ext/*)in 9 files, 2,481 LOC (9%)
configurationin 4 files, 1,648 LOC (8%)

per component - by-layer logical decomposition

frontendsin 27 files, 35,342 LOC (15%)
services (config, persistence, sandbox, exec-server, models, auth)in 4 files, 1,648 LOC (<1%)
API server & extensionsin 26 files, 23,644 LOC (14%)
enginein 47 files, 36,678 LOC (31%)
domain: codex
5.24 model providers and wire API
  • The following criteria are used to filter files:
    • files with any line of content like ".*(WireApi|ModelProviderInfo|lmstudio|ollama|ResponsesApi|/v1/responses).*".
  • 86 files match defined criteria (56,775 LOC, 7.5% vs. main code):
    • 84 *.rs files (56,572 LOC)
    • 1 *.py files (145 LOC)
    • 1 *.proto files (58 LOC)
  • 479 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 7 files, 8,320 LOC (4%)
core enginein 35 files, 25,106 LOC (23%)
CLI & headless frontendsin 4 files, 7,821 LOC (17%)
extensions (ext/*)in 10 files, 2,821 LOC (10%)
model backends & API clientsin 20 files, 6,532 LOC (26%)
shared infrastructure (utils & leaf crates)in 1 file 4 LOC (<1%)
protocol (shared vocabulary)in 1 file 3,898 LOC (19%)
configurationin 6 files, 2,047 LOC (10%)
repo tooling & CIin 1 file 145 LOC (<1%)
auth & identityin 1 file 81 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 11 files, 16,141 LOC (7%)
services (config, persistence, sandbox, exec-server, models, auth)in 25 files, 8,070 LOC (4%)
API server & extensionsin 10 files, 2,821 LOC (1%)
enginein 35 files, 25,106 LOC (21%)
vocabulary & utilitiesin 4 files, 4,492 LOC (9%)
domain: codex
5.25 platform-specific code
143,990 LOC (19%) 220 files | found text per file | found text
  • The following criteria are used to filter files:
    • files with any line of content like ".*#\[cfg\((not\()?(windows|unix|target_os|target_family).*".
  • 220 files match defined criteria (143,990 LOC, 19.1% vs. main code). All matches are in *.rs files.
  • 1,704 lines match the content pattern.
details...

per component - primary logical decomposition

TUI frontendin 52 files, 40,907 LOC (23%)
core enginein 23 files, 12,887 LOC (12%)
app-server APIin 12 files, 13,653 LOC (15%)
extensibility (MCP, plugins, skills, hooks)in 16 files, 9,895 LOC (16%)
sandboxing & policyin 31 files, 16,491 LOC (33%)
persistence (rollout, state, thread-store)in 2 files, 1,228 LOC (2%)
CLI & headless frontendsin 23 files, 13,287 LOC (29%)
extensions (ext/*)in 3 files, 804 LOC (3%)
exec-server (sandboxed executor)in 21 files, 12,950 LOC (49%)
model backends & API clientsin 4 files, 1,393 LOC (5%)
shared infrastructure (utils & leaf crates)in 14 files, 4,916 LOC (22%)
protocol (shared vocabulary)in 5 files, 9,313 LOC (46%)
configurationin 10 files, 4,538 LOC (23%)
repo tooling & CIin 1 file 327 LOC (2%)
code-mode (V8 runtime)in 1 file 542 LOC (3%)
auth & identityin 2 files, 859 LOC (10%)

per component - by-layer logical decomposition

frontendsin 75 files, 54,194 LOC (24%)
services (config, persistence, sandbox, exec-server, models, auth)in 75 files, 42,332 LOC (22%)
API server & extensionsin 25 files, 19,775 LOC (12%)
enginein 23 files, 12,376 LOC (10%)
vocabulary & utilitiesin 21 files, 14,986 LOC (31%)
domain: codex
5.26 os: macos
36,909 LOC (4%) 49 files
  • 49 files, 36,909 LOC (4.9% vs. main code).
details...

per component - primary logical decomposition

TUI frontendin 6 files, 6,003 LOC (3%)
core enginein 3 files, 837 LOC (<1%)
app-server APIin 1 file 63 LOC (<1%)
extensibility (MCP, plugins, skills, hooks)in 4 files, 2,738 LOC (4%)
sandboxing & policyin 12 files, 8,405 LOC (17%)
CLI & headless frontendsin 14 files, 10,432 LOC (23%)
exec-server (sandboxed executor)in 1 file 792 LOC (3%)
model backends & API clientsin 2 files, 757 LOC (3%)
shared infrastructure (utils & leaf crates)in 1 file 88 LOC (<1%)
protocol (shared vocabulary)in 1 file 3,981 LOC (19%)
configurationin 4 files, 2,813 LOC (14%)

per component - by-layer logical decomposition

frontendsin 20 files, 16,435 LOC (7%)
services (config, persistence, sandbox, exec-server, models, auth)in 19 files, 13,178 LOC (7%)
API server & extensionsin 3 files, 1,633 LOC (1%)
enginein 3 files, 837 LOC (<1%)
vocabulary & utilitiesin 4 files, 4,826 LOC (10%)
domain: codex
5.27 os: windows
43,355 LOC (5%) 54 files
  • 54 files, 43,355 LOC (5.8% vs. main code).
details...

per component - primary logical decomposition

TUI frontendin 19 files, 18,496 LOC (10%)
core enginein 3 files, 2,438 LOC (2%)
app-server APIin 1 file 779 LOC (<1%)
extensibility (MCP, plugins, skills, hooks)in 1 file 534 LOC (<1%)
sandboxing & policyin 9 files, 5,603 LOC (11%)
CLI & headless frontendsin 13 files, 10,873 LOC (24%)
exec-server (sandboxed executor)in 3 files, 2,363 LOC (9%)
model backends & API clientsin 1 file 704 LOC (2%)
shared infrastructure (utils & leaf crates)in 2 files, 745 LOC (3%)
protocol (shared vocabulary)in 1 file 249 LOC (1%)
auth & identityin 1 file 571 LOC (6%)

per component - by-layer logical decomposition

frontendsin 32 files, 29,369 LOC (13%)
services (config, persistence, sandbox, exec-server, models, auth)in 13 files, 8,537 LOC (4%)
API server & extensionsin 2 files, 1,313 LOC (<1%)
enginein 3 files, 2,438 LOC (2%)
vocabulary & utilitiesin 4 files, 1,698 LOC (3%)
domain: codex
5.28 os: linux
12,343 LOC (1%) 22 files
  • 22 files, 12,343 LOC (1.6% vs. main code).
details...

per component - primary logical decomposition

TUI frontendin 5 files, 3,923 LOC (2%)
core enginein 1 file 90 LOC (<1%)
sandboxing & policyin 6 files, 1,297 LOC (2%)
CLI & headless frontendsin 3 files, 5,144 LOC (11%)
exec-server (sandboxed executor)in 3 files, 839 LOC (3%)
shared infrastructure (utils & leaf crates)in 3 files, 284 LOC (1%)
protocol (shared vocabulary)in 1 file 766 LOC (3%)

per component - by-layer logical decomposition

frontendsin 8 files, 9,067 LOC (4%)
services (config, persistence, sandbox, exec-server, models, auth)in 9 files, 2,136 LOC (1%)
enginein 1 file 90 LOC (<1%)
vocabulary & utilitiesin 4 files, 1,050 LOC (2%)
domain: codex
5.29 os: android
1,315 LOC (<1%) 2 files
  • 2 files, 1,315 LOC (0.2% vs. main code).
details...

per component - primary logical decomposition

TUI frontendin 2 files, 1,315 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 2 files, 1,315 LOC (<1%)
domain: codex
5.30 Multiple Classificationsmodel providers and wire API (24%) AND platform-specific code (10%)
13,700 LOC (1%) 7 files

details...

per component - primary logical decomposition

TUI frontendin 3 files, 2,205 LOC (1%)
CLI & headless frontendsin 2 files, 7,230 LOC (16%)
model backends & API clientsin 1 file 367 LOC (1%)
protocol (shared vocabulary)in 1 file 3,898 LOC (19%)

per component - by-layer logical decomposition

frontendsin 5 files, 9,435 LOC (4%)
services (config, persistence, sandbox, exec-server, models, auth)in 1 file 367 LOC (<1%)
vocabulary & utilitiesin 1 file 3,898 LOC (8%)
domain: codex
5.31 Multiple Classificationsplatform-specific code (26%) AND os: macos (100%)
36,909 LOC (4%) 49 files

details...

per component - primary logical decomposition

TUI frontendin 6 files, 6,003 LOC (3%)
core enginein 3 files, 837 LOC (<1%)
app-server APIin 1 file 63 LOC (<1%)
extensibility (MCP, plugins, skills, hooks)in 4 files, 2,738 LOC (4%)
sandboxing & policyin 12 files, 8,405 LOC (17%)
CLI & headless frontendsin 14 files, 10,432 LOC (23%)
exec-server (sandboxed executor)in 1 file 792 LOC (3%)
model backends & API clientsin 2 files, 757 LOC (3%)
shared infrastructure (utils & leaf crates)in 1 file 88 LOC (<1%)
protocol (shared vocabulary)in 1 file 3,981 LOC (19%)
configurationin 4 files, 2,813 LOC (14%)

per component - by-layer logical decomposition

frontendsin 20 files, 16,435 LOC (7%)
services (config, persistence, sandbox, exec-server, models, auth)in 19 files, 13,178 LOC (7%)
API server & extensionsin 3 files, 1,633 LOC (1%)
enginein 3 files, 837 LOC (<1%)
vocabulary & utilitiesin 4 files, 4,826 LOC (10%)
domain: codex
5.32 Multiple Classificationsplatform-specific code (29%) AND os: windows (98%)
42,280 LOC (5%) 53 files

details...

per component - primary logical decomposition

TUI frontendin 19 files, 18,496 LOC (10%)
core enginein 3 files, 2,438 LOC (2%)
app-server APIin 1 file 779 LOC (<1%)
extensibility (MCP, plugins, skills, hooks)in 1 file 534 LOC (<1%)
sandboxing & policyin 8 files, 4,528 LOC (9%)
CLI & headless frontendsin 13 files, 10,873 LOC (24%)
exec-server (sandboxed executor)in 3 files, 2,363 LOC (9%)
model backends & API clientsin 1 file 704 LOC (2%)
shared infrastructure (utils & leaf crates)in 2 files, 745 LOC (3%)
protocol (shared vocabulary)in 1 file 249 LOC (1%)
auth & identityin 1 file 571 LOC (6%)

per component - by-layer logical decomposition

frontendsin 32 files, 29,369 LOC (13%)
services (config, persistence, sandbox, exec-server, models, auth)in 12 files, 7,462 LOC (3%)
API server & extensionsin 2 files, 1,313 LOC (<1%)
enginein 3 files, 2,438 LOC (2%)
vocabulary & utilitiesin 4 files, 1,698 LOC (3%)
domain: codex
5.33 Multiple Classificationsos: windows (42%) AND os: macos (49%)
18,053 LOC (2%) 20 files

details...

per component - primary logical decomposition

TUI frontendin 2 files, 3,620 LOC (2%)
extensibility (MCP, plugins, skills, hooks)in 1 file 534 LOC (<1%)
sandboxing & policyin 4 files, 3,196 LOC (6%)
CLI & headless frontendsin 11 files, 9,911 LOC (22%)
model backends & API clientsin 1 file 704 LOC (2%)
shared infrastructure (utils & leaf crates)in 1 file 88 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 13 files, 13,531 LOC (6%)
services (config, persistence, sandbox, exec-server, models, auth)in 4 files, 3,196 LOC (1%)
API server & extensionsin 1 file 534 LOC (<1%)
vocabulary & utilitiesin 2 files, 792 LOC (1%)
domain: codex
5.34 Multiple Classificationsfeature-gated code (25%) AND model providers and wire API (43%)
24,621 LOC (3%) 9 files

details...

per component - primary logical decomposition

core enginein 7 files, 17,391 LOC (16%)
CLI & headless frontendsin 2 files, 7,230 LOC (16%)

per component - by-layer logical decomposition

frontendsin 2 files, 7,230 LOC (3%)
enginein 7 files, 17,391 LOC (14%)
domain: codex
5.35 Multiple Classificationsfeature-gated code (23%) AND platform-specific code (16%)
22,581 LOC (2%) 17 files

details...

per component - primary logical decomposition

TUI frontendin 11 files, 11,986 LOC (6%)
core enginein 3 files, 2,048 LOC (1%)
app-server APIin 1 file 1,317 LOC (1%)
CLI & headless frontendsin 2 files, 7,230 LOC (16%)

per component - by-layer logical decomposition

frontendsin 13 files, 19,216 LOC (8%)
API server & extensionsin 1 file 1,317 LOC (<1%)
enginein 3 files, 2,048 LOC (1%)
domain: codex
5.36 Multiple Classificationsplatform-specific code (9%) AND os: linux (100%)
12,343 LOC (1%) 22 files

details...

per component - primary logical decomposition

TUI frontendin 5 files, 3,923 LOC (2%)
core enginein 1 file 90 LOC (<1%)
sandboxing & policyin 6 files, 1,297 LOC (2%)
CLI & headless frontendsin 3 files, 5,144 LOC (11%)
exec-server (sandboxed executor)in 3 files, 839 LOC (3%)
shared infrastructure (utils & leaf crates)in 3 files, 284 LOC (1%)
protocol (shared vocabulary)in 1 file 766 LOC (3%)

per component - by-layer logical decomposition

frontendsin 8 files, 9,067 LOC (4%)
services (config, persistence, sandbox, exec-server, models, auth)in 9 files, 2,136 LOC (1%)
enginein 1 file 90 LOC (<1%)
vocabulary & utilitiesin 4 files, 1,050 LOC (2%)
domain: codex
5.37 Multiple Classificationsos: macos (18%) AND os: linux (55%)
6,780 LOC (<1%) 10 files

details...

per component - primary logical decomposition

TUI frontendin 1 file 852 LOC (<1%)
core enginein 1 file 90 LOC (<1%)
sandboxing & policyin 5 files, 1,267 LOC (2%)
CLI & headless frontendsin 2 files, 4,483 LOC (10%)
shared infrastructure (utils & leaf crates)in 1 file 88 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 3 files, 5,335 LOC (2%)
services (config, persistence, sandbox, exec-server, models, auth)in 5 files, 1,267 LOC (<1%)
enginein 1 file 90 LOC (<1%)
vocabulary & utilitiesin 1 file 88 LOC (<1%)
domain: codex
5.38 Multiple Classificationsfeature-gated code (20%) AND os: windows (45%)
19,600 LOC (2%) 14 files

details...

per component - primary logical decomposition

TUI frontendin 11 files, 11,986 LOC (6%)
core enginein 1 file 384 LOC (<1%)
CLI & headless frontendsin 2 files, 7,230 LOC (16%)

per component - by-layer logical decomposition

frontendsin 13 files, 19,216 LOC (8%)
enginein 1 file 384 LOC (<1%)
domain: codex
5.39 Multiple Classificationsmodel providers and wire API (16%) AND os: windows (21%)
8,931 LOC (1%) 4 files

details...

per component - primary logical decomposition

TUI frontendin 2 files, 1,701 LOC (<1%)
CLI & headless frontendsin 2 files, 7,230 LOC (16%)

per component - by-layer logical decomposition

frontendsin 4 files, 8,931 LOC (4%)
domain: codex
5.40 Multiple Classificationsplatform-specific code (<1%) AND os: android (100%)
1,315 LOC (<1%) 2 files
details...

per component - primary logical decomposition

TUI frontendin 2 files, 1,315 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 2 files, 1,315 LOC (<1%)
domain: codex
5.41 Multiple Classificationsos: macos (2%) AND os: android (65%)
852 LOC (<1%) 1 file

details...

per component - primary logical decomposition

TUI frontendin 1 file 852 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 1 file 852 LOC (<1%)
domain: codex
5.42 Multiple Classificationsos: linux (11%) AND os: android (100%)
1,315 LOC (<1%) 2 files

details...

per component - primary logical decomposition

TUI frontendin 2 files, 1,315 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 2 files, 1,315 LOC (<1%)
domain: codex
5.43 Multiple Classificationsfeature-gated code (11%) AND os: macos (28%)
10,470 LOC (1%) 3 files

details...

per component - primary logical decomposition

TUI frontendin 1 file 3,240 LOC (1%)
CLI & headless frontendsin 2 files, 7,230 LOC (16%)

per component - by-layer logical decomposition

frontendsin 3 files, 10,470 LOC (4%)
domain: codex
5.44 Multiple Classificationsos: windows (14%) AND os: linux (50%)
6,141 LOC (<1%) 7 files

details...

per component - primary logical decomposition

sandboxing & policyin 2 files, 559 LOC (1%)
CLI & headless frontendsin 3 files, 5,144 LOC (11%)
exec-server (sandboxed executor)in 1 file 350 LOC (1%)
shared infrastructure (utils & leaf crates)in 1 file 88 LOC (<1%)

per component - by-layer logical decomposition

frontendsin 3 files, 5,144 LOC (2%)
services (config, persistence, sandbox, exec-server, models, auth)in 3 files, 909 LOC (<1%)
vocabulary & utilitiesin 1 file 88 LOC (<1%)
domain: codex
5.45 Multiple Classificationsmodel providers and wire API (13%) AND os: macos (20%)
7,230 LOC (<1%) 2 files

details...

per component - primary logical decomposition

CLI & headless frontendsin 2 files, 7,230 LOC (16%)

per component - by-layer logical decomposition

frontendsin 2 files, 7,230 LOC (3%)
domain: codex
5.46 Multiple Classificationsfeature-gated code (4%) AND os: linux (35%)
4,309 LOC (<1%) 1 file

details...

per component - primary logical decomposition

CLI & headless frontendsin 1 file 4,309 LOC (9%)

per component - by-layer logical decomposition

frontendsin 1 file 4,309 LOC (1%)
domain: codex
5.47 Multiple Classificationsmodel providers and wire API (8%) AND os: linux (35%)
4,309 LOC (<1%) 1 file

details...

per component - primary logical decomposition

CLI & headless frontendsin 1 file 4,309 LOC (9%)

per component - by-layer logical decomposition

frontendsin 1 file 4,309 LOC (1%)