Single logo
  • Courses
  • Blog
  • About
Join on SkoolJoin on Skool

In this topic

AI Engineering
  • The AI Stack in One Picture: Six Layers Every AI Product Is Built From
  • Tokenization: What an LLM Actually Sees When You Type
  • LLM Tokens, Context Windows and Cost: What One Question Really Costs
  • What an LLM Can and Cannot Do: One Prediction Loop, Its Strengths and Its Gaps
  • Structured LLM Output with Pydantic: Describe the Shape Once, Check Every Reply
  • Temperature, Top-p and Sampling: Why the Same Prompt Gives a Different Answer
  • Open vs Closed LLMs: Cost, Control, Privacy and Capability, Decided per Workload
  • Streaming and Error Handling for LLM Calls: Show the First Word Early, Retry Politely, Fail Calmly
  • Practice: Build a CLI Chat Tool with Memory, Commands, Error Handling and a History Cap
  • Explicit Criteria vs Vague Prompts: Turn Every Adjective Into a Check a Script Can Run
  • Few-Shot Prompting Done Right: How Many Examples, How Different, What Order, and the Leak That Lies
  • Prompt Caching: Keep the Start of Every Request Identical and Pay for the Long Part Once
  • Prompt Versioning and Testing in a Repo: Prompt Files, a Registry, a Hash per Answer and Tests That Gate
  • Context Engineering: What Belongs in the Context Window, Turn by Turn
  • Context Engineering for a Long-Running Agent: Clear, Compact, Take Notes, Prove It
  • Zero-Shot, Few-Shot or Reasoning: Pick the Cheapest Prompting Technique the Failure Asks For
  • What an Embedding Actually Is: Meaning as Numbers, Search by Closeness, and Where Hand-Made Numbers Break
  • The RAG Pipeline Explained: 7 Stages From Documents to a Cited Answer
  • Similarity Search: Finding the Closest Vectors with NumPy and NearestNeighbors
  • Why RAG Exists: The Problem It Solves, Compared With Pasting Everything and Fine-Tuning
  • Real Embedding Models: an Open Model or a Provider API, Then Search, Duplicates and Recommendations
  • Chunking Strategies for RAG: Fixed Size, Sentences or Headings, Measured on One Handbook
  • Vector Databases Hands-On: The Same Search in Chroma and pgvector
  • RAG Prompt Assembly and Citations: Number the Blocks, Fit a Token Budget, Check Every Claim
  • Hybrid Search: BM25 Plus Dense Embeddings, Merged With Reciprocal Rank Fusion
  • Reranking With a Cross-Encoder: When the Second Pass Helps, and When It Doesn't
  • Retrieval Evals: Score the Retriever With Recall@K, MRR and nDCG Before Blaming the Model
  • Choosing a Vector Index: Flat, HNSW or IVF-PQ, a Memory Estimate, and Filters That Starve Small Customers
  • Citations and Abstention in RAG: What a Citation Proves, and When the Right Answer Is "It's Not in the Documents"
  • Embedding Migration With Zero Downtime: Two Indexes, a Dual-Write Backfill, a Shadow Check and a Flag
  • Cosine, Dot Product or Euclidean Distance: Why Three Measures Pick Three Winners, and the One Fix
  • Choosing an Embedding Model: Dimension, Context Length, Domain and Cost, Tested on Your Own Questions
  • Loading and Parsing Real Documents for RAG: PDF Headers, Wrapped Lines, Tables and HTML Chrome, Scored
  • Where Naive RAG Fails: Five Ways the Simplest Retriever Hands the Model the Wrong Pages
  • RAG Generation Metrics: Faithfulness, Groundedness and Relevance, One Claim at a Time
  • Capstone: A Production RAG Service Over the Python Standard Library, With an Eval a Hiring Manager Can Rerun
  • Agentic Search or RAG: an Index Decides Before the Call, Search Tools Decide During It
  • A Retrieval Router: Match the Route to the Data Shape and the Query Pattern
  • Progressive Discovery or Monolithic Context: Load It All, Fetch by Index, or Both
  • Building a Claims Assistant: RAG, an Eval Harness With a Gate, and OpenTelemetry Tracing
  • Context Engineering for a Long-Running Agent: Clear, Compact, Take Notes, Prove It
  • What LangChain Is For, and When to Skip It: Five Standard Parts, One Pipe, and a Decision Table
  • Why Chains Break: No Branch, No Retry, No Pause, and the Same Refund Assistant as a LangGraph Graph
  • LangGraph Nodes, Edges and State: Build Your First Graph, Route With a Conditional Edge, and Read the Run Three Ways
  • Human-in-the-Loop and Checkpointing in LangGraph: interrupt, a SQLite Save Slot and Command(resume=...)
  • Multi-Agent Patterns: Hub and Spoke in LangGraph, With Short Briefs, Owned Tools and a Retry the Hub Decides
  • A Research Agent in LangGraph: Plan, Search, Read, Write, and a Check Node That Rejects Citations Nobody Read
  • What Is MCP? One Plug Between AI Apps and Tools: Host, Client, Server and the Three Messages
  • Configuring MCP Servers in Claude Code: A Command or a URL, Three Scopes, and Three Moves When One Breaks
  • Workflow or Agent: Decide Who Picks the Next Step, Then Let the Constraints Choose the Design
  • Custom Agent Loops and Harnesses: A Dispatch Table, an Approval Hold, Error Results and a Turn Budget
  • Building an MCP Server: Tools, Resources and Prompts in Python and TypeScript
  • MCP Transports: stdio or Streamable HTTP, and Who Starts the Server
  • Deploying and Authenticating an MCP Server: Environment Keys for stdio, Bearer Tokens and Scopes for HTTP
  • A Remote MCP Server in Production: Tokens Bound to One Server, Tool Versions Side by Side, and a Gateway With Its Own Upstream Token
  • MCP, an API/CLI Call or Agent-to-Agent: Choosing How Claude Connects to a Capability
  • From ML Metrics to LLM Evals: Same Ruler, New Targets
  • Why You Cannot Ship an LLM Feature Without an Eval: Five Parts, Three Graders, One Tiny Eval
  • Building a Golden Dataset for LLM Evals: Cases, a Schema, a Coverage Table and a Seeded Split
  • Retrieval Evals: Score the Retriever With Recall@K, MRR and nDCG Before Blaming the Model
  • Regression Testing an LLM Bot in CI: A Golden Set, Two pytest Gates and GitHub Actions
  • Testing a RAG Bot Before It Ships: Slices, a Release Gate per Slice, and the Week After
  • RAG Generation Metrics: Faithfulness, Groundedness and Relevance, One Claim at a Time
  • LLM-as-Judge: Write a Rubric, Check Every Verdict, and Trust the Grader Only After Kappa Says So
  • RAGAS and Custom Evals: Framework Faithfulness Plus Your Own Citation and Required-Fact Checks, Behind One Gate
  • Which Test Layer Owns the Failure? Unit, Functional, Integration and End-to-End Tests for a Claude App
  • Six Ways a 200 Can Still Be Wrong: Hallucination, Refusal, Under-Acting, Context Loss, Format Drift and Inconsistency
  • Keeping an Eval Suite Valid: Check It for Contamination, Saturation and Coverage Before You Trust a Green Gate
  • Eval Metrics by Task Type, and Evaluating a Non-Deterministic Agent With Repeated Trials
  • Proving a Model Upgrade Is Ready: A Frozen Golden Set, a Calibrated Judge, the Right Layer and a Release Gate
  • The Failure Nobody Saw: Finding the Instrumentation Gap in an LLM Agent
  • Six Metrics, Not One Score: Accuracy, Groundedness, Latency, Cost, Safety and Security for an LLM Agent
  • The Metric That Would Have Caught It: Finding Eval Coverage Gaps After a Green Suite
  • Eval Datasets and Mixed-Method Test Frameworks: Code Checks, an LLM Judge and Human Review
  • Calibrating an LLM Judge: Diagnosing Position, Verbosity, Self-Preference and Drift
  • Trials per Case: Separating a Real Effect From Run-to-Run Variance When You Compare Two Prompts
  • Diagnosing a Bad Answer: Prompt Failure, Hallucination or Model Mismatch?
  • Building a Claims Assistant: RAG, an Eval Harness With a Gate, and OpenTelemetry Tracing
  • Fallback Models for an LLM App: A Chain That Checks Region and Fit, Flags Degraded Answers and Gets Rehearsed
  • Back Pressure for LLM Traffic: Bound the Queue, Give Chat Its Own Lane, Count Tokens, Cancel When the Caller Leaves
  • Load Balancing LLM Traffic: Count the Work, Weigh the Prefix Cache, Check Real Health, Drain Before Deploys
  • A Message Queue for Document Ingestion: At Least Once, Leases, an Idempotent Consumer and a Dead Letter Queue
  • Caching for AI Apps: Four Layers, What Goes in Each Key, and How a Delete Travels
  • Semantic Caching: Why a Similarity Threshold Can't Stop Confident Wrong Answers
  • LLM Model Routing: Rules, a Classifier or a Cascade, Judged on Cost per Win and Every Topic
  • Cutting p95 and Cost in Half for an LLM App: Read the Bill, Match the Lever, Guard Success
  • Observability and Tracing for LLM Apps: A Span per Stage, Redaction First, Bad Traces Become Tests
  • Guardrails for an LLM Agent: Check What Comes In, What It Wants to Do, and What Goes Out
  • Embedding Migration With Zero Downtime: Two Indexes, a Dual-Write Backfill, a Shadow Check and a Flag
  • Design a Multi-Tenant RAG Assistant, Part 1: Requirements, Rough Numbers and a Contract
  • Design a Multi-Tenant RAG Assistant, Part 2: Tenant Isolation, a Scoped Cache and Walking an Outage
  • A 500 MB PDF Takes 50 s to Answer, Get It to 2 s: Measure First, Then Promise Per Path
  • A 500 MB PDF From 50 s to 2 s, the Fast Path: Queue, Status, Streaming and an Acceptance Test That Fails
  • FastAPI for AI Services: Schemas at the Door, Load Once in the Lifespan, Depends, and def vs async def
  • Streaming LLM Answers From FastAPI: Sources First, Token Events Over SSE, and the Same Events Over a WebSocket
  • Docker for AI Apps: Bake the Model Weights In at Build Time, Use CPU-Only PyTorch, and Run Offline
  • Deploy a RAG Service: A Service Key, Health and Ready Checks, Caddy in Front and a Smoke Test
  • Cost Tracking and Budget Guards for an LLM App: Count the Tokens, Log Every Call, Check Before You Spend
  • Versioning Prompts, Models and Indexes: Three Moving Parts, One Release File and a One-Line Rollback
  • Retries With Limits for LLM Calls: Jitter Under a Capped Ceiling, a Retry Budget, a Circuit Breaker and a Graceful Reply
  • Multi-Tenant Quotas for One Shared LLM: a Bounded Line per Tenant, Fair Turns and a Pause When the Model Says Wait
  • Find the Binding Constraint Before You Tune: Requests, Input Tokens or Output Tokens per Minute, and When to Send a Batch
  • SLIs and SLOs for an LLM Service: Count Good Events, Promise a Level, Page on Burn Rate
  • Drift After a Model Update: Tag Every Event, Split the Dashboard by Version, Alert Against a Baseline
  • Trace Analysis at Scale: Tail-Sample to Read, Count Every Trace by Failure Cohort to Measure
  • Incident Response for an LLM Agent: Triage, Flip the Pointer, Check the Canaries, Then Tell People
  • From Incident to Regression Eval and Postmortem: One Incident, Three Things Left Behind, and a Gate That Remembers
  • Fleet Cost Forecasting for an LLM Service: Profile per Workload, Times Mix, Times Volume
  • From One Claude Call to a System: Input, Processing, Output and the Feedback Loop
  • Stress-Testing an LLM Architecture: Find the Component That Fails First
  • Five Reference Architectures for Claude Systems: Read the Cue, Name the Shape
  • Business Value Pillars for an LLM System: Turn "Cheaper and Faster" Into Targets, Then Pick the Lane
  • The Claude Model Ladder: Pick the Cheapest Model That Passes, Then Price the Month
  • Connecting Claude to a Legacy System You Can't Change: The Adapter Pattern
  • Speed Has a Price and the Rate Limit Is the Ceiling: Choosing Model, Effort and Fast Mode per Path
  • Reliability Controls for Claude Apps: Backoff, Idempotency Keys, Fallback Routing and Circuit Breakers
  • Observability at Scale and a Gated Rollout: Metrics for All, Traces by Rule, Content on Trigger
  • The Failure Nobody Saw: Finding the Instrumentation Gap in an LLM Agent
  • An Ops Runbook for Claude Failures: Case Cards, Request IDs, Owners and a Read-Only Investigation
  • Guardrails for an LLM Agent: Check What Comes In, What It Wants to Do, and What Goes Out
  • The Agent Attack Surface: Blast Radius, Narrow Tools, Scoped Keys and the Dangerous Three
  • Prompt Injection, Jailbreaks and Untrusted Input: Label What Comes In, Gate What Goes Out
  • Injection Exposure Review for an Agent: Map Inputs, Data and Effects, Layer Every Path, Retest the Job
  • Data Leakage and PII in LLM Apps: Redact, Minimize, Log Safely and Count Every Place
  • Hooks That Block Destructive Actions: a PreToolUse Gate That Allows, Asks or Denies
  • Claude API Keys: Keep the Key on a Server Proxy, One Key per Environment, Rotate and Scope It
  • Tuning an LLM Guard: False Positives Against False Negatives, a Review Band, and Model Refusals
  • Red-Teaming an LLM Agent with the OWASP LLM Top 10 and the NIST AI RMF: Judge What It Did, Not What It Said
  • Least-Privilege Tools and an Audit Log for Agent Actions: Grant by Job, Decide in Code, Record Every Allow and Deny
  • Agent Identity with Workload Identity Federation: a Short-Lived Token Instead of a Static Key, and Tool Secrets Kept in the Harness
  • Memory Poisoning and Tool Poisoning in LLM Agents: Three Doors In, Two Ways Out, and the Controls That Hold
  • Authentication and Authorization for Claude Agents: Find the Gaps Hop by Hop
  • Risk Framing for LLM Systems: A Risk Register Ranked by Exposure, Not by Odds
  • Ranking Deployment Risk: Attack Surface, Failure Modes, Quota Exhaustion and Supply Chain
  • Human-in-the-Loop Routing: Send Each Agent Action to Auto, Review or Block by Confidence, Reversibility and Cost
  • Compliance for an LLM System: Tie Every Obligation to a Control, an Owner and Evidence
  • Control Sets for Compliance: Residency, Retention and ZDR, PII Redaction, Audit Logs and Tenant Isolation
  • Bias, Fairness and Transparency in LLM Decisions: Find the Source of a Gap, Then Pick the Fix
  • An AI Governance Operating Model on One Page: Risk Tiers, Named Gates and Re-Gating on Change
  • A Regulated Dispute Desk on Claude: Pin the Geography, Gate by Risk, Log Before Release, Fail Closed
  • Reading a Business Requirement Like an Architect: Function, Quality, Constraints and Assumptions
  • Discovery for an AI Project: Running the First Conversation, Five Question Groups and Three Red Flags
  • Communicating AI Decisions, Trade-offs and Risk to Executives: The Decision Card, the Risk Matrix and One Ask
  • Feedback Loops, Expectations and SLAs for an AI Service: Find the Promise the Architecture Can't Keep
  • Documenting an AI Architecture for Handoff: One Document per Reader, a Handoff Gate and Rules With a Reason
  • The Architecture Decision Record for a Claude System: Context, Options, Decision, Consequences and the Evidence You Will Need
  • The Evidence Readout: Presenting Eval Numbers and Traces to Stakeholders as a Decision
  1. Blog
  2. /
  3. AI Engineering
  4. /
  5. Forward Deployed Engineering

The Architecture Decision Record for a Claude System: Context, Options, Decision, Consequences and the Evidence You Will Need

A claims team decides to retrieve policy clauses before answering. One page records the context and the audit team's constraint, three options with the two rejected ones kept, the decision and why, the residual risk sized honestly, and the evidence the build must later produce. A small checker finds six problems in the draft.

Chaand Sheikh

·27 November 2026Forward Deployed Engineering

What you will learn

  • Write a one-page ADR with context and constraint, options, decision and why, consequences and evidence
  • Keep rejected options and size the residual risk without overstating model certainty
  • Turn each claim in the record into an evidence line with a way to measure it
  • Check a draft ADR with a small script that flags hollow sections

Before you start

  • Full context or retrieval: size, cost and freshness
  • Documenting an AI architecture for handoff

Picture a design review that ends well. Everyone agrees, and the meeting closes. What stays behind is a short record: an ADR, an architecture decision record. Months later, a new joiner asks why you chose this design. The record is what answers them.

This lesson opens a three-part capstone. Here we write the ADR for one scenario. In the build, we produce the evidence the ADR asks for. In the readout, we present that evidence to the people who decide.

There's no model call in this lesson. The project is a Markdown ADR, a hollow draft, and a check written in plain Python over the text.

A decision without its reasons

A claims team has decided to retrieve policy clauses first and answer from them. The decision was made in a design review. The reasons live in a call, a slide deck and someone's memory. Then a new joiner asks: why not paste every policy into the prompt? The team argues it again, the decision is reopened, and no evidence is on file. The decision survived. The reasons didn't.

Think of a trail guide at a fork. They leave a note: we took the left path; the right bridge was out; look again after the thaw, when the water drops. The note holds the choice, the reason, and what would make you look again. It saves the next walker the whole argument.

The record: ADR.md

Here's the finished record from the project. It's one page.

# ADR-001: Answers from policy documents
## Context
Policies change often, and a wrong answer costs money.
- Constraint, audit team: every answer must name its clause.

## Options
- A. Answer from the model alone.
- B. Paste every policy into each prompt.
- C. Retrieve the matching clauses, answer from them.

## Decision
We choose C. Every answer cites the clauses it uses.
Why: the audit team can check each answer against its clause.

## Consequences
- Gains: each answer cites its clause.
- Costs: we build and keep an index.
- Risks: retrieval can miss the right clause.
- Residual risk: a miss can still happen, but we expect few.

## Evidence we will need
- Right clause is found | measured by: eval set
- Answers stay in the clause | measured by: eval set
- Each stage fits the SLA | measured by: traces
- Cost per answer fits budget | measured by: traces
The five parts of an architecture decision record Context: the situation, plus a stakeholder constraint Options: everything considered, rejected ones kept Decision: one option, one sentence, and why Consequences: gains, costs, risks, residual risk Evidence: each claim, and how it is measured fails: reopen
One page per decision. If the evidence fails, the record reopens the decision.

Three ways, one choice

For the same context there were three options. A answers from the model alone, and there's no way to check the source. B pastes every policy into each prompt, and cost and answer time grow with every policy. C retrieves the matching clauses first: each answer cites a clause, and you build an index. (The general size, cost and freshness trade-off behind A, B and C is in full context or retrieval.)

A and B are rejected, and they stay on the page with their reasons. The rejected options answer tomorrow's question. The decision names C in one sentence and gives the why: the audit team can check each answer against its clause. That ties the decision straight back to the stakeholder constraint in the context.

Gains, costs, risks and what remains

The consequences come in four lines. Gains: each answer cites its clause, so a handler can check it. Costs: you build and keep an index, and someone must own it. Risks: retrieval can miss the right clause, so you must watch for it. Residual risk: what remains after you've done your best. A miss can still happen, but you expect few.

Say "we expect", not "it will". Don't overstate model certainty. A reader trusts a record that says what the choice costs and what remains.

The evidence you will need

Each evidence line starts from a claim the record made. "Right clause is found" comes from the risk of a missed clause. "Answers stay in the clause" comes from the gain of cited answers. Both are measured on an eval set. "Each stage fits the SLA" comes from running a larger system, and "cost per answer fits budget" comes from keeping an index; both are measured in OpenTelemetry traces.

Every line gets a target, set with the sponsor. No results exist yet; this is what the build must prove. If the evidence fails, the record reopens the decision. The build that produces this evidence is in the RAG, eval harness and tracing build.

A check for hollow records: check_adr.py

A record can look finished and still be hollow. This small check reads the Markdown and lists what's missing:

"""Check one decision record: every part filled in, nothing untested."""
import re


def sections(text):
    parts = re.split(r"^## (.+)$", text, flags=re.M)
    pairs = zip(parts[1::2], parts[2::2])
    return {name: body.strip() for name, body in pairs}


def bullets(body):
    lines = body.splitlines()
    return [x[2:] for x in lines if x.startswith("- ")]


def names(decision, options):
    pick = re.search(r"We choose (\w)\b", decision)
    return bool(pick) and any(o.startswith(pick[1] + ".") for o in options)


def asked(found):
    pattern = r"^- Constraint, (.+?):"
    return re.findall(pattern, found.get("Context", ""), re.M)


def untested(tests):
    if not tests:
        return ["evidence: nothing to measure"]
    return [f'evidence: "{t}" has no test' for t in tests
            if "measured by:" not in t]


def check(text):
    found = sections(text)
    options = bullets(found.get("Options", ""))
    decision = found.get("Decision", "")
    gaps = found.get("Consequences", "")
    tests = bullets(found.get("Evidence we will need", ""))
    bad = []
    if len(options) < 2:
        bad.append("options: need at least two")
    if not names(decision, options):
        bad.append("decision: name one of the options")
    if "Why:" not in decision:
        bad.append("decision: no reason given")
    for who in asked(found):
        if who not in decision + gaps:
            bad.append(f"constraint: {who} is not addressed")
    for kind in ("gains", "costs", "risks", "residual risk"):
        if f"- {kind.capitalize()}:" not in gaps:
            bad.append(f"consequences: no {kind} listed")
    if re.search(r"\b(always|never)\b", gaps, re.I):
        bad.append("consequences: overstates certainty")
    return bad + untested(tests)

Fewer than two options means nothing was really chosen. The decision must name an option by its letter and say why; a decision with no reason is only an order. Every stakeholder constraint in the context must appear in the decision or the consequences. All four consequence lines must be there, and "always" or "never" is flagged. An evidence line with no test is a problem, because nobody can check it.

run_all.py checks four records: the draft, the finished record, the record with its evidence cut off, and a copy that claims certainty.

ADR-draft.md -> 6 problems
  options: need at least two
  decision: name one of the options
  decision: no reason given
  constraint: audit team is not addressed
  consequences: no residual risk listed
  evidence: "Answers are good" has no test
ADR.md -> 0 problems
ADR.md without its evidence -> 1 problem
  evidence: nothing to measure
ADR.md claiming certainty -> 1 problem
  consequences: overstates certainty

The draft has six problems, including the audit team's constraint, which it never answers. The finished record has zero. Cut the evidence and it has one. Claim that retrieval always finds the clause and it has one. A record with a hole doesn't pass, and neither does one that overstates.

The decision rule: constraint, trade-off, honest risk

When you evaluate a draft ADR, look for three things. First, the constraint: a stakeholder need the draft never answers. Second, the trade-off: the revision must say what you give up, in plain words. Third, the residual risk: the revision must say what remains, and keep the certainty honest. The right revision does all three.

Try it on a judgment call. A draft chooses B, paste every policy, and says answers will always come from current policies. Finance has a constraint: cost per answer must fit the budget, and the draft never mentions it. Four revisions:

  • "Cost is fine, the model is accurate." Claims certainty with no test.
  • Send finance an email. Then the record doesn't hold the constraint.
  • Name the constraint, write the rising cost as the trade-off and as a risk, and measure it in traces. This is the one.
  • Drop options A and C. That erases what was rejected, and why.

The trap: the certainty stamp

The record says "Residual risk: none. Retrieval always finds the clause." Nobody can promise that about a model, and the check flags it. The honest version keeps the risk and sizes it: a miss can still happen, but we expect few, and the eval set from the evidence list watches for it. Honest risk beats a confident stamp. For more ADR gaps found in review, see artifact review drills, and for where the ADR sits in a handoff package, documenting the architecture for handoff.

Try it yourself

Add a second stakeholder constraint to the context of ADR.md, for example "Constraint, finance: cost per answer must fit the budget." Run the check. Which line fails, and what's the smallest honest edit that makes it pass? The project files for this lesson are in the community, free to join.

Recap

SectionWhat it holdsWhat the check flags
ContextThe situation and each stakeholder constraintA constraint not addressed later
OptionsEvery option, rejected ones includedFewer than two
DecisionOne option by letter, and whyNo option named, no reason
ConsequencesGains, costs, risks, residual riskA missing line, or "always" / "never"
EvidenceEach claim and how it is measuredNothing to measure, or a line with no test

Record the call, and what would change it.

Tried the exercise? Share your answer or ask a question.

The StudyEasy AI Community is free to join, with the lesson files, notebooks and code.

Join free on Skool

Keep going in AI Engineering · 146 of 147

Previous
Documenting an AI Architecture for Handoff: One Document per Reader, a Handoff Gate and Rules With a Reason
Next post
The Evidence Readout: Presenting Eval Numbers and Traces to Stakeholders as a Decision

Related course on Udemy

Claude Certified Architect - Professional (CCAR-P) Exam Prep

Architecting with Claude: design, models, context, integration, evals, governance and stakeholders.View on Udemy ↗: Claude Certified Architect - Professional (CCAR-P) Exam Prep (paid course, opens in a new tab)

Related posts

Reading a Business Requirement Like an Architect: Function, Quality, Constraints and Assumptions

One sentence from an insurer's claims director becomes four buckets (function, quality, constraints, assumptions), two testable targets and five questions back to the business, before any design starts.

Discovery for an AI Project: Running the First Conversation, Five Question Groups and Three Red Flags

An insurance company says 'we would like an AI assistant'. That one sentence could be three different projects. Five question groups, asked to the right people, turn it into a one-page problem statement, and three red flags show what still blocks the design.

Communicating AI Decisions, Trade-offs and Risk to Executives: The Decision Card, the Risk Matrix and One Ask

A week before launch the CEO asks: is it safe to launch? Answer with a decision card that says what each option costs, a risk matrix where controls move a risk but never erase it, a one-page brief that ends with one ask, and an honest answer to 'can you guarantee it?'.

Feedback Loops, Expectations and SLAs for an AI Service: Find the Promise the Architecture Can't Keep

Two weeks after launch, the head of claims says 'I thought it never makes mistakes'. A weekly feedback loop, expectation gaps closed in writing, and a review of the draft SLA find the one clause nothing can measure before anyone signs it.

On this page

  • A decision without its reasons
  • The record: ADR.md
  • Three ways, one choice
  • Gains, costs, risks and what remains
  • The evidence you will need
  • A check for hollow records: check_adr.py
  • The decision rule: constraint, trade-off, honest risk
  • The trap: the certainty stamp
  • Try it yourself
  • Recap
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Related course on Udemy

Claude Certified Architect - Professional (CCAR-P) Exam Prep

Architecting with Claude: design, models, context, integration, evals, governance and stakeholders.View on Udemy ↗: Claude Certified Architect - Professional (CCAR-P) Exam Prep (paid course, opens in a new tab)

Single logo

Empowering Education, One Course at a Time

About
About usContact us
Legal
Terms of UsePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.