Table of Contents

Architecture

The Architecture section explores the structural boundaries, responsibilities, and tradeoffs behind governed software systems.

The goal is not to prescribe one universal architecture.

Instead, this section examines why particular boundaries exist, what problems they address, how they can fail, and when a simpler design may be preferable.

Good architecture makes important boundaries visible.

Terminology and Lineage

Learning uses a consistent vocabulary for recurring boundaries, but that vocabulary is not a claim that the underlying architectural ideas originated with ASI Backbone.

Start with Terminology and Established Architecture Concepts to connect terms such as governed execution, policy context, audit residue, capability-scoped authority, host-owned execution, and governed AI tool gateways to established software architecture and security concepts.

Current Focus

The current foundational material emphasizes separation among:

Intent
   ↓
Policy Context
   ↓
Governance Decision
   ↓
Acknowledgment when required
   ↓
Scoped Authority
   ↓
Host-Owned Execution
   ↓
Audit Residue

This separation makes it easier to reason about:

  • Who proposes an operation.
  • Which facts influence a decision.
  • Where policy is evaluated.
  • What authority exists after approval.
  • Which component performs the real-world side effect.
  • What evidence remains afterward.

Visual Reference

For a compact orientation to the major boundaries, see Governance Spine and Capability Validation Diagrams.

The visual reference covers:

  • The governance spine from intent through host-owned execution.
  • Policy context, independent constraints, and explicit decision composition.
  • Metadata inspection versus execution-boundary capability validation.
  • AI proposal versus host authority in a governed tool gateway.

The diagrams are reference aids rather than substitutes for the tutorials, samples, tests, and labs.

Start with the Foundational Tutorials

If you are new to these architectural ideas, begin with:

The sequence moves from a basic execution boundary toward an end-to-end governed workflow.

Architectural Questions

Future material in this section may examine questions such as:

  • Where should governance decisions occur?
  • Which components should remain independent?
  • How should policy evaluation relate to authorization?
  • When should acknowledgment interrupt a workflow?
  • How narrowly should execution authority be scoped?
  • How should failure, retry, replay, and cancellation affect authority?
  • Which architectural concerns belong in the host rather than a framework?
  • When is a governance pipeline unnecessary complexity?

Alternative Patterns

Architecture should be compared against viable alternatives rather than presented as a single prescribed design.

Start with:

  • When ASP.NET Core Authorization Is Enough — compares the governed-execution model with ASP.NET Core policies, requirements, handlers, and resource-based authorization, including cases where the built-in authorization model is the simpler and better choice.
  • When a Simple Application Service Is Enough — examines the middle ground where authorization alone is not the whole use case, but an immediate application-service workflow still expresses the required validation, domain rules, persistence, execution, and audit boundaries without a broader governance lifecycle.

The purpose of these comparisons is not to make adjacent approaches compete. It is to make their different responsibilities, trust boundaries, and operational costs visible.

Working Architecture References

Learning uses the organization's implementation repositories as architectural specimens:

AsiBackbone

AsiBackbone/AsiBackbone

A .NET governance and policy-control framework demonstrating structured decisions, acknowledgment workflows, audit residue, scoped capabilities, and host-owned execution boundaries.

NetCoreApplicationTemplate

AsiBackbone/NetCoreApplicationTemplate

An ASP.NET Core reference architecture demonstrating middleware organization, secure defaults, logging, error handling, rate limiting, authentication-ready design, and production-oriented application structure.

Current Status

The Architecture section is established as a learning area and now includes a governed-execution visual reference alongside two concrete alternative-pattern comparisons. It will continue to grow through additional comparisons, diagrams, and cross-repository studies.

For the current learning path, continue with the Foundational Tutorials.


Read it. Run it. Question it. Improve it.