"Agency" described one kind of customer and was wrong for everybody else. The container became a workspace in every layer, including the physical database tables, and the kind without clients stopped being called SOLO and became creator. The expensive part was never the text. It was everything that compiles green while being wrong.
The word that fitted one kind of customer in three
The product was built for agencies, and for months the word agency was the name of the container: the thing you contract, the thing that has members, the thing that pays. It worked because everybody inside one was an agency.
It stopped working the day they were not. A creator running their own two brands is not an agency and does not want to be called one on the way in. A company with an in house marketing team is not one either: it has no clients, it has its own brand and people working on it. All three need the same thing, a place where the brands, the connected accounts and the subscription live, and only one of the three fitted the name.
The symptom arrived before the decision did. Sentences in the interface had to be written twice, once for agencies and once for everybody else, and every new screen inherited the problem. When a word forces a conditional into every string of copy, the word is the mistake and the conditional is the patch.
The vocabulary we settled on
The first thing we did was fix the meaning of four words and stop moving them. The rest of this site is written with them, so they are worth stating plainly.
| Word | What it is | Where it lives |
|---|---|---|
| Workspace | The thing somebody contracts and pays for | It holds everything else, and the limits belong to it |
| Brand | What you publish for | Inside the workspace, with its connected accounts and its link page |
| Client | The company an agency works for | Agency workspaces only, with a legal name and a tax number |
| Workspace kind | Agency or creator, and a company signs up as creator | Chosen at sign-up, and it decides the whole vocabulary |
Two consequences of that table are the ones you feel while using the product. The first is that a workspace with no clients never sees the word client on any screen: its brands hang off the workspace directly, and where an agency reads client a creator reads brand. That is not a cosmetic translation, it is that there is no third party with a tax identity there. The second is that brands are not limited by the plan but by the connected accounts you have contracted, which is also a consequence of ordering the vocabulary before the pricing. The full shape is in workspaces, brands and clients, and how work is divided inside one is in roles and permissions.
A rename is not a find and replace
With real data in front of you, the temptation is to rename only what people can see. You change the copy, you leave the database as it is behind an alias, and nobody finds out. It is faster, it is reversible, and it is exactly what we decided not to do.
The reason is that an alias is not a name, it is a debt that charges interest. Whoever reads the schema a year from now finds the old word, has to learn both, and has to know which one wins in which layer. Every hand written query, every report, every migration script and every new person pays that tax forever. So the change went all the way down to the tables, the columns, the indexes and the enumerated types: a name is one name everywhere, or it is not a name.
That carries a price you accept up front rather than discover halfway. A migration that renames tables runs over live data, in a window where the previous build is still answering requests and no longer recognises what is underneath it. It is an availability cost measured in minutes, and it gets scheduled as one, at an hour somebody picked with somebody watching. What may never happen, and that is the line that does not move, is losing a row.
Four ways to compile green and still be wrong
This is the interesting half. The sweep touched roughly 670 files, and each of these four mistakes produced a change that compiled, passed the tests and was wrong.
- A word that means something else in the other language. The creator kind's stored value
was
SOLOand became creator. This product's interface copy is in Spanish, where solo is the ordinary word for only, so a mechanical rule replacing it rewrote around fifty user-facing strings into nonsense: "Solo los propietarios", "Solo lectura", "Solo yo". None of them broke anything, because all of them were text. Only the upper-case value and what sat inside an identifier were allowed to move, and splitting those two passes, the mechanical one and the judgement one, is what saved the rest. - A hand written list is a list with a typo in it. Instead of enumerating what to rename, we asked the database catalogue. It returned 64 columns carrying the old name and more than 160 constraints that no human list had collected, plus an enumerated type nobody remembered existed. The rule we took from that is to write the migration so it computes its own targets rather than carrying them written down.
- Merging two names can retire the check that tied them together. There was a type assertion whose whole job was to prove that two separate definitions of the same concept still agreed. After the rename both were called the same thing, so the assertion said that one thing matches itself. It compiled, it went green, and it proved nothing. After any rename that merges two identifiers, every assertion that mentioned either one has to be read again.
- Some words are not ours to rename. The sweep rewrote the name of an external organisation, which does not change because we changed, and it rewrote the string inside a safety check, so that check quietly started forbidding something else. On top of that come the old migration files, whose contents are signed: history has to be spelled the way history was spelled.
Everything in this article happens in one place in GoFeed.
Try it freeWhat does not get renamed on the same day
There is a whole category that never moves at the same time as the rest, and it is the places where the old name is held by somebody else's system. Those have to stay readable for a while, and the while is not the same length everywhere.
A preference stored in somebody's browser expires quickly: the old key is read as a fallback for one release, then both halves go together, the one that writes and the one that reads, because leaving only one is worse than never having started. A value stored inside the billing system never expires at all: it lives as long as the oldest object holding it. Renaming only the writing side and forgetting the reading side is exactly the bug we shipped, and its effect was invisible: we silently stopped recognising every customer created before the change, with no error and no warning, until somebody went looking for one.
That is where the check we have leaned on ever since came from. A script walks the screens and fails the build if the word client turns up somewhere a workspace without clients can reach. It fixes nothing on its own. It only stops the vocabulary drifting apart again without anybody noticing, which is how it drifted apart the first time.
What it cost, and what we would do the same
What we would change is the order. We started with the identifiers because that was the easy part to automate, which left the hard part, the prose, until the end and with less time than it deserved. Identifiers are safe because an identifier means one thing. Prose is not, because after a rename the old word usually still names something real. Agency did not disappear from this product: it is one of the two workspace kinds and it is staying.
What we would do the same is refusing to leave it half done. A half finished rename is the worst option on the table, worse than not doing it, because it commits you to two vocabularies forever and to a decision on every new screen about which one applies. If the name changes, it changes in the database, in the emails, in the documentation and on the pricing page, where each workspace kind now has its own ladder of plans. That ladder is read live on the pricing page.
And what we learned is the part that makes this worth an article: a rename is not measured in files touched, it is measured in how many places could have been left behind in silence. How the result holds up, one workspace with many brands inside it and a single vocabulary, is in one workspace, many brands.