openai / codex
Static Component Dependencies

An overview of static code dependencies among source code logical components.

Intro

Static code dependencies refer to the relationships between different modules, libraries, or components in a software system that are established at compile-time rather than at runtime. These dependencies are determined by the code itself, meaning that one module directly references another through imports, includes, or explicit references in the code. Examples include:

  • Library and Module Imports
  • Class Dependencies (Inheritance & Composition)
  • Function and Method Calls
  • Dependency Injection Without Runtime Resolution
Learn more...
  • To learn more about good practices on componentization and dependencies, Sokrates recommends the following resources:
Logical Decompositions Overview

Analyzed system has 2 logical decompositions:

  • primary (17 components)
  • by-layer (5 components)

Logical Decomposition #1: PRIMARY

The "primary" logical decomposition in based on 17 explicitly defined components.

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 17 components.
  • 2,448 files, 752,981 LOC (100.0% vs. main code).
  • "TUI frontend" is biggest, containing 23.62% of LOC.
  • "sdk (TypeScript & Python)" is smallest, containing 0.8% of LOC.


TUI frontend177839 LOC (23%) 402 files
core engine105038 LOC (13%) 391 files
app-server API85412 LOC (11%) 178 files
extensibility (MCP, plugins, skills, hooks)58778 LOC (7%) 191 files
sandboxing & policy49139 LOC (6%) 152 files
persistence (rollout, state, thread-store)48901 LOC (6%) 193 files
CLI & headless frontends44759 LOC (5%) 128 files
extensions (ext/*)26321 LOC (3%) 170 files
exec-server (sandboxed executor)26184 LOC (3%) 82 files
model backends & API clients24654 LOC (3%) 129 files
shared infrastructure (utils & leaf crates)22287 LOC (2%) 107 files
protocol (shared vocabulary)20007 LOC (2%) 45 files
configuration19680 LOC (2%) 70 files
repo tooling & CI15146 LOC (2%) 70 files
code-mode (V8 runtime)14453 LOC (1%) 71 files
auth & identity8378 LOC (1%) 34 files
sdk (TypeScript & Python)6005 LOC (<1%) 35 files
Static Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2026-08-31 17:17