Skip to content

About

Diagrams and visual resources for software architecture & domain-driven design.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Architecture Assets

Visual explanations of software architecture, Domain-Driven Design, distributed systems, and AI-enabled enterprise platforms.

This repository contains diagrams and supporting visual assets for my public architecture notes, GitHub Gists, and technical discussions.

The goal is to make complex architectural decisions easier to understand, communicate, and challenge.

Architecture should make complexity understandable, ownership explicit, and change easier.

Why this repository exists

Enterprise architecture is not simply about choosing technologies, defining services, or drawing system boundaries.

It is about making deliberate decisions concerning:

  • Business ownership — who owns decisions, rules, state, and invariants?
  • Domain boundaries — where should responsibilities begin and end?
  • Integration — how should independent capabilities collaborate?
  • Change — how can systems evolve without compromising historical integrity?
  • Coordination — how should long-running processes operate across distributed systems?
  • Intelligence and automation — where should AI participate without obscuring accountability?

These questions become particularly important in complex, regulated, and transaction-intensive environments.

The diagrams in this repository explore these challenges through practical examples, frequently drawing on insurance and financial services.

The underlying principles apply across industries.

Architecture principles

The work published here is guided by several principles.

Business ownership before technical decomposition

Identify who owns business decisions, rules, and invariants before determining service or deployment boundaries.

Domain boundaries before integration contracts

Understand responsibilities and dependencies before designing APIs, events, or shared services.

Business outcomes over internal implementation details

Integrations should communicate meaningful business facts without unnecessarily exposing internal domain models.

Coordination without ownership confusion

Orchestration and workflow engines can coordinate activities without assuming authority over the business decisions of participating domains.

Evolution without rewriting history

Versioning, temporal modeling, and decision traceability should allow business systems to evolve while preserving historical explainability.

AI with explicit accountability

AI agents and models can provide intelligence and execute authorized tasks, but their participation must respect business authority, policies, and control boundaries.

Architecture notes and diagrams

The repository supports a growing collection of public GitHub Gists.

Topic Architectural question
Who Owns the Invariant? Which bounded context has authority over a business rule?
Rule or Outcome? Does a consuming context need the rule or only its outcome?
Choreography or Orchestration? When is explicit process coordination necessary?
Design Events That Survive Change How can integration contracts remain stable as systems evolve?
A Bounded Context Is Not a Microservice How do domain boundaries differ from deployment boundaries?
Where Does AI Belong in the Architecture? How can AI contribute without assuming business authority?
An AI Agent Is Not a Business Process How should agent autonomy relate to business process ownership?
When Does a Shared Capability Become a Bounded Context? When does technical reuse justify independent domain ownership?
What Happens When Business Rules Change? How should rule versions and historical decisions be managed?
Who Owns the State of a Long-Running Business Process? How does coordination state differ from authoritative business state?
What Happens When a Cross-Domain Process Fails? How should independent domains recover when a distributed business process partially succeeds?
When Is a Retry Actually Safe? How can repeated attempts preserve one intended business effect?
When Is Eventual Consistency Acceptable? When can consumers tolerate stale information without compromising business invariants?
Who Owns the Truth When Data Is Replicated? Who can authoritatively change a business fact, and how should downstream representations be corrected?

Each diagram is intended to communicate one architectural distinction clearly.

The accompanying Gists provide additional reasoning, examples, trade-offs, and practical design questions.

Repository organization

architecture-assets/
├── gist-images/
│   ├── who-owns-the-invariant.svg
│   ├── rule-or-outcome.svg
│   ├── choreography-or-orchestration.svg
│   ├── design-events-that-survive-change.svg
│   ├── bounded-context-is-not-a-microservice.svg
│   ├── where-does-ai-belong-in-the-architecture.svg
│   ├── an-ai-agent-is-not-a-business-process.svg
│   ├── shared-capability-or-bounded-context.svg
│   ├── business-rule-versioning-and-effective-dates.svg
│   ├── process-coordination-vs-business-state.svg
│   ├── cross-domain-failure-and-recovery.svg
│   ├── when-is-a-retry-actually-safe.svg
│   ├── when-is-eventual-consistency-acceptable.svg
│   └── who-owns-the-truth-when-data-is-replicated.svg
└── README.md

The SVG assets are designed for direct embedding in GitHub Markdown and other technical documentation.

They use a consistent, minimalist visual language to prioritize architectural clarity over decoration.

Topics

  • Domain-Driven Design (DDD)
  • Enterprise Architecture
  • Event-Driven Architecture
  • Distributed Systems
  • Bounded Contexts and Domain Ownership
  • Business Process Coordination
  • Distributed Recovery and Compensation
  • Consistency Guarantees and Business Invariants
  • Data Authority, Replication, and Reconciliation
  • Temporal Modeling and Rule Versioning
  • AI Agents and Enterprise Systems
  • Business and Technology Alignment

Using these assets

These diagrams are published as visual companions to architectural discussions.

They can be explored directly in this repository or through the associated public Gists.

When referencing or reusing an asset, please preserve the intended architectural meaning and provide attribution to the repository.

The diagrams illustrate conceptual patterns and trade-offs. They are not intended as universal implementation prescriptions.

About the author

Walter Tosta

Systems engineer at heart. Building at the intersection of technology, AI, and business.

My work combines enterprise technology, business operations, and transformation leadership.

I am particularly interested in how clear domain boundaries, explicit accountability, and pragmatic architectural decisions help organizations simplify complexity and evolve their capabilities.

These notes reflect an ongoing exploration of architecture as a bridge between business strategy and executable technology.


Good architecture is not about maximizing abstraction. It is about making responsibilities clear, decisions explainable, and change manageable.

About

Diagrams and visual resources for software architecture & domain-driven design.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors