Table of Contents

Tutorials

Tutorials in ASI Backbone Learning are problem-first.

They begin with an architectural problem, examine a common or naive implementation, expose its limitations, introduce a pattern, and then connect the smaller teaching example to fuller working implementations.

A typical tutorial follows this progression:

Problem
   ↓
Common or naive implementation
   ↓
Failure mode or limitation
   ↓
Architectural pattern
   ↓
Minimal teaching example
   ↓
Tradeoffs and alternatives
   ↓
Working repository example

The goal is not to require adoption of a specific framework.

Each foundational tutorial also opens with a compact Pattern Card summarizing the problem, the architectural pattern, when it is useful, when a simpler approach may be preferable, and the observable invariant carried into the companion sample or tests.

The card is an orientation aid, not a substitute for the tutorial's reasoning, tradeoffs, alternatives, or implementation discussion.

A tutorial should remain useful even if you never install the AsiBackbone package or use NetCoreApplicationTemplate.

If you already know authorization, ABAC, capability security, workflow, audit/provenance, or reference-monitor concepts, read Terminology and Established Architecture Concepts for a bridge between that established vocabulary and the terms used throughout these tutorials.

Foundational Tutorials

Learning Path at a Glance

Tutorial Difficulty Prerequisites
Decision Before Execution Beginner None
Policy Context and Explicit Decision Outcomes Beginner Tutorial 1
Acknowledgment and Audit Residue Intermediate Tutorials 1–2
Scoped Capability and Host-Owned Execution Intermediate Tutorials 1–3
Governed AI Tool Gateway Intermediate Tutorials 1–4

Difficulty reflects the conceptual complexity of the learning material rather than the production-readiness of the demonstrated patterns.

1. Decision Before Execution

Understand why a consequential operation should be represented as proposed intent, evaluated, and converted into an explicit decision before the host performs the real-world action.

Topics include:

  • Intent versus execution
  • Authorization versus governance
  • Explicit decision results
  • Policy context
  • Host-owned execution
  • Testing the execution boundary
  • Audit evidence
  • Tradeoffs and failure modes
  • AI-proposed tool actions

A proposed action should become a governed decision before it becomes real-world execution.

2. Policy Context and Explicit Decision Outcomes

Understand why the facts used to make a governance decision should be represented explicitly and why the result should describe what happens next rather than collapse every decision into a boolean.

Topics include:

  • Facts versus policy rules
  • Actor, resource, operation, and environmental context
  • Context snapshots
  • Explicit governance outcomes
  • Stable reason codes
  • Policy identity
  • Decision composition
  • Determinism
  • Context and outcome testing
  • AI policy context

3. Acknowledgment and Audit Residue

Understand how a consequential operation can pause for explicit acknowledgment, resume through a governed boundary, and leave structured evidence explaining the decision path.

Topics include:

  • Acknowledgment challenges
  • Actor and operation binding
  • Accepted and rejected responses
  • Expiration and replay considerations
  • Re-evaluation after acknowledgment
  • Acknowledgment versus policy override
  • Decision, acknowledgment, and execution evidence
  • Audit residue versus operational logging
  • Correlation and reason codes
  • Durable persistence boundaries
  • AI acknowledgment workflows

4. Scoped Capability and Host-Owned Execution

Understand why an allowed or acknowledged operation should not automatically become broad execution authority and how a short-lived, narrowly scoped capability can preserve a host-controlled execution boundary.

Topics include:

  • Approval versus authority
  • Least-privilege scopes
  • Subject, operation, and resource binding
  • Audience and gateway binding
  • Time-bounded authority
  • Policy and acknowledgment binding
  • Execution-boundary validation
  • Replay and bounded use
  • Revocation and cancellation
  • Proof and integrity considerations
  • Host-owned execution
  • AI capability-scoped tool execution

5. Governed AI Tool Gateway

Compose the first four patterns into an end-to-end AI-assisted execution gateway where the model may propose an action but the host retains authoritative context and execution authority.

Topics include:

  • AI proposal versus authority
  • Host-owned tool registry
  • Proposal and argument validation
  • Authoritative policy context
  • Prompt guidance versus enforcement
  • Explicit governance decisions
  • Human acknowledgment
  • Scoped capability issuance
  • Execution-boundary validation
  • Semantic tool design
  • Secret isolation
  • Egress and destination control
  • Replay versus idempotency
  • Dry-run adoption
  • End-to-end testing and audit continuity

The complete foundational flow is:

AI proposal
   ↓
Host-owned context
   ↓
Governance decision
   ↓
Acknowledgment when required
   ↓
Scoped capability
   ↓
Execution-boundary validation
   ↓
Host-owned tool execution
   ↓
Audit residue

The model may propose. The host retains execution authority.

Continue Beyond the Tutorials

The tutorials are the explanation layer of the Learning repository.

The broader learning path is:

Tutorial
   ↓
Executable Sample
   ↓
Hands-On Lab
   ↓
Working Repository

After studying a tutorial:

The teaching material is intentionally smaller than the working repositories. Use the larger implementations to see how similar ideas behave when more production concerns are present.

Foundational Sequence Complete

The five tutorials form the initial governed-execution curriculum.

They are intended to be reused, questioned, simplified, or adapted rather than treated as a mandatory framework adoption path.

Good next steps include hands-on labs, alternative implementations, ASP.NET Core integration examples, AI gateway simulations, and architecture comparisons.


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