ADR (decision record)
A short note: what we chose, why, and which alternatives we rejected (Architecture Decision Record).
Six months later nobody has to guess whether a decision was deliberate and whether it’s safe to change.
The doctrine’s jargon in plain words: what it is, why it matters, a real-life analogy and where on the site it appears.
A short note: what we chose, why, and which alternatives we rejected (Architecture Decision Record).
Six months later nobody has to guess whether a decision was deliberate and whether it’s safe to change.
A map file in every code directory: what’s here, what it’s for and what to watch out for — written for search.
The assistant finds the right file with one search instead of reading the whole directory.
An agreed way for two programs to talk to each other — one asks, the other answers in a set format.
Through an API your app connects to outside services (payments, maps, AI). Treat an API key like a password.
Like a service window at an office: you submit your request the right way and get an answer, without going into the back room.
A copy of your data saved earlier, which you return to when something goes wrong.
It’s the only way to undo a change to data — code comes back from git, data only from a backup.
Like taking a photo of a shelf before rearranging the books — if you slip up, you can put everything back.
A recorded “as of today” state — a measurement or a count of violations — later results are compared against.
Without a reference point you can’t see whether things got better or worse — and in a ratchet it lets numbers only fall.
A separate working version of the project where you change something on the side, without touching what already works.
On a branch you experiment safely; only what’s been checked reaches the main version.
Like a “to think over” copy of a document — you play with it freely while the original waits untouched.
Turning source code into a version of the app that’s ready to run or upload to the server.
A green build is the first proof a change broke nothing — many tests run right there.
A temporarily remembered result, so the same thing isn’t computed again on every request.
Speeds the app up, but can be a trap: a stale cache shows old data.
Like jotting the receipt total on a note instead of re-adding the whole basket every time.
A tag that tells search engines which address is “the real one” for a piece of content.
It prevents duplicates (e.g. the same product under several addresses) that split your Google ranking.
Copying one chosen commit from one branch to another, without the rest of the changes.
It ships an urgent fix without the unfinished work next to it — but check the result, as it can pull in neighbouring hunks.
Automation that builds the project and runs the tests by itself after every change to the repository.
A bug shows up minutes after the commit, not a week later in production.
Using a program by typing commands in a terminal instead of clicking.
Commands can be saved, repeated and automated — which is why the assistant mostly works this way.
A measure of how much the page layout “jumps” while loading (part of Core Web Vitals).
A jumping button means clicking the wrong thing — and a worse search ranking.
A saved, labelled point in the project’s history — a confirmation of a specific batch of changes.
Small, described commits make a history you can return to any working state from.
Like a save point in a game: at any moment you can return exactly to that spot.
Google’s measures: how fast a page appears, how stably it lays out and how fast it reacts.
They affect your Google ranking and whether the user stays. Measurable, so you can improve them.
Two ways of storing the end of a line in a file: Windows uses CRLF, Linux and macOS use LF.
The difference makes git show “changed” files that nobody actually changed.
A command-line tool that sends a request to an address and shows the server’s response.
The simplest proof that a page responds and what exactly it returns — no browser needed.
Replacing the whole production database with a new version, carrying over user accounts and data.
The hardest operation in The Craft — it has its own runbook and needs explicit consent.
Releasing a new version of the app “live”, where real people use it.
It’s the moment a change reaches real people — which is why it happens only on an explicit “deploy”.
Like a play’s premiere: rehearsals are over, the curtain goes up and the audience is already watching.
A list of the differences between two versions: what was added and removed, line by line.
Reviewing the diff before merging is the last chance to see what’s really going to production.
Packaging an app with everything it needs so it runs the same on every computer.
Kills “works on my machine” — the same environment locally and on the server.
Like a takeaway meal in a box with a full set of cutlery — you unpack it anywhere and it’s ready, nothing missing.
A “dry” run — the script shows what it WOULD do but changes nothing.
You see the effects before executing; a data change happens only after deliberate confirmation.
Like trying on clothes before the till — you see the effect before paying for anything.
The criteria Google uses to judge content credibility: experience, expertise, authoritativeness and trust.
On health or money topics, a page without a named author and sources simply loses.
A single “address” in an API you send a request to for a specific thing (e.g. the list of orders).
Apps talk through endpoints — one endpoint = one function you expose.
Separate places where the app runs: “dev” for safe tests, “prod” for real users.
Dev is a playground, prod is where real users are — the rules for each are completely different.
Like a test kitchen and a dining room in a restaurant — you experiment in the back and serve only the tried dish.
A database command that shows how it will run a query — using an index or scanning the whole table.
It turns guessing “why is it slow” into a concrete answer and proof the fix worked.
An internal switch that turns a new feature on for some people, or off, without reworking the code.
You roll a novelty out gradually and roll it back in a second — the cheapest insurance with any change.
Like a dimmer switch: you let a novelty in gradually, and if it glares, you dim it in one move.
Prepared data or state a test runs against (e.g. a small database with a few records).
A test is only repeatable if it always starts from the same point.
A column that points to a record in another table — e.g. a review points to its user.
It prevents “dangling” references to things that don’t exist, and sets the order of operations.
A ready-made skeleton with the basic parts of an app, which you build on instead of starting from scratch.
It saves work but adds a dependency and weight — the doctrine reaches for one only when the interaction needs it.
Like a prefab house in a raw state — the walls and wiring are there, you fit out the interior your way.
The EU’s data-protection law — how you may collect, keep and delete users’ data.
It concerns every app with people’s data. Better to write in consents and retention from the start than pay fines later.
Like the rules for keeping someone else’s documents in a safe: you don’t show them to just anyone and you ask before you use them.
A separate working copy of the same repository, so a second parallel session works in its own folder and doesn’t clash with the first.
Two sessions in one folder overwrite each other’s work; a separate working tree prevents it.
Like a second desk on the same project — each has their own surface and papers, so nobody rearranges the other’s documents.
A test that enforces a project rule (e.g. “every module is in the AI_README”) and stops the commit when it’s broken.
A rule without a guard is only a wish — a long session will break it in good faith.
A cheap, solid server (hosting) provider you put an app “live” on.
The codex’s default server choice — predictable cost and performance without overpaying.
Automation in the tool’s configuration that always fires on a specific event (e.g. after a file edit).
Anything that must happen “always after something” shouldn’t depend on the assistant remembering.
A tag that tells the search engine what language a page is in and where its versions in other languages are.
Without it a multilingual site confuses Google — the language versions “fight” over the same phrase.
Like flags next to the menu in a tourist restaurant — you see at once which card is in English and which in Polish.
A property of an operation you can run many times with the same result — no duplication.
Key for scripts and events: a re-run doesn’t break data. Like an “ON” switch.
Like a light switch marked “ON”: pressed once or five times, the light simply stays on.
A bug where changing a number in the address (e.g. /order/1042) shows someone else’s data because the server doesn’t check ownership.
It’s one of the most common serious holes — only a server-side check protects against it.
A lookup in the database that makes searching instant instead of scanning everything in order.
The first move for slow queries — like an index at the back of a book instead of reading 400 pages.
Like the index at the back of a book — you look under a term instead of reading 400 pages for one sentence.
A measure of how quickly the page responds to a click or typing (part of Core Web Vitals).
A page that “thinks” after a click feels broken — and loses in search.
A task or bug recorded in a tracker (e.g. GitHub Issues), with a description and acceptance criteria.
That’s where the “why” of a change lives — not in someone’s head or a chat that will disappear.
Structured data: a description of the page invisible to humans that the search engine reads (e.g. FAQ, author, breadcrumbs).
Opens “rich snippets” in Google — richer results, higher CTR.
How long it takes for the main content of the page to appear (part of Core Web Vitals).
It’s the first impression of speed — and a ranking signal for Google.
A free Google tool built into Chrome that measures a page’s speed, accessibility and SEO.
It gives numbers instead of impressions — a reference point before and after every optimisation.
An AI model trained on huge amounts of text that understands and generates language — e.g. Claude.
Great with unstructured text, but more expensive and less predictable than ordinary code.
The address a computer (or server) uses to connect to itself.
On a server it lets you check the new version “from inside” before users see it.
A short, planned period when users see a “work in progress” page while the database or configuration changes behind it.
It guarantees the app never runs, even briefly, on half-changed data.
Combining the changes from one branch into another.
A merge brings in every commit from the source branch — other people’s too — so first you check what exactly comes in.
A controlled change to the database layout — adding a column, a table or moving data — step by step.
Like a renovation to plan: rebuilding data in a set order so nothing “collapses”.
Like a flat renovation to plan: you move walls in a set order so nothing collapses.
An app built as one whole (one deploy, one database), not a patchwork of separate services.
A simple, cheap default to start — easy to grasp. You split it only when scale really demands.
A performance bug: the app queries the database 200 times instead of once, asking separately for each item.
The most common cause of a “laggy” list. Like 200 phone calls instead of one request for the whole list.
Like phoning the warehouse separately about every product, instead of asking once for the whole list.
A program at the front of the server that takes traffic from the internet and routes it to your app.
Handles HTTPS, serves static files, balances traffic — the server’s proven “reception desk”.
A runtime that runs JavaScript on the server, not just in the browser.
When the site is already in JavaScript, one language on server and browser keeps the project simple.
Tags that decide how a link looks when pasted into Facebook, LinkedIn or a messenger (image, title, description).
A good link card means more clicks — a bad one can show what you don’t want (e.g. a price).
The default name of the remote repository (e.g. on GitHub) your copy syncs with.
The server deploys what’s in origin — work not pushed from your laptop simply won’t ship.
Information that identifies a person: name, email, address, phone number.
They need special protection (GDPR) — they mustn’t end up in logs or on test servers.
A chain of processing steps run in order, e.g. fetch → clean → enrich → check.
When each step runs on its own and repeats safely, a failure halfway doesn’t mean starting from zero.
A mode where the assistant first reads and presents a plan but changes no files — execution comes only after your approval.
For wide or hard-to-undo work: you review the decision, not the diff. A good plan also says how you’ll check it worked.
Like an architect who shows the drawing before the crew drives the first nail — you make fixes on paper, not on a finished wall.
A tool that drives a real browser in tests: it clicks, types and checks what’s on screen.
It checks the app the way a user will see it — including on a phone profile.
A manager that keeps the (Node) app running all the time — restarts it after a crash.
Without it, after a crash or server restart the app just sits idle. pm2 keeps it “alive”.
A solid, “grown-up” database for bigger apps — runs as a separate server.
The default step after SQLite, when you need many concurrent users and advanced features.
A request to merge a branch into the main version, with a description of the changes and room for review.
A small PR can be reviewed properly in fifteen minutes; a huge one goes through “on trust”.
A faithful copy of production with no real users, where you rehearse a deploy.
A migration that fails on preprod is an ordinary Tuesday; in production it’s an incident.
An attack on AI: someone weaves a hidden instruction into text to make the assistant act against the rules.
If AI reads outside content (emails, pages), treat it as untrusted — otherwise it can be manipulated.
Push sends your commits to the remote repository; pull fetches changes from there into your copy.
A push is an “outward” action — in The Craft it needs explicit consent, like a deploy.
A popular, readable programming language — The Craft’s default for scripts, data and the back end.
A proven default: lots of ready tools and libraries, easy to drive with AI.
A technique where an AI model receives pieces of your data as context and answers from them.
The assistant answers from your data rather than the model’s memory — less making things up, and you can cite the source.
A way to bring a rule into old code: today’s state is frozen, and the number of violations can only fall.
Nobody has to fix everything at once, but nobody adds new violations.
Git’s log of every position your copy has been at — even after a branch was “lost”.
Almost every “I lost my work” ends here — it’s the undo button for the whole repository.
A pattern describing the shape of text, e.g. “three digits, a dash, four digits”, used to search or validate data.
Simple, fast and free — where it’s enough, AI is an unnecessary cost.
A store of the whole project’s code together with its full history of changes — who changed what and when.
The repo is the project’s memory: code, documentation and change history in one place.
Like a binder of document versions, where every edit is labelled and can be restored.
Reverting a change to the previous, working state — “Ctrl+Z” for a deployment.
When a new version breaks production, a rollback restores the previous one in seconds instead of fixing in a panic.
Like undoing a move in a game or an entry in a document with “undo” — you go back to the state before the slip.
Languages written from right to left, such as Arabic and Hebrew.
The whole page layout has to mirror, not just the text.
A written step-by-step guide for production operations, with numbered lessons from incidents.
The memory of outages can’t live in someone’s head — the next deploy starts by reading the runbook.
Automatically gathering data from websites with a program instead of copying by hand.
Powerful for acquiring data, but it needs manners: respect others’ rules (robots.txt), don’t overload the server.
Making sure search engines understand a site and show it high in the results.
A site nobody can find effectively doesn’t exist.
A model where you don’t manage a server — the code runs itself when someone needs it, and sleeps when not.
You pay per use, it scales itself. The trap: a “cold start” — the first call can be slower.
A file listing every address of the site, helping search engines find them.
New pages reach search engines faster, and language versions get linked together.
A readable, short part of a page address that describes its content in words instead of a mysterious number.
Better for humans and SEO; a stable slug doesn’t break links when things change.
Like a clear label on a folder, “lease-agreement”, instead of “document-42” — you know at once what’s inside.
A quick “does it even work” test right after a deploy — checks the most important paths (e.g. login).
Catches disasters in 30 seconds before a user sees them. A cheap way to sleep well after a deploy.
SMTP is the protocol for sending email; STARTTLS switches on encryption within it (usually on port 587).
A wrong port or no timeout can hang every send — and sign-up with it.
A saved state of data from a specific moment — e.g. a database copy or a file of computed statistics.
It speeds things up and keeps them safe, but is stale from the moment it’s taken — you need to know where fresh data comes from.
Five code design principles (single responsibility, open for extension, substitutability, narrow interfaces, dependency inversion).
They help keep the next change cheap — applied in proportion, not as a cult.
Entries in a domain’s DNS that confirm to mail providers that an email really came from your domain.
Without them your app’s emails land in spam or nowhere — “sent” isn’t “delivered”.
The query language for a database — the way you “ask” the database for data or change it.
The universal standard for talking to a database. A badly written query can bog down the whole app.
The simplest database — the whole thing lives in one file, with no separate server.
A great default to start: zero configuration, easy backup (you copy the file). As you grow, you migrate up.
An encrypted connection to a server for sending it commands and transferring files.
An SSH key is access to production — guard it like your most important password.
Sending a large response in chunks, as it goes, instead of loading everything into memory at once.
The app doesn’t choke on huge data — the user sees a result sooner.
Test-Driven Development: first you write a test (what you expect), then the code that satisfies it.
The test stays in the project and guards that a change broke nothing — proof instead of “it probably works”.
The maximum time to wait for a response — after it the request fails instead of waiting forever.
Without it one slow service can quietly hang the whole app.
An “insert or update” write: if the record exists it’s updated, if not it’s added.
It means a script run twice doesn’t create duplicates.
A rented piece of a cloud server “just for you”, where you put an app “live”.
Predictable cost and full control. One VPS easily carries a few small projects.
Web Application Firewall — a shield in front of the app that filters web traffic and blocks suspicious requests (often bots).
It’s a machine, not a policy: it can block even when robots.txt allows. When it blocks legitimate reading — identify yourself and ask the owner.
Write-Ahead Log: a database mode where changes go to a journal first, then to the data.
Gives safety (recovery after a crash) and better read/write concurrency.
An independent monitor that checks by itself whether data is fresh / the app is alive, and alarms when something stalls.
For cyclical jobs measure the effect (age of the freshest record), not the job’s exit code — a green report can lie.
Like a smoke detector: it doesn’t cook for you, it just shouts when something starts to burn.
A modern image format, noticeably lighter than JPG or PNG at the same quality.
Lighter images mean a faster page — especially on a phone.
“Your Money or Your Life” — topics where a mistake can hurt someone: health, money, safety.
Search engines judge them more strictly — a named author, sources and no regulated advice matter.