In this section: Hands-On Examples
- Chapter 4 Feature Flag Evaluator Tutorial
- Chapter 5 Post Fetcher Runtime Tutorial
- Chapter 6 Universal Microservices Architecture (UMA) Portability Lab Tutorial
- Chapter 7 Metadata Orchestration Tutorial
- Chapter 8 Service Graph Evolution Tutorial
- Chapter 9 Trust Boundaries Tutorial
- Chapter 10 Architectural Tradeoffs Tutorial
- Chapter 11 Evolution Without Fragmentation Tutorial
- Chapter 12 Discoverable Decisions Tutorial
- Chapter 13 Portable MCP Runtime Tutorial
Chapter 12 UMA code example
Discoverable decisions tutorial
This tutorial moves from systems that merely execute to systems that can explain. Each lab exposes more of the proposal, validation, revision, execution, and trace lifecycle.
Keep the decision path in front of the reader so the queryable proof is visible while the tutorial is still on screen.
What you will learn
- why discoverability is different from execution
- how edge proposals and cloud authority cooperate
- how trace artifacts make final decisions auditable
Prerequisites
- Rust 1.76 or newer
- Node.js 20 or newer
- a checkout of the repository
Full tutorial
- Enter the example
cd chapter-12-discoverable-decisions - List the decision labs
./scripts/list_labs.sh - Validate the first decision scenario
./scripts/validate_decisions.sh lab1-capability-projection - Run capability projection
./scripts/run_decision_demo.sh lab1-capability-projection - Compare the edge proposal step
./scripts/diff_decisions.sh lab1-capability-projection lab2-edge-proposal - Run authority feedback
./scripts/run_decision_demo.sh lab3-authority-feedback - Run queryable trace
./scripts/run_decision_demo.sh lab6-queryable-trace - Run the full smoke path
./scripts/smoke_discoverability_labs.sh
What to inspect
After each command, look for these proof points. They are the signals that connect the code example back to the UMA architecture claim.
- Verdict
- proposal_hidden
- authority_gap
- Discoverable Surfaces
- Trace
Acceptance check
The chapter-level validation path is:
./scripts/smoke_discoverability_labs.sh
Return to the repository root for the final acceptance gate:
cd ..
./scripts/smoke_reader_paths.sh
Where to go next
Chapter 13 applies the model to a portable MCP runtime.