Skip to content

Module Reference

This section provides detailed architecture documentation for each module in the EAC ecosystem. Each module's architecture is defined using the C4 model via Structurizr DSL.

Architecture Diagram Levels

The C4 model provides four levels of abstraction:

  1. System Context - Shows how the module fits into the overall system landscape
  2. Container - Shows the high-level technical building blocks
  3. Component - Shows how containers are made up of components
  4. Code - Shows how components are implemented (not typically documented)

Core Modules

Module Description Views
eac-commands CLI command implementations 19
eac-core Core libraries and contracts 7
eac-mcp-commands MCP server integration 5
r2r-cli Ready-to-Release CLI 15

Infrastructure Modules

Module Description Views
ext-eac Docker extension image 3
repository Repository contracts and validation 4

Supporting Modules

Module Description Views
Supporting Modules docs, templates, r2r-installer, etc. 12

Viewing Diagrams Interactively

For interactive exploration of architecture diagrams:

# Start Structurizr Lite for a specific module
r2r eac serve-design --module eac-commands

Design File Locations

All architecture definitions are stored in Structurizr DSL format:

specs/[module-name]/.design/workspace.dsl

Updating Architecture Diagrams

When workspace.dsl files change, regenerate the cached SVGs:

# Update all modules
r2r eac update structurizr

# Update specific module
r2r eac update structurizr --module eac-commands

Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.