Decision tree lessons
Follow a decision through its consequences. Pause at each choice, consider what changes, and compare the possible paths before choosing your next move.
Lesson previews
Customer data Your team wants AI to summarize churn themes from support tickets before planning next quarter. The value is real, but the data includes names, account IDs, and sensitive support details. Decision path Classify -> minimize -> approve -> verify Use the sequence before the prompt. It keeps useful AI work inside the data boundary. Shortcut Paste the export and hope the tool is fine. The analysis happens with less data and a clearer owner. Data minimization and tool approval are controls, not admin work. 01 Classify 02 Minimize 03 Verify Step 1 The export includes ticket text, customer…
6 minShould AI Touch This Customer Data?Customer data Your team wants AI to summarize churn themes from support tickets before planning next quarter. The value is real, but the data includes names, account IDs, and sensitive support details. Decision path Classify -> minimize -> approve -> verify Use the sequence before the prompt. It keeps useful AI work inside the data boundary. Shortcut Paste the export and hope the tool is fine. The analysis happens with less data and a clearer owner. Data minimization and tool approval are controls, not admin work. 01 Classify 02 Minimize 03 Verify Step 1 The export includes ticket text, customer…
6 minApprove a Guardrail ExceptionException pressure The approved AI summarizer is unavailable. The analytics lead asks to use an unapproved tool on 400 customer survey comments for 72 hours. The business need is real, but an exception without scope, treatment, and ownership becomes a bypass. ISO 31000 Context -> Treat -> Own -> Review Risk management is a decision process, not a mood. Establish the context, choose a treatment, assign ownership for residual risk, and monitor the result. Bypass Urgency becomes the control. Fast work with a bounded blast radius. Exceptions are acceptable only when the residual risk is explicit, owned, time-boxed, and reviewed.…
5 minLaunch a RAG Bot Without Leaking DocsRAG launch gate A RAG assistant is accurate in demos but indexes documents with mixed sensitivity and unclear user entitlements. Retrieval quality without retrieval boundaries can expose the wrong document to the wrong person. OWASP + SSDF Scope -> Entitle -> Prove Secure retrieval starts before the model answers. Scope the corpus, enforce permissions at retrieval time, and require source-backed answers. Index all Fast demo, weak boundary. The bot can be useful without becoming a document leak. Do not retrieve content the user is not allowed to know, and do not answer when allowed sources are insufficient. 01 Corpus 02…
5 minWhen the Model Drifts QuietlyQuiet drift The AI endpoint is healthy, but appeal volume is up and output patterns have shifted. Operational uptime can hide model degradation. SR 11-7 Baseline -> Monitor -> Escalate -> Revalidate Model risk management treats launch as the start of monitoring, not the end of review. Uptime green Endpoint health mistaken for model health. Quality changes become visible before they become incidents. A model is controlled only while its real-world behavior is measured against expectations. 01 Baseline 02 Monitor 03 Escalate Compare first Appeals are up 18 percent, but nobody knows the expected appeal range for AI-triaged cases.
5 minWalk An Excessive-Agency IncidentThe incident A procurement agent turned a Slack discussion into supplier-facing purchase orders. Four orders already left the company, and twenty-three drafts remain queued. The agent's permission boundary, not only its interpretation, is now the incident surface. Decision walk Freeze capability, reconcile actions, reopen narrowly For agent incidents, containment means reducing action authority while preserving tool-call evidence. Treat every agent tool permission as a blast-radius multiplier. Containment should remove capability faster than it explains intent. 01 Freeze capability 02 Reconcile actions 03 Reopen narrowly Step 1 The agent is still online. Procurement wants to keep draft generation because teams need…
6 minWalk A RAG Prompt-Injection IncidentThe incident A customer PDF embedded with malicious instructions is retrieved by the procurement assistant. Three users saw answers that included internal contact-list suggestions, and the assistant has a directory lookup tool. The key risk is not the PDF by itself. It is the path from untrusted retrieved text to privileged data and tool use. Decision walk Triage -> Contain -> Recover Respond to indirect prompt injection by separating evidence gathering from exposure reduction. Do not let investigation become another execution path. A narrower blast radius and a reusable control. Treat retrieved content as hostile until controls prove otherwise; the…
6 minSet AI Incident Severity Without DramaThe incident A clinical scheduling assistant appears to downgrade urgent cases to routine. Nineteen patients are in the suspected set, two appointments were delayed by 48 hours, and scope is not yet known. The severity decision controls escalation, patient review, and compliance involvement. Decision walk Impact, confidence, reversibility, obligation AI severity should be based on consequence and reliance, not just the number of records affected. Set severity to mobilize the response the plausible consequence deserves, then downgrade when evidence supports it. 01 Impact 02 Reversibility 03 Fresh application Step 1 A manager argues this is medium severity because only 19…
6 minConnect a team knowledge base safelyPilot setup Your team wants an assistant that can answer internal process questions from company docs. The value comes from approved, current answers. The risk comes from connecting too much too soon. Connector pilot path Job -> source -> scope -> success Start with the business question, then choose the source and smallest useful access boundary. Broad Connect all docs and hope search behaves. A pilot people can trust and measure. Connection is not the goal. A reliable answer path is the goal. 01 Job 02 Source 03 Scope Define the job Decision 1
6 minTool or paste for sales analysis?Sales analysis You need an assistant to summarize pipeline risk for a leadership meeting. The useful answer depends on live records, but the raw export contains more data than the assistant needs. Three checks Freshness, sensitivity, repeatability Use paste for bounded stable context. Use tools when truth changes or the workflow repeats. Paste all Fast once, risky often. A cleaner context path. Choose the path that gives enough truth with the least unnecessary data. Freshness Check 1 Opportunity stages changed this morning. How should the assistant get the data? Sensitivity Check 2 The export includes private account notes and personal…
5 minRespond to a suspicious MCP server requestSecurity review A vendor MCP server asks for all-file read access and message-send permission to build a dashboard. The feature may be useful, but the requested authority is wider than the visible job. Review pattern Scope mismatch, consent clarity, write risk Pause when the requested authority is broader than the workflow needs. Approve Trust the demo and move fast. A safer approval decision. A connector should justify every scope it asks for. Scope Review 1 The workflow needs one reporting folder. The server requests all-file read access. What do you do? Consent Review 2 The authorization screen does not list…
6 minWalk The Risk Signal PathThe production risk The AI scheduler recommends staffing changes for 11 hospital units. The data science report says forecast accuracy is strong, but the operations lead asks what would reveal an unsafe recommendation before it reaches a manager. Accuracy is not the same as operational safety. NIST AI RMF applied Map -> Measure -> Manage Start by mapping who is affected and what harm matters. Then measure signals tied to that harm. Finally, define who manages the response when a threshold is crossed. Shortcut Monitor only model accuracy. The dashboard becomes a risk control, not a model trophy. A risk…
5 minPremortem The AI MonitorFuture failure It is two weeks after launch. The sales proposal assistant is paused because 47 prospects received outdated pricing. Uptime, latency, and token cost were all green. The monitor measured the system, but not the business promise. Premortem Assume failure, then work backward Instead of asking whether the monitor is good, assume it failed badly. Then identify the missing signal, threshold, owner, or retained evidence. Optimism Our three charts are probably enough. The monitoring plan learns from a failure before it happens. Premortems reduce overconfidence by making dissent useful and concrete. 01 Failure 02 Blind spot 03 Action Name…
5 minTroubleshoot AI Incidents With HypothesesIncident pressure The RAG assistant refuses 31 percent of policy questions with 'I do not know.' Six theories appear: model drift, prompt regression, vector outage, permissions, guardrail bug, and bad eval data. Without hypothesis discipline, the team will change too many variables and lose evidence. Effective troubleshooting Observe -> Hypothesize -> Test -> Treat Look at the symptom, form a testable cause hypothesis, run a low-risk test, then treat the confirmed cause while preserving notes. Panic path Toggle providers and prompts until something changes. The team narrows the incident instead of stirring it. Every incident theory should name the evidence…
5 minHow Much Autonomy Should AI Get?The autonomy dial The same assistant can make a safe rename or a risky production patch. The task decides the dial. Mis-set autonomy either wastes speed or increases risk. Cynefin for AI pairing Clear -> Execute, Complicated -> Propose, Complex -> Probe Match the assistant's role to how knowable and reversible the work is. One trust level Let AI do it or never let AI do it AI autonomy fits the work. Autonomy follows context. 01 Clear 02 Complicated 03 Complex Decision 1 A package rename follows the same import edit across many files.
5 minRepair a Hallucinated API AnswerThe plausible method The method name fits the SDK style, but TypeScript says it does not exist. A believable naming pattern is not source evidence. Evidence repair Observed -> Inferred -> Verified Do not argue with the assistant's confidence. Ask it to sort claims by evidence level, then patch only from verified source. Trust name Looks like the SDK would have it The repair is grounded in the codebase. Plausibility is not proof. 01 Evidence 02 Source 03 Patch Decision 1 The compiler rejects the assistant's method.
5 minFrom Vague Ticket to Pairable PromptThe fuzzy ticket The ticket says improve onboarding analytics. That is a product desire, not yet an AI pairing brief. The first prompt decides whether the assistant codes the right thing or a plausible thing. SBAR for coding Situation -> Background -> Assessment -> Recommendation A handoff prompt reduces the assistant's need to guess. Each line removes one kind of ambiguity before code starts. Vague Improve onboarding analytics The assistant drafts inside a clear lane. Context is not extra; it is the steering wheel. 01 Situation 02 Background 03 Recommendation Decision 1 The ticket names a broad improvement, not the…
5 minRescue a Bad SearchWeak first answer The competitor landscape has familiar names, old funding data, and no regional nuance. A better prompt is useful only after you know what was wrong with the first search. Root-cause repair Five Whys for search failures Ask why the answer is weak until you can change the right search variable. Retry More words, same failure. A sharper second search instead of a prettier repeat. Better search comes from changing the cause, not scolding the output. Symptom What failed The answer names global vendors but misses regional players. What is the best diagnosis? Cause Why it happened The…
5 minTimebox Search With PDCA30-minute brief Rafi needs to decide whether an analytics API deserves product exploration, but the evidence is scattered. The danger is not only bad information. It is an unbounded search process. PDCA search loop Plan -> Do -> Check -> Act Treat search as a short evidence loop with a stop rule and an action. Search until done No finish line. A brief that states evidence and limits. The check step turns fast search into controlled search. Plan Stop rule Rafi has 30 minutes before Product asks for a view. What plan sets up a useful search? Do Retrieval The…
5 minWalk a Claim to SourceThe claim AI search says the new rule applies to companies with more than 25 employees. Jules needs to help HR decide what to put in a policy FAQ. The number looks precise, which makes it dangerous if it came from a weak source chain. SIFT in motion Stop -> Investigate -> Find better coverage -> Trace The goal is to move from a fluent claim to the strongest available source for that exact claim. Copy Fast, but source-blind. A claim that can be defended or properly limited. The source chain matters as much as the sentence. 01 Pause 02…
5 minFrom Finding to Fix: Manage the RiskRisk treatment A finance assistant fabricates vendor bank details when records are missing. The output looks confident enough for a clerk to copy. The finding is only useful if it leads to a control that reduces the month-end risk. NIST AI RMF Manage Move from transcript to treatment. Manage asks what the organization will do with measured risk. A good red-team recommendation names the risk response and the evidence that the response worked. Bug filed The transcript sits in a queue. A finding becomes a managed risk, not a scary artifact. Every high-quality AI red-team report should answer: fix where,…
5 minWhen the Test Hits Production-Like DataStop condition A recruiting assistant returns real candidate phone numbers during a red-team run that was supposed to use synthetic data. The team must preserve evidence without causing more exposure. Incident-response reflex Pause, preserve, protect, route. The first minutes decide whether a sensitive AI finding stays controlled or becomes a larger incident. Keep probing Feels useful, expands exposure. The issue moves into a controlled triage path. A red-team test does not have permission to expand a sensitive-data exposure just because the exposure began inside a test. 01 Pause 02 Preserve 03 Route Step 1 The assistant has returned three phone…
5 minWalk the Trust Boundary, Not the Chat WindowTrust boundary The support KB agent accepts prompts from employees, retrieves documents with a service account, and can draft ticket comments. A chat-only test will miss whether user permissions, retrieved content, and tool authority line up. STRIDE lens Follow identity, data, proof, disclosure, availability, and privilege. Use STRIDE as a route map. You do not need every category in every test, but you do need to notice where a model crosses identity, data, and action boundaries. Chat only Looks at output, misses authority. A boundary-led test points to the control that failed. If the model uses a credential, retriever, or…
5 minWalk a Model Change-Control DecisionInvisible release The support classifier's UI stays the same, but the model behind it changes before a Friday release. The system's behavior can change even when the product surface does not. Change-control loop Trigger, test, approve, monitor Materiality depends on whether the change can alter risk, obligations, or user reliance, not whether the UI changed. UI unchanged means low risk This misses behavior, data, and dependency changes. Release speed stays tied to evidence rather than guesswork. A change is material when it can change risk, not only when it changes the interface. Trigger 01 Model swap The new model is…
5 min