AAcquired
← All frameworks
Productivity

Zero-Bug, Fresh-Context Bug-Fix Methodology

Minimize the hours between writing a line of code and testing it, so the person who wrote a bug is still the best person to fix it.

Difficulty
Advanced
Time to result
~ongoing to results
Steps
5
Confidence
85%

Because Epic's software runs medication dosing, billing, and clinical workflows where mistakes can kill patients or trigger federal fraud liability for hospitals, the company built its engineering process around eliminating bugs rather than shipping features fastest. New developers spend six months in intensive training before writing production code. Once they start, the system is designed to minimize the hours between when a line of code is written and when it is tested, so problems surface almost immediately. When a bug is found, the original developer — not a separate QA team — drops other work to fix it while the code's context is still fresh, preventing small issues from compounding into larger, harder-to-diagnose problems months later.

Origin

The discipline traces back to Epic's early relationship with Metatech founder Neil Pappalardo, whose hardened, process-driven approach to running a software company Judy Faulner adopted after spending three days learning from him.

How to run it

  1. 1

    Front-load intensive training

    Require new developers to complete a lengthy, standardized training program (Epic's is six months) before they touch production code, so everyone follows the same conventions.

  2. 2

    Shrink the code-to-test loop

    Structure workflows so testing happens as close as possible to the moment code is written, rather than batching testing into a later release cycle.

    Pro tip The goal isn't just faster releases — it's catching a bug while the developer's mental model of that code is still intact.

  3. 3

    Route every bug back to its original author

    When a defect is found, assign it to the developer who wrote the original code, not a separate bug-fixing team, so no time is lost rebuilding context.

    Watch out This only works if the original developer is still available and the org is willing to interrupt their other work — it trades short-term throughput for long-term reliability.

  4. 4

    Treat 'software must work' as non-negotiable

    Make defect-free delivery an explicit cultural commandment enforced from the top, not just an engineering best practice.

  5. 5

    Accept slower feature velocity as the trade-off

    Recognize this approach optimizes for reliability over shipping the most innovative or cutting-edge feature first, and be deliberate about accepting that trade-off given the stakes of the domain.

In the wild

On-time, on-budget go-lives at scale

When Epic won the Kaiser Permanente contract, the biggest health system in the country, its architecture and development discipline meant the eventual go-live worked as promised — a sharp contrast to the earlier IBM-led implementation attempt at Kaiser, which failed outright.

→ Epic's reputation for implementations that work on time and on budget became a primary reason large systems chose it over competitors going forward.

Common mistakes

Letting bugs sit for a future testing cycle

Delaying bug discovery lets small defects compound into larger, harder-to-diagnose problems and increases the risk of patient harm or billing fraud exposure.

Reassigning fixes away from the original author

Handing bugs to a different engineer forces them to rebuild context from scratch, slowing resolution and increasing the odds of an incomplete fix.

Is it for you?

Best for

Engineering teams building software for high-stakes, regulated domains (healthcare, aviation, finance) where errors carry catastrophic cost.

Not ideal for

Early-stage consumer startups optimizing for rapid feature iteration and market feedback speed.

From the transcript

“the whole system is designed around minimizing the number of hours between when a line of code is written and then when it is tested.…”

1:45:30

“You're not necessarily going to ship software the fastest way. You may not even ship the most innovative, clever, amazing, cutting edge. You're just going…”

1:46:30

From the episode

Epic Systems (MyChart)

→