The architecture is documented on the docs site, which is kept current with the code:
Protocol architecture — the four layers
(source: content/docs/concepts/architecture.mdx). The
long-form overview that used to live in this file described the tree of early 2026 and was no
longer maintained; it is in git history at commit
df8aac41.