Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M2076

Hyrum's Law

Hyrum's Law
SystemsHigh supportComplexity Science
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build such a connection or interface is called an API specificat…

Definition

“When an API has enough users, what you promise in the contract doesn't matter: all observable behaviors of your system (even bugs or side effects) will be depended on by some users.” - Scaffold use: The curse of implicit dependencies. - This explains why reform is so difficult. You think you're just fixing a “bug,” only to find that this “bug” is not only regarded as a “feature” by employees but also becomes a core pillar of business processes. In complex systems, there is no “harmless change.” Any status quo (even a bad one) is the foundation on which some ecosystem survives.

How to use

The curse of implicit dependencies. - This explains why reform is so difficult. You think you're just fixing a “bug,” only to find that this “bug” is not only regarded as a “feature” by employees but also becomes a core pillar of business processes. In complex systems, there is no “harmless change.” Any status quo (even a bad one) is the foundation on which some ecosystem survives.

Mechanism

Hyrum's Law: When an API has enough users, the behaviors you promise in the contract matter less than the behaviors that are actually depended on in practice—any observable output or side effect will be depended on by someone, and thus cannot be safely changed.

Practice

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Changing the order of fields in a return or adding extra logs unexpectedly breaks downstream parsing; library upgrades cause crashes for those depending on undocumented behaviors.

Common pitfalls

  • Assuming that anything outside the contract can be changed arbitrarily; underestimating the number of implicit dependencies; using documentation disclaimers instead of compatibility strategies.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

account_treeGenealogyexpand_more

RELATED MODELS