Yak shaving is: "A series of seemingly unrelated tasks that distract you from your original goal, each triggered by a perceived necessity to solve a preceding, equally tangential problem."
Origin: This whimsical term comes from a 1993 email by Randall Zachariassen, an engineer at Xerox PARC. He described a situation where:
He needed a new shaving brush (original goal).
To buy one, he had to get money from the bank (first diversion).
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
The bank's ATM was out of order, so he needed cash (second diversion).
To get cash, he had to fix his car (third diversion).
His car needed a new tire (fourth diversion).
To buy a tire, he had to shave his yak (yes, a yak!) to buy rope to tow the car to the tire shop (fifth, utterly absurd diversion).
The "yak shaving" metaphor stuck: you're so busy shaving the yak (the last, ridiculous task) that you forget you were originally just trying to buy a shaving brush!
In software development, IT, and everyday life, yak shaving refers to:
Endless rabbit holes of research
Over-engineering a solution
Chasing minor issues instead of the main goal
Procrastination through busywork
Example: "I was going to write that report today, but I ended up yak shaving: updating my OS, fixing a plugin, and reinstalling my IDE. Tomorrow's another day..."