Changelog — The Craft
Notable changes to The Craft doctrine. Versioning is semantic (MAJOR.MINOR.PATCH). Entry date = publication day — when the version was deployed to thecraft.jakub.solutions and ready to download.
MAJOR — a rule or chapter reworked or removed (a breaking change to how things were understood). MINOR — a new chapter or a significant new rule. PATCH — a clarification, an example, a fix.
Shared version axis with the Rzemiosło Web site. The rule core and the site share one numbering, so a number skipped here means a site-side release —
1.0.1and1.0.2belonged to Web, so the core goes1.0.0 → 1.0.3.1.1.0existed only in host projects’ copies (it was written there before it reached the canon), so the canon releases that content as1.1.1. The gaps are deliberate, not missing.
1.1.2 — 2026-11-21
The language is chosen to fit the task (Python — 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. more in the glossary → as the default, not a dogma), plus a tidy-up of docs/.
Changed
- [08] Language by fit, not by habit. Python stays the default (the widest ecosystem for scripts, data and gluing AI together), but it isn’t a dogma: Go (concurrent services, a single binary), Rust (hot paths, memory safety), Kotlin (JVM, Android), TypeScript/Node (a web layer in JS) when efficiency, Deploy — 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”. more in the glossary → or library availability speaks for them — with an 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. more in the glossary → and a measurement. + an anti-pattern.
- [17] the Guard — 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. more in the glossary → in
guards/are pytest reference implementations; a project in another language ports the spec to its own test runner.
Repository (repo) — 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. more in the glossary → tidy-up
- The packaging plan graduated into a standing document (
docs/packaging.md) in the source repo; the rest of the plan was history.
1.1.1 — 2026-11-21
The whole doctrine reviewed and cut down, with Claude Opus 5.5. The Craft is hard rules for projects run with AI — so the core now holds only rules; knowledge a modern model has anyway, and the explanations, moved to this website. English text: ~160k → ~62k characters, no hard rule dropped. Plus a new chapter 17 and chapter 05 split into 05/18/19. Everything in both languages.
Rebuilt
- One chapter format: a one-line intro → numbered Rules (one line + why) → Anti-patterns. Lectures, definitions and “in practice” endings removed — the only checklist is [07].
- [05] split (it broke “one file = one topic”): 05 = Git, undo, parallel work and deploy policy; new [18] Release rehearsal (dev → Preprod (staging) — 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. more in the glossary → → Environment (dev / prod) — 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. more in the glossary →) and [19] Database swap — 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. more in the glossary → Runbook — 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. more in the glossary →.
- [intro] cut to “what it is / who it’s for / how to start” — the manifesto moved to the website.
Added
- [17] Code always in English — identifiers, test names too, database, CLI (command line) — 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. more in the glossary →, keys, Commit — 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. more in the glossary → messages; prose
in the project’s language, declared once in
CLAUDE.md. - [17] “A rule without a guard is a wish” — an AI_README — 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. more in the glossary → Index (database) — 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. more in the glossary → guard and a code-language guard as a
Ratchet — 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. more in the glossary →; ready-made files in
guards/(shipped in the download pack). - [01] the index is guarded by a test. [07] two Day 0 checklist points (language policy, guards).
Changed
- [00, 07] Rule zero: a plain-language pointer only in
CLAUDE.mdandAGENTS.md— noSYSTEM/URGENTlabels (to a modern model that is the shape of Prompt injection — 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. more in the glossary →) and nothing in the publicREADME.md. - [00] Commandment VII generalized — don’t lose, don’t leak, don’t mutate without a Backup — 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. more in the glossary →, map by a stable key; details in [19].
- [06] Memory: one rule instead of a home-made system — use the agent’s built-in memory, don’t copy repo facts into it.
- [16] project policy only (when Plan mode — 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. more in the glossary → is mandatory, autopilot within the permission map, model by stakes, a git worktree — 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. more in the glossary → per session) — no descriptions of harness features that age with releases.
- [17, 06] Terms rule relaxed: names a tool prints stay in English; a plain word for the action may be in the prose language.
- [07] the brief is saved as
project-brief.md(wasbrief-projektu.md). - [08] Python by default, Node when the web layer is already in JS. [09] governing law = your jurisdiction. [12] Feature flag — 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. more in the glossary → arrive with the first risky change for live users (was: Day 0); an ADR only when departing from the default stack.
1.0.3 — 2026-08-24
Lessons from a real reference project, folded into existing chapters in both languages (no change to the chapter list — hence a PATCH). The core: the doctrine is written for one developer working with AI, where “solo” still means several parallel Claude sessions on one repo — and it’s those, not a human team, that force the discipline of coordination.
Added
- intro — “Who this is for”. A single developer plus AI as a pair; “solo” already means many writers (parallel agent sessions), so coordination rules matter from the second open session.
- 05 — coordinating parallel work. Review the Diff — 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. more in the glossary → before Merge — 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. more in the glossary → to the deploy Branch — 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. more in the glossary →, the
origin-vs-local trap (a deploy shipsorigin, so check your Push / pull — 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. more in the glossary → first), a boot-check on the target before reloading, and a full deploy dress rehearsal dev → preprod → prod. - 14 §7 — cyclical jobs: watch the effect, not the runner. The Watchdog — 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. more in the glossary → measures the age of the freshest record per source, not the job’s exit code; a green report only covers what it knows, and scheduler config is production that lives outside the repo.
- 16 — plan mode (decide the approach before a file changes; the plan is a review artifact) and an
isolated
git worktreeper parallel session (a shared checkout is a shared index). - 15 — a service answers twice, and the answers can disagree.
robots.txtis the owner’s policy; an WAF — 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. more in the glossary → is a machine — identify yourself truthfully and ask the owner, don’t engineer a workaround. - 03 — a guard proves itself on the incident, not the Fixture — 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. more in the glossary →. Replay a post-mortem check on the real data of that failure before you trust it.
- 05 — undo: you probably didn’t lose it. A rescue section for the git-shy — six common panics and the
way back for each (
restore,reset --soft, Reflog — 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. more in the glossary →,ORIG_HEAD),reflogas the repo’s undo button, and the only three commands that actually destroy work (and only the uncommitted kind). Commit early. - 06 — the permission map: one table, three columns (do / ask / never). The whole doctrine’s boundary in one place; the wide left column is what makes autopilot safe.
- 06 — handing off state when context runs out. Ship in commits, not in the conversation; record a
decision the moment you make it; durable facts to
memory/;git statusis the handoff. The test: would the next session pick it up from the repo alone? - 00 — deviating from a rule, out loud. The doctrine is a default, not a cage: deviate by naming the
rule, justifying it and proposing a replacement — a silent skip is a sin. Precedence: host
CLAUDE.md>docs/rules> agent defaults. The floor that doesn’t move: III, V, VI, VII. - 04 — absolute paths at tool boundaries (
/tmpmeans different things in Git Bash, Python and PowerShell) and a rehearsal of a mass data change on a copy of production. - 13 — mobile: the viewport is a moving target.
100dvhinstead of100vh, elements above the keyboard anchored tovisualViewport, and measuring real DOM geometry instead of trusting the emulator.
Changed
- 00 — rule zero reframed: read the Decalogue, then grep the topic index — a pointer, not a paste; a vendored copy is not the host project’s constitution.
- 07 — the
[SYSTEM — READ FIRST]note clarified (Decalogue → topic index; pointer, not paste).
1.0.0 — 2026-06-19
The first public release — the complete The Craft doctrine, ready to drop in as docs/rules/ in a
new project. From the first commit to production: how to build with Claude so the project stays
understandable, safe to change and worthy of trust.
- 17 chapters in two languages (EN canon + PL — the same chapters, the same anchors): the Decalogue (00) + core (01–08) + depth (09–16) — from documentation, tests, Git and deployments, through law, SEO — Making sure search engines understand a site and show it high in the results. A site nobody can find effectively doesn’t exist. more in the glossary → and the data model, to performance, operational resilience, Scraping — 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. more in the glossary →/AI and driving Claude.
- An HTML reader in the pack — renders the
.mdfiles from a double-click (file://), light/dark mode, EN/PL switch. - The website thecraft.jakub.solutions — a friendly wrapper with a download.