
A gumption trap is an event that causes us to lose passion and craftsmanship for a project. While a regular setback makes us want to take a break, a gumption trap makes us want to set the project on fire and throw it off a cliff.
It was first used in Robert Pirsig's cult classic "Zen and the Art of Motorcycle Maintenance".
Pirsig defines it as anything that causes us to lose sight of "Quality" and no longer care about how well something is done. We just want to get it over with, even if it means walking away altogether.
Gumption traps occur because passion is a non-renewable resource. It's near impossible to "force" ourselves to care about something. We can only increase our sophistication at acting like we care.
Energy can be renewed with a break. Time can be increased by re-scoping expectations. But running out of gumption is a game over. So it's the most important thing to safeguard.

When you're almost at the end of a project that involves a complex sequence of steps but discover something that requires you to basically start all over.
When you realize you're about to lose motivation for the project so you hurry up wildly in an effort to make up for lost time. This rarely works as it just creates more mistakes. It's the "Hail Mary" strategy of negative expected returns but high potential reward. Buying lottery tickets and trolling online are examples in real life and in online games where you internally give up on at succeeding using the conventional path
These are failures that disappear as soon as you try to debug them and can't be consistently reproduced. You don't know why they happen and you can never sure that they are 100% fixed. They're discouraging when they happen over and over again despite multiple layers of duct tape attempts. They exist in the background like an constantly looming shadow, threatening to sabotage all future initiatives.
This is a inability to re-value what you see because of a commitment to previous values. An example is a pre-mature diagnosis that prevents you from making new discoveries as new information is discovered. It's like a jigsaw that you're sure you have the pieces to but is actually missing a few.
Like a monkey with its fist in a jar, it's impossible to escape the currently situation without letting go of something valuable.

You're given the responsibility to modify or extend a piece of legacy software. As you delve deeper, you realize there's minimal documentation, no unit tests, and the original developers are long gone. Every modification seems to break another feature, and the entire codebase feels like a fragile house of cards. You're tempted to rewrite the whole thing, but time constraints and lack of organizational support demoralize you.
After spending hours developing a feature, you decide to integrate a new library or tool. This results in a cascade of incompatible dependencies. Every solution you try introduces new conflicts. The more you untangle, the more convoluted it gets, leading to a strong urge to scrap everything and start over.
The pursuit of the "perfect" code leads you down a rabbit hole of constant refactoring. Each change seems to make sense in isolation, but collectively, they lead to over-engineering and code that's even harder to understand. This obsession with perfection can sap enthusiasm and lead to burnout.
Just as you're about to complete a feature, stakeholders change their minds, and the requirements shift. The new changes negate much of your previous work. This repetitive cycle not only diminishes the value of your efforts but also leads to disillusionment and dwindling passion for the project.
You push code, expecting it to pass all tests and checks, but it fails due to some trivial issues or flaky tests. Each iteration requires waiting for the entire CI/CD pipeline to complete. This inefficient feedback loop erodes your patience and enthusiasm for the task at hand.
You underestimate the complexity of a task, thinking it'll be straightforward. As you start, you uncover layers of intricacies. The discrepancy between your initial estimate and the actual effort required creates frustration, leading to reduced motivation and the desire to cut corners.
You're trying to integrate with an external service or use a new tool, but the documentation is either non-existent or woefully out of date. Every step becomes a process of trial and error, and you feel like you're groping in the dark. The lack of guidance and clarity can rapidly drain your gumption.
You're stuck on a critical bug or feature, but the one person who has the expertise is either unavailable or has left the company. You're left to piece together the puzzle with fragmented information, leading to a feeling of isolation and a decline in morale.