Architecture

The system at C4’s four levels (S. Brown’s C4 model), each drawn from the index. Anything C4 asks for that the index cannot show is left out and named as missing, not guessed.

L1 · Context

Wikiprogram launcher

No vendored area: no external system is in the index.

L2 · Containers

Containers here are derived from entry points (console scripts and mains), each separately runnable. The index does not show data stores, deployment units or the protocols between containers, so none is drawn.

7 tooling entry points, not drawn (the tooling globs classify them)
  • examples/explorer/main.cpp
  • examples/headless/main.c
  • examples/openai-server/src/main.cpp
  • examples/pychess/main.cpp
  • examples/pychess/main.py
  • examples/pychess/main_wrapper.py
  • scripts/gen_bindings.py

L3 · Components

Callers sit above what they call; an arrow is calls, thicker for more, the weaker half faint (at most 8 drawn strong). Solid: a block the repository declares. Dashed: a block inferred from coupling, which can be wrong — read it as a hint, not the architecture.

1 calls15 calls18 calls16 calls2 calls15 calls1 calls2 calls1 calls5 calls4 calls12 calls1 calls5 calls2 calls6 calls6 calls8 calls12 calls14 calls36 calls13 calls110 calls40 calls43 calls11 calls15 calls16 calls26 calls134 calls2 calls3 calls3 calls10 calls29 calls2 calls10 calls6 calls1 calls(root)45 functions · 1 filesexamples/headless5 functions · 1 filesexamples/openai-server34 functions · 1 filesexamples/pychess46 functions · 5 filespython/src25 functions · 9 filesscripts32 functions · 1 filessrc/cli29 functions · 5 filesexamples/explorer6 functions · 1 filessrc/facade478 functions · 15 filesinclude/entropic170 functions · 42 filessrc/core441 functions · 14 filessrc/inference641 functions · 55 filessrc/prompts31 functions · 2 filessrc/storage113 functions · 6 filessrc/types56 functions · 7 filessrc/mcp570 functions · 28 filessrc/config99 functions · 6 files

L4 · Code

Code is the generated level: every function on the map, each linking to its own page with its body, callers, callees and activity diagram.