polycratia

A green run on my own machine stopped counting as evidence of anything past the logic I just wrote. Not because local setups are badly built, but because I am the one who filled them.

Locally I run as an account that can do everything, so permission checks pass without ever being exercised. Production sends the same call through roles, and the branch that executes under a restricted role is often a branch nobody has run before deploy. Of all the gaps between local and production, that is probably the one I see skipped most.

Then there is authorship of the data: every row in my local database was created by hand with the code as it exists today, so it agrees with the current assumptions by construction.

Production rows were written by every version of the code that ever ran, including the versions that were wrong. Fields that did not exist yet. Fields that existed and meant something else, and records left half-written by a process that died in the middle. On a ledger that has been live for years that is ordinary, and it is the first thing a migration or a new query meets.

Volume does the same damage, more quietly. A query missing an index is fine on the handful of rows I entered to get the feature running. On a table that has grown for years it gets a different plan.

react

$ new-project --brief

or email hey@polycratia.com