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
Pressure moment The team faces bottom-funnel buyers looking for confidence. A rushed tactic will waste learning if the diagnosis is wrong. messy-middle proof matching Walk from symptom to stage, then from stage to action. Each choice has a consequence tied to whether the evidence matches the decision. A focused marketing action Symptom The headline metric is down, but the supporting signals disagree. What do you do first? Stage The evidence shows interest is present but committed action is weak. What consequence follows? Guardrail The proposed fix should increase conversion but could lower lead quality. What makes the plan stronger? Now…
5 minWalk a freshness breach without guessingFreshness breach Customer health is 76 minutes late against a 30-minute SLO. Sales leadership opens the dashboard at 9:00 a.m. The wrong first move can either waste the remaining window or publish suspect data. SLO triage Confirm -> isolate -> recover -> communicate Treat freshness as a user-facing reliability promise. The goal is not to make the DAG green; it is to restore or explain the consumer-facing dataset. Reflex Clear the red task and hope A bounded recovery plan instead of a dashboard panic. A freshness incident is solved at the earliest broken dependency that still preserves correctness. 01 Confirm…
5 minPut ownership where the data meaning livesOwnership gap Billing changes grace-period policy. The central data team updates the pipeline two weeks later and misses one exception. Data reliability includes semantic reliability: the numbers must mean what the business thinks they mean. Team boundary Domain owns meaning; platform owns the paved road Team Topologies reduces cognitive load by clarifying team responsibilities and interaction modes. Data products need the same clarity. Centralize all One queue owns every semantic edge case Fewer handoffs and more accurate semantics. Put semantic authority where the business rules are understood, then make operation easy enough to do well. 01 Locate meaning 02 Split…
5 minMigrate a cron pipeline one slice at a timeLegacy migration The bookings cron job is fragile but trusted. Quarter close depends on it in 12 days. A rewrite can improve maintainability while increasing delivery instability if cutover evidence is thin. Migration pattern Wrap -> slice -> parallel-run -> compare -> cut over The Strangler Fig pattern lowers rewrite risk by replacing a system through proven slices instead of one large switch. Big bang Rewrite the whole script and swap the dashboard Cutover with rollback evidence instead of confidence theater. Replace legacy pipeline behavior at the boundary where you can measure equivalence. 01 Choose slice 02 Validate output 03…
5 minTrace a Duplicate Spike Without BlameDuplicate spike Partner import created 312 new enterprise accounts overnight. Matching confidence fell below threshold for 41 of them, and customer-success sees duplicate workspaces. A fast merge could corrupt customer history. A slow investigation could leave teams working from conflicting records. Five Whys Move from symptom to process cause Ask why with evidence until the cause becomes controllable. Stop when the next action changes the system, not when the story finds someone to blame. Symptom Blame the import and merge records quickly. The fix targets the defect factory, not just the duplicate pile. Five Whys works when every why is…
5 minPrioritize Fixes When Everything Looks BrokenBacklog overload There are 187 defects, one sprint, and no shared view of which fixes reduce the most business pain. Without concentration, the team will work issue by issue and still look unresponsive. Pareto lens Rank defect families, not individual complaints Pareto thinking makes concentration visible. It helps the team pick a defect family that matters enough and can actually be changed. Ticket order Work oldest or loudest first. One sprint attacks a pattern, not a pile. Prioritization improves when defects are grouped by common cause and ranked by impact plus controllability. 01 Group 02 Rank 03 Try Group the…
5 minDesign a Gate That Does Not Stall the BusinessGate design Invalid tax codes are causing invoice corrections, but fulfillment depends on the same order file. A full block could protect finance and disrupt shipping. The decision is not block versus ignore. It is how to learn the right control without creating a new business failure. PDCA gate design Plan small, check both quality and flow A gate changes behavior. Treat it as a controlled improvement, not just a technical test. Debate Argue strictness in a meeting. The gate earns authority through evidence. PDCA keeps quality controls from becoming brittle because the team measures consequences before scaling. 01 Plan…
5 minChoose the traversal by the promiseThe wrong path The dependency explorer returns a valid approval chain, but not the shortest one the manager asked for. A path can be valid and still violate the traversal promise. Traversal fit Queue, stack, or priority queue The structure that holds the frontier controls which node is explored next. Any path Return the first path found The result matches the product promise. The frontier data structure is the traversal policy. 01 Shortest 02 Cycle 03 Risk Decision 1 The graph is unweighted and the user asks for the fewest approval hops.
5 minWalk from scan to membershipThe slow scan A reconciliation loop checks whether each invoice ID appears in a paid-ID list. The paid-ID list is scanned again for every invoice. The work shape is multiplying two files. Membership diagnosis Question -> Contract -> Index First name the question the code asks. If it asks membership, use a set. If it asks key-to-value, use a dictionary. Scan Ask the whole list every time The loop pays one indexing pass instead of repeated scans. A set is the right contract when uniqueness and membership matter more than order. 01 Question 02 Contract 03 Index Decision 1 For…
5 minDesign undo and redo with two stacksThe stale redo A user types A, types B, undoes B, then types C. The app still allows redo B, creating a branch that should no longer exist. The stack rule is what protects the user's timeline. Undo model Two stacks, one branch History is LIFO. Redo is the actions you just backed out of, until a new action changes the future. One list Actions plus index pointer Buttons follow state transitions instead of ad hoc indexes. A redo stack is valid only while the user stays on the same history branch. 01 Record 02 Undo 03 Branch Decision 1…
5 minWalk a metric break from symptom to system causeWeekly active users is wrong again before the Monday exec meeting. Do not stop at the failed job. Ask why the defect reached the consumer and what system condition made that possible. Rina's team kept patching a WAU pipeline after Monday failures. In the A3, they found the deeper cause: product events changed without a consumer contract. The fix was not only a retry rule; it was a metric owner, schema-change notification, and a freshness test visible in the exec dashboard.
5 minChoose the operating rhythm before the backlog owns youGrowth pain Nine people are doing data work, but the operating system is still four-person improvisation. The team needs rituals that reduce interruption without hiding from stakeholders. Flow + events Replenish, limit, review, improve A healthy rhythm controls how demand enters, how much work is active, how outcomes get reviewed, and how the system adapts. Always open intake Responsive on paper, chaotic in practice Predictable delivery with feedback A cadence is valuable when it reduces negotiation cost and increases learning. 01 Intake 02 WIP 03 Review Decision 1 Stakeholders are used to dropping requests into Slack all day.
5 minAssign ownership before a shared data product becomes orphanedShared score Everyone wants the customer-health score, but nobody has accepted ownership for meaning and change. The launch will create more conflict unless roles are explicit. RACI + RAPID Separate input, build, approval, and ongoing decision rights A shared data product needs broad consultation and narrow accountability. Everyone owns it No one can safely change it A data product that can evolve Consult broadly, decide clearly. Definition Decision 1 Sales and CS disagree on what health means. Who should approve the first metric definition before engineering starts the model? Build Decision 2 The definition is approved. Now the model, pipeline,…
5 minWalk A Grain Change SafelyIncident A team is changing a model from one row per order to one row per order item while finance waits for a number. The path you choose changes whether dbt can explain the result. Contain, declare, prove Good dbt moves narrow blast radius, declare dependencies, and prove assumptions with tests. Shortcut Patch the final SQL Traceable change Every decision should improve lineage or evidence. Step 1 Product asks to add SKU-level margin to fct_orders. What is the first decision? Step 2 Three dashboards and one reverse-ETL job depend on fct_orders. What design reduces blast radius? Now you try A…
5 minWalk A New Source Into The DAGIncident A team is changing a new Shopify orders source while finance waits for a number. The path you choose changes whether dbt can explain the result. Contain, declare, prove Good dbt moves narrow blast radius, declare dependencies, and prove assumptions with tests. Shortcut Patch the final SQL Traceable change Every decision should improve lineage or evidence. Step 1 A stakeholder asks for Shopify orders in tomorrow’s revenue dashboard. Where do you start? Step 2 The raw table has id, created, and financial_status. What staging move is strongest? Now you try A new raw.shopify.refunds table appears with late-arriving rows. What…
5 minWalk From Failing Freshness To ActionIncident A team is changing a source freshness alert on Stripe payments while finance waits for a number. The path you choose changes whether dbt can explain the result. Contain, declare, prove Good dbt moves narrow blast radius, declare dependencies, and prove assumptions with tests. Shortcut Patch the final SQL Traceable change Every decision should improve lineage or evidence. Step 1 stripe.payments is 9 hours stale and the revenue mart is due in 30 minutes. What do you do first? Step 2 Only payments is stale; orders and refunds are fresh. Which dbt selector is useful after the source catches…
5 minBuild the escalation path before the edge caseThe edge case AI triage marks an employee case as routine document follow-up. The case also mentions medical leave, performance action, and manager urgency. Mixed sensitivity changes the reliance mode. The tool can still help, but it should not carry the decision alone. Escalation design Trigger -> reviewer -> owner -> deadline A good escalation path is specific enough to catch edge cases and light enough to keep routine work moving. Shortcut Let the AI route the case as routine because most cases are routine. Routine speed plus accountable handling of sensitive exceptions. Escalation paths preserve calibrated trust by defining…
5 minWalk the three gates before relying on AIThe situation Legal ops has an AI routing recommendation for a contract exception. The recommendation is fast and tidy, but the clause touches customer liability. A convenient AI answer can still be outside scope or require a different decision owner. Three-gate reliance walk Fit -> Stakes -> Ownership Use the gates in order. They keep you from accepting, rejecting, or escalating for the wrong reason. Shortcut Accept the routing because the model sounds confident. The recommendation becomes evidence for an accountable decision. Calibrated trust is a sequence of checks, not a feeling about the tool. 01 Fit 02 Stakes 03…
5 minWalk a focus block from vague to readyThe situation Rina blocks “deep work” from 1:00-3:00. At 1:07 she is still deciding which document to open. By 1:25 the block is mostly setup. The next choice determines whether attention returns or fragments. Walk a focus block from vague to ready Time blocking only works when the block has a job. The focus-ready sequence is outcome, first action, boundary, recovery. The outcome gives direction; the first action lowers start friction; the boundary reduces interruption ambiguity; recovery prevents the next block from inheriting fatigue. Shortcut React to the noise. A recovered block with less residue. Each strong choice lowers cognitive…
5 minWalk from tired to restoredThe situation After two hours of spreadsheet cleanup, Karim has one more analysis block planned. He feels dull, reaches for his phone, and tells himself any break is better than none. The next choice determines whether attention returns or fragments. Walk from tired to restored Attention restoration is a chain: notice fatigue, choose lower-stimulation recovery, and make re-entry easy. If the break adds novelty and decisions, it may entertain but not restore. If the break creates gentle distance and the next task is cued, directed attention can return to usable strength. Shortcut React to the noise. A recovered block with…
5 minWalk the re-entry after a context switchThe situation Sam is writing the security review when a production thread pulls him into Slack for twelve minutes. He returns with the document open, but his mind is still arguing about the incident. The next choice determines whether attention returns or fragments. Walk the re-entry after a context switch Attention residue makes re-entry a sequence, not a slogan. You close the residue loop enough to return: capture the unresolved item, reload the goal, choose the next visible action, and restart small. Shortcut React to the noise. A recovered block with less residue. Each strong choice lowers cognitive load before…
5 minWalk the executive-clip crisisPublic clip A clip appears to show your CEO insulting a major customer, and teams are pushing for different public responses. A premature denial, accusation, or silence can all create new risk if verification and roles are not clear. Incident lifecycle Preserve evidence -> verify source -> coordinate response Treat suspected synthetic media as an incident with analysis, containment, and recovery steps. Reflex Post a denial because the clip feels fake. The organization can speak with evidence instead of panic. A holding statement is strongest when it buys time for a real verification path. Evidence Node 1 A teammate posts…
5 minWalk the synthetic-candidate screenRemote hiring A contractor candidate's video freezes during hard questions, but the resume and answers look strong. The risk is both security and fairness: overreacting can harm a real candidate, while underreacting can open access to systems. Governed response Behavior signal -> standard verification -> documented decision Deepfake-aware hiring should focus on consistent triggers and job-relevant evidence, not facial or accent suspicion. Reflex Reject because the video felt strange. The decision is fair, documented, and harder for an attacker to manipulate. Suspicion should trigger a standard process, not a custom accusation. Observe Node 1 The video freezes during detailed questions,…
5 minWalk the urgent-wire verification pathPayment pressure A realistic multi-person video call asks for a confidential acquisition wire 12 minutes before cutoff. The danger is not only fake identity; it is the request to bypass a control under time pressure. Verification path Independent channel -> payment control -> incident note Strong choices move the request out of the supplied call and back into trusted business systems. Reflex Stay on the call and try to read the faces. The payment waits until identity and authorization are independently verified. A real emergency can survive a callback; a fake one usually cannot. Identity fork Node 1 The caller…
5 min