From f1c6aa015baac7474cfb5a24fe2a04bf430ab5f2 Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 24 Aug 2026 18:21:55 +0200 Subject: Client: read PLAY_START response before animating; show error immediately on insufficient balance. Add versioning to AGENTS.md. --- AGENTS.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index c5139d5..f7f0d2b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -54,3 +54,20 @@ certificate's SPKI, not the whole certificate. - `save_host` must not wipe the fingerprint column. Use `ON CONFLICT ... DO UPDATE SET last_used` — never `INSERT OR REPLACE`. + +## Versioning + +Use semantic versioning (`MAJOR.MINOR.PATCH`) in `Cargo.toml`. + +- **MAJOR** — breaking protocol changes (wire format, TLS trust model, + database schema migration that can't auto-upgrade). Clients and servers + at different MAJOR versions are incompatible. +- **MINOR** — new features, new game types, new commands. Backwards + compatible: old clients work with new servers, new clients work with + old servers (they just don't see the new feature). +- **PATCH** — bug fixes, payout corrections, refactors that don't change + observable behavior. + +Bump the version in `Cargo.toml` as the **last** step before committing +a release-worthy change. The commit message should contain the new version +number (e.g. `v0.2.0`). -- cgit v1.2.3